mono.git
16 years ago2007-12-30 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Sun, 30 Dec 2007 18:26:19 +0000 (18:26 -0000)]
2007-12-30  Andreia Gaita <avidigal@novell.com>

* build-csproj2k5: added output types
* SWF2K5.csproj: Updated project

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

16 years ago* System.Web.dll.sources: added AspNetDBSchemaChecker.cs
Vladimir Krasnov [Sun, 30 Dec 2007 16:07:38 +0000 (16:07 -0000)]
* System.Web.dll.sources: added AspNetDBSchemaChecker.cs
* System.Web20.csproj: added AspNetDBSchemaChecker.cs
* SqlProfileProvider.cs: added db schema checking
* SqliteMembershipProvider.cs, SqlRoleProvider.cs: added chema checking
* added AspNetDBSchemaChecker.cs: schema checker helper class

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

16 years ago2007-12-30 Jb Evain <jbevain@novell.com>
Jb Evain [Sun, 30 Dec 2007 13:26:06 +0000 (13:26 -0000)]
2007-12-30  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Cil/CilWorker.cs:
Check for null arguments. Fix #350857.

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

16 years agoadded 3.5 version
Igor Zelmanovich [Sun, 30 Dec 2007 13:22:28 +0000 (13:22 -0000)]
added 3.5 version

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

16 years agoUpdateProgress resolve ClienID of associated UpdatePanel
Igor Zelmanovich [Sun, 30 Dec 2007 12:47:24 +0000 (12:47 -0000)]
UpdateProgress resolve ClienID of associated UpdatePanel

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

16 years agoOutputStreamWrapper is cached.
Igor Zelmanovich [Sun, 30 Dec 2007 11:07:04 +0000 (11:07 -0000)]
OutputStreamWrapper is cached.

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

16 years agofixed end lines
Igor Zelmanovich [Sun, 30 Dec 2007 11:06:23 +0000 (11:06 -0000)]
fixed end lines

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

16 years agooops, sorry about this; Thanks Robert for pointing this out
Miguel de Icaza [Sun, 30 Dec 2007 04:56:21 +0000 (04:56 -0000)]
oops, sorry about this;   Thanks Robert for pointing this out

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

16 years ago2007-12-29 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 29 Dec 2007 22:05:43 +0000 (22:05 -0000)]
2007-12-29  Miguel de Icaza  <miguel@novell.com>

* icall.c
(ves_icall_System_CurrentSystemTimeZone_GetTimeZoneData): Turn the
assert into a negative result, the managed code already coped with
that.

Some folks on Windows reported this error.

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

16 years ago* TypeBuilderTest.cs: Added tests for GetConstructor(s), GetEvent(s),
Gert Driesen [Sat, 29 Dec 2007 13:19:10 +0000 (13:19 -0000)]
* TypeBuilderTest.cs: Added tests for GetConstructor(s), GetEvent(s),
GetField(s), GetPropert(y/ies) and GetMethod(s) that verify our
behavior for inherited members. Most of these are marked NotWorking
until bug #322762 is fixed.

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

16 years ago2007-12-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 29 Dec 2007 13:07:57 +0000 (13:07 -0000)]
2007-12-29  Zoltan Varga  <vargaz@gmail.com>

* mini-ppc.c (mono_arch_get_delegate_invoke_impl): Fix flushing of icache.

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

16 years ago2007-12-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 29 Dec 2007 11:16:44 +0000 (11:16 -0000)]
2007-12-29  Marek Safar  <marek.safar@gmail.com>

A test for bug #324654

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

16 years ago2007-12-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 29 Dec 2007 11:16:00 +0000 (11:16 -0000)]
2007-12-29  Marek Safar  <marek.safar@gmail.com>

A fix for bug #324654
  * class.cs: Use FullName property as member name.

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

16 years ago* BinaryFormatterTest.cs: Added test for inherited fields. Code formatting.
Gert Driesen [Sat, 29 Dec 2007 09:36:10 +0000 (09:36 -0000)]
* BinaryFormatterTest.cs: Added test for inherited fields. Code formatting.

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

16 years ago* ExternalExceptionTest.cs: Improved ctor test.
Gert Driesen [Sat, 29 Dec 2007 08:54:31 +0000 (08:54 -0000)]
* ExternalExceptionTest.cs: Improved ctor test.

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

16 years ago* xpidl2cs.pl: Generates c# interfaces from xpcom (mozilla)
Andreia Gaita [Fri, 28 Dec 2007 22:42:29 +0000 (22:42 -0000)]
* xpidl2cs.pl: Generates c# interfaces from xpcom (mozilla)
idl files.
From a given idl file, generates the corresponding cs file,
and recursively generates all the parents up to nsISupports.
Also generates all related interfaces that are used on methods
and properties.

2007-12-28  Andreia Gaita  <avidigal@novell.com>

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

16 years ago2007-12-28 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 28 Dec 2007 20:19:43 +0000 (20:19 -0000)]
2007-12-28  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxBase.cs: Don't store a 1x1 Bitmap for every TextBox
created.

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

16 years ago2007-12-28 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 28 Dec 2007 19:55:02 +0000 (19:55 -0000)]
2007-12-28  Marek Safar  <marek.safar@gmail.com>

A test for bug #342117

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

16 years ago2007-12-28 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 28 Dec 2007 19:54:07 +0000 (19:54 -0000)]
2007-12-28  Marek Safar  <marek.safar@gmail.com>

A fix for bug #342117
  * gegneric.cs (ConstraintChecker): Struct constraint also satisfies default
constructor constraint.

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

16 years ago2007-12-28 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 28 Dec 2007 17:41:46 +0000 (17:41 -0000)]
2007-12-28  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxTextRenderer.cs: Implement a cache for measuring each
character.  This is effective because the typical usage of a
TextBox is with a limited amount of fonts and characters, and
the current implementation of TextBox measures everything one
character at a time.  Another second or two speedup for bug #347238.

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

16 years ago2007-12-28 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Fri, 28 Dec 2007 16:40:17 +0000 (16:40 -0000)]
2007-12-28  Everaldo Canuto  <ecanuto@novell.com>

* configure.in: Add support for oprofile.

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

16 years ago2007-12-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 28 Dec 2007 16:40:11 +0000 (16:40 -0000)]
2007-12-27  Marek Safar  <marek.safar@gmail.com>

A test for bug #338273

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

16 years ago2007-12-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 28 Dec 2007 16:39:44 +0000 (16:39 -0000)]
2007-12-27  Marek Safar  <marek.safar@gmail.com>

A fix for bug #338273
  * class.cs (ProbertyBase): Access modifier checks are required for overrides
  only.

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

16 years ago2007-12-28 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 28 Dec 2007 16:20:47 +0000 (16:20 -0000)]
2007-12-28  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Rewrite the Font getter to only query the parent's
Font property once instead of twice.  Since this operation is
recursive, the queries were growing exponentially as the control
tree got deeper.  Another second or two speedup for bug #347238.

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

16 years ago2007-12-28 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 28 Dec 2007 16:11:38 +0000 (16:11 -0000)]
2007-12-28  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Avoid setting a parent (and more importantly, updating
the zorder of all its children) if the parent is already correct in
WmShowWindow.  Decreases the startup time of the test case on bug
#347238 from 35 seconds to 11 seconds.

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

16 years agoNew test.
Marek Safar [Fri, 28 Dec 2007 12:42:25 +0000 (12:42 -0000)]
New test.

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

16 years ago2007-12-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 28 Dec 2007 12:40:29 +0000 (12:40 -0000)]
2007-12-27  Marek Safar  <marek.safar@gmail.com>

A fix for bug #350839
  * ecore.cs (MethodroupExpr): Probing hacks are no longer required.

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

16 years ago2007-12-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Dec 2007 08:42:21 +0000 (08:42 -0000)]
2007-12-28  Atsushi Enomoto  <atsushi@ximian.com>

* ThreadTest.cs : made couple of tests fail under Windows and made
  corlib tests run without timtout.

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

16 years ago* driver.cs: Ignore the /nologo option instead of considering it to
Gert Driesen [Fri, 28 Dec 2007 08:27:35 +0000 (08:27 -0000)]
* driver.cs: Ignore the /nologo option instead of considering it to
be part of the assembly (file) name. Modified Uninstall to take ref
arguments for number of uninstalled assemblies and number of failures,
and bool for indicating whether it's being executed in list mode.
Depending on the command, report the number of assemblies that were
processed, uninstalled, installed and the number of failures. Updated
failure messages for install command to include path of assembly that
is being installed. In Uninstall, only increment failure count for a
no-match condition and only process first match when executing in list
mode. In InstallFromList and UninstallFromList, skip lines containing
only whitespace characters. In non-list mode, the uninstall command
reports success if there are no matches for the specified assembly
name. In list-mode, the uninstall command reports an error if there's
no match for at least one of the specified assembly names. The version
number of the assembly - that you want to uninstall or for which you
want a list of assemblies that are in the GAC - can be partial and
will then match the version numbers starting with that text. Removed
unused CombinePatchs method.

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

16 years ago* appdomain.c: Bump corlib version.
Gert Driesen [Fri, 28 Dec 2007 08:23:48 +0000 (08:23 -0000)]
* appdomain.c: Bump corlib version.
* icall.c:
(ves_icall_System_Reflection_Assembly_GetReferencedAssemblies): Use
CultureInfo.CreateCulture to create CultureInfo for name.
(fill_reflection_assembly_name): Use CultureInfo.CreateCulture to
create CultureInfo for name. Fixes bug #347174.

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

16 years ago* Environment.cs: Bump corlib version.
Gert Driesen [Fri, 28 Dec 2007 08:23:03 +0000 (08:23 -0000)]
* Environment.cs: Bump corlib version.
* CultureInfo.cs: Added internal CreateCulture method, which is used
by the runtime to creating CultureInfo instances for AssemblyName.
* AssemblyNameTest.cs: Improved culture test to cover bug #347174.
* Descriptors/mscorlib.xml: Preserve all for CultureInfo to prevent
linker from removing CreateCulture method that is only used by the
runtime.

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

16 years ago2007-12-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Dec 2007 05:23:45 +0000 (05:23 -0000)]
2007-12-28  Atsushi Enomoto  <atsushi@ximian.com>

* ThreadTest.cs : marked TestStart() as NotDotNet. It hangs.

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

16 years ago2007-12-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 28 Dec 2007 01:26:50 +0000 (01:26 -0000)]
2007-12-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* X11Dnd.cs: When the dnd operation has started and we are
in the dnd loop, don't dispatch either WM_LBUTTONUP nor WM_RBUTTONUP.
This is done to match .Net, which doesn't send those messages after
dnd operation was completed/cancelled.
Fixes #349922.

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

16 years ago2007-12-28 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 28 Dec 2007 00:51:57 +0000 (00:51 -0000)]
2007-12-28  Marek Habersack  <mhabersack@novell.com>

* PageCompiler.cs: MS.NET compatibility: added the
__fileDependencies object to the generated class.
Refactored the output to match MS.NET more closely.
IHttpHandler or IHttpAsyncHandler are now added to the generated
class list of implemented interfaces.

* BaseCompiler.cs: Main class field references are prefixed with
'global::' now.
Refactored the output to match MS.NET more closely.

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

16 years ago2007-12-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 28 Dec 2007 00:40:31 +0000 (00:40 -0000)]
2007-12-28  Zoltan Varga  <vargaz@gmail.com>

* MemoryStreamTest.cs: Add new test.

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

16 years ago2007-12-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 28 Dec 2007 00:39:33 +0000 (00:39 -0000)]
2007-12-28  Zoltan Varga  <vargaz@gmail.com>

* MemoryStream.cs: Fix crash if internalBuffer is null. Avoid calling
unsafe icalls. Fixes #350860.

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

16 years ago2007-12-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 27 Dec 2007 22:46:27 +0000 (22:46 -0000)]
2007-12-27  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: added IL_CODE_FLAG_STACK_INITED and IL_CODE_STACK_MERGED
flags.

* verify.c (is_valid_branch_instruction): allow branching to the
first instruction of the protected block.

* verify.c (is_valid_cmp_branch_instruction): same.

* verify.c (stack_init): use IL_CODE_FLAG_STACK_INITED flag to
avoid double initialization.

* verify.c (merge_stacks): use IL_CODE_STACK_MERGED to
detect which cases the eval stack should just be copied.

* verify.c (mono_method_verify): check if the eval stack
is empty when entering a protected block.

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

16 years ago2007-12-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 27 Dec 2007 21:53:21 +0000 (21:53 -0000)]
2007-12-27 Rodrigo Kumpera <rkumpera@novell.com>

* invalid_non_empty_stack_at_try_begin.il: added.

* valid_branch_to_first_intruction_of_try.il: added.

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

16 years ago2007-12-27 AdTsai (http://code.google.com/u/AdTsai/)
Miguel de Icaza [Thu, 27 Dec 2007 21:09:23 +0000 (21:09 -0000)]
2007-12-27  AdTsai (code.google.com/u/AdTsai/)

Reviewed by Ben Maurer, Miguel de Icaza, patches from Google's
GHOP:

http://code.google.com/p/google-highly-open-participation-mono/issues/detail?id=4

* statement.cs: Changed some Hashtables to use HybridDictionaries
instead. It was observed that some HashTables only contained a few
items in the vast majority of cases. Since HybridDictionary is
more efficient on small sets (<10 elements), "known_variables"
from class ExplicitBlock as well as "labels" and "constants " from
class Block were changed to HybridDictionaries.

Atsai results: (56216kb->54987kb)

Miguel results (bootstrap of mcs): 59819kb -> 59290kb

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

16 years agoForgot
Miguel de Icaza [Thu, 27 Dec 2007 20:56:05 +0000 (20:56 -0000)]
Forgot

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

16 years ago2007-12-27 AdTsai (http://code.google.com/u/AdTsai/)
Miguel de Icaza [Thu, 27 Dec 2007 20:54:16 +0000 (20:54 -0000)]
2007-12-27  AdTsai (code.google.com/u/AdTsai/)

Reviewed by Ben Maurer, Miguel de Icaza, patches from Google's
GHOP:

http://code.google.com/p/google-highly-open-participation-mono/issues/detail?id=4

* expression.cs: foreach loop to for loop, saved on allocation of
enumerator (59333kb->59141kb)

* statement.cs. Changed foreach loops to for loops, saved on
allocation of enumerator (59141kb->59006kb)

* decl.cs: ArrayLists in .NET 1.1 allocate 16 elements by default
when constructed with no specified capacity. This was causing a
few ArrayLists to allocate more memory than they would potentially
need in the Block class and MemberCache class. Setting the
ArrayLists to construct with a capacity of 1 saves some
memory. (56216kb->55585kb)

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

16 years agoproperly override NameValueCollection to support interop with it
Konstantin Triger [Thu, 27 Dec 2007 18:51:37 +0000 (18:51 -0000)]
properly override NameValueCollection to support interop with it

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

16 years ago2007-12-27 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 27 Dec 2007 18:30:23 +0000 (18:30 -0000)]
2007-12-27  Miguel de Icaza  <miguel@novell.com>

* WebClient.cs: We catch exceptions that happen on the helper
async threads toa void terminating the application on errors, and
also raise a variant of the OnXXXXCompleted methods that take an
Exception argument.

Note that this differs from the .NET implementation in that
we actually raise a signal on error, and set the exception, and in
their case no error is ever raised.

We now call CompleteAsync in the OnXXXCompleted handlers to ensure
that the WebClient can be reused immediately by the callback.

This fixes #350621.

This also should fix the bug report on IRC where someone
complained that they could not "chain" invocations to XXXAsync
methods from the OnXXXXCompleted handlers due to the WebClient
refusing to work if there was an ongoing operation

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

16 years ago2007-12-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 27 Dec 2007 17:09:31 +0000 (17:09 -0000)]
2007-12-27 Rodrigo Kumpera <rkumpera@novell.com>

* make_exception_overlap_test.sh: new test generator.

* make_tests.sh: new tests for exception clause restrictions
enumerated in P1 12.4.2.7.

* invalid_catch_block_starts_after_prefix.il: new test
for a catch block that starts in the middle of an instruction.

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

16 years ago2007-12-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 27 Dec 2007 17:06:52 +0000 (17:06 -0000)]
2007-12-27  Marek Safar  <marek.safar@gmail.com>

A fix for bug #347189 (2nd issue)
  * expression.cs (MemberAccess): Nested type can be found in base non-generic
  type.

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

16 years ago2007-12-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 27 Dec 2007 17:05:27 +0000 (17:05 -0000)]
2007-12-27  Marek Safar  <marek.safar@gmail.com>

A test for bug #347189 (2nd issue)

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

16 years ago2007-12-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 27 Dec 2007 17:04:49 +0000 (17:04 -0000)]
2007-12-27  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: added is_clause_in_range, is_clause_inside_range,
is_clause_nested and verify_clause_relationship. They perform
the verifications stated in P1 12.4.2.7.

* verify.c (mono_method_verify): remove some unused variables,
add the new exception clause checks, add instruction border
checks for protected block start/end, improved some error
messages and fixed a bug in the way invalid instruction access
is detected.

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

16 years agotypo fix
Igor Zelmanovich [Thu, 27 Dec 2007 16:12:56 +0000 (16:12 -0000)]
typo fix

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

16 years ago2007-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Dec 2007 16:04:57 +0000 (16:04 -0000)]
2007-12-27  Atsushi Enomoto  <atsushi@ximian.com>

* DecoderFallback.cs, EncoderFallback.cs, Encoding.cs :
  the same "\uFFFD" fix for encoder fallback.
  Reduced extra instantiation of those fallbacks.

* EncoderReplacementFallbackTest.cs,
  EncoderReplacementFallbackBufferTest.cs : encoder test for
  "\uFFFD" replacement.

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

16 years ago2007-12-27 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 27 Dec 2007 15:51:50 +0000 (15:51 -0000)]
2007-12-27  Miguel de Icaza  <miguel@novell.com>

* report.cs: Do not use colors if stdout and stderr are not a
terminal.

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

16 years ago2007-12-27 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 27 Dec 2007 15:23:32 +0000 (15:23 -0000)]
2007-12-27  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs: Previous change should be != null, not == null.
Thanks Gert!

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

16 years ago2007-12-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 27 Dec 2007 15:19:48 +0000 (15:19 -0000)]
2007-12-27  Marek Habersack  <mhabersack@novell.com>

* BaseCompiler.cs: check for base type globality in all the
location it is used.
2007-12-27  Marek Habersack  <mhabersack@novell.com>

* TemplateParser.cs: check for base type globality also when the
default type is used.

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

16 years ago2007-12-27 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 27 Dec 2007 15:18:13 +0000 (15:18 -0000)]
2007-12-27  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs: Guard against an NRE after ItemClicked is called, the
user may have moved the mouse off the current item during the event.

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

16 years ago2007-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Dec 2007 14:40:40 +0000 (14:40 -0000)]
2007-12-27  Atsushi Enomoto  <atsushi@ximian.com>

* XslTransformTests.cs : added test for bug #349375. (Actually the
  previous checkin fixed bug #349375.)
  Added another notworking one inspired by the same bug.

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

16 years ago2007-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Dec 2007 14:34:30 +0000 (14:34 -0000)]
2007-12-27  Atsushi Enomoto  <atsushi@ximian.com>

* XslTemplate.cs, XslTransformProcessor.cs :
  Some disambiguation around whitespace handling (input strip/preserve
  and output control).
* XslStylesheet.cs : change GetPreserveWhitespace() to match the
  actual behavior; it does not (and should not) really walk through
  ancestors. Default whitespace handling depends on the default ("*")
  handling. (Those changes should not affect anything.)

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

16 years agoAdd support for java config files settings inside the .Net appSettings
Konstantin Triger [Thu, 27 Dec 2007 14:27:55 +0000 (14:27 -0000)]
Add support for java config files settings inside the .Net appSettings

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

16 years agomove J2EEconts to Mainsoft.Web.Hosting ns; add support for our HttpContexts
Konstantin Triger [Thu, 27 Dec 2007 14:19:01 +0000 (14:19 -0000)]
move J2EEconts to Mainsoft.Web.Hosting ns; add support for our HttpContexts

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

16 years ago2007-12-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 27 Dec 2007 13:41:30 +0000 (13:41 -0000)]
2007-12-27  Marek Safar  <marek.safar@gmail.com>

A test for bug #346998

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

16 years ago2007-12-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 27 Dec 2007 13:40:56 +0000 (13:40 -0000)]
2007-12-27  Marek Safar  <marek.safar@gmail.com>

A fix for bug #346998
  * ecore.cs (MethodGroupExpr): Implemented override filter for generic
  overloads.

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

16 years agorefactoring
Igor Zelmanovich [Thu, 27 Dec 2007 13:39:56 +0000 (13:39 -0000)]
refactoring

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

16 years ago2007-12-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 27 Dec 2007 12:47:04 +0000 (12:47 -0000)]
2007-12-27  Marek Habersack  <mhabersack@novell.com>

* ProfileGroupSettingsCollection.cs: added an internal method to
add/overwrite new group settings. Used from
RootProfilePropertySettingsCollection.

* ProfileGroupSettings.cs: added the missing "name" property to
the properties collection.
Marked the propertySettingsProp property as the default
collection.
Added internal deserialization method, used from
RootProfilePropertySettingsCollection to support the 'group'
element.

* ProfileSection.cs: defaultProviderProp typo - the name of the
provider should be "AspNetSqlProfileProvider"

* RootProfilePropertySettingsCollection.cs: added
OnDeseerializeUnrecognizedElement to support the profile 'group'
element.
Added a missing Unmerge method.

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

16 years ago2007-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Dec 2007 11:44:16 +0000 (11:44 -0000)]
2007-12-27  Atsushi Enomoto  <atsushi@ximian.com>

* XslCompiledTransform.cs : when loading XmlReader as an input to
  Transform(), preserve whitespaces in the input document. Based on
  the patch by Tor Lillqvist (part of #349375 fix).

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

16 years ago1. refactoring
Igor Zelmanovich [Thu, 27 Dec 2007 10:43:48 +0000 (10:43 -0000)]
1. refactoring
2. implement state management on session

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

16 years ago2007-12-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 27 Dec 2007 10:42:46 +0000 (10:42 -0000)]
2007-12-27  Marek Safar  <marek.safar@gmail.com>

A test for bug #343465

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

16 years ago2007-12-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 27 Dec 2007 10:42:06 +0000 (10:42 -0000)]
2007-12-27  Marek Safar  <marek.safar@gmail.com>

A fix for bug #343465
  * class.cs: Explicit method name for nested types uses dots only.

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

16 years ago2007-12-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 27 Dec 2007 09:59:45 +0000 (09:59 -0000)]
2007-12-27  Marek Safar  <marek.safar@gmail.com>

A fix for bug #343707
  * cs-tokenizer.cs: Advance line number for mixed CR/LF files correctly.

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

16 years ago2007-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Dec 2007 09:55:13 +0000 (09:55 -0000)]
2007-12-27  Atsushi Enomoto <atsushi@ximian.com>

* RncParser.jay, RncTokenizer.cs : some changes to fill element
  locations in *.rnc. To make it possible, added some overrides to
  pass BaseUri to Parse() and ParseRnc().
  Allow null nameTable (just create a new instance).

* RelaxngPattern.cs : (RelaxngInclude) when a relative Uri is
  specified as its BaseUri, make it into an absolute path and
  then resolve the URI.

* NvdlRelaxngSupport.cs : pass baseUri to RncParser.

* xmltool.cs : use absolute path as the base uri for *.rnc.

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

16 years agoNew tests.
Marek Safar [Thu, 27 Dec 2007 09:37:12 +0000 (09:37 -0000)]
New tests.

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

16 years ago2007-12-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 27 Dec 2007 09:36:47 +0000 (09:36 -0000)]
2007-12-27  Marek Safar  <marek.safar@gmail.com>

* ecore.cs: Report type inference errors only when arguments count matches
parameter count.

* generic.cs (NullCoalescingOperator): Cannot be applied to null.

  * expression.cs, report.cs: New warning.

  * typemanager.cs: Catch anonymous method type too.

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

16 years agorelease faces factories on shutdown
Konstantin Triger [Thu, 27 Dec 2007 08:54:38 +0000 (08:54 -0000)]
release faces factories on shutdown

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

16 years ago2007-12-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Dec 2007 22:43:39 +0000 (22:43 -0000)]
2007-12-27  Zoltan Varga  <vargaz@gmail.com>

* Thread.cs: Change the type of synch_cs to an IntPtr to be in synch with the
unmanaged definition.

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Dec 2007 21:16:51 +0000 (21:16 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* Assembly.cs (GetSatelliteAssembly): Search in the assembly directory as well.
Fixes ##345627.

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

16 years ago2007-12-26 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 26 Dec 2007 15:24:35 +0000 (15:24 -0000)]
2007-12-26 Igor Zelmanovich <igorz@mainsoft.com>

* TraceContext.cs:
* TraceData.cs:
make trace considers control state info.

2007-12-26 Igor Zelmanovich <igorz@mainsoft.com>

* Control.cs:
* Page.cs:
make Trace considers control state info.

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Dec 2007 15:23:50 +0000 (15:23 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* boehm-gc.c (mono_gc_register_thread): Use the new GC_register_my_thread () routine
from GC 7.0 if available.

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

16 years agocorrect CreateActionUrl for not application paths
Konstantin Triger [Wed, 26 Dec 2007 15:02:47 +0000 (15:02 -0000)]
correct CreateActionUrl for not application paths

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Dec 2007 14:34:36 +0000 (14:34 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* object.c: Remove an unused define.

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Dec 2007 14:16:39 +0000 (14:16 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_class_compute_gc_descriptor): Fix a warning.

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Dec 2007 14:12:47 +0000 (14:12 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* boehm-gc.c (mono_gc_make_descr_for_array): Implement.

* null-gc.c (mono_gc_make_descr_for_array): Implement.

* object.c (mono_class_compute_gc_descriptor): Remove an #ifdef SGEN_GC.

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

16 years agoFix web services test page in java build
Sasha Kogan [Wed, 26 Dec 2007 13:23:31 +0000 (13:23 -0000)]
Fix web services test page in java build

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

16 years agoMake sure test assembly is in classpath
Noam Lampert [Wed, 26 Dec 2007 10:12:29 +0000 (10:12 -0000)]
Make sure test assembly is in classpath

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

16 years agofixed/redesigned ScriptManagerProxy
Igor Zelmanovich [Wed, 26 Dec 2007 09:56:18 +0000 (09:56 -0000)]
fixed/redesigned ScriptManagerProxy

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Dec 2007 00:47:20 +0000 (00:47 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* gc-internal.h: Change the signature of mono_gc_make_descr_for_string ()
to take the same arguments as the other make_descr functions.

* boehm-gc.c null-gc.c: Add implementation for make_descr functions.

* objects.c: Get rid of the MAKE_DESCRIPTOR macros, call make_descr functions
directly.

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Dec 2007 23:40:47 +0000 (23:40 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* boehm-gc.c (mono_gc_base_init): Moved the setting of GC_stackbottom here from
mini.c.

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Dec 2007 23:40:08 +0000 (23:40 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_init): Move the setting of GC_stackbottom to mono_gc_base_init ().

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Dec 2007 23:06:04 +0000 (23:06 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_class_compute_gc_descriptor): Move the GC_init_gcj_malloc ()
call to boehm-gc.c.

* boehm-gc.c (mono_gc_register_root): Fix a warning.

* null-gc.c (mono_gc_register_root): Fix a warning.

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Dec 2007 22:56:55 +0000 (22:56 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (ALLOC_REFENTRY): Use mono_gc_alloc_fixed for boehm as well.

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Dec 2007 22:46:49 +0000 (22:46 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_init): Call mono_gc_base_init () instead of MONO_GC_PRE_INIT ().

* driver.c (mono_main): Ditto.

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Dec 2007 22:45:33 +0000 (22:45 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* boehm-gc.c (mono_gc_register_root): Moved definition here from gc_wrapper.h.
(mono_gc_base_init): Call GC_init ().

* null-gc.c: Define mono_gc_register_root () as a no-op.

* domain.c appdomain.c: Call mono_gc_base_init () instead of MONO_GC_PRE_INIT ().

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

16 years ago2007-12-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Dec 2007 22:43:08 +0000 (22:43 -0000)]
2007-12-26  Zoltan Varga  <vargaz@gmail.com>

* gc_wrapper.h: Get rid of the MONO_GC_PRE_INIT () macro and unify definition
of MONO_GC_REGISTER_ROOT.

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

16 years agoImprove deployment in builder environment
Noam Lampert [Tue, 25 Dec 2007 16:12:43 +0000 (16:12 -0000)]
Improve deployment in builder environment

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

16 years agoUpgrade test suite due to jsf integration
Igor Zelmanovich [Tue, 25 Dec 2007 14:56:58 +0000 (14:56 -0000)]
Upgrade test suite due to jsf integration

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

16 years agoadded TARGET_J2EE
Igor Zelmanovich [Tue, 25 Dec 2007 14:53:49 +0000 (14:53 -0000)]
added TARGET_J2EE

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

16 years agodo the IHttpExtendedHandler analyzis ourselves
Konstantin Triger [Tue, 25 Dec 2007 14:52:20 +0000 (14:52 -0000)]
do the IHttpExtendedHandler analyzis ourselves

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

16 years ago1. refactoring
Igor Zelmanovich [Tue, 25 Dec 2007 14:32:18 +0000 (14:32 -0000)]
1. refactoring
2. make Jsf handler IServiceProvider

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

16 years ago2007-12-25 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 25 Dec 2007 11:02:14 +0000 (11:02 -0000)]
2007-12-25 Igor Zelmanovich <igorz@mainsoft.com>

* HttpApplication.cs: initialize culture each request.
makes it consider culture settings from nested web.config

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

16 years ago* PropertyDescriptorCollection.cs: optimized Find method, removed culture sensitive...
Vladimir Krasnov [Tue, 25 Dec 2007 10:17:47 +0000 (10:17 -0000)]
* PropertyDescriptorCollection.cs: optimized Find method, removed culture sensitive string comparison
* PropertyDescriptorCollectionTests.cs: added test for Find method

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

16 years agotypo - pass the correct property to Attribute.GetCustomAttribute; Pass oroginal excep...
Konstantin Triger [Tue, 25 Dec 2007 07:12:08 +0000 (07:12 -0000)]
typo - pass the correct property to Attribute.GetCustomAttribute; Pass oroginal exception as inner

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

16 years ago* Mono.Mozilla/DOM/DOMHTMLDocument.cs,
Andreia Gaita [Tue, 25 Dec 2007 05:01:57 +0000 (05:01 -0000)]
* Mono.Mozilla/DOM/DOMHTMLDocument.cs,
  Mono.Mozilla/DOM/DOMObject.cs
  Mono.Mozilla/DOM/Navigation.cs:

Properly dispose unmanaged resources.
Use native mozilla dom interfaces through com directly instead
of going through the glue, as they are now proxies that invoke
the methods on the main mozilla ui properly (avoiding threading problems).
Check if library was properly initialized.
Add Go method - implements navigation
directly through COM instead of going through the glue.

* Mono.Mozilla/interfaces/nsIWebNavigation.cs: Use typed flags instead of
generic uint32. Remove comments about threading (as it is now safe to use
this interface)

* Mono.Mozilla/Base.cs: Return bool on initialization so I can track if
library was properly initialized from the interfaces that go directly
through COM and not through the glue

* Mono.Mozilla/WebBrowser.cs: Save initialization result so interfaces
don't get called if the library was not initialized.

2007-12-25  Andreia Gaita  <avidigal@novell.com>

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

16 years ago2007-12-24 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 24 Dec 2007 19:55:08 +0000 (19:55 -0000)]
2007-12-24  Miguel de Icaza  <miguel@novell.com>

* WebClient.cs: Do not validate method to be null, we do not do
that in OpenWrite, the detection is done later on.

Fixes #350622

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

16 years ago2007-12-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 24 Dec 2007 17:48:35 +0000 (17:48 -0000)]
2007-12-24  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: add prototype for merge_stacks at top

* verify.c (do_switch): added.

* verify.c (merge_stacks): on some cases the stack merging
was not happening properly. Unequal stack sizes at merge
points should be invalid.

* verify.c (mono_method_verify): added more debug info on stack state.
verify switch properly.

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