mono.git
15 years agoreplace it in smooth way.
Atsushi Eno [Tue, 7 Oct 2008 12:00:06 +0000 (12:00 -0000)]
replace it in smooth way.

svn path=/branches/atsushi-200810/mcs/; revision=115078

15 years agoinitial import of DBLinq integration.
Atsushi Eno [Tue, 7 Oct 2008 11:58:02 +0000 (11:58 -0000)]
initial import of DBLinq integration.

svn path=/branches/atsushi-200810/mcs/; revision=115077

15 years ago2008-10-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 6 Oct 2008 15:20:12 +0000 (15:20 -0000)]
2008-10-06  Atsushi Enomoto <atsushi@ximian.com>

* XPathExpression.cs, Expression.cs : Cache compiled xpath
  expressions so that they don't have to be parsed repeatedly.

svn path=/branches/atsushi-200810/mcs/; revision=114957

15 years ago2008-10-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 6 Oct 2008 13:30:39 +0000 (13:30 -0000)]
2008-10-06  Atsushi Enomoto <atsushi@ximian.com>

* Expression.cs : unindend cases that do not match our coding style.

svn path=/branches/atsushi-200810/mcs/; revision=114940

15 years ago2008-10-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 6 Oct 2008 13:21:49 +0000 (13:21 -0000)]
2008-10-06  Atsushi Enomoto <atsushi@ximian.com>

* Expression.cs : fixed peer & subtree requirement and reduced extra
  dependency on RequireSorting property.

svn path=/branches/atsushi-200810/mcs/; revision=114937

15 years ago2008-10-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 6 Oct 2008 12:56:27 +0000 (12:56 -0000)]
2008-10-06  Atsushi Enomoto <atsushi@ximian.com>

* Expression.cs, Iterator.cs : simplify SlashIterator by introducing
  SortedIterator.

svn path=/branches/atsushi-200810/mcs/; revision=114935

15 years ago2008-10-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 6 Oct 2008 09:43:14 +0000 (09:43 -0000)]
2008-10-06  Atsushi Enomoto <atsushi@ximian.com>

* Expression.cs, Iterator.cs : ChildIterator is not a SimpleIterator
  now. And reduced extra clone when the context node has no child.

svn path=/branches/atsushi-200810/mcs/; revision=114931

15 years ago2008-10-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Oct 2008 10:51:48 +0000 (10:51 -0000)]
2008-10-03  Atsushi Enomoto <atsushi@ximian.com>

* Iterator.cs : now we do not seem to need clone in
  SimpleIterator.Current.

svn path=/branches/atsushi-200810/mcs/; revision=114742

15 years agoongoing refactoring.
Atsushi Eno [Fri, 3 Oct 2008 09:07:11 +0000 (09:07 -0000)]
ongoing refactoring.

svn path=/branches/atsushi-200810/mcs/; revision=114735

15 years agocouple of refactoring to make implementation more consistent.
Atsushi Eno [Thu, 2 Oct 2008 18:12:43 +0000 (18:12 -0000)]
couple of refactoring to make implementation more consistent.

svn path=/branches/atsushi-200810/mcs/; revision=114694

15 years ago2008-10-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Oct 2008 17:59:28 +0000 (17:59 -0000)]
2008-10-02  Atsushi Enomoto <atsushi@ximian.com>

* XPathNavigatorEvaluateTests.cs : corrected couple of misconception
  in the tests.

* XslTransformTests.cs : removed extra NotDotNet.

svn path=/branches/atsushi-200810/mcs/; revision=114689

15 years ago2008-10-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Oct 2008 17:57:27 +0000 (17:57 -0000)]
2008-10-02  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : fixed couple of obsolete settings.

svn path=/branches/atsushi-200810/mcs/; revision=114688

15 years ago2008-10-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 2 Oct 2008 16:33:32 +0000 (16:33 -0000)]
2008-10-02  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewColumnHeaderCell.cs: Create a new style object
so the DefaultCellStyle doesn't get changed.

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

15 years ago2008-10-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 2 Oct 2008 16:02:03 +0000 (16:02 -0000)]
2008-10-02  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripItem.cs: Check to make sure the owner is actually
changing in InternalOwner before doing any work.  Fixes some
failing tests.

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

15 years ago2008-10-02 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 2 Oct 2008 14:52:25 +0000 (14:52 -0000)]
2008-10-02  Mark Probst  <mark.probst@gmail.com>

* method-to-ir.c (mono_method_to_ir2): Don't create native
wrappers for array methods, because they're never called (and if
they were called they wouldn't work).

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

15 years agoNew test.
Marek Safar [Thu, 2 Oct 2008 14:43:10 +0000 (14:43 -0000)]
New test.

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

15 years ago2008-10-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Oct 2008 14:42:55 +0000 (14:42 -0000)]
2008-10-02  Marek Safar  <marek.safar@gmail.com>

A fix for bug #431255
* anonymous.cs, expression.cs: Removed broken optimization.

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

15 years ago2008-10-02 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 2 Oct 2008 14:19:23 +0000 (14:19 -0000)]
2008-10-02  Mark Probst  <mark.probst@gmail.com>

* method-to-ir.c (mono_method_to_ir2): Array methods are
special-cased and must not be invoked indirectly via the (M)RGCTX
when generic sharing is turned on.  Fixes #431413.

2008-10-02  Mark Probst  <mark.probst@gmail.com>

* bug-431413.2.cs: Test for bug #431413 (multidimensional generic
arrays).

* Makefile.am: Test added.

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

15 years ago2008-10-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 2 Oct 2008 12:03:38 +0000 (12:03 -0000)]
2008-10-02  Marek Habersack  <mhabersack@novell.com>
* ScriptManager.cs: Cosmetical output change - the hidden fields are output after the
update panels contents is sent in an async request. It makes the
async response look similar to the MS.NET's one but, more
importantly, makes debugging easier.

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

15 years ago2008-10-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 2 Oct 2008 10:02:26 +0000 (10:02 -0000)]
2008-10-02  Marek Habersack  <mhabersack@novell.com>

* ScriptManager.cs: reverting revision 114552 since the real bug
was somewhere else. The correct fix is to make sure UpdatePanels
which output something _or_ have been named in the POST request as
requiring a refresh are marked as such. Only in that situation
HasBeenRendered returns true (as it should for those panels)

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

15 years ago2008-10-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 2 Oct 2008 04:09:54 +0000 (04:09 -0000)]
2008-10-02 Gonzalo Paniagua Javier <gonzalo@novell.com>

* InotifyWatcher.cs: IN_CLOSE_WRITE is triggered when a writable file is
closed, but that does not mean that the file was actually modified.
Fixes bug #323188.

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

15 years ago2008-10-01 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 1 Oct 2008 21:54:55 +0000 (21:54 -0000)]
2008-10-01  Mark Probst  <mark.probst@gmail.com>

* object.c, domain.c, object-internals.h, domain-internals.h:
Generalize IMT thunk machinery to also handle thunks for virtual
generic method invokes.  When a virtual generic method is invoked
more than a number of times we insert it into the thunk so that it
can be called without lookup in unmanaged code.

* generic-sharing.c, class-internals.h: Fetching a
MonoGenericInst* for a method from an (M)RGCTX.

2008-10-01  Mark Probst  <mark.probst@gmail.com>

* method-to-ir.c: When generic sharing is active, call
non-interface virtual generic methods via the standard trampoline.

* mini-trampolines.c: Handle virtual generic shared methods.

* mini.h, mini-x86.c, mini-x86.h: New argument for
mono_arch_build_imt_thunk() which is non-NULL for virtual generic
method thunks and which is the trampoline to call if the lookup
fails.  Enable the virtual generic method thunk for x86.

* mini-amd64.c, mini-arm.c, mini-ia64.c, mini-sparc.c,
mini-ppc.c (mono_arch_build_imt_thunk): Add the additional
argument but assert that it's NULL, because these archs don't yet
implement the virtual generic method thunk.  Changes in the IMT
thunk data structures.

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

15 years ago2008-10-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 1 Oct 2008 21:48:01 +0000 (21:48 -0000)]
2008-10-01  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewColumnHeaderCell.cs: Correctly calculate style.
* DataGridView.cs: Use a column header's inherited style instead
of just using the default.

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

15 years agoRevert r114538, vc++ compiled code uses byref return types.
Zoltan Varga [Wed, 1 Oct 2008 20:57:40 +0000 (20:57 -0000)]
Revert r114538, vc++ compiled code uses byref return types.

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

15 years ago2008-10-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 1 Oct 2008 20:48:41 +0000 (20:48 -0000)]
2008-10-01  Jonathan Pobst  <monkey@jpobst.com>

* SplitContainer.cs: Raise SplitterMoved when the splitter is
moved through code.

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

15 years ago2008-10-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 1 Oct 2008 20:39:52 +0000 (20:39 -0000)]
2008-10-01  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_globals): Avoid invalid characters in
the static linking symbol.

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

15 years ago2008-10-01 Mario Carrion <mcarrion@novell.com>
Mario Carrion [Wed, 1 Oct 2008 20:12:52 +0000 (20:12 -0000)]
2008-10-01  Mario Carrion <mcarrion@novell.com>

* ScrollBar.cs: Internal property added: UIAThumbPosition.

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

15 years ago2008-10-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 1 Oct 2008 19:25:38 +0000 (19:25 -0000)]
2008-10-01  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripOverflowButton.cs: Use InternalOwner instead of Owner.

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

15 years ago2008-10-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 1 Oct 2008 19:21:17 +0000 (19:21 -0000)]
2008-10-01  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripItem.cs: When the user sets Owner, we need to remove
it from its previous owner and then add it to the new owner's
item collection.  Also, create InternalOwner, so we can set the owner
that doesn't do this new stuff.
* ToolStripItemCollection.cs: Use InternalOwner instead of Owner.

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

15 years ago2008-10-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 1 Oct 2008 19:09:52 +0000 (19:09 -0000)]
2008-10-01  Marek Safar  <marek.safar@gmail.com>

* anonymous.cs: Use full type parameters of parent generic
containers. Removed unnecessary AddParentStoreyReference call.

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

15 years ago2008-10-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 1 Oct 2008 18:42:02 +0000 (18:42 -0000)]
2008-10-01  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripItem.cs: When our parent changes, recalculate our text
size, since we may be getting our Font from our parent.  When our
owner's Font changes, recalculate ourselves as we may be using
that font.

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

15 years ago2008-10-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 1 Oct 2008 18:34:30 +0000 (18:34 -0000)]
2008-10-01  Zoltan Varga  <vargaz@gmail.com>

* objects.cs: Add a test for the range check optimization. Fix warnings.

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

15 years ago2008-10-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 1 Oct 2008 18:28:03 +0000 (18:28 -0000)]
2008-10-01  Zoltan Varga  <vargaz@gmail.com>

* branch-opts.c (mono_if_conversion): Add back the 'optimize range checks'
optimization from the current JIT.

* method-to-ir.c (mini_emit_inst_for_method): Decompose String.Length
later in decompose_array_access_opts () to allow more optimizations.

* method-to-ir.c (mono_handle_soft_float): Rename this to
mono_decompose_soft_float () for consistency.

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

15 years ago2008-10-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 1 Oct 2008 18:27:47 +0000 (18:27 -0000)]
2008-10-01  Zoltan Varga  <vargaz@gmail.com>

* branch-opts.c (mono_if_conversion): Add back the 'optimize range checks'
optimization from the current JIT.

* method-to-ir.c (mini_emit_inst_for_method): Decompose String.Length
later in decompose_array_access_opts () to allow more optimizations.

* method-to-ir.c (mono_handle_soft_float): Rename this to
mono_decompose_soft_float () for consistency.

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

15 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Ankit Jain [Wed, 1 Oct 2008 16:58:09 +0000 (16:58 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

* BuildEngine.cs (.ctor): Replace 'projectFile' param with 'project'.
(BuildProjectFile): If filename is null (project.LoadXml) then use
engine.BuildProject
* BuildTask.cs (InitializeTask): Track api change.
* Expression.cs (Parse): Skip empty entries in the expression.

In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:

* ProjectTest.cs: Refactor BuildProjectFile tests. Add tests for loading
project from files and xml string.

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:

* CallTarget.cs (Execute): Implement.

In tools/xbuild:

* xbuild/Microsoft.Common.tasks: Add CallTarget and AssignTargetPath task.

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

15 years ago2008-10-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 1 Oct 2008 16:38:39 +0000 (16:38 -0000)]
2008-10-01  Zoltan Varga  <vargaz@gmail.com>

* pinvoke3.cs libtest.c: Add test for byref string marshalling.

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

15 years ago2008-10-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 1 Oct 2008 16:37:55 +0000 (16:37 -0000)]
2008-10-01  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (emit_marshal_string): Applied a variant of a patch by
tom hindle <tom_hindle@sil.org>. Fix byref native-to-managed string
marshalling. Fixes #431304.

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

15 years ago2008-10-01 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Wed, 1 Oct 2008 16:29:02 +0000 (16:29 -0000)]
2008-10-01  Bill Holmes  <billholmes54@gmail.com>

* marshal.c (emit_marshal_variant) : Change the attribute checks to
  handle when ref is specified without In or Out.

Code is contributed under MIT/X11 license.

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

15 years agoIn System.Windows.Forms:
Everaldo Canuto [Wed, 1 Oct 2008 15:43:02 +0000 (15:43 -0000)]
In System.Windows.Forms:
2008-10-01  Everaldo Canuto  <ecanuto@novell.com>

* MenuAPI.cs: Select the first option of a popup when opening the popup via
return key. [Fixes bug #413792].

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

15 years ago2008-10-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 1 Oct 2008 15:29:22 +0000 (15:29 -0000)]
2008-10-01  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (save_cast_details): Extract the cast details saving code
into a separate function.
(reset_cast_details): Ditto.
(handle_unbox): Save cast details. Fixes #431254.

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

15 years agoNew test.
Marek Safar [Wed, 1 Oct 2008 15:08:11 +0000 (15:08 -0000)]
New test.

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

15 years agoNew test.
Marek Safar [Wed, 1 Oct 2008 15:04:19 +0000 (15:04 -0000)]
New test.

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

15 years ago2008-10-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 1 Oct 2008 15:03:59 +0000 (15:03 -0000)]
2008-10-01  Marek Safar  <marek.safar@gmail.com>

A fix for bug #324702
* class.cs: Use better shorter names for explicit interface member
implementations.

* ecore.cs, typemanager.cs: Convert only mscorlib predefined names.

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

15 years ago2008-10-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 1 Oct 2008 15:00:26 +0000 (15:00 -0000)]
2008-10-01  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripItem.cs: Make Font, BackColor, and ForeColor be
ambient properties.  (Get their value from their parents if
values haven't been set.)

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

15 years agoadd mono-cecil-strip.1 to the build
Jb Evain [Wed, 1 Oct 2008 14:59:22 +0000 (14:59 -0000)]
add mono-cecil-strip.1 to the build

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

15 years ago2008-10-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 1 Oct 2008 14:58:11 +0000 (14:58 -0000)]
2008-10-01  Marek Safar  <marek.safar@gmail.com>

* expression.cs: Use new interface to check fixed expression.

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

15 years agoadd man page for mono-cil-strip
Jb Evain [Wed, 1 Oct 2008 14:55:01 +0000 (14:55 -0000)]
add man page for mono-cil-strip

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

15 years ago2008-10-01 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 1 Oct 2008 14:47:40 +0000 (14:47 -0000)]
2008-10-01  Jb Evain  <jbevain@novell.com>

* scripts/Makefile.am: add mono-cil-strip.

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

15 years ago2008-10-01 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 1 Oct 2008 14:43:03 +0000 (14:43 -0000)]
2008-10-01  Jb Evain  <jbevain@novell.com>

* Makefile: add cil-strip to the build.

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

15 years agoadd cil-strip tool
Jb Evain [Wed, 1 Oct 2008 14:42:44 +0000 (14:42 -0000)]
add cil-strip tool

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

15 years ago2008-10-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 1 Oct 2008 14:38:05 +0000 (14:38 -0000)]
2008-10-01  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripSystemRenderer.cs: Call overridden methods' bases
after our logic, so users can do painting by handling the events.
Currently, we draw over any user painting.

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

15 years ago2008-10-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 1 Oct 2008 14:35:58 +0000 (14:35 -0000)]
2008-10-01  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripProfessionalRenderer.cs: Call overridden methods' bases
after our logic, so users can do painting by handling the events.
Currently, we draw over any user painting.

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

15 years agointernalize
Jb Evain [Wed, 1 Oct 2008 14:30:43 +0000 (14:30 -0000)]
internalize

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

15 years ago2008-10-01 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 1 Oct 2008 14:24:17 +0000 (14:24 -0000)]
2008-10-01  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.dll.sources
* Mono.Cecil.csproj
* Mono.Cecil/AssemblyStripper.cs
* Mono.Cecil.Cil/CodeWriter.cs
* Mono.Cecil.Metadata/MetadataWriter.cs: add a new AssemblyStripper
class to be used by a tool to empty method bodies for assemblies
that have been AOTed.

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

15 years agoIn System.Windows.Forms:
Everaldo Canuto [Wed, 1 Oct 2008 12:43:20 +0000 (12:43 -0000)]
In System.Windows.Forms:
2008-09-30  Everaldo Canuto  <ecanuto@novell.com>

* MenuAPI.cs: Prevent NRE when deactivate menu. Fixes #413636.

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

15 years agoNew tests, updates.
Marek Safar [Wed, 1 Oct 2008 11:06:26 +0000 (11:06 -0000)]
New tests, updates.

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

15 years ago2008-10-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 1 Oct 2008 11:06:03 +0000 (11:06 -0000)]
2008-10-01  Marek Safar  <marek.safar@gmail.com>

A fix for bug #421101
* expression.cs, statement.cs, ecore.cs: Use IFixedExpression
interface to check for fixed fixed-buffers.

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

15 years ago2008-10-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 1 Oct 2008 11:03:42 +0000 (11:03 -0000)]
2008-10-01  Marek Safar  <marek.safar@gmail.com>

* compiler-tester.cs: Fixed broken value type test.

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

15 years ago2008-10-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 1 Oct 2008 10:36:56 +0000 (10:36 -0000)]
2008-10-01  Marek Habersack  <mhabersack@novell.com>

* ScriptManager.cs: be more careful when rendering script blocks
and checking if the control's page matches the current
page. Control passed to script registration methods doesn't
necessarily have to be a Page itself and if it's not we need to
find the owning page of a script block's control.

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

15 years ago2008-10-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 1 Oct 2008 09:01:53 +0000 (09:01 -0000)]
2008-10-01  Marek Habersack  <mhabersack@novell.com>

* CapabilitiesResult.cs: added support for the "browsers"
capability - a collection of matching browser ids.

* nBrowser/Node.cs: store matching browser ids in the capabilities
collection (to support IsBrowser correctly)

2008-10-01  Marek Habersack  <mhabersack@novell.com>

* BrowserCapabilities.cs: IsBrowser needs to compare browser names
case insensitively.

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

15 years agoNew test.
Marek Safar [Wed, 1 Oct 2008 08:57:08 +0000 (08:57 -0000)]
New test.

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

15 years ago2008-10-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 1 Oct 2008 08:56:52 +0000 (08:56 -0000)]
2008-10-01  Marek Safar  <marek.safar@gmail.com>

A fix for bug #429264
* assign.cs, anonymous.cs, ecore.cs: More type mutators added.

* delegate.cs: Removed unnecessary casts.

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

15 years ago2008-10-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 1 Oct 2008 02:25:03 +0000 (02:25 -0000)]
2008-10-01  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c: Remove some obsolete FIXMEs.

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

15 years ago2008-10-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 1 Oct 2008 02:17:32 +0000 (02:17 -0000)]
2008-10-01  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c mini-x86.c mini-arm.c mini-ppc.c method-to-ir.c: Remove
the workaround for byref being set on sig->ret, this does not seem to
happen any more. Add an assert instead.

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

15 years ago2008-09-30 Michael Hutchinson <mhutchinson@novell.com>
Michael Hutchinson [Wed, 1 Oct 2008 00:00:25 +0000 (00:00 -0000)]
2008-09-30  Michael Hutchinson  <mhutchinson@novell.com>

* HttpServerChannel.cs: make sure the channel data object is set
  when the port is auto-assigned.
* HttpClientTransportSink.cs: Use the __RequestUri header for the
  request's URI. Includes workaround for bad __RequestUri values.

Fixes Bug 378713 - [regression] Remoting - HttpChannel.

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

15 years agoSquashed commit of the following:
Rodrigo Kumpera [Tue, 30 Sep 2008 22:05:06 +0000 (22:05 -0000)]
Squashed commit of the following:

commit de53f0dbd60e84d9bd82e53295bf2f4ed4dd689a
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date:   Tue Sep 30 18:57:57 2008 -0300

    Reordered the Changelog

commit 3d2e552c303a2fe277b5b97156c42ae400d6d37c
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date:   Tue Sep 30 18:39:39 2008 -0300

    2008-09-30 Rodrigo Kumpera <rkumpera@novell.com>

     * ir-emit.h (alloc_dreg): Write a warning before crashing.

commit c60d0b9a38ef4ba22f2781637e8e55a1144473fa
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date:   Tue Sep 30 17:48:37 2008 -0300

    2008-09-30 Rodrigo Kumpera <rkumpera@novell.com>

     * mini-codegen.c: More work on macros to make them
     ready for multiple regbanks.

commit ca8eb8c49bd8f42b04257d05593b151cfe7e43b3
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date:   Tue Sep 30 16:28:34 2008 -0300

    2008-09-30 Rodrigo Kumpera <rkumpera@novell.com>

     * method-to.ir.c (mono_type_to_regmove): Remove static modifier.

     * mini.h: Export mono_type_to_regmove. Fix signature of mono_regname_full.

commit d9daa3e244a54519fe09624b3785914a427b30d0
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date:   Tue Sep 30 15:08:33 2008 -0300

     * mini-codegen.c (mono_spillvar_offset): Proper support for multiple regbanks.

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

15 years ago2008-09-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 30 Sep 2008 21:52:31 +0000 (21:52 -0000)]
2008-09-30  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_emit_epilog): Remove some duplicated code from
the stack overflow changes.

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

15 years ago2008-09-30 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 30 Sep 2008 21:33:57 +0000 (21:33 -0000)]
2008-09-30  Jonathan Pobst  <monkey@jpobst.com>

* TreeNode.cs, TreeView.cs: Move logic that determines the node
image to draw to TreeNode.  Give Index/Keys put on the node
precedence over the global one for the TreeView.

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

15 years ago2008-09-30 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 30 Sep 2008 21:26:07 +0000 (21:26 -0000)]
2008-09-30  Mark Probst  <mark.probst@gmail.com>

* loader.c (mono_get_method_constrained): Don't expand method with
the class's context, because it's already a method of that class.

2008-09-30  Mark Probst  <mark.probst@gmail.com>

* generic-constrained.2.il: Test case for the constrained. prefix
with generic interfaces.

* Makefile.am: Test added.

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

15 years ago2008-09-30 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 30 Sep 2008 21:23:16 +0000 (21:23 -0000)]
2008-09-30  Jb Evain  <jbevain@novell.com>

* QueryableEnumerable.cs: fix ElementType.

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

15 years agoadd test for IQueryable.ElementType
Jb Evain [Tue, 30 Sep 2008 21:22:49 +0000 (21:22 -0000)]
add test for IQueryable.ElementType

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

15 years ago2008-09-30 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 30 Sep 2008 21:13:16 +0000 (21:13 -0000)]
2008-09-30  Jonathan Pobst  <monkey@jpobst.com>

* TreeNode.cs: Setting ImageIndex or ImageKey should reset the other.

2008-09-30  Jonathan Pobst  <monkey@jpobst.com>

* TreeNodeTest.cs: Test for ImageKey/ImageIndex plus flush some tests
sitting in my local tree.

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

15 years agoRemove text that was copy pasted from MSBuild
Miguel de Icaza [Tue, 30 Sep 2008 21:05:30 +0000 (21:05 -0000)]
Remove text that was copy pasted from MSBuild

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

15 years ago2008-09-30 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Tue, 30 Sep 2008 19:20:35 +0000 (19:20 -0000)]
2008-09-30  Juraj Skripsky  <js@hotfeet.ch>

* CachedRawResponse.cs: Don't allocate a 32k buffer that is never
used. Fixes enhancement bug #430963.

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

15 years agoFixed the Changelog formating.
Rodrigo Kumpera [Tue, 30 Sep 2008 15:16:08 +0000 (15:16 -0000)]
Fixed the Changelog formating.

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

15 years agoAdded changelog entry
Rodrigo Kumpera [Tue, 30 Sep 2008 15:14:40 +0000 (15:14 -0000)]
Added changelog entry

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

15 years ago * mini-codegen.c: Make all bank macros depend on reg_bank.
Rodrigo Kumpera [Tue, 30 Sep 2008 15:14:38 +0000 (15:14 -0000)]
    * mini-codegen.c: Make all bank macros depend on reg_bank.

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

15 years ago * mini-codegen.c (mono_local_regalloc): Make free mask
Rodrigo Kumpera [Tue, 30 Sep 2008 15:14:37 +0000 (15:14 -0000)]
* mini-codegen.c (mono_local_regalloc): Make free mask
initialization regbank aware.

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

15 years agoNew tests.
Marek Safar [Tue, 30 Sep 2008 15:02:59 +0000 (15:02 -0000)]
New tests.

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

15 years agoNew tests.
Marek Safar [Tue, 30 Sep 2008 15:02:44 +0000 (15:02 -0000)]
New tests.

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

15 years ago2008-09-30 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 30 Sep 2008 15:02:07 +0000 (15:02 -0000)]
2008-09-30  Marek Safar  <marek.safar@gmail.com>

A fix for bug #352151
* decl.cs, iterators.cs, anonymous.cs, report.cs, namespace.cs,
class.cs: Fixed already defined explicit interface members check.

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

15 years agofix build
Sebastien Pouliot [Tue, 30 Sep 2008 14:38:42 +0000 (14:38 -0000)]
fix build

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

15 years ago* SqlDataReader.cs (GetSqlXml): Handle the scenario when Sql Server 2005
Veerapuram Varadhan [Tue, 30 Sep 2008 14:01:22 +0000 (14:01 -0000)]
* SqlDataReader.cs (GetSqlXml): Handle the scenario when Sql Server 2005
  returns Xml column type as NTEXT when called from clients that use <
  TDS 8.0 protocol.

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

15 years agoRemoved unused name
Marek Safar [Tue, 30 Sep 2008 13:44:21 +0000 (13:44 -0000)]
Removed unused name

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

15 years ago2008-09-30 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 30 Sep 2008 13:38:22 +0000 (13:38 -0000)]
2008-09-30  Marek Habersack  <mhabersack@novell.com>

* ListView.cs: implemented all the events.
CreateChildControls works with non-ICollection data sources now.
CreateItemsWithoutGroups now counts items placed in the container
and stores the container in a field, so that RemoveItems can
properly delete the child controls.
Implemented the RemoveItems method.
Implemented Load/SaveControlState.
Implemented LoadViewState.
Implemented OnBubbleEvent.
Implemented all the On* methods.

* ListViewCommandEventArgs.cs: implemented the CommandSource and
Item properties.

* ListViewItemEventArgs.cs: implemented the Item property.

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

15 years ago2008-09-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 30 Sep 2008 13:12:54 +0000 (13:12 -0000)]
2008-09-30  Sebastien Pouliot  <sebastien@ximian.com>

* RoleGroupCollectionTest.cs: Add test case this[int].

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

15 years ago2008-09-30 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 30 Sep 2008 13:04:36 +0000 (13:04 -0000)]
2008-09-30  Rodrigo Kumpera  <rkumpera@novell.com>

        * mini-codegen.c (mono_local_regalloc): Extract callee
        mask selection to a function and make it regbank aware.

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

15 years ago2008-09-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 30 Sep 2008 12:55:24 +0000 (12:55 -0000)]
2008-09-30  Sebastien Pouliot  <sebastien@ximian.com>

* RoleGroupCollection.cs: Fix recursive calls (wrong target)
[Found using Gendarme's BadRecursiveInvocationRule]

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

15 years ago2008-09-30 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 30 Sep 2008 09:19:57 +0000 (09:19 -0000)]
2008-09-30  Marek Habersack  <mhabersack@novell.com>

* System.Web.Extensions.Design_1.0.dll.sources: added

* Makefile: added

2008-09-30  Marek Habersack  <mhabersack@novell.com>

* System.Web.Extensions_1.0.dll.sources: added

* Makefile: added

2008-09-30  Marek Habersack  <mhabersack@novell.com>

* Makefile (LIB_MCS_FLAGS): added -define:NET_3_5 as the 3.5 parts
of the assembly are now built as part of the 2.0 profile.

2008-09-30  Marek Habersack  <mhabersack@novell.com>

* Makefile (net_2_0_dirs): added System.Web.Extensions_1.0 and
System.Web.Extensions.Design_1.0
(net_3_5_dirs): removed System.Web.Extensions, the 3.5 version is
now built in the 2.0 profile.

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

15 years ago2008-09-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 30 Sep 2008 06:32:15 +0000 (06:32 -0000)]
2008-09-30  Atsushi Enomoto  <atsushi@ximian.com>

* attach.c : should be correct build fix.

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

15 years ago2008-09-30 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 30 Sep 2008 02:31:19 +0000 (02:31 -0000)]
2008-09-30  Rodrigo Kumpera  <rkumpera@novell.com>

* mini-codegen.c (mono_local_regalloc): Changed the cloberring
code to deal with many regbanks.

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

15 years ago2008-09-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Sep 2008 22:12:58 +0000 (22:12 -0000)]
2008-09-30  Zoltan Varga  <vargaz@gmail.com>

* mini-codegen.c: More fp->regbank changes.

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

15 years ago2008-09-29 Mario Carrion <mcarrion@novell.com>
Mario Carrion [Mon, 29 Sep 2008 21:34:59 +0000 (21:34 -0000)]
2008-09-29  Mario Carrion <mcarrion@novell.com>

* ListBox.cs: Index fixed.

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

15 years ago * mini-codegen.c: Change asserts to use MONO_NUM_REGBANKS instead
Rodrigo Kumpera [Mon, 29 Sep 2008 19:36:31 +0000 (19:36 -0000)]
* mini-codegen.c: Change asserts to use MONO_NUM_REGBANKS instead
of a hardcoded constant.

2008-09-29  Rodrigo Kumpera  <rkumpera@novell.com>

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

15 years ago2008-09-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 29 Sep 2008 19:34:18 +0000 (19:34 -0000)]
2008-09-29  Rodrigo Kumpera  <rkumpera@novell.com>

* method-to-ir.c (type_from_stack_type): Fix typo.

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

15 years ago2008-09-29 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 29 Sep 2008 19:31:27 +0000 (19:31 -0000)]
2008-09-29  Marek Habersack  <mhabersack@novell.com>

* Page.cs: Implemented the UniqueFilePathSuffix and MaxPageStateFieldLength
properties.
Some coding style changes.

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

15 years ago2008-09-29 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 29 Sep 2008 19:10:29 +0000 (19:10 -0000)]
2008-09-29  Marek Habersack  <mhabersack@novell.com>

* Page.cs: EnableViewState is initialized from the web
configuration.
ViewState is saved only if EnableViewState is true for the page.
Optimized SavePageControlState implementation.

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

15 years agoNothing to see here
Miguel de Icaza [Mon, 29 Sep 2008 17:05:57 +0000 (17:05 -0000)]
Nothing to see here

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

15 years agoNothing to see here
Miguel de Icaza [Mon, 29 Sep 2008 17:02:53 +0000 (17:02 -0000)]
Nothing to see here

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

15 years ago2008-09-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 29 Sep 2008 17:01:10 +0000 (17:01 -0000)]
2008-09-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TabControl.cs: When expanding the tab -because it's selected now-,
using Right alignment, instead of adding some selected delta value to
the X origin, substract it, so it gets a location adjacent to the panel,
instead of be more separated.
Fixes #409170.

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