mono.git
16 years agoinitial implementation of 'unify request'
Igor Zelmanovich [Sun, 25 Nov 2007 14:08:39 +0000 (14:08 -0000)]
initial implementation of 'unify request'

svn path=/branches/mainsoft/JSF/mcs/; revision=90267

16 years agomerged with GHServlet
Igor Zelmanovich [Sun, 25 Nov 2007 13:53:44 +0000 (13:53 -0000)]
merged with GHServlet

svn path=/branches/mainsoft/JSF/mcs/; revision=90266

16 years agorefactoring for portal integration
Konstantin Triger [Tue, 20 Nov 2007 07:45:38 +0000 (07:45 -0000)]
refactoring for portal integration

svn path=/branches/mainsoft/JSF/mcs/; revision=89966

16 years agoimplement JSF life cycle on the page
Igor Zelmanovich [Mon, 19 Nov 2007 15:22:55 +0000 (15:22 -0000)]
implement JSF life cycle on the page
added IHttpExtendedHandler interface

svn path=/branches/mainsoft/JSF/mcs/; revision=89931

16 years agofixed reference to faces api.
Igor Zelmanovich [Mon, 19 Nov 2007 12:52:58 +0000 (12:52 -0000)]
fixed reference to faces api.

svn path=/branches/mainsoft/JSF/mcs/; revision=89927

16 years agoadded ServletFacesPageHandlerFactory
Igor Zelmanovich [Mon, 19 Nov 2007 12:49:28 +0000 (12:49 -0000)]
added ServletFacesPageHandlerFactory

svn path=/branches/mainsoft/JSF/mcs/; revision=89926

16 years ago* Unit.cs: performance optimization: ToString fixed, string.Concat used instead of...
Vladimir Krasnov [Mon, 19 Nov 2007 09:58:56 +0000 (09:58 -0000)]
* Unit.cs: performance optimization: ToString fixed, string.Concat used instead of string.Format

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

16 years ago* Page.jvm.cs: IsMultiForm optimized, cached configuration call
Vladimir Krasnov [Mon, 19 Nov 2007 09:46:57 +0000 (09:46 -0000)]
* Page.jvm.cs: IsMultiForm optimized, cached configuration call

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

16 years ago* Style.cs: performance optimization: suppress finalizer added
Vladimir Krasnov [Mon, 19 Nov 2007 09:33:45 +0000 (09:33 -0000)]
* Style.cs: performance optimization: suppress finalizer added

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

16 years ago2007-11-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 19 Nov 2007 08:48:32 +0000 (08:48 -0000)]
2007-11-19  Atsushi Enomoto  <atsushi@ximian.com>

* configure.in : fix win32 build.

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

16 years ago2007-11-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 18 Nov 2007 23:58:07 +0000 (23:58 -0000)]
2007-11-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewItem.cs: Implement 2.0 FindNearestItem method.

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

16 years ago* Enum.cs: Provided ParamName of Argument(Null)Exceptions. Rewrote
Gert Driesen [Sun, 18 Nov 2007 17:06:02 +0000 (17:06 -0000)]
* Enum.cs: Provided ParamName of Argument(Null)Exceptions. Rewrote
some exception messages.
Changed exception messages to match MS.
* EnumTest.cs: No longer derive from deprecated TestCase. Improved
and added tests for argument checks. Added tests to ToObject. Code
formatting. Group enums.

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

16 years agoRevert 89891
Miguel de Icaza [Sun, 18 Nov 2007 16:29:19 +0000 (16:29 -0000)]
Revert 89891

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

16 years ago* Enum.cs: Fixed ParamName of Argument(Null)Exceptions to match MS.
Gert Driesen [Sun, 18 Nov 2007 16:13:10 +0000 (16:13 -0000)]
* Enum.cs: Fixed ParamName of Argument(Null)Exceptions to match MS.
Changed exception messages to match MS.
* EnumTest.cs: No longer derive from deprecated TestCase. Improved
and added tests for argument checks. Added tests to ToObject. Code
formatting. Group enums.

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

16 years ago2007-11-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 18 Nov 2007 15:49:13 +0000 (15:49 -0000)]
2007-11-18  Sebastien Pouliot  <sebastien@ximian.com>

* RSAManaged.cs: Fix the rare case where the inverse of q modulo p
can result in bigint one byte shorter than expected, which could
mess up the export/import of the key.

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

16 years ago2007-11-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 18 Nov 2007 15:47:59 +0000 (15:47 -0000)]
2007-11-18  Sebastien Pouliot  <sebastien@ximian.com>

* RSAManaged.cs: Fix the rare case where the inverse of q modulo p
can result in bigint one byte shorter than expected, which could
mess up the export/import of the key.

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

16 years ago * icall.c: Renamed arguments for ves_icall_System_Enum_ToObject to
Gert Driesen [Sun, 18 Nov 2007 15:42:36 +0000 (15:42 -0000)]
 * icall.c: Renamed arguments for ves_icall_System_Enum_ToObject to
fix ParamName of ArgumentNullExceptions.

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

16 years agoFixed wrong conversion from replacement string "\\" to "\" (bug#9460)
Arina Itkes [Sun, 18 Nov 2007 12:16:45 +0000 (12:16 -0000)]
Fixed wrong conversion from replacement string "\\" to "\" (bug#9460)

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

16 years agoRemoved machine initialization that was removed from Regex.
Arina Itkes [Sun, 18 Nov 2007 08:59:54 +0000 (08:59 -0000)]
Removed machine initialization that was removed from Regex.

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

16 years ago2007-11-18 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 18 Nov 2007 05:01:04 +0000 (05:01 -0000)]
2007-11-18  Miguel de Icaza  <miguel@novell.com>

* SignatureHelper.cs: Implement Equals and GetHashCode

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

16 years ago2007-11-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 18 Nov 2007 00:17:30 +0000 (00:17 -0000)]
2007-11-18  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_output_basic_block): Unify the implementation of
CEE_CONV_I1/SEXT_I1 and I2 since they are the same.

* mini-x86.c (mono_arch_output_basic_block): Ditto.

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

16 years agoAdd comment
Miguel de Icaza [Sat, 17 Nov 2007 21:31:28 +0000 (21:31 -0000)]
Add comment

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

16 years agoAdd test
Miguel de Icaza [Sat, 17 Nov 2007 21:28:16 +0000 (21:28 -0000)]
Add test

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

16 years ago2007-11-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 17 Nov 2007 21:24:31 +0000 (21:24 -0000)]
2007-11-17  Miguel de Icaza  <miguel@novell.com>

* reflection.c (mono_reflection_encode_sighelper): Generate the
modopts and modreqs.   I have a useless test that crashes monodis,
but that shows the code working.

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

16 years agoFix growth and validation; Have a test case, but it generates junk
Miguel de Icaza [Sat, 17 Nov 2007 21:21:42 +0000 (21:21 -0000)]
Fix growth and validation;    Have a test case, but it generates junk

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

16 years ago2007-11-17 Jb Evain <jbevain@novell.com>
Jb Evain [Sat, 17 Nov 2007 20:03:47 +0000 (20:03 -0000)]
2007-11-17  Jb Evain  <jbevain@novell.com>

* PathTest.cs: Add test for #341034, GetRandomFileName should
return only file names in [a..z0..9].

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

16 years agoRutime side of the class library chnge
Miguel de Icaza [Sat, 17 Nov 2007 20:02:12 +0000 (20:02 -0000)]
Rutime side of the class library chnge

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

16 years ago2007-11-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 17 Nov 2007 20:01:57 +0000 (20:01 -0000)]
2007-11-17  Miguel de Icaza  <miguel@novell.com>

* SignatureHelper.cs: Preparational tasks to support the
AddArgument overloads that allow the specification of modopts and
modreqs.

Refactor code, add new parameters.

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

16 years ago2007-11-12 Juraj Skripsky <js@hotfeet.ch>
Jb Evain [Sat, 17 Nov 2007 19:29:36 +0000 (19:29 -0000)]
2007-11-12  Juraj Skripsky  <js@hotfeet.ch>

* Path.cs (GetRandomFileName): Return filenames containing only
characters from the range [a..z0..9] as MS.NET does.

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

16 years ago2007-11-17 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sat, 17 Nov 2007 19:20:38 +0000 (19:20 -0000)]
2007-11-17  Jonathan Pobst  <monkey@jpobst.com>

* MenuStrip.cs: Guard against a NRE when a MdiWindowItem is set
but there isn't a MdiContainer.
[Fixes bug #342358]

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

16 years ago2007-11-17 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sat, 17 Nov 2007 19:02:01 +0000 (19:02 -0000)]
2007-11-17  Jonathan Pobst  <monkey@jpobst.com>

* TextControl.cs: Don't recalculate document if the recalc_start and
recalc_end hasn't changed.
[Fixes bug #342505]

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

16 years ago2007-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 17 Nov 2007 18:32:38 +0000 (18:32 -0000)]
2007-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_output_basic_block): Fix a typo.

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

16 years ago2007-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 17 Nov 2007 17:06:22 +0000 (17:06 -0000)]
2007-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_get_inst_for_method): Remove code which is now in
mini.c.

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

16 years ago2007-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 17 Nov 2007 16:58:45 +0000 (16:58 -0000)]
2007-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini-ia64.c (mono_arch_get_inst_for_method): Remove code which is now in
mini.c.

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

16 years ago2007-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 17 Nov 2007 16:48:33 +0000 (16:48 -0000)]
2007-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_compute_omit_fp): Disable fp elimination for methods
returning a vtype in a register.

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

16 years ago2007-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 17 Nov 2007 16:42:35 +0000 (16:42 -0000)]
2007-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_get_inst_for_method): Move the handling of the atomic operations
here from the arch specific code.

* mini-amd64.c (mono_arch_get_inst_for_method): Remove code which is now in
mini.c.

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

16 years ago2007-11-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 17 Nov 2007 16:13:07 +0000 (16:13 -0000)]
2007-11-17  Miguel de Icaza  <miguel@novell.com>

* SignatureHelper.cs (AddArguments): Add new 2.0 API, used by
new versions of the DLR.   Currently does not have support for
modreq, modopts.   Just a simple wrapper as consumed by the DLR.

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

16 years ago2007-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 17 Nov 2007 16:10:03 +0000 (16:10 -0000)]
2007-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_output_basic_block): Add some micro optimizations.
(mono_arch_emit_prolog): Increment maximum prolog size.

* mini-amd64.c inssel-amd64.brg cpu-amd64.md: Move the implementation of the
START_HANDLER/ENDFINALLY/ENDFILTER opcodes to mini-amd64.c.

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

16 years agoUpdate documentation list, sort
Miguel de Icaza [Sat, 17 Nov 2007 15:50:16 +0000 (15:50 -0000)]
Update documentation list, sort

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

16 years ago2007-11-17 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 17 Nov 2007 14:17:54 +0000 (14:17 -0000)]
2007-11-17  Marek Habersack  <mhabersack@novell.com>

* HttpResponseTest.cs: added a simple test for AddFileDep*
methods, for bug #342511
2007-11-17  Marek Habersack  <mhabersack@novell.com>

* HttpResponse.cs: make sure fileDependencies is not null before
attempting to use it. Fixes bug #342511.

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

16 years ago * DataGridViewTextBoxCell.cs: Removed CWL.
Gert Driesen [Sat, 17 Nov 2007 09:46:46 +0000 (09:46 -0000)]
 * DataGridViewTextBoxCell.cs: Removed CWL.

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

16 years ago2007-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 17 Nov 2007 01:30:31 +0000 (01:30 -0000)]
2007-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (get_call_info): Receive a MonoCompile instead of a
MonoGenericSharingContext.

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

16 years ago2007-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 17 Nov 2007 01:30:01 +0000 (01:30 -0000)]
2007-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (get_call_info): Receive a MonoCompile instead of a
MonoGenericSharingContext.

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

16 years ago2007-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 17 Nov 2007 01:28:08 +0000 (01:28 -0000)]
2007-11-17  Zoltan Varga  <vargaz@gmail.com>

* mini-ia64.c (get_call_info): Receive a MonoContext instead of a
MonoGenericSharingContext. Allocate memory from the cfg mempool.

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

16 years ago2007-11-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 17 Nov 2007 00:54:51 +0000 (00:54 -0000)]
2007-11-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Implement 2.0 SearchForVirtualItem event support.

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

16 years ago2007-11-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 17 Nov 2007 00:43:26 +0000 (00:43 -0000)]
2007-11-17  Zoltan Varga  <vargaz@gmail.com>

* boehm-gc.c (create_allocator): Fix size calculation for the string allocator.
(mono_gc_get_managed_allocator): Enable the string allocator on amd64.

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

16 years ago2007-11-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sat, 17 Nov 2007 00:37:02 +0000 (00:37 -0000)]
2007-11-16  Jonathan Pobst  <monkey@jpobst.com>

* TextControl.cs: Missed some code for bug 341534 to trigger a
recalculation when the font changes.

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

16 years ago* ComboBoxTest.cs: Enabled test for bug #331144.
Gert Driesen [Fri, 16 Nov 2007 23:21:19 +0000 (23:21 -0000)]
* ComboBoxTest.cs: Enabled test for bug #331144.

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

16 years ago2007-11-17 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 16 Nov 2007 22:54:34 +0000 (22:54 -0000)]
2007-11-17  Marek Habersack  <mhabersack@novell.com>

* HandlerFactoryConfiguration.cs: FileMatchingInfo array must be
created anew on each request (before the result is cached). Fixes
bug #335669.

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

16 years ago* Control.cs: When updating the zorder, check if the child to update is
Andreia Gaita [Fri, 16 Nov 2007 20:52:57 +0000 (20:52 -0000)]
* Control.cs: When updating the zorder, check if the child to update is
the same control that is set to always be on top (i.e., scrollbars), and
just put it on top directly. Fixes BadMatch error on pdn3

2007-11-09  Andreia Gaita <avidigal@novell.com>

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

16 years ago2007-11-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 16 Nov 2007 20:31:22 +0000 (20:31 -0000)]
2007-11-16  Marek Habersack  <mhabersack@novell.com>

* HttpWebRequest.cs: when folding a request into a GET one, set
content length to 0 and kill the buffers. Fixes bug #327314. Patch
from Geoff Norton <gnorton@novell.com>, thanks!

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

16 years ago* AppDomain.cs: Added some obsolete messages.
Gert Driesen [Fri, 16 Nov 2007 20:28:48 +0000 (20:28 -0000)]
* AppDomain.cs: Added some obsolete messages.

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

16 years ago2007-11-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 16 Nov 2007 19:51:37 +0000 (19:51 -0000)]
2007-11-16  Atsushi Enomoto  <atsushi@ximian.com>

        * AssemblyBuilder.cs : added missing 2.0 member.
        * DynamicMethod.cs : removed extra stuff.
        * DynamicILInfo.cs : no public .ctor().
        * ILGenerator.cs : fixed 2.0 member signatures.

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

16 years ago2007-11-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 16 Nov 2007 19:49:25 +0000 (19:49 -0000)]
2007-11-16  Marek Safar  <marek.safar@gmail.com>

A test for bug #325423

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

16 years ago2007-11-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 16 Nov 2007 19:48:45 +0000 (19:48 -0000)]
2007-11-16  Marek Safar  <marek.safar@gmail.com>

A fix for bug #325423
  * assign.cs (FieldInitializer): Use resolved expression for emit.

  * class.cs: Print less confusing error message.

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

16 years ago2007-11-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 16 Nov 2007 19:41:19 +0000 (19:41 -0000)]
2007-11-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewTest.cs: New exception test for 2.0 FindNearestItem method.

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

16 years ago2007-11-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 16 Nov 2007 19:39:16 +0000 (19:39 -0000)]
2007-11-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Throw the needed exceptions for FindNearestItem.

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

16 years ago2007-11-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 16 Nov 2007 18:59:56 +0000 (18:59 -0000)]
2007-11-16  Atsushi Enomoto  <atsushi@ximian.com>

        * EnumBuilder.cs, TypeBuilder.cs : implemented missing 2.0
          stuff, in harmless manner.

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

16 years ago2007-11-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 16 Nov 2007 18:33:00 +0000 (18:33 -0000)]
2007-11-16  Atsushi Enomoto  <atsushi@ximian.com>

        * ConstructorBuilder.cs : added CallingConvention.

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

16 years ago2007-11-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 16 Nov 2007 17:50:33 +0000 (17:50 -0000)]
2007-11-16  Atsushi Enomoto  <atsushi@ximian.com>

        * SignatureHelper.cs : Module can be null, and for non-
          ModuleBuilder argument, throw ArgumentException.
          Added missing 2.0 stuff.

        * SignatureHelperTest.cs : new test.

        * corlib_test.dll.sources : added S.R.E/SignatureHelperTest.cs.

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

16 years ago2007-11-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 16 Nov 2007 16:53:41 +0000 (16:53 -0000)]
2007-11-16  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Don't perform a new layout when a label changes its text,
cause label handles its own autosizing.
[Fixes bug #342077]

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

16 years ago* mjs.cs: Added support for /warn option. Ignore /target:exe, and
Gert Driesen [Fri, 16 Nov 2007 16:42:05 +0000 (16:42 -0000)]
* mjs.cs: Added support for /warn option. Ignore /target:exe, and
report errors for /target:library and invalid targets.

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

16 years ago2007-11-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 16 Nov 2007 15:35:16 +0000 (15:35 -0000)]
2007-11-16  Rodrigo Kumpera  <rkumpera@novell.com>

* TypeTest.cs: Splited MakeGenericType_UserDefinedType is two tests.
MakeGenericType_NestedUserDefinedType is the NotWorking part of
the fix for bug #331199.

* TypeTest.cs: Added a NotWorking version of TestMakeGenericType_UserDefinedType
that has the behavior of .net 2.0 SP1.

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

16 years ago2007-11-16 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 16 Nov 2007 15:13:21 +0000 (15:13 -0000)]
2007-11-16  Jb Evain  <jbevain@novell.com>

* Debug_2_1.cs: simply write debug messages to the
console.

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

16 years agoDisabled 1 test.
Marek Safar [Fri, 16 Nov 2007 14:27:40 +0000 (14:27 -0000)]
Disabled 1 test.

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

16 years ago2007-11-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 16 Nov 2007 14:19:57 +0000 (14:19 -0000)]
2007-11-16  Marek Safar  <marek.safar@gmail.com>

  * cs-tokenizer.cs: Removed GMCS ifdefs.

  * rootcontext.cs, report.cs: Report unavailable gmcs features used by
  mcs.

* cs-parser.jay: Disabled nullable check.

* generic-mcs: Copied more generic stuff.

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

16 years agoUpdated
Marek Safar [Fri, 16 Nov 2007 11:20:03 +0000 (11:20 -0000)]
Updated

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

16 years ago2007-11-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 16 Nov 2007 11:19:38 +0000 (11:19 -0000)]
2007-11-16  Marek Safar  <marek.safar@gmail.com>

  * gcs-parser.jay: Merged to cs-parser.jay.

  * generic.cs, typemanager.cs, cs-tokenizer.cs, linq.cs, Makefile
  * *.csproj, *.sources: Updated to use only 1 jay file.

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

16 years agoNew tests.
Marek Safar [Fri, 16 Nov 2007 10:01:37 +0000 (10:01 -0000)]
New tests.

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

16 years ago2007-11-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 16 Nov 2007 10:01:27 +0000 (10:01 -0000)]
2007-11-16  Marek Safar  <marek.safar@gmail.com>

  * gcs-parser.jay: Added nullable and default expression feature checks.

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

16 years agoNew tests + update
Marek Safar [Fri, 16 Nov 2007 09:20:42 +0000 (09:20 -0000)]
New tests + update

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

16 years ago2007-11-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 16 Nov 2007 09:19:48 +0000 (09:19 -0000)]
2007-11-16  Marek Safar  <marek.safar@gmail.com>

  * gcs-parser.jay, cs-parser.jay, class.cs: Unified parameters parsing,
  it fixes many TODOs and hidden bugs.

  * expression: Removed duplicate error check.

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

16 years ago2007-11-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 16 Nov 2007 08:50:38 +0000 (08:50 -0000)]
2007-11-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Implement 2.0 FindNearestItem methods.

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

16 years ago2007-11-15 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Thu, 15 Nov 2007 23:42:28 +0000 (23:42 -0000)]
2007-11-15  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
*Npgsql/NpgsqlCommand.cs:  [#1010187] Problem with parsing parameters and "<" or ">" operator with Prepare().
 [#1010186] Thread safety problem when Parsing command text.
 Thanks Hubert FONGARNAND for patches!

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

16 years ago2007-11-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 15 Nov 2007 23:36:24 +0000 (23:36 -0000)]
2007-11-16  Zoltan Varga  <vargaz@gmail.com>

* Assembly.cs (GetFiles): Include the assembly itself as the first entry.

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

16 years ago2007-11-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 15 Nov 2007 23:01:07 +0000 (23:01 -0000)]
2007-11-16  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Make --with-moonlight=yes the default.

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

16 years ago2007-11-15 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 15 Nov 2007 22:48:13 +0000 (22:48 -0000)]
2007-11-15  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripPanel.cs: Make Join at least add the control to the panel,
even if the rest of what Join does isn't supported.  Add some more
support for vertical toolbars.
* ToolStripPanelRow.cs: Add some more support for vertical toolbars.
[Fixes the application breaking parts of bug #341998]

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

16 years ago2007-11-15 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 15 Nov 2007 22:42:59 +0000 (22:42 -0000)]
2007-11-15  Jonathan Pobst <monkey@jpobst.com>

* ToolStripItem.cs: When determining if we have a check/image margin,
we need to look at ShowCheckMargin as well as ShowImageMargin.

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

16 years ago2007-11-15 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 15 Nov 2007 22:41:34 +0000 (22:41 -0000)]
2007-11-15  Geoff Norton  <gnorton@novell.com>

        * LOADER: Reflect the renamed environment variable in the new Carbon driver.

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

16 years ago2007-11-15 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 15 Nov 2007 22:38:12 +0000 (22:38 -0000)]
2007-11-15  Geoff Norton  <gnorton@novell.com>

        * gdipFunctions.cs: Reflect the renamed environment variable in the new Carbon driver.
        * Graphics.cs: Remove support for the deprecated Cocoa driver until its fixed.

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

16 years ago2007-11-15 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 15 Nov 2007 22:36:45 +0000 (22:36 -0000)]
2007-11-15  Geoff Norton  <gnorton@novell.com>

* Commit my local branch tracking the new event handling/translation system for the
Carbon driver.  This fixes many issues with many of the event ordering issues we
were having as well as drastically improves maintainability.

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

16 years ago2007-11-15 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 15 Nov 2007 22:10:53 +0000 (22:10 -0000)]
2007-11-15  Dick Porter  <dick@ximian.com>

* configure.in: Check for g_strsplit_set() and g_strv_length()

2007-11-15  Dick Porter  <dick@ximian.com>

* processes.c (load_modules): Don't bother if we don't have
g_strsplit_set() and g_strv_length().  Allows building against old
glib versions.
(EnumProcessModules): Don't miss the first module returned by
load_modules().

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

16 years ago2007-11-15 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 15 Nov 2007 22:10:14 +0000 (22:10 -0000)]
2007-11-15  Jb Evain  <jbevain@novell.com>

* LinkedList.cs: ifdef out manually the Serialization part of the
LinkedList.Enumerator. As it is a struct, the field SerializationInfo
have to be assigned in the default constructor, and the tuner cannot
remove that. Fixes #341938 for real.

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

16 years agorevert
Jb Evain [Thu, 15 Nov 2007 22:01:14 +0000 (22:01 -0000)]
revert

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

16 years ago2007-11-15 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 15 Nov 2007 20:36:46 +0000 (20:36 -0000)]
2007-11-15  Jb Evain  <jbevain@novell.com>

* LinkedList.cs: let's not have an access to the SerializationInfo
field outside of serializations methods (We need a gendarme rule). Fixes #341938.

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

16 years ago2007-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Nov 2007 20:22:22 +0000 (20:22 -0000)]
2007-11-15  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : added -r:System.Data.
* t45.cs, t45.exe.expected : test for bug #323708.

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

16 years ago2007-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Nov 2007 20:13:44 +0000 (20:13 -0000)]
2007-11-15  Atsushi Enomoto  <atsushi@ximian.com>

* DbProviderFactoriesConfigurationHandler.cs : Create() now takes
  parent DataSet into consideration i.e. it now merges items in
  different configurations. Fixed bug #323708.

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

16 years ago2007-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Nov 2007 20:11:52 +0000 (20:11 -0000)]
2007-11-15  Atsushi Enomoto  <atsushi@ximian.com>

Part of fix for bug #323708.
* ConfigurationSection.cs : in GetRuntimeObject(), take parent
  section instance into consideration.
* SectionInformation.cs : to make it possible, GetParentSection()
  should be implemented.
* Configuration.cs : to make it possible, GetSectionInstance()
  should set parent section on its SectionInformation. It used to
  just steal parent's xml when its own xml does not exist, but
  it now blocks correct configuration retrieval.

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

16 years ago2007-11-15 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 15 Nov 2007 20:03:27 +0000 (20:03 -0000)]
2007-11-15  Dick Porter  <dick@ximian.com>

* threads.c (ves_icall_System_Threading_Thread_Join_internal):
When joining a thread, it's the thread that's calling Join that
gets WaitSleepJoin state not the target.  Fixes the standalone
test case in bug 334740, and hopefully the whole bug too.

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

16 years ago2007-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Nov 2007 19:56:28 +0000 (19:56 -0000)]
2007-11-15  Atsushi Enomoto  <atsushi@ximian.com>

* SectionGroupInfo.cs : remove extra StringBuilder creation.

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

16 years agoFixed Optimize for ldc_i4
Rodrigo B. de Oliveira [Thu, 15 Nov 2007 19:41:53 +0000 (19:41 -0000)]
Fixed Optimize for ldc_i4

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

16 years ago2007-11-15 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 15 Nov 2007 17:13:51 +0000 (17:13 -0000)]
2007-11-15  Dick Porter  <dick@ximian.com>

* process.c: Read file version info from the files pointed at by
process modules, not the current process.  Fixes bug 315969.

Use windows typedef names in some places to fix warnings on the
windows build.

2007-11-15  Dick Porter  <dick@ximian.com>

* processes.c: Implement process module support by reading from
/proc if it's available.

* versioninfo.h:
* versioninfo.c: New functions to implement PE file version info
support.

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

16 years ago2007-11-15 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 15 Nov 2007 17:13:46 +0000 (17:13 -0000)]
2007-11-15  Dick Porter  <dick@ximian.com>

* Process.cs: Pass the process handle to GetModules_internal();

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

16 years ago2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
Miguel de Icaza [Thu, 15 Nov 2007 16:50:05 +0000 (16:50 -0000)]
2007-11-12  Atsushi Enomoto  <atsushi@ximian.com>

* System.dll.sources : added S.R.InteropSvcs.ComTypes types.

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

16 years ago2007-11-15 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 15 Nov 2007 16:38:57 +0000 (16:38 -0000)]
2007-11-15  Jonathan Pobst  <monkey@jpobst.com>

* KeysConverter.cs: The default values should be an array of Keys, not
strings.  Also, the array has more values for 2.0.
[Fixes bug #341851]

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

16 years ago2007-11-15 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 15 Nov 2007 15:05:34 +0000 (15:05 -0000)]
2007-11-15  Mark Probst  <mark.probst@gmail.com>

* mini.c, mini.h, generic-sharing.c: Functions for producing code
which extract fields out of the runtime generic context.  Full
sharing of the NEWARR opcode.

2007-11-15  Mark Probst  <mark.probst@gmail.com>

* image.c, metadata-internals.h: Added a generic_class_cache hash
to MonoImage for looking up generic classes when sharing generics.

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

16 years agoThu Nov 15 16:11:30 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 15 Nov 2007 14:48:14 +0000 (14:48 -0000)]
Thu Nov 15 16:11:30 CET 2007 Paolo Molaro <lupus@ximian.com>

* sgen-gc.c: warning cleanups.

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

16 years agoWarnings cleanup
Marek Safar [Thu, 15 Nov 2007 14:14:49 +0000 (14:14 -0000)]
Warnings cleanup

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

16 years ago2007-11-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 15 Nov 2007 13:42:27 +0000 (13:42 -0000)]
2007-11-15  Zoltan Varga  <vargaz@gmail.com>

* TypeTest.cs: Add new test for GetProperties () and virtual new properties.

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

16 years ago2007-11-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 15 Nov 2007 13:40:47 +0000 (13:40 -0000)]
2007-11-15  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_Type_GetPropertiesByName): Implement proper hiding of
inherited properties.

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