mono.git
16 years agoFixed the formatting in the monolinker page
Miguel de Icaza [Tue, 17 Jul 2007 16:34:22 +0000 (16:34 -0000)]
Fixed the formatting in the monolinker page

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

16 years ago2007-07-17 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 17 Jul 2007 16:15:25 +0000 (16:15 -0000)]
2007-07-17  Jb Evain <jbevain@novell.com>

* monolinker.1: add monolinker man page.

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

16 years agomove to mono
Jb Evain [Tue, 17 Jul 2007 16:14:19 +0000 (16:14 -0000)]
move to mono

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

16 years agomove to mono
Jb Evain [Tue, 17 Jul 2007 16:14:19 +0000 (16:14 -0000)]
move to mono

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

16 years ago2007-07-17 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 17 Jul 2007 15:53:29 +0000 (15:53 -0000)]
2007-07-17  Jonathan Pobst  <monkey@jpobst.com>

* ContainerControl.cs: Implement 2.0 AutoScaling.

2007-07-17  Jonathan Pobst  <monkey@jpobst.com>

* ContainerControlTest.cs: Add test for 2.0 AutoScaling.  It's
marked NotWorking because it depends on fonts and DPI, but it
can still be used to compare to .NET.

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

16 years ago2007-07-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 17 Jul 2007 15:52:34 +0000 (15:52 -0000)]
2007-07-17  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_find_imt_method): Handle mov reg,IMM64 case. Fixes
#82117.

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

16 years agoimplemented SerializeScriptBlock method
Igor Zelmanovich [Tue, 17 Jul 2007 15:22:09 +0000 (15:22 -0000)]
implemented SerializeScriptBlock method

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

16 years ago* ComboBox.cs: Work around bug #82120 (bug in mcs).
Rolf Bjarne Kvinge [Tue, 17 Jul 2007 14:54:52 +0000 (14:54 -0000)]
* ComboBox.cs: Work around bug #82120 (bug in mcs).

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

16 years agoImplemented ScriptManager.LoadScriptsBeforeUI property
Igor Zelmanovich [Tue, 17 Jul 2007 14:11:37 +0000 (14:11 -0000)]
Implemented ScriptManager.LoadScriptsBeforeUI property

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

16 years ago2007-07-17 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 17 Jul 2007 13:38:24 +0000 (13:38 -0000)]
2007-07-17  Jb Evain  <jbevain@novell.com>

* scripts/Makefile.am: new monolinker script.

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

16 years ago2007-07-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 17 Jul 2007 13:36:31 +0000 (13:36 -0000)]
2007-07-17  Atsushi Enomoto <atsushi@ximian.com>

* XsdValidatingReader.cs : Process empty and element-only contents
  differently along with the spec 3.4.4 Element Locally Valid (Complex
  Type) 2.3 (and 2.1 respectively). Itchy specification indeed.
  This demanded not a few internal changes. Fixed bug #82099.

* XmlSchemaValidator.cs : dependent changes to
  XsdParticleValidationState. Changed ValidateWhitespace() to do
  the same as we do in XsdValidatingReader.

* XsdValidatingReaderTests.cs : added test for bug #82099.

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

16 years agoadd Cecil and the linker to the build
Jb Evain [Tue, 17 Jul 2007 13:36:11 +0000 (13:36 -0000)]
add Cecil and the linker to the build

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

16 years agoadd the resources to dist
Jb Evain [Tue, 17 Jul 2007 13:27:27 +0000 (13:27 -0000)]
add the resources to dist

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

16 years ago2007-07-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 17 Jul 2007 13:21:29 +0000 (13:21 -0000)]
2007-07-17  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_find_imt_method): Add some debug code to help find out
the cause of an assertion.

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

16 years agoinstall Cecil to the gac only
Jb Evain [Tue, 17 Jul 2007 12:08:58 +0000 (12:08 -0000)]
install Cecil to the gac only

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

16 years agoImplemented RegisterDispose method
Igor Zelmanovich [Tue, 17 Jul 2007 11:26:18 +0000 (11:26 -0000)]
Implemented RegisterDispose method

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

16 years agoAsyncPostBackError event is raised properly
Igor Zelmanovich [Tue, 17 Jul 2007 08:35:06 +0000 (08:35 -0000)]
AsyncPostBackError event is raised properly

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

16 years agoNew test + update
Marek Safar [Tue, 17 Jul 2007 08:24:22 +0000 (08:24 -0000)]
New test + update

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

16 years ago2007-07-17 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 17 Jul 2007 08:22:52 +0000 (08:22 -0000)]
2007-07-17  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Correct placeholder for implicit linq parameter.

* linq: Add ImplicitArgument.

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

16 years ago2007-07-17 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 17 Jul 2007 08:22:03 +0000 (08:22 -0000)]
2007-07-17  Marek Safar  <marek.safar@gmail.com>

* anonymous.cs (MakeName): Include host name for easier debugging.
(LambdaMethod): New class for lambda spcecific stuff.

* attribute.cs: Set EmitContext return type.

* class.cs: Set EmitContext return type.

* codegen.cs (EmitContext): Return type cannot be null to stop messing
with null/void meaning.

* iterators.cs (ContainerType): Implemented.

* rootcontext.cs: Set value of TypeManager.bool_type at early stage.

* statement.cs (Return): Updated to lambda expressions.
(Block.CloneTo): Parent can be null.

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

16 years agoImplemented ScriptManager.AsyncPostBackErrorMessage property
Igor Zelmanovich [Tue, 17 Jul 2007 08:11:15 +0000 (08:11 -0000)]
Implemented ScriptManager.AsyncPostBackErrorMessage property

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

16 years agoImplemented ScriptManager.AllowCustomErrorsRedirect property
Igor Zelmanovich [Tue, 17 Jul 2007 07:44:39 +0000 (07:44 -0000)]
Implemented ScriptManager.AllowCustomErrorsRedirect property

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

16 years ago2007-07-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 17 Jul 2007 02:34:27 +0000 (02:34 -0000)]
2007-07-17  Atsushi Enomoto  <atsushi@ximian.com>

* CalendricalCalculations.cs, JulianCalendar.cs :
  true fix for bug #81783. GetMonths() should consider month part
  going beyond 12.

* CalendarTest.cs : true test for bug #81783 (overflown month in
  AddMonths().)

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

16 years ago2007-07-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 16 Jul 2007 23:40:51 +0000 (23:40 -0000)]
2007-07-16  Rodrigo Kumpera  <rkumpera@novell.com>

* ResourceReader.cs (ResourceValue): Put the null resource check
  before the resource version 2 check, this fixes bug #81757

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

16 years ago2007-07-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 16 Jul 2007 23:25:00 +0000 (23:25 -0000)]
2007-07-16  Rodrigo Kumpera  <rkumpera@novell.com>

* ResourceReaderTest.cs:  new test, related to 2.0 bug of #81757

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

16 years ago2007-07-17 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 16 Jul 2007 22:14:30 +0000 (22:14 -0000)]
2007-07-17  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/AggressiveReflectionReader.cs:
Add some gards against zeroed tokens.

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

16 years ago2007-07-17 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 16 Jul 2007 22:09:26 +0000 (22:09 -0000)]
2007-07-17  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Metadata/Utilities.cs:
Return zero instead of throwing on invalid tags.
Allow Cecil to read assemblies partially broken
by some obfuscators.

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

16 years agoadd Makefile
Jb Evain [Mon, 16 Jul 2007 20:10:41 +0000 (20:10 -0000)]
add Makefile

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

16 years agoupdate this after the move
Jb Evain [Mon, 16 Jul 2007 19:43:39 +0000 (19:43 -0000)]
update this after the move

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

16 years agorename
Jb Evain [Mon, 16 Jul 2007 19:42:12 +0000 (19:42 -0000)]
rename

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

16 years agomove
Jb Evain [Mon, 16 Jul 2007 19:37:49 +0000 (19:37 -0000)]
move

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

16 years ago2007-07-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 16 Jul 2007 19:32:09 +0000 (19:32 -0000)]
2007-07-16  Jonathan Pobst  <monkey@jpobst.com>

* ButtonPainter.cs: For flat buttons, draw mouse highlight when
button is focused.  Remove random extra rectangle.

2007-07-16  Jonathan Pobst  <monkey@jpobst.com>

* ThemeWin32Classic.cs: Allow a Flat button to be Focused and Entered.
Darken the focus color.

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

16 years ago2007-07-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 16 Jul 2007 18:07:00 +0000 (18:07 -0000)]
2007-07-16  Jonathan Pobst  <monkey@jpobst.com>

* ButtonPainter.cs: For Flat button, if no mouse over / press
backcolor is specified, calculate one from the normal backcolor.

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

16 years agoMon Jul 16 19:45:42 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 16 Jul 2007 17:31:29 +0000 (17:31 -0000)]
Mon Jul 16 19:45:42 CEST 2007 Paolo Molaro <lupus@ximian.com>

* get.c: mono_get_inflated_method () is obsolete, removed.

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

16 years agoMon Jul 16 19:36:16 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 16 Jul 2007 17:30:18 +0000 (17:30 -0000)]
Mon Jul 16 19:36:16 CEST 2007 Paolo Molaro <lupus@ximian.com>

* reflection.c, class.c, icall.c, loader.c: mono_get_inflated_method () is
obsolete, removed.

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

16 years agoMon Jul 16 19:31:21 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 16 Jul 2007 17:17:49 +0000 (17:17 -0000)]
Mon Jul 16 19:31:21 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini.c, jit-icalls.c: mono_get_inflated_method() is obsolete,
removed.

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

16 years agoprops
Jb Evain [Mon, 16 Jul 2007 15:28:25 +0000 (15:28 -0000)]
props

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

16 years agoadd Makefile
Jb Evain [Mon, 16 Jul 2007 15:26:15 +0000 (15:26 -0000)]
add Makefile

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

16 years agoImplemented ScriptManager.Services property
Igor Zelmanovich [Mon, 16 Jul 2007 14:35:15 +0000 (14:35 -0000)]
Implemented ScriptManager.Services property

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

16 years ago2007-07-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 16 Jul 2007 14:34:51 +0000 (14:34 -0000)]
2007-07-16  Jonathan Pobst  <monkey@jpobst.com>

* ListBox.cs: When measuring items, if it's a CheckedListBox, add room
for the checkbox.
* ThemeWin32Classic.cs: Make the checkbox bigger in a CheckedListBox and use
X, Y instead of a rect for drawing text.
- For ControlPaint.DrawCheckBox, center the check a little better when the
checkbox is odd width.  When drawing a flat checkbox, use a white background
when state != inactive.
[Fixes bugs #82097, 82100]

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

16 years agoupdate known-issues
Raja R Harinath [Mon, 16 Jul 2007 14:27:53 +0000 (14:27 -0000)]
update known-issues

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

16 years agoFix for compilation in TARGET_JVM
Noam Lampert [Mon, 16 Jul 2007 13:53:05 +0000 (13:53 -0000)]
Fix for compilation in TARGET_JVM

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

16 years agoImplemented SetFocus feature
Igor Zelmanovich [Mon, 16 Jul 2007 13:29:03 +0000 (13:29 -0000)]
Implemented SetFocus feature

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

16 years ago* ListControl.cs: Build fix.
Gert Driesen [Mon, 16 Jul 2007 13:20:11 +0000 (13:20 -0000)]
* ListControl.cs: Build fix.

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

16 years agoupdate known-issues
Raja R Harinath [Mon, 16 Jul 2007 12:42:14 +0000 (12:42 -0000)]
update known-issues

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

16 years ago* ListControl.cs: When changing CurrencyManager, disconnect event
Gert Driesen [Mon, 16 Jul 2007 12:34:40 +0000 (12:34 -0000)]
* ListControl.cs: When changing CurrencyManager, disconnect event
handlers from previous one. Fixes bug #81771. Code formatting.
* ComboBoxTest.cs: Added test for bug #82069.
* ListControlTest.cs: Added tests for bug #81771.

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

16 years ago2007-07-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 16 Jul 2007 11:31:54 +0000 (11:31 -0000)]
2007-07-16  Marek Habersack  <mhabersack@novell.com>

* HtmlHeadBuilder.cs: the <meta> tag should be supported as well.

* HtmlTitle.cs: if the tag has any children, or the render method
delegate has been defined, render the children. Output the
contents of Text otherwise. Fixes bug #82102

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

16 years ago2007-07-16 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 16 Jul 2007 10:24:19 +0000 (10:24 -0000)]
2007-07-16 Igor Zelmanovich <igorz@mainsoft.com>

* AssemblyResourceLoader.cs:
fixed RegEx used for PerformSubstitution feature.

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

16 years ago2007-07-16 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 16 Jul 2007 10:23:09 +0000 (10:23 -0000)]
2007-07-16 Igor Zelmanovich <igorz@mainsoft.com>

* Control.cs: fixed EnsureID.
ID is not assigned, if already was set.

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

16 years ago* ProfileBase.cs: fixed typo bug in InitProperties
Vladimir Krasnov [Mon, 16 Jul 2007 09:40:23 +0000 (09:40 -0000)]
* ProfileBase.cs: fixed typo bug in InitProperties

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

16 years ago* ProfileGroupSettingsCollection.cs: added ResetInternal internal method
Vladimir Krasnov [Mon, 16 Jul 2007 09:23:00 +0000 (09:23 -0000)]
* ProfileGroupSettingsCollection.cs: added ResetInternal internal method
* RootProfilePropertySettingsCollection.cs: added Reset method override to reset GroupSettings collection

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

16 years ago* ReflectionPropertyDescriptor.cs: For read-only properties,
Gert Driesen [Mon, 16 Jul 2007 07:08:02 +0000 (07:08 -0000)]
* ReflectionPropertyDescriptor.cs: For read-only properties,
ShouldSerializeValue must only take into account the return value
of the ShouldSerialize method. Code formatting.
* PropertyDescriptorTests.cs: Added test for ShouldSerializeValue
behavior with read-only properties.

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

16 years ago* PrintPreviewControl.cs: Remove extraneous Invalidate calls. Separate
Andreia Gaita [Sun, 15 Jul 2007 20:21:07 +0000 (20:21 -0000)]
* PrintPreviewControl.cs: Remove extraneous Invalidate calls. Separate
full preview invalidation from layout invalidation, and only invalidate
the layout when setting zoom or other properties. Invalidation should
always be done even when resetting properties with the same values as
what is there. Fixes #81744 and #79830.

2007-07-15  Andreia Gaita <avidigal@novell.com>

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

16 years ago* HttpWebRequestTest.cs: Remove usage of deprecated Assertion class.
Gert Driesen [Sun, 15 Jul 2007 17:55:12 +0000 (17:55 -0000)]
* HttpWebRequestTest.cs: Remove usage of deprecated Assertion class.
Fixed Sync test.  Fixed InternalServerError to pass on .NET 2.0, and
renumbered tests. Added test for bug #81504.

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

16 years ago2007-07-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Jul 2007 14:54:18 +0000 (14:54 -0000)]
2007-07-15  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Reflection_FieldInfo_GetTypeModifiers): New icall.

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

16 years ago2007-07-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Jul 2007 14:53:38 +0000 (14:53 -0000)]
2007-07-15  Zoltan Varga  <vargaz@gmail.com>

* FieldInfo.cs: Implement GetOptional/RequiredCustomModifiers ().

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

16 years ago2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 15 Jul 2007 14:33:35 +0000 (14:33 -0000)]
2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>

* BaseValidator.cs: for NET_2_0: fixed client side validation.
validation is performed in WebForm_DoPostback,
and there is no need to do it twice in ValidatorOnSubmit.

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

16 years ago2007-07-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Jul 2007 14:22:29 +0000 (14:22 -0000)]
2007-07-15  Zoltan Varga  <vargaz@gmail.com>

* MethodInfo.cs: Remove an unneccesary MonoTODO.

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

16 years ago2007-07-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Jul 2007 14:19:57 +0000 (14:19 -0000)]
2007-07-15  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Reflection_Module_ResolveSignature): New icall.

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

16 years ago2007-07-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Jul 2007 14:18:42 +0000 (14:18 -0000)]
2007-07-15  Zoltan Varga  <vargaz@gmail.com>

* Module.cs: Implement ResolveSignature.

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

16 years agofixed WebForm_DoCallback function signature.
Igor Zelmanovich [Sun, 15 Jul 2007 11:58:46 +0000 (11:58 -0000)]
fixed WebForm_DoCallback function signature.
make it compatible with ClientScriptManager.GetCallbackEventReference
method and MS version.

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

16 years ago2007-07-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Jul 2007 11:38:14 +0000 (11:38 -0000)]
2007-07-15  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_build_imt_thunk): Remove the non-32bit MonoMethod
assert. Should fix #82103.

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

16 years ago2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 15 Jul 2007 10:33:58 +0000 (10:33 -0000)]
2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>

* Calendar.cs: fixed: correct 'id' attribute is rendered.

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

16 years ago * ListView.cs: Implement initial support for Groups. Split some of the
Carlos Alberto Cortez [Sun, 15 Jul 2007 10:06:23 +0000 (10:06 -0000)]
* ListView.cs: Implement initial support for Groups. Split some of the
LayoutIcons code to render a partial list of the items (needed by
items contained in ListViewGroup instances). Let the
ListViewItemsCollection.ListView property be modifiable (needed when
using Groups, too).
* ListViewGroup.cs: Use a Bounds property rather than a Location
one. Also invalidate the bounds when they get changed.
* ThemeWin32Classic.cs: When drawing items, also draw the group header
if ListView.Groups.Count is bigger than 0. Add a DrawListViewGroupHeader
method as well.

2007-07-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2007-07-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 15 Jul 2007 09:41:13 +0000 (09:41 -0000)]
2007-07-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: When space gets pressed and CheckBoxes is true,
don't invoke the Begin and EndUpdate methods. We are generating
a redraw of the entire control without need to do so.

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

16 years ago2007-07-14 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Gonzalo Paniagua Javier [Sat, 14 Jul 2007 23:04:17 +0000 (23:04 -0000)]
2007-07-14 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>

* WebConnectionStream.cs: implement the CanTimeout for 2.0. Fixes
bug #81504.

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

16 years ago2007-07-14 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Gonzalo Paniagua Javier [Sat, 14 Jul 2007 22:44:21 +0000 (22:44 -0000)]
2007-07-14 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>

* Process.cs: don't send empty lines that are not in the input. Fixes
bug #79529.

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

16 years ago2007-07-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Jul 2007 21:12:54 +0000 (21:12 -0000)]
2007-07-14  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Reflection_Module_ResolveMethodToken):
Implement generics support.
(ves_icall_System_Reflection_Module_ResolveFieldToken): Ditto.

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

16 years ago2007-07-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Jul 2007 20:34:25 +0000 (20:34 -0000)]
2007-07-14  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Reflection_Module_ResolveTypeToken): Add new
type_args and method_args arguments.
(ves_icall_System_Reflection_Module_ResolveMethodToken): Ditto.
(ves_icall_System_Reflection_Module_ResolveFieldToken): Ditto.
(ves_icall_System_Reflection_Module_ResolveMemberToken): Ditto.

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

16 years ago2007-07-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Jul 2007 20:33:05 +0000 (20:33 -0000)]
2007-07-14  Zoltan Varga  <vargaz@gmail.com>

* ModuleHandle.cs: Implement the generic versions of the ResolveXXXHandle () methods.

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

16 years ago2007-07-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Jul 2007 20:32:19 +0000 (20:32 -0000)]
2007-07-14  Zoltan Varga  <vargaz@gmail.com>

* Module.cs: Implement the generic versions of the ResolveXXX methods.

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

16 years agoNot sure why we used a special case here, but this fixes the build
Miguel de Icaza [Sat, 14 Jul 2007 19:15:21 +0000 (19:15 -0000)]
Not sure why we used a special case here, but this fixes the build

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

16 years agoImprove message
Miguel de Icaza [Sat, 14 Jul 2007 17:48:09 +0000 (17:48 -0000)]
Improve message

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

16 years ago2007-07-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Jul 2007 17:20:38 +0000 (17:20 -0000)]
2007-07-14  Zoltan Varga  <vargaz@gmail.com>

* ModuleHandle.cs: Add stubs for generic ResolveXXXHandle () methods.

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

16 years ago2007-07-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Jul 2007 16:28:29 +0000 (16:28 -0000)]
2007-07-14  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (mono_jit_walk_stack_from_ctx): Use MONO_CONTEXT_GET_SP ()
here too. Fixes #82095.

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

16 years ago2007-07-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Jul 2007 14:56:21 +0000 (14:56 -0000)]
2007-07-14  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_build_imt_thunk): Add support for non-32bit MonoMethod
addresses.

* mini-amd64.c (mono_arch_get_vcall_slot_addr): Add a couple asserts.

* mini-amd64.h: Enable IMT for amd64.

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

16 years ago2007-07-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Jul 2007 14:13:39 +0000 (14:13 -0000)]
2007-07-14  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_build_imt_thunk): Optimize IMT thunk size.

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

16 years ago2007-07-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Jul 2007 14:04:54 +0000 (14:04 -0000)]
2007-07-14  Zoltan Varga  <vargaz@gmail.com>

* amd64/amd64-codegen.h: Remove some unused rex prefixes.

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

16 years ago* TypeBuilderTest.cs: Modified enum tests to use already constructed
Gert Driesen [Sat, 14 Jul 2007 13:54:04 +0000 (13:54 -0000)]
* TypeBuilderTest.cs: Modified enum tests to use already constructed
AssemblyBuilder and ModuleBuilder. Fixed some compiler warnings.
Removed duplicate test for bug #82018. Added some IsCreated tests after
TypeLoadException, but comment them out for now (see bug #82101).

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

16 years ago* default.build: Fix relative path to key. Avoid use of ugly foreach
Gert Driesen [Sat, 14 Jul 2007 08:42:41 +0000 (08:42 -0000)]
* default.build: Fix relative path to key. Avoid use of ugly foreach
contruct. Spaces to tabs.
* Mono.Cecil.csproj: Fix relative path to key.
* standalone.make: Fix relative path to key and config.make.

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

16 years ago2007-07-13 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 13 Jul 2007 22:46:06 +0000 (22:46 -0000)]
2007-07-13  Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c: patch from Thong Nguyen to fix atribute resolution.
  It adds a rootimage parameter to mono_reflection_get_type_internal,
  adds new function mono_reflection_get_type_with_rootimage and use
  the rootimage to resolve the types instead of the current image

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

16 years agoEnabled Miguel's failing test
Marek Safar [Fri, 13 Jul 2007 19:30:52 +0000 (19:30 -0000)]
Enabled Miguel's failing test

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

16 years agoNew test.
Marek Safar [Fri, 13 Jul 2007 19:26:34 +0000 (19:26 -0000)]
New test.

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

16 years agoNew tests.
Marek Safar [Fri, 13 Jul 2007 19:26:15 +0000 (19:26 -0000)]
New tests.

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

16 years ago2007-07-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 13 Jul 2007 19:25:37 +0000 (19:25 -0000)]
2007-07-13  Marek Safar  <marek.safar@gmail.com>

A fix for bug #81917
* attribute.cs (AttributeTester.GetFixedBuffer): More robust testing.

* class.cs (FixedField): Check whether field is in unsafe scope.

* ecore.cs (FieldExpr.DoResolve): Create fixed buffer expression here.
(FieldExpr.Emit): Fixed buffers cannot be volatile.

* expression.cs (ElementAccess.Resolve): Move fixed buffers resolve to
FieldExpr.

* statement.cs (Fixed.Resolve): Simplified fixed buffers.

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

16 years ago2007-07-13 William Holmes <billholmes54@gmail.com>
Andreia Gaita [Fri, 13 Jul 2007 18:09:37 +0000 (18:09 -0000)]
2007-07-13 William Holmes <billholmes54@gmail.com>

* Control.cs: Changing logic in FindFlatForward and
  FindFlatBackward to handle multiple Controls with
  the same TabIndex.
  This fixes bug 81687.

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

16 years ago2007-07-13 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 13 Jul 2007 16:59:59 +0000 (16:59 -0000)]
2007-07-13  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* culture-info-table.h: Forgot to update after r78304.

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

16 years agoAdd missing test
Miguel de Icaza [Fri, 13 Jul 2007 16:16:24 +0000 (16:16 -0000)]
Add missing test

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

16 years ago2007-07-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 13 Jul 2007 14:56:04 +0000 (14:56 -0000)]
2007-07-13  Marek Safar  <marek.safar@gmail.com>

* cs-tokenizer.cs, class.cs, decl.cs, driver.cs, namespace.cs,
rootcontext.cs, expression.cs, statement.cs: Updated to use WarningLevel
from Report class.

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

16 years agoMessage updated
Marek Safar [Fri, 13 Jul 2007 14:14:18 +0000 (14:14 -0000)]
Message updated

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

16 years ago2007-07-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 13 Jul 2007 14:13:06 +0000 (14:13 -0000)]
2007-07-13  Marek Safar  <marek.safar@gmail.com>

* ecore.cs (FieldExpr.AddressOf): Less confusing warning message.

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

16 years agoNew test.
Marek Safar [Fri, 13 Jul 2007 13:49:48 +0000 (13:49 -0000)]
New test.

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

16 years ago2007-07-13 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 13 Jul 2007 13:48:47 +0000 (13:48 -0000)]
2007-07-13  Jonathan Pobst  <monkey@jpobst.com>

* OSFeature.cs: Enable IsPresent.

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

16 years ago2007-07-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 13 Jul 2007 13:43:14 +0000 (13:43 -0000)]
2007-07-13  Marek Safar  <marek.safar@gmail.com>

* anonymous.cs (AnonymousMethodExpression): Parameters are r/o.
(AnonymousContainer.ResolveNoDefine): Another ec to aec flag conversion.

* codegen.cs(EmitContext): Add ProbingMode flag.

* delegate.cs (DelegateInvocation): Set few instance variables as r/o.

* driver.cs: For now set both warning values.

* ecore.cs (SimpleName): Name is readonly.
(MethodGroup.OverloadResolve): One quick path for probing.

* expression.cs (Unary): Set Oper r/o.
(Binary): Set Oper r/o.
(ParameterReference): Set few instance variables as r/o.
(ParameterReference.DoResolveBase): Don't capture aruments when
the probing is on.
(Invocation.CloneTo): Fixed typo, looks easy, yeah.
(Arglist): arguments are private.
(SizeOf): type is private and r/o.
(MemberAccess): arguments are private.

* report.cs: Enhanced reporting on/off capabilities.

* lambda.cs: Uses ec.IsInProbingMode.
(ContextualReturn): Derives from return.

* rootcontext.cs: For now set both warning values.

* statement.cs (CloneContext.RemapBlockCopy): Remaps block to cloned
copy if one exists.
(Return.Resolve): Don't die immediately.
(Block.Resolve): Speed-up probing.
(Block.CloneTo): Clone only child blocks.

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

16 years agoTest based on #82064 (Miguel's commit)
Marek Safar [Fri, 13 Jul 2007 13:08:28 +0000 (13:08 -0000)]
Test based on #82064 (Miguel's commit)

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

16 years ago* class.c (mono_class_is_open_constructed_type)
Raja R Harinath [Fri, 13 Jul 2007 12:57:32 +0000 (12:57 -0000)]
* class.c (mono_class_is_open_constructed_type)
<MONO_TYPE_GENERICINST>: Don't recompute a computed field.

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

16 years agoUpdate expected error message (sic)
Raja R Harinath [Fri, 13 Jul 2007 12:33:24 +0000 (12:33 -0000)]
Update expected error message (sic)

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

16 years agoNew test.
Marek Safar [Fri, 13 Jul 2007 12:20:49 +0000 (12:20 -0000)]
New test.

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

16 years ago* Control.cs: Don't do anything in WmShowWindow if the control has been
Rolf Bjarne Kvinge [Fri, 13 Jul 2007 11:51:54 +0000 (11:51 -0000)]
* Control.cs: Don't do anything in WmShowWindow if the control has been
  disposed. We can get WM_SHOWWINDOW after a control is disposed: a
  control is created, put on a form, the control is disposed (the
  form is never shown), and then we get a MapNotify, triggering a
  WM_SHOWWINDOW.
* Form.cs: Exclude the current form when sending Deactivate to all
  MdiChildren.
* NativeWindow.cs: Set WindowCreating to null as soon as possible,
  there was a race condition because assigning the handle raises
  events, we can get more messages, therefore trying to assign the
  handle again, which would fail if any of those event handlers
  closed/disposed the control.

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

16 years agoFri Jul 13 12:46:15 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 13 Jul 2007 10:34:43 +0000 (10:34 -0000)]
Fri Jul 13 12:46:15 CEST 2007 Paolo Molaro <lupus@ximian.com>

* handles-private.h, handles.c, thread-private.h, threads.c,
uglify.h, wait.c: temporarily revert the alertable wait changes
(r79386) until the deadlock issues are fixed.

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