mono.git
19 years ago2005-02-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 27 Feb 2005 13:44:40 +0000 (13:44 -0000)]
2005-02-27  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_amd64_get_delegate_method_ptr_addr): New helper function.

* mini-amd64.c (emit_call): If both the caller and the callee is
guaranteed to have 32 bit addresses, emit a normal call.

* tramp-amd64.c: Adapt to changes in mini-amd64.c.

* tramp-amd64.c (amd64_magic_trampoline): Remove patching of trampolines.
* tramp-amd64.c (amd64_magic_trampoline): Add support for patching the
method_ptr inside delegates.

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

19 years ago2005-02-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 27 Feb 2005 13:41:12 +0000 (13:41 -0000)]
2005-02-27  Zoltan Varga  <vargaz@freemail.hu>

* mono-codeman.c: Pass MAP_32BIT to mmap on amd64 to force generated
code to have 32 bit addresses.

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

19 years agoAdded missing properties
Alexander Olk [Sun, 27 Feb 2005 12:53:27 +0000 (12:53 -0000)]
Added missing properties

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

19 years ago2005-02-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 27 Feb 2005 11:51:49 +0000 (11:51 -0000)]
2005-02-27  Atsushi Enomoto <atsushi@ximian.com>

* XsdDatatypeProvider.cs : Added simpleType parameter support.
* RelaxngValidatingReader.cs : added ReportDetails flag to report all
  expected element names / attribute names. Removed all unused code.

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

19 years ago2005-02-27 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Sun, 27 Feb 2005 11:49:55 +0000 (11:49 -0000)]
2005-02-27  Nick Drochak  <ndrochak@ieee.org>

* XmlDsigXsltTransformTest.cs:
* XmlDsigC14NTransformTest.cs: Make tests pass on MS.NET 1.1.

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

19 years ago2005-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 27 Feb 2005 09:49:14 +0000 (09:49 -0000)]
2005-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* parser.cs: stuff inside {} might not be a quantifier. Fixes
bug #69193.

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

19 years ago2005-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 27 Feb 2005 09:48:00 +0000 (09:48 -0000)]
2005-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* RegexBugs.cs: Modified file.

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

19 years ago2005-02-27 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Sun, 27 Feb 2005 06:51:41 +0000 (06:51 -0000)]
2005-02-27  Cesar Lopez Nataren  <cnataren@novell.com>

* ast.cs: Added protected field ig to class Function.
* Block.cs: Emit function's body in a later phase since free
ocurrences of functions - at the same level of it - can be handled
properly, since they must be defined and inited to the correct values.
* FunctionDeclaration.cs: Renamed Emit to create_closure. And make
Emit only generate the code of the body.

Fixes #73078.

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

19 years ago- Destroys the caret if a window that's being destroyed contains it
Peter Dennis Bartok [Sun, 27 Feb 2005 06:13:44 +0000 (06:13 -0000)]
- Destroys the caret if a window that's being destroyed contains it
- Ignores expose events coming from the X11 queue for windows that already
  are destroyed
- Now uses the proper variable for handling DestroyNotify, before we marked
  the wrong window as destroyed
- Improved/added some debug output

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

19 years ago- Added Locale for ColorDialog (de-DE)
Alexander Olk [Sat, 26 Feb 2005 21:26:18 +0000 (21:26 -0000)]
- Added Locale for ColorDialog (de-DE)
this is dedicated to my wife who allows me to do all this in my spare time

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

19 years agoSet FontDialog color also
Alexander Olk [Sat, 26 Feb 2005 19:18:41 +0000 (19:18 -0000)]
Set FontDialog color also

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

19 years ago- Added ColorComboBox to change text color
Alexander Olk [Sat, 26 Feb 2005 19:13:58 +0000 (19:13 -0000)]
- Added ColorComboBox to change text color

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

19 years ago2005-02-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 26 Feb 2005 19:10:46 +0000 (19:10 -0000)]
2005-02-26  Martin Baulig  <martin@ximian.com>

* expression.cs (ComposedCast.DoResolveAsTypeStep): Allow `dim' to
begin with a "?", for instance "?[]".  Don't do a type lookup if
`dim' is empty.

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

19 years agoFixes.
Paolo Molaro [Sat, 26 Feb 2005 17:02:16 +0000 (17:02 -0000)]
Fixes.

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

19 years ago2005-02-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 26 Feb 2005 16:54:11 +0000 (16:54 -0000)]
2005-02-26  Atsushi Enomoto <atsushi@ximian.com>

* XslFunctions.cs : unparsed-entity-uri() should return SYSTEM ID
  instead of BaseURI.

* XmlEntity.cs : it was not returning SYSTEM ID when there is no
  PUBLIC ID.
* XmlDocumentNavigator.cs : On Whitespace followed by DocumentType,
  get_NodeType() resulted in loop.

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

19 years agoSat Feb 26 16:06:59 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 26 Feb 2005 14:47:45 +0000 (14:47 -0000)]
Sat Feb 26 16:06:59 CET 2005 Paolo Molaro <lupus@ximian.com>

* domain.c: help the compiler to produce better code
in mono_jit_info_table_find ().

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

19 years ago2005-02-26 Kazuki Oikawa <kazuki@panicode.com>
Kazuki Oikawa [Sat, 26 Feb 2005 11:29:31 +0000 (11:29 -0000)]
2005-02-26  Kazuki Oikawa  <kazuki@panicode.com>

* corlib.dll.sources: Removed DoubleFormatter and SingleFormatter.
Added System.Runtime.InteropServices.ComTypes
        * Added System.Runtime.InteropServices.ComTypes

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

19 years ago- Stupid cold kept me up but I couldn't concentrate on stuff, so I fixed
Peter Dennis Bartok [Sat, 26 Feb 2005 11:20:10 +0000 (11:20 -0000)]
- Stupid cold kept me up but I couldn't concentrate on stuff, so I fixed
  keyboard support on 64bit instead

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

19 years ago2005-02-26 Kazuki Oikawa <kazuki@panicode.com>
Kazuki Oikawa [Sat, 26 Feb 2005 10:54:17 +0000 (10:54 -0000)]
2005-02-26  Kazuki Oikawa  <kazuki@panicode.com>

* NumberFormatter.cs: Improved performance and memory usage
when integer standard format.
* SByte.cs:
* Int16.cs:
* Int32.cs:
* Int64.cs:
* Byte.cs:
* UInt16.cs:
* UInt32.cs:
* UInt64.cs:
* Single.cs:
* Double.cs:
* TimeSpan.cs: Improved these directly call to NumberFormatter.

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

19 years ago- Now calling OnHandleDestroyed from DestroyHandle() instead of Dispose()
Peter Dennis Bartok [Sat, 26 Feb 2005 08:00:52 +0000 (08:00 -0000)]
- Now calling OnHandleDestroyed from DestroyHandle() instead of Dispose()
- Removed bogus call to controls.Remove() from DestroyHandle()

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

19 years ago- Destroy child control handles when the control handle is destroyed
Peter Dennis Bartok [Sat, 26 Feb 2005 07:31:52 +0000 (07:31 -0000)]
- Destroy child control handles when the control handle is destroyed

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

19 years ago- flush
Peter Dennis Bartok [Sat, 26 Feb 2005 06:46:36 +0000 (06:46 -0000)]
- flush

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

19 years ago- Added 'DriverDebug' define to allow tracing XplatUI API calls
Peter Dennis Bartok [Sat, 26 Feb 2005 06:44:58 +0000 (06:44 -0000)]
- Added 'DriverDebug' define to allow tracing XplatUI API calls
- Alphabetized XplatUI Static Methods and Subclasses
- Added XException class to allow custom handling of X11 exceptions
- Created custom X11 error handler, tied into XException class
- Added support for MONO_XEXCEPTIONS env var to allow the user to either
  throw an exception on X errors or continue running after displaying the error
- Added handling of DestroyNotify message
- Added handler for CreateNotify message (still disabled)
- Improved (tried to at least) Where method to provide file and lineno

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

19 years ago2005-02-25 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Sat, 26 Feb 2005 03:44:49 +0000 (03:44 -0000)]
2005-02-25  Daniel Morgan <danielmorgan@verizon.net>

* System.Data.OracleClient/OracleParameter.cs: modified
  - fix for input parameters for strings, dates,
    CLOBs, and other types
    to use OCIUnicodeToCharSet to convert
    the string to bytes that are in Oracle's character set
  - fix for input parameters for BLOBs to
    use OciDataType.LongRaw instead of Long
  - fix for Raw data type
    thanks to coneto@shaw.ca (Curtis) which fixes bug #72416
    and also fix "System.DataType"
    to "System.DateTime" in InferOracleType

* Test/TestOracleClient.cs: handle byte[] from OracleDataReader.GetValue()

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

19 years ago2005-02-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 26 Feb 2005 00:43:26 +0000 (00:43 -0000)]
2005-02-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TermInfoDriver.cs: set the xmit mode if available. Handle key input
and translate them into a ConsoleKeyInfo.
* TermInfoReader.cs: added a method to return the bytes of a string
property.
* ConsoleKeyInfo.cs: added copy constructor and setters.

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

19 years ago2005-02-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 26 Feb 2005 00:10:03 +0000 (00:10 -0000)]
2005-02-26  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_jit_free_method): Free the method info even if the native code is
invalidated. Fixes #73001.

* mini.c: Add a proper icall wrapper for mono_delegate_ctor.

* mini-x86.c: Only use stdcall for pinvokes on windows.

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

19 years ago2005-02-35 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 25 Feb 2005 23:40:16 +0000 (23:40 -0000)]
2005-02-35  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Collections.cs: Changed the code inside IndexOf, for
the use of Array.IndexOf<>, to keep clean the code.

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

19 years agoMake Ben happy :-)
Martin Baulig [Fri, 25 Feb 2005 23:10:34 +0000 (23:10 -0000)]
Make Ben happy :-)

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

19 years ago * PropertyManager.cs: Implement editing features
Jackson Harper [Fri, 25 Feb 2005 21:59:19 +0000 (21:59 -0000)]
* PropertyManager.cs: Implement editing features
* CurrencyManager.cs:
* Binding.cs: First attempt at UpdateIsBinding
* BindingManagerBase.cs: Call UpdateIsBinding before
pushing/pulling data.

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

19 years ago2005-02-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 25 Feb 2005 19:44:17 +0000 (19:44 -0000)]
2005-02-25  Sebastien Pouliot  <sebastien@ximian.com>

* X501Name.cs: In sync with Mono.Security.dll version.
* X520Attributes.cs: In sync with Mono.Security.dll version.

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

19 years ago2005-02-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 25 Feb 2005 19:41:40 +0000 (19:41 -0000)]
2005-02-25  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Security.dll.sources: Added GeneralNames to Mono.Security.X509.
Extensions to share code between existing extensions.

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

19 years ago2005-02-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 25 Feb 2005 19:40:09 +0000 (19:40 -0000)]
2005-02-25  Sebastien Pouliot  <sebastien@ximian.com>

* X501Name.cs: Added support for multiple entries in a same set.

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

19 years ago2005-02-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 25 Feb 2005 19:38:03 +0000 (19:38 -0000)]
2005-02-25  Sebastien Pouliot  <sebastien@ximian.com>

* CRLDistributionPointsExtension.cs: Added more decoding code (but
it's still incomplete).
* GeneralNames.cs: New. Share code between multiple extensions when
dealing with names.
* SubjectAltNameExtension.cs: Reworked to use GeneralNames.

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

19 years ago2005-02-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 25 Feb 2005 18:43:07 +0000 (18:43 -0000)]
2005-02-25  Martin Baulig  <martin@ximian.com>

The first part of Nullable Types :-)

* generic.cs (NullableType): New public class.
(NullCoalescingOperator): New public class.
(TypeArguments.Resolve): Add a CS0306 check.

* cs-parser.jay (opt_error_modifier): Removed, this was unused.
(opt_nullable): New rule.
(type): Added `opt_nullable' to `namespace_or_type_name',
`builtin_types' and `pointer_type'.
(array_type): Added `opt_nullable'.
(opt_rank_specifier_or_nullable): New rule; this is the
combination of `opt_rank_specifier' and `opt_nullable'.
(opt_error): New rule; catch errors here.
(nullable_type_or_conditional): New rule; we use this to check for
nullable and still detect the conditional operator.
(local_variable_type): Use `opt_rank_specifier_or_nullable'
instead `opt_rank_specifier'.

* expression.cs (ComposedCast.DoResolveAsTypeStep): Added support
for nullables.

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

19 years ago2005-02-25 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 25 Feb 2005 16:52:43 +0000 (16:52 -0000)]
2005-02-25  Marek Safar  <marek.safar@seznam.cz>

* attribute.cs (Atttribute.Resolve): Add cache for parameter-less
attributes. Removed useless attribute double check.
It saves almost 2MBs for corlib.

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

19 years agoFri Feb 25 16:50:14 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 25 Feb 2005 15:31:25 +0000 (15:31 -0000)]
Fri Feb 25 16:50:14 CET 2005 Paolo Molaro <lupus@ximian.com>

* object.c: make all allocations look typed.

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

19 years ago2005-02-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 25 Feb 2005 15:03:53 +0000 (15:03 -0000)]
2005-02-25  Sebastien Pouliot  <sebastien@ximian.com>

* CodeAccessPermission.cs: Implement Equals for NET_2_0 profile.
* PermissionSet.cs: Added code to decode the metadata format used for
declarative security in 2.0 (except enums and arrays now).
* PermissionSetCollection.cs: Added code to decode from the new metadata
format used for declarative security in 2.0.
* SecurityManager.cs: Added support for LinkDemandChoice, Inheritance
DemandChoice and DemandChoice (2.0). Added support for reflected
LinkDemand (promotes the demand to a full Demand).

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

19 years agoFri Feb 25 16:18:59 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 25 Feb 2005 15:00:43 +0000 (15:00 -0000)]
Fri Feb 25 16:18:59 CET 2005 Paolo Molaro <lupus@ximian.com>

* socket-io.c: load Mono.Posix if it's not loaded already
(fixes bug#73033).

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

19 years ago2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 25 Feb 2005 14:41:25 +0000 (14:41 -0000)]
2005-02-25  Atsushi Enomoto <atsushi@ximian.com>

* ignore.lst : more ignored cases. fixed some test IDs.

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

19 years ago2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 25 Feb 2005 14:39:58 +0000 (14:39 -0000)]
2005-02-25  Atsushi Enomoto  <atsushi@ximian.com>

* BUGS-MS.txt : still more bug info.

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

19 years ago2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 25 Feb 2005 14:39:06 +0000 (14:39 -0000)]
2005-02-25  Atsushi Enomoto <atsushi@ximian.com>

* XslTemplate.cs : According to the spec 5.7, it is an error for
  xsl:template to have 'mode' without 'match'.

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

19 years ago2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Fri, 25 Feb 2005 14:24:34 +0000 (14:24 -0000)]
2005-02-25  Jordi Mas i Hernandez <jordi@ximian.com>

* MenuAPI.cs: Respect disabled items
* ThemeWin32Classic.cs
- Caches ImageAttributes creation for DrawImageDisabled
- Fixes vertical menu line drawing
- Draws disabled arrows in disable menu items

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

19 years agoFri Feb 25 14:54:19 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 25 Feb 2005 13:35:29 +0000 (13:35 -0000)]
Fri Feb 25 14:54:19 CET 2005 Paolo Molaro <lupus@ximian.com>

* mono-compiler.h: amd64 can't handle local-exec in PIC libs.

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

19 years ago2004-02-25 Jordi Mas i Hernadez <jordi@ximian.com>
Jordi Mas i Hernandez [Fri, 25 Feb 2005 13:16:53 +0000 (13:16 -0000)]
2004-02-25 Jordi Mas i Hernadez <jordi@ximian.com>

* ColorMatrix.cs: rewritten to be able to marshall it properly

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

19 years ago2005-02-25 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Fri, 25 Feb 2005 13:09:46 +0000 (13:09 -0000)]
2005-02-25  Lluis Sanchez Gual  <lluis@ximian.com>

* ObjectReader.cs: In ReadArrayOfPrimitiveType, added a specific
read loop for each type. It's much faster and avoids value boxings.

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

19 years agoFix for default properties
Satya Sudha K [Fri, 25 Feb 2005 12:58:26 +0000 (12:58 -0000)]
Fix for default properties

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

19 years ago2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 25 Feb 2005 12:09:33 +0000 (12:09 -0000)]
2005-02-25  Lluis Sanchez Gual <lluis@novell.com>

* System.Web.dll.sources: Added new files:
System.Web.UI.WebControls/BoundField.cs
System.Web.UI.WebControls/CompositeDataBoundControl.cs
System.Web.UI.WebControls/DataControlFieldCollection.cs
System.Web.UI.WebControls/GridView.cs
System.Web.UI.WebControls/GridViewRow.cs
System.Web.UI.WebControls/GridViewRowCollection.cs
System.Web.UI.WebControls/PagerSettings.cs
System.Web.UI.WebControls/XmlDataSourceNodeDescriptor.cs
System.Web.UI.WebControls/XmlDataSourcePropertyDescriptor.cs

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

19 years ago2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 25 Feb 2005 12:09:11 +0000 (12:09 -0000)]
2005-02-25  Lluis Sanchez Gual <lluis@novell.com>

* DataSourceView.cs: Fixed incorrect implementation of
RaiseUnsupportedCapabilityError.
* IDataItemContainer.cs: Added new properties.
* Page.cs: Implemented Form property.
* Control.cs: Fixed formatting.
* StateManagedCollection.cs: Track view state of items loaded
in LoadViewState.

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

19 years ago2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 25 Feb 2005 12:08:54 +0000 (12:08 -0000)]
2005-02-25  Lluis Sanchez Gual <lluis@novell.com>

* HtmlForm.cs: Register the form in the page, so the page knows
which is the main form.

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

19 years ago2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 25 Feb 2005 12:08:35 +0000 (12:08 -0000)]
2005-02-25  Lluis Sanchez Gual <lluis@novell.com>

* XmlDataSourceView.cs: ExecuteSelect now returns a list of
XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
it is possible to query for properties fore each data item.
* Menu.cs, TreeView.cs: Make sure that objects are correctly created
when loading its view state.
* DataControlField.cs: Implement properties using a StateBag.
* XmlDataSourcePropertyDescriptor.cs: Implemented.
* PagerSettings.cs: Mostly implemented.
* AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
* DataBoundControl.cs: Added null check.
* GridView.cs: Initial implementation.
* CompositeDataBoundControl.cs: Implemented.
* BoundField.cs: Initial implementation.
* GridViewRowCollection.cs: Initial implementation.
* DataControlFieldCollection.cs: Initial implementation.
* DataControlFieldCell.cs: Fixed control tag.
* GridViewRow: Initial implementation.
* XmlDataSourceNodeDescriptor.cs: Implemented.

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

19 years ago2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 25 Feb 2005 11:50:56 +0000 (11:50 -0000)]
2005-02-25  Atsushi Enomoto  <atsushi@ximian.com>

* BUGS-MS.txt : more bug info.

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

19 years ago2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 25 Feb 2005 11:49:43 +0000 (11:49 -0000)]
2005-02-25  Atsushi Enomoto <atsushi@ximian.com>

* ignore.lst : new file. It is used to exclude buggy MS results from
  tests.
* xslttest.cs, alltest.cs : Ignore testcases written in "ignore.lst".
* XmlNormalizer.cs : It should not remove whitespace nodes.

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

19 years agoHandle String and date before Overloadresolve
Manjula GHM [Fri, 25 Feb 2005 11:36:33 +0000 (11:36 -0000)]
Handle String and date before Overloadresolve
Added code for char + char
Handle One of operands is value type in Relational operators
Handle when both are Object types

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

19 years agoFix #72924.
Raja R Harinath [Fri, 25 Feb 2005 11:32:59 +0000 (11:32 -0000)]
Fix #72924.
* statement.cs (ExpressionStatement.Resolve): Make robust to being
called twice in case of error.

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

19 years ago2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 25 Feb 2005 10:06:19 +0000 (10:06 -0000)]
2005-02-25  Atsushi Enomoto  <atsushi@ximian.com>

* DataColumn.cs : setting negative value on MaxLength of SimpleContent
  column is still valid.

* DataColumnTest.cs : added testcase for setting negative value on
  DataColumn whose mapping is SimpleContent.

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

19 years ago2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 25 Feb 2005 09:39:56 +0000 (09:39 -0000)]
2005-02-25  Atsushi Enomoto <atsushi@ximian.com>

* XmlComment.cs, XmlNode.cs, XmlText.cs, XmlProcessingInstruction.cs,
  XmlEntityReference.cs, XmlSignificantWhitespace.cs, XmlAttribute.cs,
  XmlElement.cs, XmlEntity.cs, XmlCDataSection.cs :
  For those nodes that are created by Clone(), IsReadOnly is false.
  Patch by Konstantin Triger.

* XmlNodeTests.cs : added Clone() of readonly node returns a node
  that is not readonly.

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

19 years ago* runtime/Makefile.am (centum_nunit_tests): Remove. The
Raja R Harinath [Fri, 25 Feb 2005 07:40:58 +0000 (07:40 -0000)]
* runtime/Makefile.am (centum_nunit_tests): Remove.  The
functionality has been moved to mcs/Makefile.
(test_select): Set ONLY_CENTUM_TESTS.

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

19 years ago* Makefile (centum_tests): New list of test subdirs that should pass 100%.
Raja R Harinath [Fri, 25 Feb 2005 07:39:43 +0000 (07:39 -0000)]
* Makefile (centum_tests): New list of test subdirs that should pass 100%.
(default_centum_tests, net_2_0_centum_tests): New.
(ONLY_CENTUM_TESTS): New check.  If defined during 'make
run-test', only the tests in centum_tests are run.

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

19 years ago2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 25 Feb 2005 07:21:28 +0000 (07:21 -0000)]
2005-02-25  Atsushi Enomoto <atsushi@ximian.com>

* XmlDocumentNavigator.cs : iteratedNames array could be fixed and
  performance got improved. Patch by Knstantin Triger.

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

19 years ago2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 25 Feb 2005 06:50:09 +0000 (06:50 -0000)]
2005-02-25  Atsushi Enomoto <atsushi@ximian.com>

* XmlAttribute.cs : MS does not reject non-NCName prefix. Patch by
  Konstantin Triger.

* XmlAttributeTests.cs : added nonNCName Prefix case.

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

19 years ago2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 25 Feb 2005 04:19:06 +0000 (04:19 -0000)]
2005-02-25  Atsushi Enomoto <atsushi@ximian.com>

* xslttest.cs, alltest.cs : more disabled cases (stoppers).

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

19 years agoAdded new X.509 certificate unit tests for NET_2_0
Sebastien Pouliot [Fri, 25 Feb 2005 02:54:32 +0000 (02:54 -0000)]
Added new X.509 certificate unit tests for NET_2_0

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

19 years ago2005-02-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 25 Feb 2005 02:51:00 +0000 (02:51 -0000)]
2005-02-24  Sebastien Pouliot  <sebastien@ximian.com>

* X509Cert20Test.cs: Fx 2.0 specific certificate tests.

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

19 years ago2005-02-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 25 Feb 2005 02:48:31 +0000 (02:48 -0000)]
2005-02-24  Sebastien Pouliot  <sebastien@ximian.com>

* StrongNameIdentityPermissionTest.cs: Fixed some bad tests and
re-enabled the tests on NET_2_0 profile.

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

19 years ago2005-02-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 25 Feb 2005 02:41:09 +0000 (02:41 -0000)]
2005-02-24  Sebastien Pouliot  <sebastien@ximian.com>

* GacIdentityPermission.cs: Fixed warning.
* StrongNameIdentityPermission.cs: Added support for multiple entries
for NET_2_0 profile (required for SecurityAction.*DemandChoice).

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

19 years ago2005-02-24 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Thu, 24 Feb 2005 22:51:59 +0000 (22:51 -0000)]
2005-02-24  Geoff Norton  <gnorton@customerdna.com>

        * gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
        so they dont get garbage collected before use.

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

19 years ago- Removed HandleData.cs from build
Peter Dennis Bartok [Thu, 24 Feb 2005 22:45:28 +0000 (22:45 -0000)]
- Removed HandleData.cs from build

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

19 years ago- Removed remaining references to HandleData and removed HandleData.cs
Peter Dennis Bartok [Thu, 24 Feb 2005 22:44:18 +0000 (22:44 -0000)]
- Removed remaining references to HandleData and removed HandleData.cs
- Plugged leaks in Win32 driver and Hwnd class

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

19 years ago2005-02-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 24 Feb 2005 19:45:25 +0000 (19:45 -0000)]
2005-02-24  Martin Baulig  <martin@ximian.com>

* class.c (dup_type): Correctly duplicate MONO_TYPE_PTR.
* reflection.c (dup_type): Likewise.

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

19 years ago2005-02-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 24 Feb 2005 19:03:48 +0000 (19:03 -0000)]
2005-02-24  Zoltan Varga  <vargaz@freemail.hu>

* Array.cs: Add missing 2.0 attributes and correct some parameter names.

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

19 years ago2005-02-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 24 Feb 2005 15:43:13 +0000 (15:43 -0000)]
2005-02-24  Zoltan Varga  <vargaz@freemail.hu>

* gc.c (run_finalize): Set the domain for finalizing delegates as well.
Thanks to Willibald Krenn and Scott Mohekey for tracking this down.

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

19 years agoAdd a couple of internal methods to the ignore list
Miguel de Icaza [Thu, 24 Feb 2005 14:33:44 +0000 (14:33 -0000)]
Add a couple of internal methods to the ignore list

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

19 years ago2005-02-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 24 Feb 2005 14:20:00 +0000 (14:20 -0000)]
2005-02-24  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextWriter.cs : WriteString() should be valid when
  WriteStartDocument() was not called.

* XmlTextWriterTests.cs : Test for call to WriteRaw() -> WriteString()

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

19 years agoUpdated.
Martin Baulig [Thu, 24 Feb 2005 14:16:38 +0000 (14:16 -0000)]
Updated.

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

19 years agoThu Feb 24 15:22:30 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 24 Feb 2005 14:05:27 +0000 (14:05 -0000)]
Thu Feb 24 15:22:30 CET 2005 Paolo Molaro <lupus@ximian.com>

* mini.c, mini.h: make mono_lmf_addr a fast-access thread var.
* mini-x86.c: remove unreliable __thread var offset detection,
use the correct accessors and enable by default.

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

19 years agoThu Feb 24 15:19:35 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 24 Feb 2005 14:02:42 +0000 (14:02 -0000)]
Thu Feb 24 15:19:35 CET 2005 Paolo Molaro <lupus@ximian.com>

* domain.c, threads.c, object-internals.h: make the critical thread
local vars use the fast access mode (even when we're compiled in
a lib). Provide accessors to be used by the jit during codegen.

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

19 years agoThu Feb 24 15:18:05 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 24 Feb 2005 13:59:53 +0000 (13:59 -0000)]
Thu Feb 24 15:18:05 CET 2005 Paolo Molaro <lupus@ximian.com>

* Makefile.am, mono-compiler.h: added header to deal with
compiler-specific bugs and features.

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

19 years agoThu Feb 24 15:16:18 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 24 Feb 2005 13:58:17 +0000 (13:58 -0000)]
Thu Feb 24 15:16:18 CET 2005 Paolo Molaro <lupus@ximian.com>

* configure.in: add a check for compiler support of the
tls_model sttribute.

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

19 years ago2005-02-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 24 Feb 2005 13:52:27 +0000 (13:52 -0000)]
2005-02-24  Atsushi Enomoto <atsushi@ximian.com>

* Compiler.cs : added ns lookup with nsDecls Hashtable.

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

19 years ago2005-02-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 24 Feb 2005 13:50:26 +0000 (13:50 -0000)]
2005-02-24  Atsushi Enomoto  <atsushi@ximian.com>

* XslAttribute.cs : reduced reference to stylesheet XPathNavigator by
  keeping nsDecls.

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

19 years ago2005-02-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 24 Feb 2005 13:11:18 +0000 (13:11 -0000)]
2005-02-24  Martin Baulig  <martin@ximian.com>

* README, README.Changes: Removed; they're old and obsolete.

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

19 years agoRemoved this empty file.
Martin Baulig [Thu, 24 Feb 2005 13:10:11 +0000 (13:10 -0000)]
Removed this empty file.

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

19 years agoOoops, this doesn't work.
Martin Baulig [Thu, 24 Feb 2005 13:08:28 +0000 (13:08 -0000)]
Ooops, this doesn't work.

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

19 years agosvn path=/trunk/mcs/; revision=41147
Jordi Mas i Hernandez [Thu, 24 Feb 2005 11:23:35 +0000 (11:23 -0000)]
svn path=/trunk/mcs/; revision=41147

19 years ago2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
Jordi Mas i Hernandez [Thu, 24 Feb 2005 10:54:05 +0000 (10:54 -0000)]
2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
* TestRegion.cs: added new IsVisible cases

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

19 years agoChange log added for last changes.
Carlos Alberto Cortez [Thu, 24 Feb 2005 09:12:45 +0000 (09:12 -0000)]
Change log added for last changes.

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

19 years ago2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 24 Feb 2005 08:43:28 +0000 (08:43 -0000)]
2005-02-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Assembly.cs: LoadFrom: Change signature to support reflection only
methods; ReflectionOnlyLoad, ReflectionOnlyLoadFrom 2.0 methods
implemented; InvalidOperationException's re-thrown by CreateInstance.
Also ReflectionOnly 2.0 property added.

* MonoMethod.cs: InvalidOperationException's are re-thrown when calling
Invoke method on reflection only assemblies.

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

19 years ago2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 24 Feb 2005 08:43:04 +0000 (08:43 -0000)]
2005-02-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* AppDomain.cs: Changed GetAssemblies, LoadAssembly, and Load signatures,
and added some to support the reflection only methods. DoAssemblyResolve
was modified to invoke the new PreBindAssemblyResolve event when the
assembly is reflection only.

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

19 years agosvn path=/trunk/mono/; revision=41140
Carlos Alberto Cortez [Thu, 24 Feb 2005 08:41:54 +0000 (08:41 -0000)]
svn path=/trunk/mono/; revision=41140

19 years ago2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Thu, 24 Feb 2005 06:43:36 +0000 (06:43 -0000)]
2005-02-24  Jordi Mas i Hernandez <jordi@ximian.com>

* Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
* GroupBox.cs: Add control styles
* Label.cs: Add control styles
* UpDownBase.cs: Add control styles
* ListBox.cs: Add control styles
* XplatUIWin32.cs: Fixes wrong parameter order

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

19 years ago2005-02-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 24 Feb 2005 06:08:13 +0000 (06:08 -0000)]
2005-02-24  Atsushi Enomoto  <atsushi@ximian.com>

* XslTransformImpl.cs : Load() should use argument XmlResolver to
  get file stream. This fixes bug #72942.
* BUGS-MS.txt : more bug info.

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

19 years ago2005-02-23 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 24 Feb 2005 05:50:42 +0000 (05:50 -0000)]
2005-02-23  Chris Toshok  <toshok@ximian.com>

        Part of fix for #72827.
        * mono-debug.c (mono_debug_add_method): add lexical block data to
        the info we write.  Kind of a hack at the moment - we copy the
        lexical block info from the MonoDebugMethodInfo to the
        MonoDebugMethodJitInfo here, before writing it.
        (mono_debug_read_method): read the lexical block info.

        * mono-debug.h (_MonoDebugMethodJitInfo): add lexical block slots.

        * debug-mono-symfile.h: add lexical block support.

        * debug-mono-symfile.c (mono_debug_find_method): add lexical block
        support.

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

19 years ago2005-02-23 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 24 Feb 2005 05:38:11 +0000 (05:38 -0000)]
2005-02-23  Chris Toshok  <toshok@ximian.com>

        Fix compiler portions of #72827.
        * statement.cs (Block.Emit): call Begin/EndScope on the
        EmitContext instead of the ILGenerator.

        * codegen.cs (EmitContext.BeginScope): new method, call
        ILGenerator.BeginScope as well as the SymbolWriter's OpenScope (if
        we have one.)
        (EmitContext.BeginScope): same, but EndScope and CloseScope

        * symbolwriter.cs (SymbolWriter.OpenScope): get the current il
        offset and call the superclass's OpenScope(int) with it.
        (SymbolWriter.CloseScope): get the current il
        offset and call superclass's CloseScope(int) with it.

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

19 years ago2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
Peter Dennis Bartok [Thu, 24 Feb 2005 05:18:45 +0000 (05:18 -0000)]
2005-02-23  Chris Bacon  <chris.bacon@docobo.co.uk>

* ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon

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

19 years agoremove incorrect comment
Chris Toshok [Thu, 24 Feb 2005 03:17:04 +0000 (03:17 -0000)]
remove incorrect comment

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

19 years ago2005-02-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 24 Feb 2005 01:43:30 +0000 (01:43 -0000)]
2005-02-24  Atsushi Enomoto <atsushi@ximian.com>

* XslStylesheet.cs : It should consider "#default" in namespace-alias.

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

19 years ago2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 24 Feb 2005 00:57:39 +0000 (00:57 -0000)]
2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
is zero, use the TagName no matter its value. Fixes bug #72415.

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

19 years ago2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 24 Feb 2005 00:10:26 +0000 (00:10 -0000)]
2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FormsAuthentication.cs: make the string to be stored in a config.
file uppercase... See bug #72557.

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

19 years ago oops.
Jackson Harper [Wed, 23 Feb 2005 22:00:14 +0000 (22:00 -0000)]
oops.

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

19 years ago2005-02-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 23 Feb 2005 20:44:06 +0000 (20:44 -0000)]
2005-02-23  Sebastien Pouliot  <sebastien@ximian.com>

* HttpRequestTest.cs: Added another XSS case that was found on ASP.NET
(fixed now) but didn't affect Mono.

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