mono.git
19 years ago2005-03-01 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 1 Mar 2005 07:04:57 +0000 (07:04 -0000)]
2005-03-01  Marek Safar  <marek.safar@seznam.cz>

* null-gc.c (mono_gc_free_fixed): Was not compilable.

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

19 years agoIn System.Data.Common:
Sureshkumar T [Tue, 1 Mar 2005 05:48:39 +0000 (05:48 -0000)]
In System.Data.Common:
2005-03-01  Sureshkumar T  <tsureshkumar@novell.com>

* ConnectionStringsSectionHandler.cs: Added. configuration section
handler for section "connectionStrings". This handler is a ad hoc
solution till the new configuration API is available in mono.

In .:
2005-03-01  Sureshkumar T  <tsureshkumar@novell.com>

* System.Data.dll.sources: Added System.Data.Common/
ConnectionStringsSectionHandler.cs.
* app_test_2.0.config: Changed the configuration handler for
seciton "connectionStrings".

In Test/System.Data.Common:

* ConnectionStringsSectionTest.cs : removed console.writeline-s.

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

19 years ago2005-03-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 1 Mar 2005 05:28:19 +0000 (05:28 -0000)]
2005-03-01  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngPattern.cs : RdpUnresolvedRef should process empty/notAllowed
  elimination on its referenced pattern.

* RdpPattern.cs : In "textDeriv(group p1 p2) s", "nullable p1" is
  incorrectly computed as "nullable p".

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

19 years ago2005-02-28 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Tue, 1 Mar 2005 03:10:41 +0000 (03:10 -0000)]
2005-02-28  Cesar Lopez Nataren  <cnataren@novell.com>

* ForIn.cs: Initial implementation of ForIn stm.

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

19 years ago2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 1 Mar 2005 01:21:10 +0000 (01:21 -0000)]
2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: don't block on Accept if the socket is non-blocking.
Fixes bug #73053. Patch by Ankit Jain.

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

19 years ago2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 1 Mar 2005 01:11:22 +0000 (01:11 -0000)]
2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRequest.cs: Path and FilePath also change when RewritePath is
called. Fixes bug #73055.

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

19 years agoundo r39947. See bugzilla #73073.
Gonzalo Paniagua Javier [Tue, 1 Mar 2005 00:33:29 +0000 (00:33 -0000)]
undo r39947. See bugzilla #73073.

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

19 years ago* convert.cs: Added the following conversion routines:
Jambunathan K [Mon, 28 Feb 2005 18:16:38 +0000 (18:16 -0000)]
* convert.cs: Added the following conversion routines:
BooleanConversions, WideningStringConversions,
NarrowingStringConversions.

* ecore.cs: Added following helper classes: BooleanToNumericCast,
NumericToBooleanCast

* typemanager.cs: Added System.DateTime to the cached types.

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

19 years ago2004-12-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Mon, 28 Feb 2005 18:16:34 +0000 (18:16 -0000)]
2004-12-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* driver.cs: correcting the handling of many options.
* Upgraded to latest Mono.GetOptions that supports vbc style boolean arguments /debug+ /debug-, and /help2 to hide less used options

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

19 years ago2005-02-28 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Mon, 28 Feb 2005 18:13:26 +0000 (18:13 -0000)]
2005-02-28  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
* Mono.GetOptions/OptionAttribute.cs, Mono.GetOptions/OptionDetails.cs, Mono.GetOptions/OptionList:
Implemented support for vbc style booleans: /debug+ /debug- . Usage: [Option("debug", VBCStyleBoolean = true)]
Implemented support for second level help screen. Usage: [Option("advanced stuff", SecondLevelHelp = true)]
Better alignment for descriptions, specially multiline
ArgumentProcessor-marked method now is called while processing options to allow positional processing

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

19 years ago2005-02-28 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 28 Feb 2005 17:27:14 +0000 (17:27 -0000)]
2005-02-28  Marek Safar  <marek.safar@seznam.cz>

* attribute.cs (DefinePInvokeMethod): Fix, all data are stored
in the fields and not in the properties.

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

19 years ago* ecore.cs (StringToExpression):
Jambunathan K [Mon, 28 Feb 2005 17:02:32 +0000 (17:02 -0000)]
* ecore.cs (StringToExpression):
* expression.cs (ImplicitInvocation, ImplicitNew): VB.NET specific
helper classes and methods.

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

19 years ago2005-02-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 28 Feb 2005 14:20:30 +0000 (14:20 -0000)]
2005-02-28  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (encode_marshal_blob): Encode param_num field as well.

* object-internals.h (MonoReflectionMarshal): Add param_num field.

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

19 years ago2005-02-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 28 Feb 2005 14:19:00 +0000 (14:19 -0000)]
2005-02-28  Zoltan Varga  <vargaz@freemail.hu>

* attribute.cs (GetMarshal): Marshal SizeConst and SizeParamIndex
fields as well.

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

19 years agomore tests + updated fixed
Marek Safar [Mon, 28 Feb 2005 14:14:39 +0000 (14:14 -0000)]
more tests + updated fixed

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

19 years ago2005-02-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 28 Feb 2005 14:12:50 +0000 (14:12 -0000)]
2005-02-28  Zoltan Varga  <vargaz@freemail.hu>

* CustomAttributeBuilder.cs (get_umarshal): Marshal sizeConst and
sizeParamIndex fields as well.

* UnmanagedMarshal.cs: Add param_num field and a new internal creation
method which sets it.

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

19 years ago2005-02-28 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 28 Feb 2005 13:31:36 +0000 (13:31 -0000)]
2005-02-28  Marek Safar  <marek.safar@seznam.cz>

* attribute.cs: Small refactoring (improved robustness).
(ImplOptions, UnmanagedType, UsageAttribute): Removed members.
(ValidateGuid): Removed.
(Resolve): Removed referenced to above mentioned.
(GetAttributeUsage): Made private and changed to work without
class assistance.
(GetIndexerAttributeValue): Don't crash.
(GetConditionalAttributeValue): Ditto.
(GetClsCompliantAttributeValue): Ditto.
(ExtractSecurityPermissionSet): All attributes exceptions are
error 648.
(GetPropertyValue): New helper.
(GetMethodImplOptions): New method.
(DefinePInvokeMethod): Reuse common code. Implemented handling of
some missing properties.

* class.cs (ClassOrStruct.ApplyAttributeBuilder): Updated.
(Method.ApplyAttributeBuilder): Updated.

* decl.cs (DeclSpace.ApplyAttributeBuilder): Don't catch shared
exception.

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

19 years agoUpdated Firebird Provider to the RC2 sources
Carlos Guzmán Álvarez [Mon, 28 Feb 2005 12:37:30 +0000 (12:37 -0000)]
Updated Firebird Provider to the RC2 sources

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

19 years agoFix #73052.
Raja R Harinath [Mon, 28 Feb 2005 12:12:20 +0000 (12:12 -0000)]
Fix #73052.
* mcs/report.cs (Report.SymbolRelatedToPreviousError): Handle
non-simple types (array, pointer, reference).
* errors/cs0053-2.cs: New test from #73052.

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

19 years ago2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Mon, 28 Feb 2005 11:25:12 +0000 (11:25 -0000)]
2005-02-28  Jordi Mas i Hernandez <jordi@ximian.com>

* ComboBox.cs: show/hide scrollbar instead of creating it

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

19 years agoMon Feb 28 11:59:42 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 28 Feb 2005 10:49:29 +0000 (10:49 -0000)]
Mon Feb 28 11:59:42 CET 2005 Paolo Molaro <lupus@ximian.com>

* object.c: generalized the reference bitmap creation
and added hooks for the new GC.
* class-internals.c: removed the gc_bitmap field from MonoClass.

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

19 years ago2005-02-28 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 28 Feb 2005 10:48:07 +0000 (10:48 -0000)]
2005-02-28  Marek Safar  <marek.safar@seznam.cz>

* cs-parser.jay: Add errors 1617, 650, 1007, 531, 547, 548

* class.cs (MethodCore.IsDuplicateImplementation): Special error
for operators.
(Method.CheckBase): Catch wrong destructor here.
(MethodData.Define): Add errors 550, 668.

* cs-tokenizer.cs (PreProcessPragma): Add warning 1634.

* ecore.cs (PropertyExpr.DoResolveLValue): Fixed wrong error code.

* pending.cs (VerifyPendingMethods): Add error 551.

* typemanager.cs (CSharpName): Next error report helper.

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

19 years agoUpdates.
Paolo Molaro [Mon, 28 Feb 2005 10:19:16 +0000 (10:19 -0000)]
Updates.

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

19 years ago2005-02-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 28 Feb 2005 05:36:42 +0000 (05:36 -0000)]
2005-02-28  Martin Baulig  <martin@ximian.com>

* generic.cs (TypeManager.IsNullableType): New static method.
(Nullable): New abstract class.
(Nullable.NullLiteral): New public class.
(Nullable.LiftedConversion): New public class.

* cs-parser.jay (non_expression_type): Changed `builtin_types' to
`builtin_types opt_nullable'.

* convert.cs
(Convert.ImplicitConversionStandard): Added nullable conversions.
(Convert.ExplicitConversionStandard): Likewise.
(Convert.ExplicitConversion): Likewise.

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

19 years ago2005-02-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 28 Feb 2005 05:13:56 +0000 (05:13 -0000)]
2005-02-28  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaTests.cs : just set NotWorking for trivial comparison tests.

* XmlReflectionImporterTests.cs : set NotWorking for trivial empty
  string comparison.

* MsxslScriptTests.cs,
  XslTransformTests.cs : set NotWorking for msxsl:script tests (they
  premise runnable compilers existence which actually might not exist.)

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

19 years ago * CurrencyManager.cs: Add PositionChanged stuff.
Jackson Harper [Mon, 28 Feb 2005 00:11:58 +0000 (00:11 -0000)]
* CurrencyManager.cs: Add PositionChanged stuff.

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

19 years ago2005-02-27 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Sun, 27 Feb 2005 23:56:08 +0000 (23:56 -0000)]
2005-02-27  Peter Bartok  <pbartok@novell.com>

* XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
* XplatUIOSX.cs: Added GetMenuOrigin() stub
* XplatUIWin32.cs: Implemented GetMenuOrigin()
* XplatUIX11.cs:
  - Implemented GetMenuDC()
  - Implemented GetMenuOrigin()
  - Implemented ReleaseMenuDC()
  - Implemented generation of WM_NCPAINT message
  - Implemented generation and handling of WM_NCCALCSIZE message
* Form.cs: Added debug helper message for Jordi's menu work
* Hwnd.cs:
  - Modified ClientRect property; added setter, fixed getter to handle
    setting of ClientRect
  - Added MenuOrigin property

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

19 years ago2005-02-27 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 27 Feb 2005 22:55:23 +0000 (22:55 -0000)]
2005-02-27  Miguel de Icaza  <miguel@novell.com>

* pending.cs: Make the code resistant to errors.

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

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

* VariableStatement.cs (PopulateContext): Do not add the symbol to
the context if already defined in current context.

* CodeGenerator.cs: Renamed VariableDefined to variable_defined_in_current_scope.

* TypeManager.cs: Reimplemented it, We use an IdentificationTable
instead of a simple Hashtable so we can handle scopes
properly. Cleaner api.

* VariableDeclaration.cs: Use new CodeGenerator api. (EmitDecl)
Add the builders to the TypeManager.

* Block.cs: Use new TypeManager api.

* FunctionDeclaration.cs: Use new TypeManager api. Take care of
scopes in the TypeManger on Emit.

* IdentificationTable.cs: (Binder) Changed the type of value from
AST to object so I can use this symbol table
anywhere. (IdentificationTable) Add current_locals stack and added
method InCurrentScope.

* expression.cs: Use new api from TypeManager, Add casts where neeeded.

This solves an infinite loop we were falling into when calling
IdentificationTable.CurrentLocals when repeated declarations where
inside function declarations.

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

19 years agoBroadly, what C# spec terms as "Implicit" & "Explicit", VB.NET spec
Jambunathan K [Sun, 27 Feb 2005 22:12:07 +0000 (22:12 -0000)]
Broadly, what C# spec terms as "Implicit" & "Explicit", VB.NET spec
terms as "Widening" & "Narrowing" respectively. So renamed exisiting
methods to reflect the VB.NET nomenclature. These are just first
renamings.

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

19 years agoVB.NET has no notion of User defined conversions. Assuming that UserDefinedConversion...
Jambunathan K [Sun, 27 Feb 2005 21:29:04 +0000 (21:29 -0000)]
VB.NET has no notion of User defined conversions. Assuming that UserDefinedConversion () returns null, propagated the resulting changes upstream.

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

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

* tramp-amd64.c (amd64_magic_trampoline): Disable the method_ptr
patching stuff, since delegates use jump trampolines so there is
no caller.

* tramp-amd64.c (create_trampoline_code): Pass NULL as 'code' in
jump trampolines.

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

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

* tramp-amd64.c: Fix build.

* mini-x86.c tramp-x86.c: Moved get_vtable_slot_addr into mini-x86.c and rename
it to mono_arch_.... Add get_delegate_method_ptr implementation for x86.

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

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

* tramp-amd64.c: Fix build.

* mini-x86.c tramp-x86.c: Moved get_vtable_slot_addr into mini-x86.c and rename
it to mono_arch_.... Add get_delegate_method_ptr implementation for x86.

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

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

* mini-amd64.h mini.h mini-amd64.c tramp-amd64.c (mono_amd64_get_vcall_slot_addr):
Rename this to mono_arch....
(mono_amd64_get_delegate_method_ptr_addr): Ditto.

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

19 years agousage
Miguel de Icaza [Sun, 27 Feb 2005 15:06:10 +0000 (15:06 -0000)]
usage

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

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