mono.git
18 years agoThu Mar 16 17:27:46 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 16 Mar 2006 16:28:48 +0000 (16:28 -0000)]
Thu Mar 16 17:27:46 CET 2006 Paolo Molaro <lupus@ximian.com>

* serial.c: removed useless serial.h file (it was also
breaking the build).

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

18 years agoThu Mar 16 17:19:04 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 16 Mar 2006 16:19:58 +0000 (16:19 -0000)]
Thu Mar 16 17:19:04 CET 2006 Paolo Molaro <lupus@ximian.com>

* mini.c: use the correct GetHashCode() for the moving collector.

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

18 years agoThu Mar 16 17:16:45 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 16 Mar 2006 16:18:43 +0000 (16:18 -0000)]
Thu Mar 16 17:16:45 CET 2006 Paolo Molaro <lupus@ximian.com>

* object.h, icall.c, monitor.c: object.GetHashCode ()
implementation that supports the moving garbage collector.

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

18 years ago2006-03-16 Massimiliano Mantione <massi@ximian.com>
Massimiliano Mantione [Thu, 16 Mar 2006 15:30:57 +0000 (15:30 -0000)]
2006-03-16  Massimiliano Mantione  <massi@ximian.com>

        * liveness.c: Regalloc spill cost tuning.

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

18 years ago2006-03-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 16 Mar 2006 14:06:29 +0000 (14:06 -0000)]
2006-03-16  Zoltan Varga  <vargaz@gmail.com>

* mono-compiler.h (MONO_INTERNAL): Disable this on the VC build.

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

18 years agoFix test scripts for TARGET_JVM
Boris Kirzner [Thu, 16 Mar 2006 13:09:24 +0000 (13:09 -0000)]
Fix test scripts for TARGET_JVM

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

18 years agoFix testing scripts for TARGET_JVM
Boris Kirzner [Thu, 16 Mar 2006 13:01:06 +0000 (13:01 -0000)]
Fix testing scripts for TARGET_JVM

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

18 years ago Oops last second 'cleanup' broke something. We need to allow
Jackson Harper [Thu, 16 Mar 2006 06:14:12 +0000 (06:14 -0000)]
    Oops last second 'cleanup' broke something.  We need to allow
creating null members in data sets.

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

18 years ago * BindingContext.cs: Check the binding after its added so that
Jackson Harper [Thu, 16 Mar 2006 06:05:18 +0000 (06:05 -0000)]
    * BindingContext.cs: Check the binding after its added so that
        * it
        can initialize the binding managers and hookup to events.
        * Binding.cs: Data members seem to sometimes include rows/cols
        * in
        the format Row.Column we now take this into account.
        - Hookup to the position changed event so we can update the
        control when the position has changed in the data set.
        * CurrencyManager.cs: Take into account the row/col naming
        convention when creating dataset tables.
        * BindingContext.cs: Using a newer better way of storing
        datasource/datamember pairs.  Hopefully this better matches MS
for
        looking up binding managers.

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

18 years agoWe want JIT on s390 by default
Miguel de Icaza [Thu, 16 Mar 2006 00:00:27 +0000 (00:00 -0000)]
We want JIT on s390 by default

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

18 years ago2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 15 Mar 2006 23:57:25 +0000 (23:57 -0000)]
2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpResponse.cs: allow setting a Cache-Control header through
AppendHeader. Fixes bug #77775.

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

18 years ago2006-03-15 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 15 Mar 2006 22:59:31 +0000 (22:59 -0000)]
2006-03-15  Marek Safar  <marek.safar@seznam.cz>

* class.cs (FieldMember.Emit): ParentContainer is real parent for partial
classes.

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

18 years ago2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 15 Mar 2006 21:47:57 +0000 (21:47 -0000)]
2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SessionSQLServerHandler.cs: if the connection to the DB is lost, retry
the select/update/insert/delete commands after reconnecting.
Fixes bug #77785.

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

18 years ago * BindingContext.cs: The currency manager needs the data member
Jackson Harper [Wed, 15 Mar 2006 21:31:35 +0000 (21:31 -0000)]
    * BindingContext.cs: The currency manager needs the data member
        name, if the member is a data set we use the name to find the
        correct table.
        * CurrencyManager.cs: When creating the list prefer an IList
        * over
        an IListSource.
        - Attempt to create a DataTable from a DataSet (TODO: might need
        some better error checking here, although MS doesn't seem to
have much)
        - If we have a DataTable create a view and use it as our list.

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

18 years ago2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 15 Mar 2006 21:25:33 +0000 (21:25 -0000)]
2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CompareValidator.cs: when searching for the control to compare, use
NamingContainer instead of Page. Fixes bug #77793.

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

18 years ago* mini-s390x.h: Correct S390_LONG macro.
Neale Ferguson [Wed, 15 Mar 2006 21:08:30 +0000 (21:08 -0000)]
* mini-s390x.h: Correct S390_LONG macro.
* mini-s390x.c: Cleanup unused code.

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

18 years ago2006-03-15 Hector E. Gomez Morales <hectorgm@ciencias.unam.mx>
Hector E. Gomez Morales [Wed, 15 Mar 2006 20:57:48 +0000 (20:57 -0000)]
2006-03-15  Hector E. Gomez Morales  <hectorgm@ciencias.unam.mx>

        * secutil.cs: Print an error when asked to display the strong name
of an assembly that doesn't have an associated key.

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

18 years ago2006-03-15 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 15 Mar 2006 20:39:26 +0000 (20:39 -0000)]
2006-03-15  Marek Safar  <marek.safar@seznam.cz>

* class.cs (Operator.Define): An error for base conversion was not
reported correctly.

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

18 years agomanually synchronized with 56802
Marek Safar [Wed, 15 Mar 2006 20:17:25 +0000 (20:17 -0000)]
manually synchronized with 56802

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

18 years ago * SiteMapPath.cs (InitializeItem): in the Current and Root node
Chris Toshok [Wed, 15 Mar 2006 19:54:46 +0000 (19:54 -0000)]
* SiteMapPath.cs (InitializeItem): in the Current and Root node
cases, apply the NodeTemplate if it exists and there isn't a
CurrentNodeTemplate or RootNodeTemplate, respectively.

2006-03-15  Chris Toshok  <toshok@ximian.com>

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

18 years ago2006-03-15 Miguel de Icaza <miguel@gnome.org>
Miguel de Icaza [Wed, 15 Mar 2006 18:23:15 +0000 (18:23 -0000)]
2006-03-15  Miguel de Icaza  <miguel@gnome.org>

* SerialPort.cs: We will do detection of systems differently as we
discussed over email.  Drop malloc/free/uname calls.

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

18 years ago2006-03-15 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 15 Mar 2006 17:48:20 +0000 (17:48 -0000)]
2006-03-15  Chris Toshok  <toshok@ximian.com>

* SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.

* SiteMapDataSource.cs (StartingNodeOffset): new property.
(GetStartNode): add code to handle StartNodeOffset < 0.

* CompositeControl.cs
(ICompositeControlDesignerAccessor.RecreateChildControls): just
call the non-iface method.

* DataBoundControl.cs (GetDataSource): this is likely wrong, but
traverse up the naming container tree looking for our datasource
if we're bound using a DataSourceID.  This fixes things in the
sitemap1 test, which uses a mixture of templates and
ContentPlaceholders with the sitemapdatasource and sitemappath at
different levels in the naming container tree (let along the
itemnode template.)

* SiteMapPath.cs (DataBind): implement this by chaining up to
base.DataBind, then by looping over our children, emitting
OnItemDataBound for each SiteMapNodeItem.
(AddAttributesToRender): remove.
(CreateChildControls): call DataBind as the final step here..  I
have, of course, no idea if this is right.
(CreateControlHierarchy): don't databind our children here, as
they need to be in the Controls collection before we do.
(RenderContents): render our accessibility/screenreader stuff
here, if SkipLinkText != "".

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

18 years ago * XmlSiteMapProvider.cs (RemoveProvider): oops, no override.
Chris Toshok [Wed, 15 Mar 2006 17:47:15 +0000 (17:47 -0000)]
* XmlSiteMapProvider.cs (RemoveProvider): oops, no override.

* StaticSiteMapProvider.cs (AddNode): call MapUrl.
(FindSiteMapNode): same.

2006-03-15  Chris Toshok  <toshok@ximian.com>

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

18 years ago2006-03-15 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 15 Mar 2006 17:31:34 +0000 (17:31 -0000)]
2006-03-15  Miguel de Icaza  <miguel@novell.com>

* mono.1: Document MONO_XEXCEPTIONS and MONO_XSYNC, create new
section, sort the previous enviornment section.

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

18 years ago2006-03-15 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 15 Mar 2006 17:28:39 +0000 (17:28 -0000)]
2006-03-15  Chris Toshok  <toshok@ximian.com>

* SiteMapProvider.cs (ReturnNodeIfAccessible): new function,
either return the node or throw InvalidOperationException.
(get_RootNode): use ReturnNodeIfAccessible.
(IsAccessibleToUser): flesh this out a bit, and add comments on
how the rest of the implementation should be written.
(FindSiteMapNodeFromKey): implement to match MS behavior, docs be
damned.

* XmlSiteMapProvider.cs: corcompare work.

* StaticSiteMapProvider.cs (AddNode): Add a check to see if node
== RootNode.  Not sure if this is actually correct, but it's
required given our implementation of XmlSiteMapProvider.  without
this check, we end up assigning RootNode.ParentNode == RootNode,
which makes for an infinite loop when we traverse up the tree.

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

18 years ago2006-03-15 Mike Kestner <mkestner@novell.com>
Mike Kestner [Wed, 15 Mar 2006 16:58:09 +0000 (16:58 -0000)]
2006-03-15  Mike Kestner  <mkestner@novell.com>

* ListView.cs: keep a matrix of the icon mode layout to facilitate
keyboard navigation. Support Up/Down/Left/Right selection correctly
for all 4 View modes.
* ListViewItem.cs: add internal row/col fields for icon layouts.

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

18 years agoIn .:
Chris Toshok [Wed, 15 Mar 2006 16:47:03 +0000 (16:47 -0000)]
In .:
2006-03-15  Chris Toshok  <toshok@ximian.com>

* Makefile (RESOURCE_FILES_2): add transarent.gif.

In Assembly:
2006-03-15  Chris Toshok  <toshok@ximian.com>

* AssemblyInfo.cs: add a WebResource for transparent.gif.

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

18 years ago* DataSourceResolver.cs: corrected exceptions type in ResolveDataSource
Vladimir Krasnov [Wed, 15 Mar 2006 15:42:39 +0000 (15:42 -0000)]
* DataSourceResolver.cs: corrected exceptions type in  ResolveDataSource

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

18 years agoWed Mar 15 16:35:13 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 15 Mar 2006 15:39:20 +0000 (15:39 -0000)]
Wed Mar 15 16:35:13 CET 2006 Paolo Molaro <lupus@ximian.com>

* Context.cs: update for LocalDataStoreSlot changes.

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

18 years agoWed Mar 15 16:35:49 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 15 Mar 2006 15:38:52 +0000 (15:38 -0000)]
Wed Mar 15 16:35:49 CET 2006 Paolo Molaro <lupus@ximian.com>

* Thread.cs: updates for LocalDataStoreSlot: we use an array as
storage for the slots now so that LocalDataStoreSlot objects an be
garbage collected if the user doesn't keep a reference to them.

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

18 years agoWed Mar 15 16:30:51 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 15 Mar 2006 15:38:45 +0000 (15:38 -0000)]
Wed Mar 15 16:30:51 CET 2006 Paolo Molaro <lupus@ximian.com>

* LocalDataStoreSlot.cs: implement as index in an array.
Implemented finalizer and allow it to remove the data stored
in the slot.

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

18 years ago* DataGridPagerStyle.cs: fixed PrevPageText property
Vladimir Krasnov [Wed, 15 Mar 2006 15:35:07 +0000 (15:35 -0000)]
* DataGridPagerStyle.cs: fixed PrevPageText property

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

18 years agoWed Mar 15 16:31:38 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 15 Mar 2006 15:33:10 +0000 (15:33 -0000)]
Wed Mar 15 16:31:38 CET 2006 Paolo Molaro <lupus@ximian.com>

* icall.c, threads-types.h, threads.c: implemented finalizer for
LocalDataStoreSlot.

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

18 years ago* ControlCollection.cs: fixed CopyTo method, fixes bug when if target index is not...
Vladimir Krasnov [Wed, 15 Mar 2006 15:25:55 +0000 (15:25 -0000)]
* ControlCollection.cs: fixed CopyTo method, fixes bug when if target index is not zero

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

18 years ago2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 15 Mar 2006 14:43:45 +0000 (14:43 -0000)]
2006-03-15  Atsushi Enomoto  <atsushi@ximian.com>

* XslTransformProcessor.cs,
  Compiler.cs : eliminate ExpressionStore. Now sorting is done
  inside XslSortEvaluator.
* XslSortEvaluator.cs : new file. It handles current node in XSLT
  context. Fixed bug #77781.

* Expression.cs : extracted XPathSortElement, XPathSorters
  and XPathSorter from CompiledExpression, and split
  XPathSorters.Sort() into some methods. Those changes are to make
  them reusable in XslSortEvaluator.

* System.Xml.dll.sources : added XslSortEvaluator.cs.

* knownFailures.txt : removed two xsl:sort+current() tests.

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

18 years ago* ServletWorkerRequest.jvm.cs: fixed ctor, UrlDecode applied on requested url
Vladimir Krasnov [Wed, 15 Mar 2006 13:15:29 +0000 (13:15 -0000)]
* ServletWorkerRequest.jvm.cs: fixed ctor, UrlDecode applied on requested url
fixed GetRawUrl, removed protocol, hostname and port
fixed GetUriPath, _requestUri is always initialized

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

18 years ago* System.Web.Services.vmwcsproj: fixed links to Consts.cs, Locale.cs and MonoTODOAttr...
Vladimir Krasnov [Wed, 15 Mar 2006 12:35:48 +0000 (12:35 -0000)]
* System.Web.Services.vmwcsproj: fixed links to Consts.cs, Locale.cs and MonoTODOAttribute.cs

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

18 years ago* SoapExtension.cs: fixed ExecuteProcessMessage signature, added stream parameter...
Vladimir Krasnov [Wed, 15 Mar 2006 12:21:09 +0000 (12:21 -0000)]
* SoapExtension.cs: fixed ExecuteProcessMessage signature, added stream parameter in order to update SoapMessage stream
* SoapMessage.cs: removed unused ctor, added internal property to set SoapMessage's stream member
* HttpSoapWebServiceHandler.cs, SoapHttpClientProtocol.cs: updated usage of ExecuteProcessMessage

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

18 years ago2006-03-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 15 Mar 2006 12:18:22 +0000 (12:18 -0000)]
2006-03-15  Zoltan Varga  <vargaz@gmail.com>

* jit-icalls.h: New file.

* Makefile.am mini.c jit-icalls.c: Use a proper include file for the jit
icalls and include that instead of including jit-icalls.c.

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

18 years ago* SoapServerMessage.cs: fixed SoapServerMessage constructors to remove quotes from...
Vladimir Krasnov [Wed, 15 Mar 2006 11:55:41 +0000 (11:55 -0000)]
* SoapServerMessage.cs: fixed SoapServerMessage constructors to remove quotes from SoapAction http header when initializing local action member

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

18 years ago2006-03-15 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 15 Mar 2006 11:51:24 +0000 (11:51 -0000)]
2006-03-15  Dick Porter  <dick@ximian.com>

        * events.c:
        * io.c:
        * mutexes.c:
        * processes.c:
        * semaphores.c:
        * sockets.c:
        * threads.c: Explicitly initialise the handle ops struct

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

18 years ago* HttpSoapWebServiceHandler.cs, SoapServerMessage.cs: fixed SoapMessage.ContentEncodi...
Vladimir Krasnov [Wed, 15 Mar 2006 11:48:55 +0000 (11:48 -0000)]
* HttpSoapWebServiceHandler.cs, SoapServerMessage.cs: fixed SoapMessage.ContentEncoding that used in ProcessMessage method in SoapExtension

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

18 years ago * TabControl.cs: Redraw the tabs when we resize so their newly
Jackson Harper [Wed, 15 Mar 2006 11:31:18 +0000 (11:31 -0000)]
    * TabControl.cs: Redraw the tabs when we resize so their newly
        calculated sizes are drawn on screen.

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

18 years ago * X11Keyboard.cs: Begginnings of XIM support. We also now
Jackson Harper [Wed, 15 Mar 2006 11:00:41 +0000 (11:00 -0000)]
    * X11Keyboard.cs: Begginnings of XIM support.  We also now
        * support
        composite characters.
        * XplatUIX11.cs: Keyboard driver needs to know about focus
        * changes
        - filter events so that composite characters can be created
        patches by peter
        * X11Structs.cs: Add XIMProperties enum.

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

18 years ago * X11Keyboard.cs: Begginnings of XIM support. We also now
Jackson Harper [Wed, 15 Mar 2006 10:57:41 +0000 (10:57 -0000)]
    * X11Keyboard.cs: Begginnings of XIM support.  We also now
        * support
        composite characters.
        * XplatUIX11.cs: Keyboard driver needs to know about focus
        * changes
        - filter events so that composite characters can be created
        patches by peter
        * X11Structs.cs: Add XIMProperties enum.

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

18 years ago* HttpRequest.cs: fixed MakeInputStream method under TARGET_JVM, fixed if content...
Vladimir Krasnov [Wed, 15 Mar 2006 10:25:48 +0000 (10:25 -0000)]
* HttpRequest.cs: fixed MakeInputStream method under TARGET_JVM, fixed if content length value is less that byte received

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

18 years ago2006-03-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 15 Mar 2006 09:09:34 +0000 (09:09 -0000)]
2006-03-15  Atsushi Enomoto  <atsushi@ximian.com>

* XslTransformProcessor.cs : in PushNodeset() avoid Clone(). It saves
  extra cost, and might avoid possible bug in for-each and current()
  evaluation.

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

18 years ago * X11Structs.cs: Add XIMProperties enum.
Jackson Harper [Wed, 15 Mar 2006 07:42:01 +0000 (07:42 -0000)]
    * X11Structs.cs: Add XIMProperties enum.

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

18 years ago2006-03-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 15 Mar 2006 07:35:21 +0000 (07:35 -0000)]
2006-03-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* SerialPort.cs: Add basic detection of serial ports and
default serial port.

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

18 years ago2006-03-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 15 Mar 2006 02:55:21 +0000 (02:55 -0000)]
2006-03-15  Zoltan Varga  <vargaz@gmail.com>

* mini-ppc.c (mono_arch_output_basic_block): Remove references to
OP_X86 opcodes.

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

18 years ago2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 15 Mar 2006 00:21:47 +0000 (00:21 -0000)]
2006-03-14  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs (BringToFront, SendToBack): Don't use window or handle
  unless it's created

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

18 years ago2006-03-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 15 Mar 2006 00:04:16 +0000 (00:04 -0000)]
2006-03-15  Zoltan Varga  <vargaz@gmail.com>

* main.c (typedef_flags): Decode TYPE_ATTRIBUTE_FORWARDER.

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

18 years ago2006-03-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 15 Mar 2006 00:03:37 +0000 (00:03 -0000)]
2006-03-15  Zoltan Varga  <vargaz@gmail.com>

* Environment.cs: Bump corlib version.

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

18 years ago2006-03-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 15 Mar 2006 00:03:10 +0000 (00:03 -0000)]
2006-03-15  Zoltan Varga  <vargaz@gmail.com>

* AssemblyBuilder.cs (AddTypeForwarder): New internal method for
adding type forwarders to an assembly.

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

18 years ago2006-03-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 15 Mar 2006 00:02:24 +0000 (00:02 -0000)]
2006-03-15  Zoltan Varga  <vargaz@gmail.com>

* metadata.c (mono_type_size): Add a fixme.
(mono_type_stack_size): Ditto.

* object-internals.h (MonoReflectionAssemblyBuilder): Added
'type_forwarders' field.

* tabledefs.h (TYPE_ATTRIBUTE_FORWARDER): Added new (undocumented) type
attribute from net 2.0.

* object.c (mono_vtable_get_static_field_data): Moved this to object.c
from class.c.

* class.c (mono_class_setup_fields): Fix a warning.

* class.c (mono_class_from_name): Add support for assemblyref entries
in the EXPORTEDTYPE table.

* reflection.c: Add support for handling type forwarders under net 2.0.

* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.

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

18 years ago2006-03-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 14 Mar 2006 22:21:44 +0000 (22:21 -0000)]
2006-03-14  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Reflection_Assembly_GetTypes): Avoid
overwriting entries in ModuleBuild->types, also clean up the code
a little. Fixes #77774.

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

18 years ago2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 14 Mar 2006 21:56:36 +0000 (21:56 -0000)]
2006-03-14  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs (PerformLayout): We don't need to consider visiblity
  for anchoring, only for docking. This fixes 'whacky' alignment
  in listbox and other controls that use implicit scrollbars after
  the previous PerformLayout patch
* ListBox.cs: Switched to use implicit scrollbars

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

18 years ago2006-03-14 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 14 Mar 2006 21:45:10 +0000 (21:45 -0000)]
2006-03-14  Mike Kestner  <mkestner@novell.com>

* ToolBar.cs:
* VScrollBar.cs:
- chain up the "new event" overrides to base and use
OnEvent to raise them.  Part of fix for bug #76509.

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

18 years ago2006-03-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 14 Mar 2006 20:19:39 +0000 (20:19 -0000)]
2006-03-14  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.h mini-codegen.c: Don't constrain byte regs to EAX.

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

18 years agoTue Mar 14 20:23:53 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 14 Mar 2006 19:42:32 +0000 (19:42 -0000)]
Tue Mar 14 20:23:53 CET 2006 Paolo Molaro <lupus@ximian.com>

* mini.c: when checking for member accessibility, also check for
friend assemblies and for explicit interface implementations.

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

18 years agoTue Mar 14 20:21:18 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 14 Mar 2006 19:22:40 +0000 (19:22 -0000)]
Tue Mar 14 20:21:18 CET 2006 Paolo Molaro <lupus@ximian.com>

* domain.c, assembly.c, metadata-internals.h, class-internals.h:
load friend assembly info when present.

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

18 years ago2006-03-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 14 Mar 2006 18:58:09 +0000 (18:58 -0000)]
2006-03-14  Zoltan Varga  <vargaz@gmail.com>

* mini-codegen.c (mono_local_regalloc): Remove incorrect g_free () calls.

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

18 years ago2006-03-14 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Tue, 14 Mar 2006 18:48:29 +0000 (18:48 -0000)]
2006-03-14  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs: Do not select an item in the parent directory
  on backspace

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

18 years agobored, more compare work in webparts.
Chris Toshok [Tue, 14 Mar 2006 18:45:08 +0000 (18:45 -0000)]
bored, more compare work in webparts.

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

18 years agoTestMatrix.cs: Added new test cases to test libgdiplus validations.
Sebastien Pouliot [Tue, 14 Mar 2006 18:13:45 +0000 (18:13 -0000)]
TestMatrix.cs: Added new test cases to test libgdiplus validations.

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

18 years ago2006-03-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 14 Mar 2006 17:55:26 +0000 (17:55 -0000)]
2006-03-14  Zoltan Varga  <vargaz@gmail.com>

* cpu-arm.md cpu-g4.md: Remove x86_ opcodes.

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

18 years ago2006-03-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 14 Mar 2006 17:37:29 +0000 (17:37 -0000)]
2006-03-14  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.h (MONO_ARCH_INST_FIXED_REG): Reorganize the comparisons so
common cases are done first.

* mini-ops.h: Only define platform specific opcodes on the given platform.

* mini.h regalloc.h mini-codegen.c: Merge optimizations from the linear-il
branch.

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

18 years agoAdd option to specify busy timeout in underlying sqlite structure
Kamil Skalski [Tue, 14 Mar 2006 17:31:40 +0000 (17:31 -0000)]
Add option to specify busy timeout in underlying sqlite structure

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

18 years agoUpdated.
Martin Baulig [Tue, 14 Mar 2006 17:30:03 +0000 (17:30 -0000)]
Updated.

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

18 years ago2006-03-14 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 14 Mar 2006 17:29:34 +0000 (17:29 -0000)]
2006-03-14  Martin Baulig  <martin@ximian.com>

Revert Paolo's change from r57348:

* mini.h: don't use gboolean for bitfields.
* mini.c: verifier changes for fields and methods accessibility.

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

18 years ago2006-03-14 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 14 Mar 2006 17:02:39 +0000 (17:02 -0000)]
2006-03-14  Dick Porter  <dick@ximian.com>

        * handles-private.h:
        * wapi-private.h:
        * wait.c:
        * handles.c: Add a 'prewait' stage to the handle waiting, to give
        waiting threads a chance to check for bogus states before
        blocking.

        * mutexes.c (namedmutex_prewait): Use the prewait stage to check
        for named mutexes that have been abandoned in a locked state (eg
        if a process exited abnormally while owning the mutex) and
        override it if needed.

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

18 years agoFix crasher on gtest-158.cs.
Raja R Harinath [Tue, 14 Mar 2006 15:56:18 +0000 (15:56 -0000)]
Fix crasher on gtest-158.cs.
* metadata.c (mono_metadata_parse_type_full): Avoid canonicalizing
the return value if the MonoClass we want is yet in an
inconsistent state.
* class.c (mono_class_create_from_typedef): Add an comment
explaining an order dependency between mono_class_setup_parent and
mono_class_setup_mono_type.

This also reverts r57951, or re-applies r57890 -- however you want to see it :-)

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

18 years ago2006-03-14 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 14 Mar 2006 13:18:15 +0000 (13:18 -0000)]
2006-03-14  Martin Baulig  <martin@ximian.com>

* class.c: Reverted Paolo's fix from r57890.

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

18 years ago2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 14 Mar 2006 10:13:20 +0000 (10:13 -0000)]
2006-03-14  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs (PerformLayout): It would seem that we considered
  invisible windows for our layout. Not quite the right thing
  to do. Now we don't any longer, thereby fixing bug #76889.

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

18 years ago2006-03-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 14 Mar 2006 09:03:03 +0000 (09:03 -0000)]
2006-03-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* SerialPort.cs:
* SerialPortStream.cs: Change SerialPortStream ctor
parameters and fix some related values.

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

18 years ago2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 14 Mar 2006 07:17:13 +0000 (07:17 -0000)]
2006-03-14  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs (CanFocus): I goofed. A control can have focus
  even though it's not selectable. Made it match MS docs.

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

18 years ago2006-03-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Mar 2006 07:14:35 +0000 (07:14 -0000)]
2006-03-14  Atsushi Enomoto  <atsushi@ximian.com>

* iterator.cs : yield break is allowed in try statement which has
  catch clauses. Fixed bug #77767.

* test-496.cs,
  gtest-256.cs: test for bug #77767.

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

18 years ago2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 14 Mar 2006 06:25:28 +0000 (06:25 -0000)]
2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>

* System.Windows.Forms.dll.sources: Added ProgressBarStyle.cs

2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>

* ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  center by default (fixes #76895)
* ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  all uses of Border3DSides.All with the explicit ORd together
  Left|Right|Top|Bottom because I assume that nobody was aware
  that All also implies a center fill. Most places I checked had
  a fill right above.
* ProgressBarStyle.cs: Added

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

18 years ago2006-03-13 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 14 Mar 2006 05:58:58 +0000 (05:58 -0000)]
2006-03-13  Mike Kestner  <mkestner@novell.com>

* ListView.cs: fix breakage in drag shadow header positioning
from Peter's csc compilation fix.

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

18 years ago2006-03-13 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 14 Mar 2006 05:53:18 +0000 (05:53 -0000)]
2006-03-13  Mike Kestner  <mkestner@novell.com>

* ListView.cs: fix NRE produced by backspacing twice in a focused
FileDialog.

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

18 years ago2006-03-14 Robert Jordan <robertj@gmx.net>
Robert Jordan [Tue, 14 Mar 2006 02:13:36 +0000 (02:13 -0000)]
2006-03-14  Robert Jordan  <robertj@gmx.net>

* ResourceManagerTest.cs: Reactivated tests. eol-style.

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

18 years ago2006-03-14 Robert Jordan <robertj@gmx.net>
Robert Jordan [Tue, 14 Mar 2006 02:04:40 +0000 (02:04 -0000)]
2006-03-14  Robert Jordan  <robertj@gmx.net>

* ResourceManager.cs: Don't stop the resource set lookup until
the invariant culture is reached. Fixes bug #77242.

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

18 years ago2006-03-14 Robert Jordan <robertj@gmx.net>
Robert Jordan [Tue, 14 Mar 2006 01:12:34 +0000 (01:12 -0000)]
2006-03-14  Robert Jordan  <robertj@gmx.net>

* CachedVaryBy.cs: Fixed VaryByParam="*". Replaced request.Param
with QueryString and Form lookups. Made the param name output case
insensitive. Fixes bug #77757.

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

18 years agosome interface rework
Chris Toshok [Tue, 14 Mar 2006 01:00:39 +0000 (01:00 -0000)]
some interface rework

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

18 years ago * HtmlTextWriterTag.cs: no [Serializable] in 2.0.
Chris Toshok [Tue, 14 Mar 2006 00:41:16 +0000 (00:41 -0000)]
* HtmlTextWriterTag.cs: no [Serializable] in 2.0.

* HtmlTextWriterAttribute.cs: same.

* HtmlTextWriterStyle.cs: same.

* VirtualReferenceType.cs: new enum.

2006-03-13  Chris Toshok  <toshok@ximian.com>

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

18 years ago2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 14 Mar 2006 00:10:10 +0000 (00:10 -0000)]
2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>

* PrintingServicesUnix.cs: Handle not having a printer

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

18 years agoremove unused file
Chris Toshok [Tue, 14 Mar 2006 00:07:04 +0000 (00:07 -0000)]
remove unused file

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

18 years agoadd test for master page references in other directories
Chris Toshok [Mon, 13 Mar 2006 23:54:45 +0000 (23:54 -0000)]
add test for master page references in other directories

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

18 years ago2006-03-13 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 13 Mar 2006 23:49:59 +0000 (23:49 -0000)]
2006-03-13  Chris Toshok  <toshok@ximian.com>

* BaseCompareValidator.cs (Convert): make the
ValidationDataType.String case a bit more compact.

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

18 years ago2006-03-13 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 13 Mar 2006 23:18:54 +0000 (23:18 -0000)]
2006-03-13  Chris Toshok  <toshok@ximian.com>

* WebUIValidation.js (CompareValidatorEvaluateIsValid): implement.

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

18 years agoadd test for client side compare validator
Chris Toshok [Mon, 13 Mar 2006 23:18:27 +0000 (23:18 -0000)]
add test for client side compare validator

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

18 years ago2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 13 Mar 2006 22:57:58 +0000 (22:57 -0000)]
2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: send the request if ContentLength is set for
POST/PUT, the request stream has that exact amount of bytes in it and
we're trying to get the response stream.

This way, closing the request stream is not needed in order to actually
send the request. Fixes bug #77753.

* WebConnectionStream.cs: throw if the number of bytes written is
greater than the specified request content length.

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

18 years ago2006-03-13 Mike Kestner <mkestner@novell.com>
Mike Kestner [Mon, 13 Mar 2006 22:50:18 +0000 (22:50 -0000)]
2006-03-13  Mike Kestner  <mkestner@novell.com>

* ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.

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

18 years agoFix suggested by Axel T Schreiner on #77758
Miguel de Icaza [Mon, 13 Mar 2006 22:21:27 +0000 (22:21 -0000)]
Fix suggested by Axel T Schreiner on #77758

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

18 years ago2006-03-13 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 13 Mar 2006 22:17:21 +0000 (22:17 -0000)]
2006-03-13  Marek Safar  <marek.safar@seznam.cz>

A fix for #77593, #77574.

* class.cs (MethodCore.CheckBase): Another if for operator.

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

18 years ago2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Mon, 13 Mar 2006 22:15:49 +0000 (22:15 -0000)]
2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>

* Hwnd.cs: Added fixed_size field to track windows whose size cannot
  be changed
* XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  the allowed size before making programmatic size changes

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

18 years ago* s390x-codegen.h: Fix immediate checks.
Neale Ferguson [Mon, 13 Mar 2006 22:03:39 +0000 (22:03 -0000)]
* s390x-codegen.h: Fix immediate checks.

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

18 years ago2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Mon, 13 Mar 2006 22:01:51 +0000 (22:01 -0000)]
2006-03-13  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  set, metacity is broken and will still use the emty sizes in
  the struct. (Fix for #77089)

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

18 years ago * mini-s390x.h: Fix calls to mono_call_inst_add_outarg_reg.
Neale Ferguson [Mon, 13 Mar 2006 21:34:31 +0000 (21:34 -0000)]
    * mini-s390x.h: Fix calls to mono_call_inst_add_outarg_reg.
        * mini-s390x.c: Fix conv_r_un.
        * cpu-s390x.md: Fix lengths.

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

18 years ago2006-03-13 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 13 Mar 2006 21:29:02 +0000 (21:29 -0000)]
2006-03-13  Chris Toshok  <toshok@ximian.com>

* TemplateControlCompiler.cs (InitMethod): when generating the
call to ApplyStyleSheetSkin, don't just blindly pass "this" as the
argument to it.  Only do that if the class we're compiling is
actually a subclass of Page.  If it's not, pass this.Page.

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