mono.git
16 years ago2007-07-18 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 18 Jul 2007 23:54:06 +0000 (23:54 -0000)]
2007-07-18  Miguel de Icaza  <miguel@novell.com>

* WaitHandle.cs (Handle): in the 2.0 profile, explicitly dispose
the old SafeWaitHandle, do not wait for the finalizer to run;

Take ownership of the handle;   The docs did not say that
assigning to this value would lead to a leak, the docs said that
in the 1.0 and 1.1 profiles assigning to this property might lead
to a leak.   My mistake.

Fixes: 82134

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

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

* ToolStripContentPanel.cs: Support System renderer.
* ToolStripControlHost.cs: Set RightToLeft to default to No.

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

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

* ListBoxTest.cs, MenuStripTest.cs, ToolStripComboBoxTest.cs,
ToolStripContentPanelTest.cs, ToolStripControlHostTest.cs,
ToolStripDropDownTest.cs, ToolStripProgressBarTest.cs,
ToolStripTest.cs: Sync up some local test additions.

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

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

* ListControl.cs: Fix test that is failing on i586.

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

16 years ago2007-07-18 William Holmes <billholmes54@gmail.com>
Bill Holmes [Wed, 18 Jul 2007 19:58:09 +0000 (19:58 -0000)]
2007-07-18  William Holmes  <billholmes54@gmail.com>

        * filewatcher.c : removed unused variable 'filename' in
          ves_icall_System_IO_FSW_SupportsFSW

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

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

* ScrollableControl.cs: Don't mess up the user's explicit bounds.

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

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

* CheckBox.cs: Chain TextAlign to base implementation instead of
maintaining another one.

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

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

* ButtonBase.cs: Fix an incorrect string constant.

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

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

* TextRenderer.cs: Use the static Graphics context in Hwnd instead
of creating one for measuring strings.

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

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

* ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownMenu.cs:
Implement MaxItemSize.

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

16 years agoMore lambda parser tests.
Marek Safar [Wed, 18 Jul 2007 16:07:39 +0000 (16:07 -0000)]
More lambda parser tests.

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

16 years ago2007-07-18 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Wed, 18 Jul 2007 16:01:20 +0000 (16:01 -0000)]
2007-07-18  Ivan N. Zlatev <contact@i-nz.net>

        * InstanceDescriptor.cs: Fix a NRE.

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

16 years ago2007-07-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 18 Jul 2007 15:59:16 +0000 (15:59 -0000)]
2007-07-18  Marek Safar  <marek.safar@gmail.com>

* cs-tokenizer.cs: Improved lambda parsing and removed old code.

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

16 years ago2007-07-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 18 Jul 2007 15:35:18 +0000 (15:35 -0000)]
2007-07-18  Atsushi Enomoto  <atsushi@ximian.com>

* doc.cs : generic method arguments are written as ``x while generic
  type arguments are `x. Combined with the previous change, fixed bug
  #79706.

* gtest-xml-3.cs, gtest-xml-3-ref.xml : new /doc test for bug #79706.

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

16 years ago2007-07-18 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 18 Jul 2007 15:23:46 +0000 (15:23 -0000)]
2007-07-18  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Cil/CodeReader.cs
  Mono.Cecil.Cil/CodeWriter.cs:
Deal with non-sense instructions that some
obfuscators emit.

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

16 years agoImplemented AuthenticationService and ProfileService properties
Igor Zelmanovich [Wed, 18 Jul 2007 14:26:00 +0000 (14:26 -0000)]
Implemented AuthenticationService and ProfileService properties

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

16 years agoFix #82120
Raja R Harinath [Wed, 18 Jul 2007 13:22:34 +0000 (13:22 -0000)]
Fix #82120
* mcs/expression.cs (Binary.ResolveOperator): When converting
'a + (- b)' to 'a - b', ensure that the unary '-' is discarded.
* tests/test-576.cs: New test for #82120.

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

16 years agoupdate
Jb Evain [Wed, 18 Jul 2007 12:54:45 +0000 (12:54 -0000)]
update

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

16 years ago2007-07-18 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 18 Jul 2007 12:54:00 +0000 (12:54 -0000)]
2007-07-18  Jb Evain  <jbevain@novell.com>

* Mono.Linker/ResolutionException.cs:
  Mono.Linker.Steps/MarkStep.cs:
Throw a resolution exception when a metadata item
can not be resolved in external assemblies.

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

16 years ago2007-07-18 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 18 Jul 2007 12:48:55 +0000 (12:48 -0000)]
2007-07-18  Marek Habersack  <mhabersack@novell.com>

* ControlBuilder.cs: on the 2.0 profile BindingContainerType
returns the associated control's base type when parent builder is
absent instead of typeof (Control). It returns typeof (Control) if
the parent builder type is determined to be a
NamingContainer. This makes the generated code match the MS.NET
output. Fixes bug #82119.

2007-07-18  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs: on the 2.0 profile, GetContainerType
does not look up the Item/Items properties to determine the
container type, instead it just returns the type reported by the
builder passed to this method. This change makes the generated
code match MS.NET. Fixes bug #82119.

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

16 years ago2007-07-18 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 18 Jul 2007 12:31:21 +0000 (12:31 -0000)]
2007-07-18  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/AggressiveReflectionReader.cs:
Deal with out of range properties.
* Mono.Cecil.Metadata/StringsHeap.cs:
Deal with out of range string indexes.

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

16 years agofixed service proxy for PageMethods
Igor Zelmanovich [Wed, 18 Jul 2007 11:57:14 +0000 (11:57 -0000)]
fixed service proxy for PageMethods

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

16 years ago2007-07-18 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 18 Jul 2007 11:14:26 +0000 (11:14 -0000)]
2007-07-18  Jb Evain  <jbevain@novell.com>

* Mono.Linker/AssemblyResolver.cs:
Use the assembly name only as a key for the
assembly cache.

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

16 years ago2007-07-18 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 18 Jul 2007 11:03:17 +0000 (11:03 -0000)]
2007-07-18 Igor Zelmanovich <igorz@mainsoft.com>

* Page.cs:
* ClientScriptManager.cs:
scripts, registered using RegisterClientScriptInclude,
RegisterClientScriptResource and RegisterClientScriptBlock appear on Page
in order matches the order in which the scripts were registered.

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

16 years ago2007-07-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 18 Jul 2007 10:12:34 +0000 (10:12 -0000)]
2007-07-18  Atsushi Enomoto  <atsushi@ximian.com>

* doc.cs : when T: or whatever x: is specified, it does not really
  check the doc comment's syntax correctness. Fixed bug #82006.

* gtest-xml-2.cs, gtest-xml-2-ref.xml : new /doc test for bug #82006.

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

16 years agotune on 2.1 install
Jb Evain [Wed, 18 Jul 2007 10:02:52 +0000 (10:02 -0000)]
tune on 2.1 install

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

16 years agoprops
Jb Evain [Wed, 18 Jul 2007 09:52:38 +0000 (09:52 -0000)]
props

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

16 years ago2007-07-18 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 18 Jul 2007 09:51:34 +0000 (09:51 -0000)]
2007-07-18  Jb Evain  <jbevain@novell.com>

* tuner: new tool to tune the Mono assemblies from a full 2.1
profile to a stripped down silverlight compatible assembly set.

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

16 years agoactually, it's not a good idea
Jb Evain [Wed, 18 Jul 2007 09:16:29 +0000 (09:16 -0000)]
actually, it's not a good idea

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

16 years agocompile monolinker in class/lib
Jb Evain [Wed, 18 Jul 2007 09:12:45 +0000 (09:12 -0000)]
compile monolinker in class/lib

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

16 years agobump version
Jb Evain [Wed, 18 Jul 2007 08:26:28 +0000 (08:26 -0000)]
bump version

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

16 years agodelete empty man folder
Jb Evain [Wed, 18 Jul 2007 08:24:41 +0000 (08:24 -0000)]
delete empty man folder

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

16 years agoNew tests.
Marek Safar [Wed, 18 Jul 2007 08:20:42 +0000 (08:20 -0000)]
New tests.

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

16 years agoNew tests, update
Marek Safar [Wed, 18 Jul 2007 08:15:56 +0000 (08:15 -0000)]
New tests, update

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

16 years ago2007-07-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 18 Jul 2007 08:11:47 +0000 (08:11 -0000)]
2007-07-18  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Use ImplicitLambdaParameter everywhere.

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

16 years ago2007-07-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 18 Jul 2007 08:10:23 +0000 (08:10 -0000)]
2007-07-18  Marek Safar  <marek.safar@gmail.com>

* anonymous.cs (AnonymouseMethodExpression): Refactored to work with
LambdaExpression better.

* cs-tokenizer.cs: Changed a way how we detect lambda parameters.

* driver.cs (LambdaTypeParseTest): Removed, tested method is gone.

* ecore.cs (Expression.MemberLookupFailed): Don't show currect context
as it can be generated.

* expression.cs (Invocation.Error_InvalidArguments): Show correct
modifiers.

* lambda.cs (LambdaExpression): Refactored to share same code with
AnonymousMethodExpression.

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

16 years ago2007-07-17 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 18 Jul 2007 00:08:03 +0000 (00:08 -0000)]
2007-07-17  Rodrigo Kumpera  <rkumpera@novell.com>

* HttpListenerRequest.cs: Support for Cookie decoding.
* HttpListenerResponse.cs: Support for encoding cookies on the response sent to the client
* Cookie.cs: new internal method to encode the Cookie in a proper form to sent to clients

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

16 years ago2006-07-17 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 17 Jul 2007 23:58:38 +0000 (23:58 -0000)]
2006-07-17  Rodrigo Kumpera  <rkumpera@novell.com>

* HttpListener2Test.cs: Tests for cookie receiving and sending, related to bug #81627

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

16 years agoFix for #78781 applied and test added
Alan McGovern [Tue, 17 Jul 2007 23:22:11 +0000 (23:22 -0000)]
Fix for #78781 applied and test added

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

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

* InstrTable.cs: add brzero alias.

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

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

* Control.cs: Remove per-control 1x1 Bitmap and Graphics context used
for DeviceContext.  Instead, use the static one available in Hwnd.
Informal tests show this saves about 500k on formtest.exe.

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

16 years ago* HttpWebRequestTest.cs: Fixed and enabled InternalServerError test.
Gert Driesen [Tue, 17 Jul 2007 17:39:41 +0000 (17:39 -0000)]
* HttpWebRequestTest.cs: Fixed and enabled InternalServerError test.
Added test for response without Content-Length.

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

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