mono.git
18 years agodisabling setting out of range FormView.PageIndex
Konstantin Triger [Sun, 25 Jun 2006 09:15:36 +0000 (09:15 -0000)]
disabling setting out of range FormView.PageIndex

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

18 years ago2006-06-25 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 24 Jun 2006 22:59:35 +0000 (22:59 -0000)]
2006-06-25  Marek Safar  <marek.safar@seznam.cz>

A fix for #78690

* ecore.cs (Expression.MemberLookupFailed): Don't crash when failed lookup
is done at global level.

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

18 years agoAdd VS2k5 project files
Marek Safar [Sat, 24 Jun 2006 22:20:52 +0000 (22:20 -0000)]
Add VS2k5 project files

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

18 years ago2006-06-24 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 24 Jun 2006 22:03:15 +0000 (22:03 -0000)]
2006-06-24  Marek Safar  <marek.safar@seznam.cz>

A fix for #77002, Implemented TypeForwarder support.

* attribute.cs (Attribute.GetArgumentType): Reads type argument.
* codegen.cs (AssemblyClass.ApplyAttributeBuilder): Add TypeForwarder
attribute handling.
* expression.cs (TypeOf.TypeArgument): Exposes typeof type.
* typemanager.cs (): Add type_forwarder_attr_type.

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

18 years agoFix annoying typos
Alp Toker [Sat, 24 Jun 2006 21:51:05 +0000 (21:51 -0000)]
Fix annoying typos

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

18 years agoFix annoying typos
Alp Toker [Sat, 24 Jun 2006 21:51:05 +0000 (21:51 -0000)]
Fix annoying typos

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

18 years ago2006-06-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 24 Jun 2006 17:56:25 +0000 (17:56 -0000)]
2006-06-24  Zoltan Varga  <vargaz@gmail.com>

* Socket.cs: Add stubs for net 2.0 SendTimeout and ReceiveTimeout properties.

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

18 years ago2006-06-24 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 24 Jun 2006 13:46:41 +0000 (13:46 -0000)]
2006-06-24  Marek Safar  <marek.safar@seznam.cz>

* report.cs: Add CS0469 warning.

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

18 years agoUnicodeEncodingTest.cs: Added ByteOrderMark tests.
Kornél Pál [Sat, 24 Jun 2006 13:39:30 +0000 (13:39 -0000)]
UnicodeEncodingTest.cs: Added ByteOrderMark tests.

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

18 years ago2006-06-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 24 Jun 2006 13:39:25 +0000 (13:39 -0000)]
2006-06-24  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Always pass CPPFLAGS to libgc configure.

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

18 years ago2006-04-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 24 Jun 2006 13:33:46 +0000 (13:33 -0000)]
2006-04-08  Zoltan Varga  <vargaz@gmail.com>

        * dyn_load.c: Avoid #error "large files are not supported by libelf" errors on solaris/x86.

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

18 years agoUnicodeEncoding.cs: Don't detect byte order. Only readers like StreamReader detect...
Kornél Pál [Sat, 24 Jun 2006 12:59:07 +0000 (12:59 -0000)]
UnicodeEncoding.cs: Don't detect byte order. Only readers like StreamReader detect byte order marks.

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

18 years ago2006-06-23 John Luke <john.luke@gmail.com>
John Luke [Fri, 23 Jun 2006 23:10:47 +0000 (23:10 -0000)]
2006-06-23  John Luke  <john.luke@gmail.com>

        * Mono.Cairo/Pattern.cs:
        * Mono.Cairo/SolidPattern.cs:
        * Mono.Cairo/SurfacePattern.cs:
        * Mono.Cairo/Gradient.cs:
        * Mono.Cairo/LinearGradient.cs:
        * Mono.Cairo/RadialGradient.cs: split the pattern/gradients
        into their own files

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

18 years ago2006-06-23 John Luke <john.luke@gmail.com>
John Luke [Fri, 23 Jun 2006 22:46:59 +0000 (22:46 -0000)]
2006-06-23  John Luke  <john.luke@gmail.com>

        #if CAIRO_1_2 changes

        * Mono.Cairo/Surface.cs: add SetFallbackResolution
        * Mono.Cairo/CairoAPI.cs: remove old pdf/ps api and
        add some of the new API
        * Mono.Cairo/SurfaceType.cs:
        * Mono.Cairo/SvgSurface.cs:
        * Mono.Cairo/SvgVersion.cs: add these

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

18 years ago2006-06-23 John Luke <john.luke@gmail.com>
John Luke [Fri, 23 Jun 2006 22:24:52 +0000 (22:24 -0000)]
2006-06-23  John Luke  <john.luke@gmail.com>

        * Mono.Cairo/Surface.cs:
        * Mono.Cairo/ImageSurface.cs:
        * Mono.Cairo/PDFSurface.cs:
        * Mono.Cairo/PSSurface.cs:
        * Mono.Cairo/Win32Surface.cs:
        * Mono.Cairo/XlibSurface.cs: split the surfaces into
        their own files, make pdf and ps reflect what will be
        in the cairo 1.2 api

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

18 years ago2006-06-23 John Luke <john.luke@gmail.com>
John Luke [Fri, 23 Jun 2006 19:39:38 +0000 (19:39 -0000)]
2006-06-23  John Luke  <john.luke@gmail.com>

        * snippets/*.cs: use Cairo.Context instead of Cairo.Graphics
        * Samples/*/Makefile: add to ease building of samples

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

18 years agoremove spew
Chris Toshok [Fri, 23 Jun 2006 18:49:16 +0000 (18:49 -0000)]
remove spew

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

18 years ago2006-06-23 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 23 Jun 2006 18:49:02 +0000 (18:49 -0000)]
2006-06-23  Chris Toshok  <toshok@ximian.com>

* PropertyManager.cs: It appears (according to the unit tests)
that PropertyManager doesn't use
PropertyDescriptor.AddValueChanged to track propery value changes
in its datasource, but uses the same scheme as Binding, where it
looks for a <Property>Changed event and binds to it.

Also, according to the docs, IsSuspended always returns false for
a property manager with a non-null datasource.

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

18 years agoadd more tests
Chris Toshok [Fri, 23 Jun 2006 18:44:12 +0000 (18:44 -0000)]
add more tests

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

18 years agoIn .:
Chris Toshok [Fri, 23 Jun 2006 17:41:40 +0000 (17:41 -0000)]
In .:
2006-06-23  Chris Toshok  <toshok@ximian.com>

* System.Windows.Forms_test.dll.sources: add
PropertyManagerTest.cs

In Test/System.Windows.Forms:
2006-06-23  Chris Toshok  <toshok@ximian.com>

* PropertyManagerTest.cs: new tests regarding the
[Related]PropertyManager class.

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

18 years ago2006-06-21 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Fri, 23 Jun 2006 14:21:24 +0000 (14:21 -0000)]
2006-06-21  Rafael Teixeira <rafaelteixeirabr@hotmail.com>

* WebServiceBindingAttribute.cs: new 2.0 property WsiProfiles ConformsTo.

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

18 years ago2006-06-23 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Fri, 23 Jun 2006 07:24:53 +0000 (07:24 -0000)]
2006-06-23  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * Makefile (EXTRA_DISTFILES): Changed name from SimpleTask.cs to
        TestTasks.cs (I forgot to add the new file here)

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

18 years ago2006-06-22 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 23 Jun 2006 00:42:26 +0000 (00:42 -0000)]
2006-06-22  Peter Dennis Bartok  <pbartok@novell.com>

* Form.cs: (ShowDialog): If we're returning a forced cancel we still
  need to update the actual DialogResult. (Fixes #78613)

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

18 years ago* Makefile (EXTRA_DISTFILES): Remove Test/resource/SimpleTask.cs (the file
Wade Berrier [Thu, 22 Jun 2006 23:58:03 +0000 (23:58 -0000)]
* Makefile (EXTRA_DISTFILES): Remove Test/resource/SimpleTask.cs (the file
was removed today)

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

18 years agosvn:ignore: Ignore Makefile and Makefile.in for this and
Wade Berrier [Thu, 22 Jun 2006 23:43:50 +0000 (23:43 -0000)]
svn:ignore: Ignore Makefile and Makefile.in for this and
each subdir

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

18 years ago2006-06-22 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Thu, 22 Jun 2006 21:08:09 +0000 (21:08 -0000)]
2006-06-22  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * standalone/hello_world: Added hello world type project.

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

18 years ago2006-06-22 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Thu, 22 Jun 2006 21:07:25 +0000 (21:07 -0000)]
2006-06-22  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * Makefile: Updated.
        * xbuild/Microsoft.CSharp.Targets: Added hacky implementation of this
        targets file.

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

18 years ago2006-06-22 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Thu, 22 Jun 2006 21:03:24 +0000 (21:03 -0000)]
2006-06-22  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * ManagedCompiler.cs: Change TargetType to return lower case text.

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

18 years ago configure.in: Add the Makefile to create in order to run the CAS tests
Sebastien Pouliot [Thu, 22 Jun 2006 20:49:09 +0000 (20:49 -0000)]
 configure.in: Add the Makefile to create in order to run the CAS tests

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

18 years ago2006-06-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 22 Jun 2006 20:47:23 +0000 (20:47 -0000)]
2006-06-22  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile.am: Add 'cas' to SUBDIRS

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

18 years ago2006-06-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 22 Jun 2006 20:46:24 +0000 (20:46 -0000)]
2006-06-22  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile.am: Updated Makefile to add the CAS tests to the tarball
and enable them to be more broadly tested;
* Makefile: Removed and replaced by Makefile.am

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

18 years ago2006-06-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 22 Jun 2006 20:45:29 +0000 (20:45 -0000)]
2006-06-22  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile.am: Updated Makefile to add the CAS tests to the tarball
and enable them to be more broadly tested;
* Makefile: Removed and replaced by Makefile.am

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

18 years ago2006-06-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 22 Jun 2006 20:44:43 +0000 (20:44 -0000)]
2006-06-22  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile.am: Updated Makefile to add the CAS tests to the tarball
and enable them to be more broadly tested;
* Makefile: Removed and replaced by Makefile.am

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

18 years ago2006-06-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 22 Jun 2006 20:44:14 +0000 (20:44 -0000)]
2006-06-22  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile.am: Updated Makefile to add the CAS tests to the tarball
and enable them to be more broadly tested;
* Makefile: Removed and replaced by Makefile.am

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

18 years ago2006-06-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 22 Jun 2006 20:43:41 +0000 (20:43 -0000)]
2006-06-22  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile.am: Updated Makefile to add the CAS tests to the tarball
and enable them to be more broadly tested;
* Makefile: Removed and replaced by Makefile.am

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

18 years ago2006-06-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 22 Jun 2006 20:43:00 +0000 (20:43 -0000)]
2006-06-22  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile.am: Updated Makefile to add the CAS tests to the tarball
and enable them to be more broadly tested;
* Makefile: Removed and replaced by Makefile.am

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

18 years ago2006-06-22 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Thu, 22 Jun 2006 20:21:34 +0000 (20:21 -0000)]
2006-06-22  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * ConditionalTokenizer.cs, ConditionalExpression.cs,
        ConditionalParser.cs: Changed name,
        removed -al.
        * ConditionExpression.cs: Added Evaluate ().
        * ConditionOrExpression.cs, ConditionAndExpression.cs: Added.
        * BatchingImpl.cs: Added check if task should be executed.

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

18 years ago2006-06-22 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Thu, 22 Jun 2006 20:16:59 +0000 (20:16 -0000)]
2006-06-22  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * UsingTaskCollectionTest.cs, UsingTaskTest.cs: Updated names.
        * ProjectTest.cs: Moved most of the old tests to various/.
        * Consts.cs: Added.

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

18 years ago2006-06-22 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 22 Jun 2006 19:10:07 +0000 (19:10 -0000)]
2006-06-22  Peter Dennis Bartok  <pbartok@novell.com>

* Form.cs (ShowDialog): Release any captures before running the
  new message pump (fixes #78680)

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

18 years ago2006-06-22 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Thu, 22 Jun 2006 17:44:19 +0000 (17:44 -0000)]
2006-06-22  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildErrorEventArgsTest.cs: Fixed header.
        * BuildEventArgsTest.cs: Added.

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

18 years ago2006-06-22 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Thu, 22 Jun 2006 17:41:29 +0000 (17:41 -0000)]
2006-06-22  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * ToolTask.cs: Added some [MonoTODO]s.

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

18 years ago2006-06-22 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Thu, 22 Jun 2006 17:37:11 +0000 (17:37 -0000)]
2006-06-22  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * FormatUrl.cs, CreateVisualBasicManifestResourceName.cs,
        GenereateBootstrapper.cs, ExtractedClassName.cs,
        GenerateManifestBase.cs, FormatVersion.cs,
        CreateManifestResourceName.cs, CreateCSharpManifestResourceName.cs,
        GenerateApplicationManifest.cs: Added stubs.
        * Exec.cs: Removed some assignments.
        * CreateItem.cs: Formatting.

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

18 years agoremove unnecessary using
Andrew Skiba [Thu, 22 Jun 2006 16:41:20 +0000 (16:41 -0000)]
remove unnecessary using

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

18 years agosupport for POST method in test framework and forms
Andrew Skiba [Thu, 22 Jun 2006 16:37:08 +0000 (16:37 -0000)]
support for POST method in test framework and forms

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

18 years ago2006-06-22 Mike Kestner <mkestner@novell.com>
Mike Kestner [Thu, 22 Jun 2006 16:23:24 +0000 (16:23 -0000)]
2006-06-22  Mike Kestner  <mkestner@novell.com>

* ListView.cs: Layout column widths properly in details mode even
if HeaderStyle.None is set.  Fixes #78691.

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

18 years agodon't use IsNullOrEmpty in 1.1 code
Andrew Skiba [Thu, 22 Jun 2006 14:07:38 +0000 (14:07 -0000)]
don't use IsNullOrEmpty in 1.1 code

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

18 years agoimplemented simple postback test infrastructure
Andrew Skiba [Thu, 22 Jun 2006 13:58:53 +0000 (13:58 -0000)]
implemented simple postback test infrastructure

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

18 years ago2006-06-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Jun 2006 10:56:03 +0000 (10:56 -0000)]
2006-06-22  Zoltan Varga  <vargaz@gmail.com>

* mini.c: Remove unused solaris/x86 includes.

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

18 years agoAdd HtmlCompare project; add PostBack skeleton
Andrew Skiba [Thu, 22 Jun 2006 08:35:08 +0000 (08:35 -0000)]
Add HtmlCompare project; add PostBack skeleton

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

18 years ago2006-06-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 22 Jun 2006 01:46:25 +0000 (01:46 -0000)]
2006-06-22  Martin Baulig  <martin@ximian.com>

* class.cs
(TypeContainer.GetNormalBases): Also use ResolveAsBaseTerminal()
for interfaces; fixes #78686, which is a modification of #78380
with interfaces instead of classes.

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

18 years ago2006-06-21 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 21 Jun 2006 23:31:49 +0000 (23:31 -0000)]
2006-06-21  Peter Dennis Bartok  <pbartok@novell.com>

* FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.

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

18 years ago2006-06-21 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 21 Jun 2006 23:18:37 +0000 (23:18 -0000)]
2006-06-21  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs (ContainsFocus): Using new driver method to get focused
  window, instead of trying to use internal tracking var, which can
  recursion issues (Fixes #78685)
* XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  XplatUIWin32.cs: Added GetFocus method to return focused window

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

18 years ago2006-06-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 21 Jun 2006 21:54:09 +0000 (21:54 -0000)]
2006-06-21  Zoltan Varga  <vargaz@gmail.com>

* jit.h: Add G_BEGIN_DECLS/G_END_DECLS.

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

18 years agoEncoding.cs: Return big-endian UTF-32 in GetEncodings () and GetEncoding (int)
Kornél Pál [Wed, 21 Jun 2006 21:47:43 +0000 (21:47 -0000)]
Encoding.cs: Return big-endian UTF-32 in GetEncodings () and GetEncoding (int)

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

18 years ago2006-06-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 21 Jun 2006 20:45:36 +0000 (20:45 -0000)]
2006-06-21  Martin Baulig  <martin@ximian.com>

* codegen.cs (CodeGen.Save): Moved the symbol file generation into
the `try'-block, so we also report CS0016 etc. there.

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

18 years ago2006-06-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 21 Jun 2006 20:45:14 +0000 (20:45 -0000)]
2006-06-21  Martin Baulig  <martin@ximian.com>

* delegate.cs
(Delegate.VerifyMethod): Allow `params' methods; fixes #78678.

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

18 years ago2006-06-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 21 Jun 2006 20:32:20 +0000 (20:32 -0000)]
2006-06-21  Martin Baulig  <martin@ximian.com>

* ecore.cs (FieldExpr.EmitAssign, FieldExpr.AddressOf): Correctly
handle SetAssigned() and SetMemberIsUsed() for generic types;
fixes #77545.

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

18 years ago2006-06-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 21 Jun 2006 20:08:38 +0000 (20:08 -0000)]
2006-06-21  Martin Baulig  <martin@ximian.com>

* delegate.cs
(Delegate.VerifyMethod): Allow `params' methods; fixes #78678.

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

18 years ago2006-06-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 21 Jun 2006 17:06:56 +0000 (17:06 -0000)]
2006-06-21  Martin Baulig  <martin@ximian.com>

* expression.cs (Unary.ResolveOperator): In `Operator.AddressOf',
also report CS1686 for parameters.

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

18 years agoNunitWeb test framework major API refactoring; downport to net 1.1
Andrew Skiba [Wed, 21 Jun 2006 15:57:20 +0000 (15:57 -0000)]
NunitWeb test framework major API refactoring; downport to net 1.1

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

18 years ago2006-06-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 21 Jun 2006 15:54:07 +0000 (15:54 -0000)]
2006-06-21  Martin Baulig  <martin@ximian.com>

* statement.cs (GotoCase.Resolve): Report a warning (CS0469)
instead of an error if the value is not implicitly convertible to
the switch types; fixes #77964.

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

18 years ago2006-06-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 21 Jun 2006 15:18:20 +0000 (15:18 -0000)]
2006-06-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ColorDialog.cs: when the mouse button is pressed inside the color
matrix, don't let the cursor move out of it until the button is
released, which is the behavior on windows. Changed 'colours' by
'colors' to use the same word consistently.

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

18 years ago * DataGrid.cs: add in some basic navigation stuff (navigating to a
Chris Toshok [Wed, 21 Jun 2006 13:54:11 +0000 (13:54 -0000)]
* DataGrid.cs: add in some basic navigation stuff (navigating to a
child relation and back, using a stack).  Also, remove
GetDataSource and the code that calls it - it's not needed.  Also,
track CurrencyManager.ListName's removal.

2006-06-21  Chris Toshok  <toshok@ximian.com>

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

18 years ago2006-06-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 21 Jun 2006 13:41:56 +0000 (13:41 -0000)]
2006-06-21  Martin Baulig  <martin@ximian.com>

* reflection.c
(method_encode_clauses): Don't assert on `ex_info->handlers' here;
fixes #76484.

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

18 years agoExecuteXmlReader() implementation
Konstantin Triger [Wed, 21 Jun 2006 13:31:25 +0000 (13:31 -0000)]
ExecuteXmlReader() implementation

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

18 years agoAdded test for #77934.
Martin Baulig [Wed, 21 Jun 2006 13:22:56 +0000 (13:22 -0000)]
Added test for #77934.

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

18 years ago2006-06-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 21 Jun 2006 12:59:27 +0000 (12:59 -0000)]
2006-06-21  Sebastien Pouliot  <sebastien@ximian.com>

* HttpWriter.cs: Fix test fixture not to inherit from
AspNetHostingMinimal which limits the test execution when the CAS
category isn't excluded.

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

18 years agoFix #78673
Raja R Harinath [Wed, 21 Jun 2006 12:48:37 +0000 (12:48 -0000)]
Fix #78673
* mcs/class.cs (FieldBase.ResolveInitializer): Stop resolution if
FieldBuilder is null.
* gmcs/class.cs: Likewise.

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

18 years ago2006-06-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 21 Jun 2006 12:44:54 +0000 (12:44 -0000)]
2006-06-21  Zoltan Varga  <vargaz@gmail.com>

* object.h (mono_array_setref): Cast value to (MonoObject*) to fix warnings.

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

18 years ago2006-06-21 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 21 Jun 2006 11:39:18 +0000 (11:39 -0000)]
2006-06-21  Chris Toshok  <toshok@ximian.com>

* DataView.cs: update the index after we successfully add the new
row.  This keeps the dataview's row view count in sync with the
table.

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

18 years agoFix #78662
Raja R Harinath [Wed, 21 Jun 2006 11:02:12 +0000 (11:02 -0000)]
Fix #78662
* mcs/expression.cs (Binary.CheckShiftArguments): Don't overwrite original
'left' and 'right' before error-checking.
* gmcs/expression.cs: Likewise.
* errors/cs0019-16.cs: New test from #78662.

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

18 years ago2006-06-21 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 21 Jun 2006 10:41:07 +0000 (10:41 -0000)]
2006-06-21  Chris Toshok  <toshok@ximian.com>

* CurrencyManager.cs: push some of the original type checking from
BindingContext.CreateBindingManager to here, and remove some of
the finalType stuff.  Need more tests to make sure I've got the
ListName part right, and we might need more in SetDataSource.

* PropertyManager.cs: add a ctor that takes just the datasource,
and no property name.  Make SetDataSource work with a null
property_name, and make Current return the data_source if the
property descriptor is null.  this makes 'string foo = "hi";
BindingContext[foo].Current' return "hi" as it should.

* RelatedCurrencyManager.cs: make this code more generic - there's
no reason the parent manager has to be CurrencyManager, and
there's no reason to pass the DataRelation.  It suffices to use a
BindingManagerBase and PropetyDescriptor.

* RelatedPropertyManager.cs: make a similar change here.

* BindingContext.cs: make CreateBindingManager the beautiful, tiny
flower I knew it could be.

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

18 years ago2006-06-20 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 21 Jun 2006 10:30:58 +0000 (10:30 -0000)]
2006-06-20  Chris Toshok  <toshok@ximian.com>

* DataView.cs: the PropertyDescriptorCollection returned by
ITyepdList.GetItemProperties should include the child relations of
our table, in order to match MS's behavior.

* DataViewManager.cs: ICollection.Count property is always 1.

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

18 years agoAdd FileUpload implementation
Andrew Skiba [Wed, 21 Jun 2006 09:00:40 +0000 (09:00 -0000)]
Add FileUpload implementation

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

18 years ago2006-06-21 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Wed, 21 Jun 2006 08:50:43 +0000 (08:50 -0000)]
2006-06-21 Juraj Skripsky <js@hotfeet.ch>

* AspTokenizer.cs (ReadAttValue), AspParser.cs (GetAttributes):
MS.NET handles nested quotes differently for server controls and
for "normal" controls. Add a property "AlternatingQuotes" to the
tokenizer and let the parser decide whether it is well-formed or not.

--This line, and thoae below, will be ignored--
M    System.Web.Compilation/AspTokenizer.cs
M    System.Web.Compilation/AspParser.cs
M    System.Web.Compilation/ChangeLog

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

18 years agoif the url is relative, make it relative to the context root
Konstantin Triger [Wed, 21 Jun 2006 08:11:15 +0000 (08:11 -0000)]
if the url is relative, make it relative to the context root

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

18 years ago2006-06-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 21 Jun 2006 07:17:53 +0000 (07:17 -0000)]
2006-06-21  Atsushi Enomoto <atsushi@ximian.com>

* Directory.cs : implemented GetFiles() and GetDirectories() which
  takes SearchOption (as they are used in one of ruby.net stuff).

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

18 years ago2006-06-20 Jb Evain <jbevain@gmail.com>
Jb Evain [Tue, 20 Jun 2006 20:27:57 +0000 (20:27 -0000)]
2006-06-20  Jb Evain  <jbevain@gmail.com>

* Math.cs: implement Math.Truncate.

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

18 years ago * PropertyManager.cs: the PropertyChangedHandler is invoked when
Chris Toshok [Tue, 20 Jun 2006 19:09:41 +0000 (19:09 -0000)]
* PropertyManager.cs: the PropertyChangedHandler is invoked when
data in the source has changed and we need to update the control,
so s/PullData/PushData.

* CurrencyManager.cs: Refresh is meant to update the control from
data in the datasource.  So, s/PullData/PushData.

* BindingContext.cs: add more ugliness (we weren't handling the
case where data_source = DataTable and data_member = column_name).

* Binding.cs: fix PushData/PullData mixup.  Both are interpreted
from the perspective of the datasource.  PullData pulls from the
control, PushData pushes to the control.

2006-06-20  Chris Toshok  <toshok@ximian.com>

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

18 years ago Things happen a little differently when control is created.
Jackson Harper [Tue, 20 Jun 2006 17:32:03 +0000 (17:32 -0000)]
    Things happen a little differently when control is created.

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

18 years agooops. this was left out of the previous commit
Chris Toshok [Tue, 20 Jun 2006 16:19:39 +0000 (16:19 -0000)]
oops.  this was left out of the previous commit

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

18 years agoupdate the ifdefed-out code to use BindingMemberInfo
Chris Toshok [Tue, 20 Jun 2006 16:15:54 +0000 (16:15 -0000)]
update the ifdefed-out code to use BindingMemberInfo

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

18 years agoIn .:
Chris Toshok [Tue, 20 Jun 2006 16:01:14 +0000 (16:01 -0000)]
In .:
2006-06-20  Chris Toshok  <toshok@ximian.com>

* System.Windows.Forms.dll.sources: add RelatedPropertyManager.cs
and RelatedCurrencyManager.cs.

In System.Windows.Forms:
2006-06-20  Chris Toshok  <toshok@ximian.com>

* BindingContext.cs: rewrite the CreateBindingManager code to
handle navigation paths more or less properly.  This could
definitely stand some more work, in particular to push the
recursion up to the toplevel.  But that relies on fixes in other
places (System.Data comes to mind).

Also, move to a flat hashtable (and encode the twolevel nature of
the dictionary into the hash key).  This lets us implement the
IEnumerable.GetEnumerator method.

* RelatedCurrencyManager.cs: new class.  Update our view based on
our relation and our parent CurrencyManager's position.

* CurrencyManager.cs: split out some logic from the ctor into
SetView, so it can be called from the new RelatedCurrencyManager
subclass.

* RelatedPropertyManager.cs: new class.  Update our datasource
based on the position of our parent CurrencyManager.

* PropertyManager.cs: split out some logic from the ctor into
SetDataSource, so it can be called from the new RelatedDataSource
subclass.  Also, make the Current getter return the value
of the PropertyDescriptor, not the data_source.

* Binding.cs: no need to duplicate the string splitting code here.

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

18 years ago2006-06-20 Jb Evain <jbevain@gmail.com>
Jb Evain [Tue, 20 Jun 2006 14:44:14 +0000 (14:44 -0000)]
2006-06-20  Jb Evain  <jbevain@gmail.com>

* cpu-g4.md: fix max length of start_handler instruction.

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

18 years agotake care of UrlPropertyAttribute
Andrew Skiba [Tue, 20 Jun 2006 14:11:42 +0000 (14:11 -0000)]
take care of UrlPropertyAttribute

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

18 years ago2006-06-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 20 Jun 2006 14:02:47 +0000 (14:02 -0000)]
2006-06-20  Zoltan Varga  <vargaz@gmail.com>

* ProtocolType.cs SocketOptionName.cs: Add missing net 2.0 fields.

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

18 years agoMake 'mono_class_get_full' only inflate TYPESPECs, not TYPEDEFs
Raja R Harinath [Tue, 20 Jun 2006 11:46:47 +0000 (11:46 -0000)]
Make 'mono_class_get_full' only inflate TYPESPECs, not TYPEDEFs
nor TYPEREFs.
* class.c (mono_class_create_from_typespec): Add 'context' argument.
Inflate result if necessary.
(mono_class_get_full): Remove old version.  Rename from
'mono_class_get' and add 'context' argument.  Pass it to
..._create_from_typespec.
(mono_class_get): New.  Simple wrapper to mono_class_get_full.
(mono_ldtoken): Revert change below.

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

18 years agohandle CssClass property in FormView
Andrew Skiba [Tue, 20 Jun 2006 08:43:16 +0000 (08:43 -0000)]
handle CssClass property in FormView

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

18 years ago * bug-78656.cs. Makefile.am: Added test for bug 78656.
Massimiliano Mantione [Tue, 20 Jun 2006 06:00:45 +0000 (06:00 -0000)]
* bug-78656.cs. Makefile.am: Added test for bug 78656.

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

18 years agoAgain, fixed changelog date...
Massimiliano Mantione [Tue, 20 Jun 2006 05:58:39 +0000 (05:58 -0000)]
Again, fixed changelog date...

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

18 years ago * simple-cee-ops.h, simple-mini-ops.h: Fixed bug 78656.
Massimiliano Mantione [Tue, 20 Jun 2006 05:57:45 +0000 (05:57 -0000)]
* simple-cee-ops.h, simple-mini-ops.h: Fixed bug 78656.

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

18 years ago input keys test
Jackson Harper [Mon, 19 Jun 2006 23:54:00 +0000 (23:54 -0000)]
    input keys test

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

18 years agoNew test for #78053.
Martin Baulig [Mon, 19 Jun 2006 23:24:58 +0000 (23:24 -0000)]
New test for #78053.

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

18 years ago2006-06-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 19 Jun 2006 23:24:24 +0000 (23:24 -0000)]
2006-06-20  Martin Baulig  <martin@ximian.com>

* class.c (mono_ldtoken): Don't pass the generic context to
mono_class_get_full() for MONO_TOKEN_TYPE_DEF/REF.  Fixes #78053.

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

18 years ago2006-06-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 19 Jun 2006 22:21:35 +0000 (22:21 -0000)]
2006-06-19  Martin Baulig  <martin@ximian.com>

* convert.cs
(Convert.ImplicitConversionStandard): Cleanup and correctly
implement nullable conversions.
(Convert.ImplicitStandardConversionExists): Likewise.
(Convert.ExplicitConversion): Likewise.

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

18 years ago Remove some debug code.
Jackson Harper [Mon, 19 Jun 2006 22:07:51 +0000 (22:07 -0000)]
    Remove some debug code.

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

18 years ago2006-06-19 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Mon, 19 Jun 2006 21:22:22 +0000 (21:22 -0000)]
2006-06-19  Peter Dennis Bartok <pbartok@novell.com>

* ControlTest.cs: Added tests for enabled state inheritance

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

18 years ago2006-06-19 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Mon, 19 Jun 2006 21:22:12 +0000 (21:22 -0000)]
2006-06-19  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs:
  - set_Enabled: OnEnabledChanged is not called if the inherited state
    of the control is not altered, even though  we might be changing the
    internal state of the control (#78458)
  - set_Enabled: (Re)Moved the enabling/disabling of the window to
    OnEnabledChanged, to allow easy altering of any child window state
  - OnEnabledChanged: Added code to enable/disable driver window state
  - OnParentEnabledChanged: Instead of firing the event, call
    OnEnabledChanged, which will fire the event and also a) set driver
    window state and pass the enabled state to any grandchildren (#78458)

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

18 years ago * InternalWindowManager.cs: We don't set the cursor
Jackson Harper [Mon, 19 Jun 2006 20:37:13 +0000 (20:37 -0000)]
   * InternalWindowManager.cs: We don't set the cursor
          explicitly
        thats done via the response to NCHITTESTs.
        - Don't need to adjust for titlebar heights anymore, the
        coordinates are coming in the correct coordinates now (see
peters
        last patch).

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

18 years ago2006-06-19 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Mon, 19 Jun 2006 20:27:57 +0000 (20:27 -0000)]
2006-06-19  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  being translated relative to whole window, instead of client window.
  That caused broken offsets on mouseclick (and caused gas for our
  InternalWindowManager)

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