mono.git
18 years ago * aliasing.c: Fixed bug 78210.
Massimiliano Mantione [Thu, 27 Apr 2006 20:52:45 +0000 (20:52 -0000)]
* aliasing.c: Fixed bug 78210.

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

18 years ago * driver.c: Disabled inline,consprop,copyprop,treeprop,deadce by
Massimiliano Mantione [Thu, 27 Apr 2006 20:46:24 +0000 (20:46 -0000)]
* driver.c: Disabled inline,consprop,copyprop,treeprop,deadce by
default until all their problems (or the ones they trigger) are fixed.

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

18 years ago2006-04-27 Robert Jordan <robertj@gmx.net>
Robert Jordan [Thu, 27 Apr 2006 20:43:06 +0000 (20:43 -0000)]
2006-04-27  Robert Jordan  <robertj@gmx.net>

* RemotingServices.cs (IsObjectOutOfAppDomain, IsObjectOutOfContext):
add parameter validation. Fixes bug #78164.

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

18 years ago2006-04-27 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Thu, 27 Apr 2006 19:49:56 +0000 (19:49 -0000)]
2006-04-27  Alexander Olk  <alex.olk@googlemail.com>

* ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  needed (clip). Otherwise we get artifacts.

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

18 years ago* mcs/flowanalysis.cs (UsageVector.MergeChild): Move special-case
Raja R Harinath [Thu, 27 Apr 2006 19:31:24 +0000 (19:31 -0000)]
* mcs/flowanalysis.cs (UsageVector.MergeChild): Move special-case
handling of loop and switch reachability to ...
(FlowBranchingLoop.Merge, FlowBranchingSwitch.Merge): ... these.
* gmcs/flowanalysis.cs: Likewise.

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

18 years ago2006-04-27 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 27 Apr 2006 19:18:57 +0000 (19:18 -0000)]
2006-04-27  Peter Dennis Bartok  <pbartok@novell.com>

* SWF.csproj: Updated, matching current .sources

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

18 years ago2006-04-27 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Thu, 27 Apr 2006 19:04:56 +0000 (19:04 -0000)]
2006-04-27  Geoff Norton  <gnorton@customerdna.com>

        * XmlDocument.cs: Move back to the element after
        reading an attribute.  This mimics Microsofts behaviour.

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

18 years ago2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 27 Apr 2006 18:39:24 +0000 (18:39 -0000)]
2006-04-27  Sebastien Pouliot  <sebastien@ximian.com>

* GraphicsPathTest.cs: Activate two unit tests where we use AddLines
to add a single point to a path.

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

18 years ago2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 27 Apr 2006 18:37:51 +0000 (18:37 -0000)]
2006-04-27  Sebastien Pouliot  <sebastien@ximian.com>

* GraphicsPath.cs: Re-write two versions of AddLines method to use
GdipAddPathLine2[I] functions. This fix a unit test where we can add
a single point with those methods. It also prevent multiple managed to
unmanaged transitions.

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

18 years ago2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 27 Apr 2006 18:35:17 +0000 (18:35 -0000)]
2006-04-27  Sebastien Pouliot  <sebastien@ximian.com>

* gdipFunctions.cs: Added wrappers for GdipAddPathLine2 and
GdipAddPathLine2I methods (to allow adding a single point).

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

18 years ago2006-04-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Apr 2006 18:07:27 +0000 (18:07 -0000)]
2006-04-27  Atsushi Enomoto  <atsushi@ximian.com>

* SettingElement.cs : more circular dependency fix.

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

18 years ago* mcs/lowanalysis.cs (FlowBranching.InLoop): Move special-case
Raja R Harinath [Thu, 27 Apr 2006 18:06:54 +0000 (18:06 -0000)]
* mcs/lowanalysis.cs (FlowBranching.InLoop): Move special-case
handling to FlowBranchingLoop.InLoop.
(FlowBranching.InSwitch): Likewise, to FlowBranchingSwitch.
* gmcs/flowanalysis.cs: Likewise.

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

18 years ago2006-04-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Apr 2006 17:45:48 +0000 (17:45 -0000)]
2006-04-27  Atsushi Enomoto  <atsushi@ximian.com>

* SettingValueElement.cs,
  SettingElement.cs : circular dependency hell fix.

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

18 years ago2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
Jonathan Chambers [Thu, 27 Apr 2006 17:27:04 +0000 (17:27 -0000)]
2006-04-27  Jonathan Chambers <jonathan.chambers@ansys.com>

* ColorEditor.cs: Make into a drop down editor
  and begin work on editor.

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

18 years ago* OperationMessage.cs (Extensions): Remove, incorrectly added in earlier
Ankit Jain [Thu, 27 Apr 2006 17:16:09 +0000 (17:16 -0000)]
* OperationMessage.cs (Extensions): Remove, incorrectly added in earlier
commit.
* OperationInput.cs (Extensions):
* OperationOutput.cs (Extensions):
* OperationFault.cs (Extensions): Override and implement missing property.

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

18 years ago2006-04-27 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 27 Apr 2006 17:13:28 +0000 (17:13 -0000)]
2006-04-27  Chris Toshok  <toshok@ximian.com>

* SqlMembershipProvider.cs (UnlockUser): fix sql query.

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

18 years ago2006-04-27 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 27 Apr 2006 16:48:53 +0000 (16:48 -0000)]
2006-04-27  Chris Toshok  <toshok@ximian.com>

* AuthorizationRuleCollection.cs (ThrowOnDuplicate): for the time
being introduce a overridden property MS doesn't make use of.
This needs readdressing, but it should get people making use of
<authorization> rules working again.

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

18 years ago2006-04-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Apr 2006 15:41:33 +0000 (15:41 -0000)]
2006-04-27  Atsushi Enomoto  <atsushi@ximian.com>

* t16.exe.result
  t17.exe.result
  t18.exe.result : removed.
* t32.cs
  t32.exe.expected
  t32.exe.config : new test from bug #77957.
* Makefile : use diff --strip-trailing-cr instead of cmp so that
  it works fine on windows.

(added ChangeLog as well.)

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

18 years ago2006-04-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Apr 2006 15:40:42 +0000 (15:40 -0000)]
2006-04-27  Atsushi Enomoto  <atsushi@ximian.com>

* System.dll.sources : added ClientSettingsSection.cs.

* ClientSettingsSection.cs : new (implemented) file.
* SettingValueElement.cs : implemented.
  SettingElement.cs : implemented.
  SettingElementCollection.cs : implemented except for Add(),
  Clear(), Get() and Remove().

  A test will be soon added as part of bug #77957 test with
  DefaultCollection support in sys.configuration.

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

18 years ago* ServiceDescriptionSerializerBase.cs (ServiceDescriptionWriterBase):
Ankit Jain [Thu, 27 Apr 2006 15:29:35 +0000 (15:29 -0000)]
* ServiceDescriptionSerializerBase.cs (ServiceDescriptionWriterBase):
Make it internal.

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

18 years ago2006-04-27 Francisco Figueiredo Jr. <fxjrlist@yahoo.com.br>
Francisco Figueiredo Jr. [Thu, 27 Apr 2006 14:27:17 +0000 (14:27 -0000)]
2006-04-27  Francisco Figueiredo Jr.  <fxjrlist@yahoo.com.br>

* NpgsqlCommand.cs: Commited wrong file previously. This is the correct one.

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

18 years agoIn class/System.Web.Services/Test/System.Web.Services.Description:
Ankit Jain [Thu, 27 Apr 2006 14:26:06 +0000 (14:26 -0000)]
In class/System.Web.Services/Test/System.Web.Services.Description:

* ServiceDescriptionTest.cs (ExtensibleAttributes): New test.

In class/System.Web.Services/System.Web.Services.Description:

* DocumentableItem.cs (ExtensibleAttributes):
(Extensions): Add missing NET_2_0 properties.
* Port.cs:
* OperationBinding.cs:
* MessagePart.cs
* Binding.cs:
* Types.cs:
* Service.cs:
* OperationMessage.cs:
* Message.cs:
* Import.cs:
* Operation.cs:
* PortType.cs: Override and implement Extensions property. Add
XmlFormatExtensionPoint attribute.

* MessageBinding.cs: Abstract Extensions property is not present in
NET_2_0.

* wsdl.genxs: Update to process unknown attributes as ExtensibleAttributes in NET_2_0.
* ServiceDescriptionSerializerBase.cs: Regenerated from wsdl.genxs

* ServiceDescription.cs (ServiceDescription.AddUnknownAttribute): New. Add attribute to
attributes collection.
(ServiceDescription.SetExtensibleAttributes): Set DocumentableItem.ExtensibleAttributes
property.

* ServiceDescriptionFormatExtensionCollection.cs
(ServiceDescriptionFormatExtensionCollection.SetParent): Set only if
value is a ServiceDescriptionFormatExtension type object.

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

18 years ago2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 27 Apr 2006 14:25:00 +0000 (14:25 -0000)]
2006-04-27  Sebastien Pouliot  <sebastien@ximian.com>

* GraphicsPathTest.cs: Added new test cases for AddString.

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

18 years ago2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 27 Apr 2006 14:23:39 +0000 (14:23 -0000)]
2006-04-27  Sebastien Pouliot  <sebastien@ximian.com>

* GraphicsPath.cs: Fix exception handle in AddString methods to match
MS behahiour. Updated MonoTODO to reflect current status.

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

18 years ago2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 27 Apr 2006 14:20:59 +0000 (14:20 -0000)]
2006-04-27  Sebastien Pouliot  <sebastien@ximian.com>

* gdipFunctions.cs: Added CharSet=CharSet.Unicode to GdipAddString and
GdipAddStringI wrapper methods.

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

18 years ago2006-04-27 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Thu, 27 Apr 2006 14:11:18 +0000 (14:11 -0000)]
2006-04-27  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

    * Npgsql_test.dll.sources,
      Npgsql.dll.sources,
      Npgsql/NpgsqlError.cs,
      Npgsql/NpgsqlCommandBuilder.resx,
      Npgsql/NpgsqlConnectedState.cs,
      Npgsql/NpgsqlBind.cs,
      Npgsql/NpgsqlTransaction.cs,
      Npgsql/NpgsqlConnectionString.cs,
      Npgsql/NpgsqlConnection.cs,
      Npgsql/NpgsqlClosedState.cs,
      Npgsql/NpgsqlState.cs,
      Npgsql/NpgsqlAsciiRow.cs,
      Npgsql/NpgsqlConnector.cs,
      Npgsql/NpgsqlParameterCollection.cs,
      Npgsql/NpgsqlCancelRequest.cs,
      Npgsql/NpgsqlCommandBuilder.cs,
      Npgsql/NpgsqlException.cs,
      Npgsql/NpgsqlMediator.cs,
      Npgsql/NpgsqlReadyState.cs,
      Npgsql/PGUtil.cs,
      ChangeLog,
      Npgsql.dll.resources,
      NpgsqlTypes/NpgsqlDbType.cs,
      NpgsqlTypes/NpgsqlTypeConverters.cs,
      NpgsqlTypes/NpgsqlTypes.cs,
      NpgsqlTypes/NpgsqlTypesHelper.cs,
      Makefile: Updated to RC1 version.

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

18 years ago* System.Xml_test.dll.sources: Added Test/System.Xml.Serialization/
Gert Driesen [Thu, 27 Apr 2006 12:35:09 +0000 (12:35 -0000)]
* System.Xml_test.dll.sources: Added Test/System.Xml.Serialization/
XmlSchemaCollectionTests.cs.
* XmlSchemaCollectionTests.cs: added test for bug #78220.

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

18 years agoAddAssemblyByFileName that looks more like AddAssemblyByName
Andrew Skiba [Thu, 27 Apr 2006 06:42:35 +0000 (06:42 -0000)]
AddAssemblyByFileName that looks more like AddAssemblyByName

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

18 years ago2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 27 Apr 2006 00:57:59 +0000 (00:57 -0000)]
2006-04-26  Peter Dennis Bartok  <pbartok@novell.com>

* RTF.cs: Skip \r and \n characters instead of passing them back up
  to the parser. It will confuse the parser. (Fixes #77914)

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

18 years ago2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 26 Apr 2006 23:37:54 +0000 (23:37 -0000)]
2006-04-26  Peter Dennis Bartok  <pbartok@novell.com>

* FixedSizeTextBox.cs: Added constructor to allow specifying which
  dimension is fixed
* UpDownBase.cs: Set the spinner control to be fixed height vertical,
  and switched FixedSizeTextBox to only be fixed vertical (#78116)
* Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  if it matches the scale base font (avoids unneeded scaling)

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

18 years agoAdd test
Miguel de Icaza [Wed, 26 Apr 2006 23:34:15 +0000 (23:34 -0000)]
Add test

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

18 years ago2006-04-26 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 26 Apr 2006 23:28:32 +0000 (23:28 -0000)]
2006-04-26  Miguel de Icaza  <miguel@novell.com>

* io.c (file_close): Oops, do not use DeleteFile which expects
unicode, instead use unlink directly

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

18 years ago2006-04-26 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 26 Apr 2006 23:18:29 +0000 (23:18 -0000)]
2006-04-26  Miguel de Icaza  <miguel@novell.com>

* file-io.c (ves_icall_System_IO_MonoIO_Open): Remove `async'
boolean parameter and instead pass the information on `options'
parameter (FileOptions).

* icall.c: Register the new signature for MonoIO.Open.

2006-04-26  Miguel de Icaza  <miguel@novell.com>

Add support for the new FileOptions bits on .NET 2.0.

It might be good if Dick reviews these changes.

* io.c (file_close): If DeleteOnClose is set, then delete the file
before freeing it.
(CreateFile): Do not support encryption per user.

If posix_fadvise exists, pass hints on sequential scan and random
access.   Did not figure out what WRITE_THROUGH maps to.

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

18 years ago2006-04-26 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 26 Apr 2006 23:18:28 +0000 (23:18 -0000)]
2006-04-26  Miguel de Icaza  <miguel@novell.com>

* FileStream.cs: Implement the FileOptions usage by passing all
the information to the C layer.  Remove the "isAsync" argument for
MonoIO.Open, and instead pass it on the FileOptions.

* FileOptions.cs: Make it build when including WriteThrough

* MonoIO.cs: Update MonoIO.Open signature to drop the async
argument and take FileOptions instead.

2006-04-26  Miguel de Icaza  <miguel@novell.com>

* MethodBuilder.cs: better error messages when we close the
method.

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

18 years ago2006-04-26 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Wed, 26 Apr 2006 21:41:58 +0000 (21:41 -0000)]
2006-04-26  Alexander Olk  <alex.olk@googlemail.com>

* X11DesktopColors.cs: One gtk_init_check should be enough

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

18 years ago2006-04-26 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 26 Apr 2006 21:39:31 +0000 (21:39 -0000)]
2006-04-26  Miguel de Icaza  <miguel@novell.com>

* debug-helpers.c (dis_one): Trying to understand how coverity
works.  Fix Run 5, item 78.

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

18 years ago2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 26 Apr 2006 21:34:22 +0000 (21:34 -0000)]
2006-04-26  Peter Dennis Bartok  <pbartok@novell.com>

* TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  match MS behaviour

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

18 years ago2006-04-26 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 26 Apr 2006 21:25:42 +0000 (21:25 -0000)]
2006-04-26  Chris Toshok  <toshok@ximian.com>

* SectionInformation.cs (.ctor): add MonoTODO about the default
value for require_permission.
(RequirePermission): implement the getter/setter for this so
Atsushi's previous commit doesn't break everything :)

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

18 years ago2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 26 Apr 2006 21:16:16 +0000 (21:16 -0000)]
2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnectionData.cs:
* WebConnection.cs:
* HttpWebRequest.cs: when tunneling an ssl conneciton through a proxy,
we were not handling a proxy authentication request. Fixes bug #78150
take 2.

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

18 years agoNothing to see here, move along
Miguel de Icaza [Wed, 26 Apr 2006 21:12:08 +0000 (21:12 -0000)]
Nothing to see here, move along

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

18 years ago2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 26 Apr 2006 21:07:48 +0000 (21:07 -0000)]
2006-04-26  Peter Dennis Bartok  <pbartok@novell.com>

* TextBoxBase.cs:
  - Generate OnTextChanged for Backspace even if we're only deleting
    the current selection
  - When setting the Text property, only select all text if the
    control does not have focus when it is being set. Otherwise
    just place the cursor at the beginning of the control

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

18 years ago2006-04-26 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Wed, 26 Apr 2006 21:04:36 +0000 (21:04 -0000)]
2006-04-26  Alexander Olk  <alex.olk@googlemail.com>

* ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  Added a little helper to draw PropertyGrid ToolBar with a different
  border and a different BackColor.
* PropertyGrid.cs: Some background parts didn't get painted with the
  correct background color. Added a class that helps us to draw the
  correct border for PropertyGridView and a class that helps us to
  draw ToolBars with a different backcolor
* PropertyGridView.cs: Draw PlusMinus with the correct colors.

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

18 years ago2006-04-26 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 26 Apr 2006 20:56:24 +0000 (20:56 -0000)]
2006-04-26  Miguel de Icaza  <miguel@novell.com>

* TypeDescriptor.cs (Info.GetProperties, TypeInfo.GetProperties):
Use the more specific GetProperties call so we do not return
static properties, should fix that part of the PropertyGrid bug
#78192.

Code formatting police hit again.

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

18 years ago2006-04-26 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Wed, 26 Apr 2006 20:27:34 +0000 (20:27 -0000)]
2006-04-26  Alexander Olk <alex.olk@googlemail.com>

* ColorEditor.cs: Dispose the SolidBrush that fills the color
  rectangle and don't draw a border which uglifys
  PropertyGrid

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

18 years ago2006-04-26 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 26 Apr 2006 19:46:04 +0000 (19:46 -0000)]
2006-04-26  Miguel de Icaza  <miguel@novell.com>

* ReflectionPropertyDescriptor.cs (CanResetvalue): Do not
dereference a null value, avoids crash in property grid.

Code formatting police.

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

18 years ago2006-04-26 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 26 Apr 2006 19:36:28 +0000 (19:36 -0000)]
2006-04-26  Marek Safar  <marek.safar@seznam.cz>

A fix for #78115
anonymous.cs.cs (AnonymousMethod.DoResolve): Moved the check whether
anonymous method  is allowed from AnonymousContainer here.

* attribute.cs, codegen.cs (EmitContext): Add IsAnonymousMethodAllowed.

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

18 years ago2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 26 Apr 2006 19:19:02 +0000 (19:19 -0000)]
2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Bitmap.cs: throw when the target pixel format differs from the one
of the image and it's an indexed format. We were failing in UnlockBits
before.

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

18 years ago2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 26 Apr 2006 19:16:28 +0000 (19:16 -0000)]
2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TestBitmap.cs: added tests for UnlockBits when the target is an
indexed image and a non-indexed one.

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

18 years ago2006-04-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Apr 2006 17:01:19 +0000 (17:01 -0000)]
2006-04-26  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (mono_aot_get_method_from_token_inner): Fix the previous patch.

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

18 years ago2006-04-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Apr 2006 16:54:40 +0000 (16:54 -0000)]
2006-04-26  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (mono_aot_get_method_from_token_inner): Mark the method
as loaded only after resolving patches since that could invoke the same method.

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

18 years ago2006-04-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Apr 2006 16:22:23 +0000 (16:22 -0000)]
2006-04-26  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (mono_aot_plt_resolve): Fix ppc etc. builds.

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

18 years ago2006-04-26 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 26 Apr 2006 15:22:22 +0000 (15:22 -0000)]
2006-04-26  Dick Porter  <dick@ximian.com>

        * sockets.c (WSAIoctl): Check the output buffer is valid before
        writing to it.

        * handles.c (_wapi_search_handle): Set shared pointer if we find a
        shared handle that has been already opened.

2006-04-26  Dick Porter  <dick@ximian.com>

        * socket-io.c (hostent_to_IPHostEntry2): Explicitly check for NULL
        dereference.

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

18 years ago2006-04-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Apr 2006 14:10:14 +0000 (14:10 -0000)]
2006-04-26  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c: Refactor mono_aot_compile_aot () into a bunch of smaller
functions.

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

18 years ago2006-04-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Apr 2006 13:43:42 +0000 (13:43 -0000)]
2006-04-26  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (init_plt): Use a normal trampoline to transfer code to the
AOT loader.

* aot-compiler.c (emit_plt): Pass the plt offset in %eax instead of on the
stack.

* mini-trampolines.c (mono_aot_plt_trampoline): New trampoline to handle calls
made from AOT code through the PLT table.

* mini-x86.h mini-amd64.h: Define MONO_ARCH_AOT_PLT_OFFSET_REG to the register
holding the plt offset when a call is made to the aot plt trampoline.

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

18 years agomerge -r 59923:59924
Konstantin Triger [Wed, 26 Apr 2006 12:10:11 +0000 (12:10 -0000)]
merge -r 59923:59924

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

18 years agomerge -r59921:59922
Konstantin Triger [Wed, 26 Apr 2006 11:18:08 +0000 (11:18 -0000)]
merge -r59921:59922

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

18 years ago* SoapSchemaExporterTests.cs: Sync expected results with changes in test
Gert Driesen [Wed, 26 Apr 2006 10:29:49 +0000 (10:29 -0000)]
* SoapSchemaExporterTests.cs: Sync expected results with changes in test
classes.
* XmlCodeExporterTests.cs: Same.

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

18 years ago2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Apr 2006 10:23:04 +0000 (10:23 -0000)]
2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>

* Configuration.cs,
  SectionInfo.cs : added support for "requirePermission" attribute
  in "section" element. This fixes bug #77957.

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

18 years ago2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Apr 2006 10:15:28 +0000 (10:15 -0000)]
2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>

* System.dll.sources : added ApplicationSettingsGroup.cs.

* ApplicationSettingsGroup.cs : added missing type. This is part of
  fix for bug #77957.

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

18 years ago* DeserializeTests.cs: Improved TestDeserialize_Enum test for
Gert Driesen [Wed, 26 Apr 2006 09:56:45 +0000 (09:56 -0000)]
* DeserializeTests.cs: Improved TestDeserialize_Enum test for
bug #78204.
* SerializationCodeGenerator.cs: For flag enums, we should split on all
whitespace chars instead of only on blanks.
* XmlTypeMapping.cs: Same. Added ToEnum method for converting from
constant name(s) to integral enum value.

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

18 years ago* SoapAttributesTests.cs: Added tests for bug #78205.
Gert Driesen [Wed, 26 Apr 2006 09:34:18 +0000 (09:34 -0000)]
* SoapAttributesTests.cs: Added tests for bug #78205.
* XmlSerializerTestClasses.cs: Added test classes and improved existing
classes for usage in upcoming bug reports.
* System.Xml_test.dll.sources: Added Test/System.Xml.Serialization/
SoapAttributesTests.cs.
* SoapAttributes.cs: The DefaultValueAttribute.Value should be returned
as SoapDefaultValue instead of the attribute itself. Fixes bug #78205.

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

18 years agomap NCHAR to VARCHAR type
Konstantin Triger [Wed, 26 Apr 2006 09:27:00 +0000 (09:27 -0000)]
map NCHAR to VARCHAR type

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

18 years agoSmtpClient.cs, SmtpStream.cs: Added SMTP over TLS support, refactoring
Vladimir Krasnov [Wed, 26 Apr 2006 08:40:11 +0000 (08:40 -0000)]
SmtpClient.cs, SmtpStream.cs: Added SMTP over TLS support, refactoring

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

18 years ago2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Apr 2006 08:33:24 +0000 (08:33 -0000)]
2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>

* Double.cs : (Parse) handle currency symbol when
  AllowCurrencySymbol is passed as part of the style. Patch by
  nede@aliquant.com, modified to eliminate redundant Substring().
  This fixes bug #77721.

* DoubleTest.cs : added tset for bug #77721.

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

18 years ago2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Apr 2006 08:10:14 +0000 (08:10 -0000)]
2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>

* Comparer.cs : changed internal field from CultureInfo to
  CompareInfo. This cosmetic change should fix bug #77701.

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

18 years ago2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Apr 2006 07:57:25 +0000 (07:57 -0000)]
2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>

* MonoType.cs : (GetMethod) when zero-length type[] is explicitly
  passed, don't return methods with some arguments. Fixed bug #77367.

* TypeTest.cs : added test for bug #77367.

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

18 years ago2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Apr 2006 06:16:44 +0000 (06:16 -0000)]
2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>

* Strings.cs : don't miss the last split entry. Fixed bug #77228.

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

18 years agoAdd
Miguel de Icaza [Wed, 26 Apr 2006 05:35:25 +0000 (05:35 -0000)]
Add

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

18 years ago2006-04-25 Jonathan Chambers <jonathan.chambers@ansys.com>
Jonathan Chambers [Wed, 26 Apr 2006 02:46:29 +0000 (02:46 -0000)]
2006-04-25  Jonathan Chambers  <jonathan.chambers@ansys.com>

* PropertyGrid.cs: Bug 78196, font size, and splitter location.
* PropertyGridView.cs: Bug 78196, font size, and splitter location.

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

18 years ago2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Apr 2006 02:44:41 +0000 (02:44 -0000)]
2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>

* ControlTest.cs : fix r59834: both the build and the coding style.

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

18 years agoManual tune up, so it looks better until I figure out how the Propertygrid works
Miguel de Icaza [Wed, 26 Apr 2006 01:31:17 +0000 (01:31 -0000)]
Manual tune up, so it looks better until I figure out how the Propertygrid works

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

18 years ago2006-04-25 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 26 Apr 2006 01:22:47 +0000 (01:22 -0000)]
2006-04-25  Miguel de Icaza  <miguel@novell.com>

* AnchorEditor.cs: Implement the anchor editor.

Two thoughts: I love the "Walkthrough" to implement UI editors
from the documentation.

And Visual Studio 2005 was really nice to use to write this code.

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

18 years ago2006-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 25 Apr 2006 23:44:51 +0000 (23:44 -0000)]
2006-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpApplicationFactory.cs: make sure that the application start event
is run before any request is processed.

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

18 years ago2006-04-25 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 25 Apr 2006 23:38:05 +0000 (23:38 -0000)]
2006-04-25  Miguel de Icaza  <miguel@novell.com>

* FontConverter.cs (FontUnitConverter): implement.   CorCompare
for some reason does not dig into nested classes, match the
documentation.

(FontNameConverter): Return the fonts available on the system.

2006-04-25  Peter Dennis Bartok  <pbartok@novell.com>

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

18 years agoImprove error message
Miguel de Icaza [Tue, 25 Apr 2006 23:37:10 +0000 (23:37 -0000)]
Improve error message

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

18 years ago * Cursor.cs: Same fix as XplatUIWin32.cs.
Peter Dennis Bartok [Tue, 25 Apr 2006 23:21:53 +0000 (23:21 -0000)]
* Cursor.cs: Same fix as XplatUIWin32.cs.

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

18 years ago2006-04-25 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 25 Apr 2006 23:20:01 +0000 (23:20 -0000)]
2006-04-25  Miguel de Icaza  <miguel@novell.com>

* TypeConverter.cs (ConvertFrom): Do not crash if we are passed a
null value.

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

18 years ago2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 25 Apr 2006 23:19:07 +0000 (23:19 -0000)]
2006-04-25  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  into the palette entries. Also, since we're working on a copy
  we needed to copy the palette back onto the bitmap.

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

18 years ago2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 25 Apr 2006 23:06:40 +0000 (23:06 -0000)]
2006-04-25  Peter Dennis Bartok  <pbartok@novell.com>

* Icon.cs: We need to or, not and our alpha values into the
  palette. Also, we need to actually store the altered palette
  on the bitmap, since we are altering a copy.

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

18 years ago2006-04-25 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 25 Apr 2006 22:44:33 +0000 (22:44 -0000)]
2006-04-25  Chris Toshok  <toshok@ximian.com>

* ConfigurationElementCollection.cs (Reset): it makes no sense to
pass the typename to CreateNewElementInternal.  the argument is
the elementname. pass null instead.
(Unmerge): same.

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

18 years ago* scripts/mono-find-provides.in: Only scan files that are in the gac.
Wade Berrier [Tue, 25 Apr 2006 22:17:16 +0000 (22:17 -0000)]
* scripts/mono-find-provides.in: Only scan files that are in the gac.
This allows packages to contain private assemblies that won't conflict
with other packages. Fixes bugzilla.novell.com #144655.

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

18 years ago * AuthorizationRule.cs (Reset): finally figure out what this
Chris Toshok [Tue, 25 Apr 2006 22:12:55 +0000 (22:12 -0000)]
* AuthorizationRule.cs (Reset): finally figure out what this
method is supposed to do.  Assign our Action property based on
parentElement's.

2006-04-25  Chris Toshok  <toshok@ximian.com>

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

18 years ago2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 25 Apr 2006 22:00:06 +0000 (22:00 -0000)]
2006-04-25  Peter Dennis Bartok  <pbartok@novell.com>

* ImageListStreamer.cs: Need to read the var (or we're off)

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

18 years ago * WebConfigurationHost.cs (InitForConfiguration): actually, use
Chris Toshok [Tue, 25 Apr 2006 21:50:08 +0000 (21:50 -0000)]
* WebConfigurationHost.cs (InitForConfiguration): actually, use
HttpRuntime.AppDomainAppVirtualPath on gonzalo's recommendation.
It's never null, and its use cleans things up a bit.

2006-04-25  Chris Toshok  <toshok@ximian.com>

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

18 years ago2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 25 Apr 2006 21:47:24 +0000 (21:47 -0000)]
2006-04-25  Peter Dennis Bartok  <pbartok@novell.com>

* TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  TextBoxBase.cs: Unused var fixes
* AxHost.cs: Small 2.0 fix
* XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  as it seems that is what at least Metacity expects. This will make
  icons show up on 64bit platforms. We still have some 64bit size
  issues, though, since the startup app window size still won't match.

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

18 years ago2006-04-25 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 25 Apr 2006 21:39:33 +0000 (21:39 -0000)]
2006-04-25  Chris Toshok  <toshok@ximian.com>

* WebConfigurationHost.cs (InitForConfiguration): stop going up
the virtual hierarchy once we reach the application's base virtual
path.

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

18 years ago2006-04-25 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 25 Apr 2006 21:33:08 +0000 (21:33 -0000)]
2006-04-25  Mike Kestner  <mkestner@novell.com>

* *.cs: cleanup newly reported exception var unused warnings.

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

18 years ago2006-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Apr 2006 21:02:14 +0000 (21:02 -0000)]
2006-04-25  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c aot-compiler.c cpu-amd64.md mini-amd64.c: Update parts of the
amd64 AOT support.

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

18 years ago2006-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Apr 2006 20:13:20 +0000 (20:13 -0000)]
2006-04-25  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (common_sources): Fix build breakage.

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

18 years ago2006-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Apr 2006 18:50:20 +0000 (18:50 -0000)]
2006-04-25  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c aot-compiler.c: Reorganize the AOT code yet again: Make all
calls through a jump table similar to the ELF PLT table. Avoid indirect calls for
intra-assembly calls if possible.

* tramp-*.c: Add new functions for patching/nullifying PLT entries.

* mini-trampolines.c: Handle PLT entries.

* mini.c: Avoid creating a GOT var for calls.

* jit-icalls.c (helper_ldstr_mscorlib): New helper function for loading strings
from mscorlib code.

* jit-icalls.c (helper_newobj_mscorlib): New helper function to create objects
from mscorlib code.

* mini.c (mono_method_to_ir): Use the new helper functions in throw bblocks in
AOT code.

* mini.h: Bump AOT file format version.

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

18 years ago2006-04-25 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 25 Apr 2006 18:44:11 +0000 (18:44 -0000)]
2006-04-25  Chris Toshok  <toshok@ximian.com>

* PageThemeParser.cs (LinkedStyleSheets): reformat.

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

18 years ago2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 25 Apr 2006 17:22:31 +0000 (17:22 -0000)]
2006-04-25  Peter Dennis Bartok  <pbartok@novell.com>

* TestBmpCodec.cs: Marked the 24bit test as not working until
  bug #78189 is fixed.

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

18 years ago * ThemeWin32Classic.cs: Button image alignment now matches exactly
Alexander Olk [Tue, 25 Apr 2006 17:06:35 +0000 (17:06 -0000)]
* ThemeWin32Classic.cs: Button image alignment now matches exactly
  ms

2006-04-25  Alexander Olk  <alex.olk@googlemail.com>

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

18 years ago2006-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 Apr 2006 16:43:57 +0000 (16:43 -0000)]
2006-04-25  Atsushi Enomoto  <atsushi@ximian.com>

* BaseNumberConverter.cs : (ConvertTo) regardless of InnerType,
  it converts the argument value to InnerType using supplied format.
  (It might be not limited to NET_2_0 but it's too cosmetic to dig
  into the problem. At least this is for run-test-ondotnet fixes.)

* ByteConverterTests.cs,
  DecimalConverterTests.cs,
  DoubleConverterTests.cs,
  Int16ConverterTests.cs,
  Int64ConverterTests.cs,
  SByteConverterTests.cs,
  SingleConverterTests.cs,
  UInt16ConverterTests.cs,
  UInt32ConverterTests.cs,
  UInt64ConverterTests.cs:
  ConvertToString() (test with custom culture) failed on .NET 2.0.
  Fixed it by adding NumberFormat override in each test culture.

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

18 years ago * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
Alexander Olk [Tue, 25 Apr 2006 16:32:25 +0000 (16:32 -0000)]
* ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  image. The image position is always the same, no matter if the
  button is pressed or not.

2006-04-25  Alexander Olk  <alex.olk@googlemail.com>

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

18 years ago2006-04-25 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Tue, 25 Apr 2006 15:16:15 +0000 (15:16 -0000)]
2006-04-25  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  selection and set the correct filename for SaveFileDialog.
  Patch by Emery Conrad.

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

18 years ago2006-04-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 25 Apr 2006 13:53:52 +0000 (13:53 -0000)]
2006-04-25  Martin Baulig  <martin@ximian.com>

* driver.c: Disable copyprop, consprop and inline when running
inside the debugger.

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

18 years ago2006-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Apr 2006 13:11:52 +0000 (13:11 -0000)]
2006-04-25  Zoltan Varga  <vargaz@gmail.com>

* mini.c (get_basic_blocks): Fix the calculation of bb->out_of_line so it
covers more cases.

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

18 years ago2006-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 Apr 2006 12:53:56 +0000 (12:53 -0000)]
2006-04-25  Atsushi Enomoto  <atsushi@ximian.com>

* OidTest.cs,
  AsnEncodedDataTest.cs : commented locale-dependent tests
  (FriendlyName and Format(bool)) out.

* X509EnhancedKeyUsageExtensionTest.cs,
  X509BasicConstraintsExtensionTest.cs,
  X509SubjectKeyIdentifierExtensionTest.cs,
  X509KeyUsageExtensionTest.cs,
  X509ExtensionTest.cs : commented locale-dependent tests
  (FriendlyName and Format(bool)) out.

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

18 years ago2006-04-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 25 Apr 2006 12:06:51 +0000 (12:06 -0000)]
2006-04-25  Martin Baulig  <martin@ximian.com>

* debug-debugger.h (MonoDebuggerInfo): Replaced `get_thread_id'
with `get_current_thread' and added `detach'.
(MonoDebuggerMetadataInfo): Added `thread_size',
`thread_tid_offset', `thread_stack_ptr_offset' and
`thread_end_stack_offset'.

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