mono.git
19 years ago2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 14 Apr 2005 13:28:29 +0000 (13:28 -0000)]
2005-04-14  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyTest.cs: Added tests for GetObjectData (null) and
GetReferencedAssemblies (no codebase returned) methods.

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

19 years ago2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 14 Apr 2005 13:27:10 +0000 (13:27 -0000)]
2005-04-14  Sebastien Pouliot  <sebastien@ximian.com>

* Assembly.cs: Added missing null check in GetObjectData.

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

19 years ago2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 14 Apr 2005 13:23:21 +0000 (13:23 -0000)]
2005-04-14  Sebastien Pouliot  <sebastien@ximian.com>

* icall.c: don't return the codebase in the AssemblyName[] returned by
ves_icall_System_Reflection_Assembly_GetReferencedAssemblies.
* object-internals.h: Removed FIXME (fields were presents) and fixed
versioncompat declaration.

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

19 years agoRevert to old version, now that the merge is complete.
Raja R Harinath [Thu, 14 Apr 2005 12:45:27 +0000 (12:45 -0000)]
Revert to old version, now that the merge is complete.

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

19 years ago2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 14 Apr 2005 12:24:50 +0000 (12:24 -0000)]
2005-04-14  Lluis Sanchez Gual <lluis@novell.com>

* TemplateControlCompiler.cs: Use the new BindingContainerType
property to find the type of the binding container.

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

19 years ago2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 14 Apr 2005 12:24:07 +0000 (12:24 -0000)]
2005-04-14  Lluis Sanchez Gual <lluis@novell.com>

* DetailsView.cs: Implemented support for Insert operation.
Added header and footer templates. Added missing style
properties.
* ObjectDataSourceView.cs: Use ParameterCollection.GetValues
to get filter values. Other minor fixes.
* CommandField.cs: Properly render the Insert and New buttons.
* ObjectDataSource.cs: Update the parameter collections after
the page is loaded. This will fire the ParameterChanged event
if needed.
* DataBoundControl.cs: The OnDataSourceViewChanged method
is called when the view changes, not when the datasource
changes.

* DetailsViewInsertedEventArgs.cs:
* DetailsViewInsertEventArgs.cs: Implement Values property.

* ImageField.cs:
* AutoGeneratedField.cs
* BoundField.cs:
* CheckBoxField.cs:
Take into account the Insert mode.

* ParameterCollection.cs: Implemented UpdateValues and fixed
GetValues (values can't be cached because can change).
* Parameter.cs: Detect value changes in GetValue, and fire
the change event if needed. Removed unused ParameterValue
property. Other fixes.

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

19 years ago2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 14 Apr 2005 12:22:26 +0000 (12:22 -0000)]
2005-04-14  Lluis Sanchez Gual <lluis@novell.com>

* ControlBuilder.cs: Added BindingContainerType property,
which works like NamingContainerType but takes into account
template builders with a specific container type (specified
using the TemplateContainerAttribute.
* StateManagedCollection.cs: Reimplemented Save/Load view
state methods. The existing implementation was not correct
in all cases.

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

19 years agoupdate
Raja R Harinath [Thu, 14 Apr 2005 10:58:51 +0000 (10:58 -0000)]
update

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

19 years ago* library.make (dist-local): Include all ChangeLogs in the tarball.
Raja R Harinath [Thu, 14 Apr 2005 10:49:53 +0000 (10:49 -0000)]
* library.make (dist-local): Include all ChangeLogs in the tarball.

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

19 years agoReverting invalid patch.
Lluis Sanchez [Thu, 14 Apr 2005 10:46:13 +0000 (10:46 -0000)]
Reverting invalid patch.

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

19 years ago* mono/Makefile.am (DIST_SUBDIRS): Add 'handles' directory.
Raja R Harinath [Thu, 14 Apr 2005 10:14:06 +0000 (10:14 -0000)]
* mono/Makefile.am (DIST_SUBDIRS): Add 'handles' directory.
* configure.in (AC_OUTPUT): Add back 'mono/handles' directory.

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

19 years ago* wapi-private.h: Remove reference to 'daemon-private.h'.
Raja R Harinath [Thu, 14 Apr 2005 09:46:32 +0000 (09:46 -0000)]
* wapi-private.h: Remove reference to 'daemon-private.h'.

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

19 years ago2005-04-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 14 Apr 2005 09:11:17 +0000 (09:11 -0000)]
2005-04-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: sometimes we get EBADF from epoll but the epollfd is
not closed, so don't cleanup when it happens.

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

19 years agoUpdated.
Martin Baulig [Thu, 14 Apr 2005 07:50:39 +0000 (07:50 -0000)]
Updated.

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

19 years agoUpdated.
Martin Baulig [Thu, 14 Apr 2005 07:34:53 +0000 (07:34 -0000)]
Updated.

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

19 years ago**** Merged r41631 from MCS ****
Martin Baulig [Thu, 14 Apr 2005 07:34:14 +0000 (07:34 -0000)]
**** Merged r41631 from MCS ****

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

19 years agoCall XmlConvert.EncodeLocalName where needed
Andrew Skiba [Thu, 14 Apr 2005 06:41:10 +0000 (06:41 -0000)]
Call XmlConvert.EncodeLocalName where needed

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

19 years agodelete debug msg
César Natarén [Thu, 14 Apr 2005 06:36:28 +0000 (06:36 -0000)]
delete debug msg

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

19 years agochange type
César Natarén [Thu, 14 Apr 2005 06:18:49 +0000 (06:18 -0000)]
change type

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

19 years ago2005-04-14 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Thu, 14 Apr 2005 06:16:51 +0000 (06:16 -0000)]
2005-04-14  Cesar Lopez Nataren  <cnataren@novell.com>

* SemanticAnalizer.cs: Added a Hashtable that indicates which
methods need to generate proper code for handling the local vars
in the StackFrame. Added method AddMethodWithEval, MethodContainsEval.

* Eval.cs: Back to M.J.

* ast.cs: locals from abstract class Function is now an array of
objects not just AST's.

* CodeGenerator.cs: Clean up fall_true, better using recursion :)
Added static method load_local_vars. At method ft_emit_equality do
Emit the code of the ast. Added method load_local_vars.

* FunctionDeclaration.cs: Update call to TypeManager methods to
new API. Added a check for invocations to 'eval' inside functions
so StackFrame IL code gets generated. Build the function's closure
take the need for the StackFrame into account.

* TypeManager.cs: renamed IdentificationTable locals to
local_script_functions, AddLocal to AddLocalScriptFunction,
GetLocal to GetLocalScriptFunction. Added method CurrentLocals.

* IdentificationTable.cs: Method CurrentLocals now returns
an array of object's not AST's.

* expression.cs: (class Call) Check if we have a call to 'eval',
if so we must keep up the StackFrame which contains the local
vars. We generate special code that handles the StackFrame with
the local vars in order to keep them in sync. When a function
contains an invocation to 'eval' even when such function is a
function declared in the code we do not perform a direct method
call to it when invoked instead a call through late binding gets
performed. Added methods IsEval, set_local_vars. Implement 'eval'
from JScript!

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

19 years agoUndocumented new targets 'compiler-tests-net_2_0' and
Raja R Harinath [Thu, 14 Apr 2005 06:13:52 +0000 (06:13 -0000)]
Undocumented new targets 'compiler-tests-net_2_0' and
'bootstrap-world-net_2_0'.

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

19 years ago* Makefile (MCS): Override only in the 'default' profile.
Raja R Harinath [Thu, 14 Apr 2005 06:12:22 +0000 (06:12 -0000)]
* Makefile (MCS): Override only in the 'default' profile.
(BOOTSTRAP_MCS): Override in the 'net_2_0' profile.
(test-local): Build harness programs.

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

19 years ago2005-04-14 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 14 Apr 2005 05:01:06 +0000 (05:01 -0000)]
2005-04-14  Martin Baulig  <martin@ximian.com>

* generic.cs (ConstructedType): Moved all the type lookup and
nested class logic into SimpleName.
(ConstructedType.ResolveConstructedType): Our underlying type is
already fully resolved; all the type lookup stuff is in
SimpleName.

* ecore.cs (SimpleName.ResolveAsTypeStep): Resolve nested
constructed types here instead of in ConstructedType.

* decl.cs (MemberName.GetTypeExpression): Always create a
SimpleName, not a ConstructedType.
(DeclSpace.ResolveNestedType): Removed; this is now in SimpleName.

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

19 years agoAdd banner
Miguel de Icaza [Thu, 14 Apr 2005 04:29:45 +0000 (04:29 -0000)]
Add banner

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

19 years ago2005-04-13 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 14 Apr 2005 03:24:49 +0000 (03:24 -0000)]
2005-04-13  Chris Toshok  <toshok@ximian.com>

* mono-debug-debugger.h: change prototype for
mono_debugger_lookup_type.

* mono-debug-debugger.c (mono_debugger_lookup_type): reinstate
this function, although it should probably be named
mono_debugger_init_type.

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

19 years agoAdd new test
Miguel de Icaza [Thu, 14 Apr 2005 02:14:45 +0000 (02:14 -0000)]
Add new test

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

19 years agoRevert patch from revision 42775, it introduced a regression
Miguel de Icaza [Thu, 14 Apr 2005 02:13:10 +0000 (02:13 -0000)]
Revert patch from revision 42775, it introduced a regression

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

19 years agoComment out 362 until 74565 is fixed
Miguel de Icaza [Thu, 14 Apr 2005 02:13:02 +0000 (02:13 -0000)]
Comment out 362 until 74565 is fixed

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

19 years ago2005-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 14 Apr 2005 02:11:02 +0000 (02:11 -0000)]
2005-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: fix non-AIO case.

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

19 years agofix the test
Gonzalo Paniagua Javier [Wed, 13 Apr 2005 23:44:31 +0000 (23:44 -0000)]
fix the test

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

19 years ago2005-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 13 Apr 2005 23:03:14 +0000 (23:03 -0000)]
2005-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Path.cs: don't trim the path in CanonicalizePath on non-windows
systems. Fixes bug #53173.

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

19 years ago2005-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 13 Apr 2005 23:02:06 +0000 (23:02 -0000)]
2005-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DirectoryInfoTest.cs: added test for bug #53173.

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

19 years ago2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 13 Apr 2005 20:05:54 +0000 (20:05 -0000)]
2005-04-13  Atsushi Enomoto  <atsushi@ximian.com>

* doc.cs : In FindDocumentedType(), avoid TypeExpr.ResolveType() and
  just use TypeExpr.Type. This fixes bug #74595 when merged to gmcs.

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

19 years ago2005-04-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 13 Apr 2005 19:51:39 +0000 (19:51 -0000)]
2005-04-13  Zoltan Varga  <vargaz@freemail.hu>

* trace.c (mono_trace_enter_method): Print enums as an int, not as a
valuetype.

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

19 years ago2005-04-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 13 Apr 2005 19:36:38 +0000 (19:36 -0000)]
2005-04-13  Zoltan Varga  <vargaz@freemail.hu>

* profiler.c (mono_profiler_install_simple): Add a 'jit' option to
the built-in profiler to measure just JIT compilation times.

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

19 years ago2005-04-13 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 13 Apr 2005 19:03:17 +0000 (19:03 -0000)]
2005-04-13  Sebastien Pouliot  <sebastien@ximian.com>

* RecordProtocol.cs: Some API changes so a record can be decoded from
any supplied stream (not just the inner network stream).
* SslClientStream.cs: BeginRead is now truly async if the Negotiate is
called from BeginWrite (where it should be in most case).
* SslServerStream.cs: Adapted to API changes in RecordProtocol.cs.

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

19 years ago2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Wed, 13 Apr 2005 18:17:05 +0000 (18:17 -0000)]
2005-04-13  Jordi Mas i Hernandez <jordi@ximian.com>

* Form.cs: Pospone menu assignation if the window has not been created yet
* XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
size and position

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

19 years agoRemove debugging spew
Miguel de Icaza [Wed, 13 Apr 2005 17:38:47 +0000 (17:38 -0000)]
Remove debugging spew

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

19 years ago2005-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 13 Apr 2005 17:12:26 +0000 (17:12 -0000)]
2005-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: the epollfd might be closed by another thread at
any time, so ignore EBADF at treat it as a "we're closing" sign.

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

19 years agoFix compilation with __thread support on ppc.
Paolo Molaro [Wed, 13 Apr 2005 16:58:27 +0000 (16:58 -0000)]
Fix compilation with __thread support on ppc.

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

19 years agoRemove kangaroo's hack.
Paolo Molaro [Wed, 13 Apr 2005 16:48:45 +0000 (16:48 -0000)]
Remove kangaroo's hack.

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

19 years ago2005-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 13 Apr 2005 16:47:14 +0000 (16:47 -0000)]
2005-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: release the semaphores with a count equals to the number
of working threads in both IO and regular pools. Fixed typo that messed
up the count of IO pool threads. Don't initialize the pipe handles if
we're using epoll.

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

19 years agoWed Apr 13 13:12:33 EDT 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 13 Apr 2005 16:45:34 +0000 (16:45 -0000)]
Wed Apr 13 13:12:33 EDT 2005 Paolo Molaro <lupus@ximian.com>

* atomic.h: applied patch from mass@akuma.org (David Waite)
to fix InterlockedExchangeAdd.
Fixed a few other functions, including InterlockedCompareExchange()
which was miscompiled by gcc with optimizations enabled.

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

19 years ago2005-04-13 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 13 Apr 2005 16:10:04 +0000 (16:10 -0000)]
2005-04-13  Dick Porter  <dick@ximian.com>

        * io.c (share_check):
        * handles.c (_wapi_handle_check_share): Refine the file check so
        that sharing violations within the same process don't cause
        assertion failures.

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

19 years ago2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 13 Apr 2005 15:52:34 +0000 (15:52 -0000)]
2005-04-13  Atsushi Enomoto  <atsushi@ximian.com>

* DataTable.cs : Use GetRowType() for the base of the returning array
  type of Select(). Fix by Gerhard Rittweger.
* CustomDataClassGenerator.cs : Fixed slightly harmless wrong code.

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

19 years ago2005-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 13 Apr 2005 15:22:11 +0000 (15:22 -0000)]
2005-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: some systems don't like a NULL when deleting the socket
from epoll.

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

19 years ago2005-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 13 Apr 2005 15:16:04 +0000 (15:16 -0000)]
2005-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: fix semaphore allocation.

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

19 years agoFix #74528.
Raja R Harinath [Wed, 13 Apr 2005 14:39:07 +0000 (14:39 -0000)]
Fix #74528.
* mcs/ecore.cs (PropertyExpr.InstanceResolve): Handle a case of
IdenticalNameAndTypeName here.
(EventExpr.InstanceResolve): Likewise.
* tests/test-363.cs: New test from #74528.

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

19 years agoForgot to turn off some debug output
Dick Porter [Wed, 13 Apr 2005 14:00:30 +0000 (14:00 -0000)]
Forgot to turn off some debug output

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

19 years ago2005-04-13 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 13 Apr 2005 13:49:58 +0000 (13:49 -0000)]
2005-04-13  Dick Porter  <dick@ximian.com>

* hps.c: Update to new daemon-less code
* Makefile.am: Don't bother to build shmdel or scratch any more

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

19 years ago2005-04-13 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 13 Apr 2005 12:54:52 +0000 (12:54 -0000)]
2005-04-13  Dick Porter  <dick@ximian.com>

        * io.c (FindFirstFile): Fix bugs introduced with the merge (bug
        74586)

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

19 years agonew test
Marek Safar [Wed, 13 Apr 2005 12:32:46 +0000 (12:32 -0000)]
new test

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

19 years ago2005-04-13 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 13 Apr 2005 12:29:52 +0000 (12:29 -0000)]
2005-04-13  Marek Safar  <marek.safar@seznam.cz>

C# 2.0 DefaultCharSetAttribute implementation

* attribute.cs (Attribute.ResolveAsTypeStep): New protected method
which allows us to set GlobalNamespace for every resolve.
(Attribute.ResolveArguments): Cut from Resolve.
(Attribute.GetCharSetValue): Returns CharSet named argument.
(Attribute.DefinePInvokeMethod): Gets default charset from
module settings.
(GlobalAttribute.ResolveAsTypeStep): Override.
(GlobalAttribute.ResolveArguments): Override.

* class.cs (TypeAttr): Is protected.

* codegen.cs (ModuleClass.DefaultCharSet): New member.
(ModuleClass.DefaultCharSetType): New memeber.
(ModuleClass.ResolveAttributes): Resolves DefaultCharSetAttribute.

* decl.cs (Decl.TypeAttr): New protected virtual. Returns default
charset from module.

* delegate.cs (TypeAttr): Override.
(Delegate.DefineType): Use this TypeAttr.

* driver.cs (Driver.MainDriver): Call Module.ResolveAttributes
at very early stage (before types are defined) to resolve model
module attributes. It will probably not work with corlib but it
should be ok.

* enum.cs (Enum.TypeAttr): New protected virtual. Returns default
charset from module.

* typemanager.cs (default_charset_type): New type.

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

19 years ago**** Merged r41348 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:48:48 +0000 (11:48 -0000)]
**** Merged r41348 from MCS ****

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

19 years ago**** Merged r41316 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:47:57 +0000 (11:47 -0000)]
**** Merged r41316 from MCS ****

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

19 years ago**** Merged r41309 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:47:05 +0000 (11:47 -0000)]
**** Merged r41309 from MCS ****

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

19 years ago**** Merged r41289 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:46:27 +0000 (11:46 -0000)]
**** Merged r41289 from MCS ****

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

19 years ago**** Merged r41284 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:45:28 +0000 (11:45 -0000)]
**** Merged r41284 from MCS ****

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

19 years ago**** Merged r41281 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:45:00 +0000 (11:45 -0000)]
**** Merged r41281 from MCS ****

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

19 years ago**** Merged r41279 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:43:09 +0000 (11:43 -0000)]
**** Merged r41279 from MCS ****

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

19 years ago**** Merged r41276 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:42:42 +0000 (11:42 -0000)]
**** Merged r41276 from MCS ****

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

19 years ago**** Merged r41268 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:42:15 +0000 (11:42 -0000)]
**** Merged r41268 from MCS ****

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

19 years ago**** Merged 41207 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:41:48 +0000 (11:41 -0000)]
**** Merged 41207 from MCS ****

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

19 years ago**** Merged r41187 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:41:06 +0000 (11:41 -0000)]
**** Merged r41187 from MCS ****

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

19 years ago**** Merged r41134 from MCS ****
Martin Baulig [Wed, 13 Apr 2005 11:40:12 +0000 (11:40 -0000)]
**** Merged r41134 from MCS ****

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

19 years ago2005-04-13 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 13 Apr 2005 11:17:31 +0000 (11:17 -0000)]
2005-04-13  Sebastien Pouliot  <sebastien@ximian.com>

* ChangeLog: New. Track changes for the mutual tool;
* ca.pem
* client.p12: New. PKCS#12 file containing the client certificate
chain and the private key to the end-entity certificate.
* client.pem: New. Client certificate in PEM (base64) format.
* Makefile: New. To build the mutual tool;
* mutual.cs: New. Mutual authentication test tool. Heavily based on
the code supplied by Mark Wuesthoff from Middsol for bug #71696.
* README: New. Instruction on how to use the tool;
* server_cert.pem: New. Server certificate in PEM (base64) format.
* server_key.pem: New. Server private key in PEM (base64) format.
* server.sh: New. Server script to use OpenSSL to accept (and require)
client certificates.

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

19 years ago* decl.cs (MemberCache.AddMethods): Don't warn if
Raja R Harinath [Wed, 13 Apr 2005 11:05:05 +0000 (11:05 -0000)]
* decl.cs (MemberCache.AddMethods): Don't warn if
System.Object.Finalize has buggy MethodAttributes.

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

19 years agoCompilation fix.
Paolo Molaro [Wed, 13 Apr 2005 10:55:35 +0000 (10:55 -0000)]
Compilation fix.

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

19 years agoNew test.
Raja R Harinath [Wed, 13 Apr 2005 10:55:18 +0000 (10:55 -0000)]
New test.

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

19 years agoTo support 'Or' argument of AttributeTargets in AttributeUsage
Manjula GHM [Wed, 13 Apr 2005 10:37:15 +0000 (10:37 -0000)]
To support  'Or' argument of AttributeTargets in AttributeUsage

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

19 years ago* typemanager.cs (IsUnmanagedType): Restore !IsValueType check
Raja R Harinath [Wed, 13 Apr 2005 10:21:45 +0000 (10:21 -0000)]
* typemanager.cs (IsUnmanagedType): Restore !IsValueType check
removed below.

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

19 years agoIn .:
Ankit Jain [Wed, 13 Apr 2005 09:57:47 +0000 (09:57 -0000)]
In .:
2005-04-13 Ankit Jain <ankit@corewars.org>

* mono-api-diff.cs (XmlParameter): Revert type of defaultValue
from object to string, since the value is read from XML.

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

19 years ago2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 13 Apr 2005 09:10:43 +0000 (09:10 -0000)]
2005-04-13  Atsushi Enomoto  <atsushi@ximian.com>

* CustomDataClassGenerator.cs : custom relation was not added to
  Relations property. The second entry of bug #69276 was fixed.
  Patch by Daniel Rodriguez.

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

19 years ago2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 13 Apr 2005 09:01:39 +0000 (09:01 -0000)]
2005-04-08  Lluis Sanchez Gual <lluis@novell.com>

* System.Web.dll.sources: Added new files:
System.Web.UI.WebControls/DetailsView.cs
System.Web.UI.WebControls/DetailsViewRow.cs
System.Web.UI.WebControls/DetailsViewRowCollection.cs

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

19 years ago2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 13 Apr 2005 09:01:03 +0000 (09:01 -0000)]
2005-04-07  Lluis Sanchez Gual <lluis@novell.com>

* TemplateControlCompiler.cs: Avoid using the GetConverter() trick
for primitive types. Parse an empty color string as Color.Empty.
Get the converter for a property using its PropertyDescriptor.

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

19 years ago2005-04-13 LLuis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 13 Apr 2005 08:53:39 +0000 (08:53 -0000)]
2005-04-13  LLuis Sanchez Gual  <lluis@novell.com>

* TypeDescriptor.cs: When creating a converter, use a constructor that
takes a Type parameter if exists.
* PropertyDescriptor.cs: In the Converter property, check for a
TypeConverterAttribute in the property.

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

19 years ago2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 13 Apr 2005 08:06:20 +0000 (08:06 -0000)]
2005-04-13  Atsushi Enomoto  <atsushi@ximian.com>

* doc.cs : detect ambiguous reference to overloaded members.
  Fixed bug #71603. MS 1.1 csc does not detect it.

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

19 years ago2005-04-13 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 13 Apr 2005 07:05:58 +0000 (07:05 -0000)]
2005-04-13  Marek Safar  <marek.safar@seznam.cz>

* DefaultCharSetAttribute.cs: Removed useless using.

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

19 years ago2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 13 Apr 2005 07:00:42 +0000 (07:00 -0000)]
2005-04-13  Atsushi Enomoto  <atsushi@ximian.com>

* doc.cs : delegates must not be referenced with parameters.
  Fixed bug #71605.

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

19 years agoSupport for late binding (not yet complete, not tested thoroughly)
Satya Sudha K [Wed, 13 Apr 2005 06:57:46 +0000 (06:57 -0000)]
Support for late binding (not yet complete, not tested thoroughly)

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

19 years ago2005-04-13 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 13 Apr 2005 06:52:42 +0000 (06:52 -0000)]
2005-04-13  Marek Safar  <marek.safar@seznam.cz>

* TypeBuilder.cs (SetCustomAttribute): StructLayoutAttribute.CharSet
has to overwrite current settings.

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

19 years ago* StringType.cs, ForEachEnum.cs: Removed a warning
Satya Sudha K [Wed, 13 Apr 2005 06:31:50 +0000 (06:31 -0000)]
* StringType.cs, ForEachEnum.cs: Removed a warning
* VBBinder.cs
* LateBinding.cs :
                Added support for Late Binding. (Not yet complete. Just a basic 'LateCall' works)
* ObjectType.cs :
                Fixed the functions 'CTypeHelper', 'IsWideningConversion' and 'IsWiderNumeric'

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

19 years ago* configure.in (AC_OUTPUT): Remove 'mono/handles' directory.
Raja R Harinath [Wed, 13 Apr 2005 05:32:50 +0000 (05:32 -0000)]
* configure.in (AC_OUTPUT): Remove 'mono/handles' directory.

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

19 years ago2005-04-12 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 13 Apr 2005 01:38:44 +0000 (01:38 -0000)]
2005-04-12  Miguel de Icaza  <miguel@novell.com>

* typemanager.cs (IsUnmanagedType): Arrays are allowed.

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

19 years ago2005-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 12 Apr 2005 21:42:15 +0000 (21:42 -0000)]
2005-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: added epoll() based implementation for asynchronous IO
that is used instead of the default poll() when available.
It can be disabled by setting MONO_DISABLE_AIO.

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

19 years ago**** Merged r41091 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 21:03:02 +0000 (21:03 -0000)]
**** Merged r41091 from MCS ****

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

19 years ago**** Merged r41087 ****
Martin Baulig [Tue, 12 Apr 2005 21:01:19 +0000 (21:01 -0000)]
**** Merged r41087 ****

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

19 years ago**** Merged r41043 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 21:00:24 +0000 (21:00 -0000)]
**** Merged r41043 from MCS ****

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

19 years ago**** Merged r41006-r41024 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 20:59:23 +0000 (20:59 -0000)]
**** Merged r41006-r41024 from MCS ****

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

19 years ago**** Merged r40996 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 20:57:36 +0000 (20:57 -0000)]
**** Merged r40996 from MCS ****

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

19 years ago**** Merged r40980 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 20:52:59 +0000 (20:52 -0000)]
**** Merged r40980 from MCS ****

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

19 years agoupdated
Gonzalo Paniagua Javier [Tue, 12 Apr 2005 20:19:35 +0000 (20:19 -0000)]
updated

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

19 years ago2005-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 12 Apr 2005 20:18:16 +0000 (20:18 -0000)]
2005-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* configure.in: added checks for epoll().

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

19 years ago**** Merged r40977-40980 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 19:54:28 +0000 (19:54 -0000)]
**** Merged r40977-40980 from MCS ****

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

19 years ago2005-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 12 Apr 2005 19:44:05 +0000 (19:44 -0000)]
2005-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: windows needs 'closesocket' and instead of returning
0 when the stream is closed while in select, it returns -1. Fixes bug
#74573.

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

19 years ago*** Merged r40977 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 18:31:00 +0000 (18:31 -0000)]
*** Merged r40977 from MCS ****

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

19 years ago* SslHandshakeHash.cs: Changed SslHash to MD5SHA1. Fix #71696.
Sebastien Pouliot [Tue, 12 Apr 2005 18:27:01 +0000 (18:27 -0000)]
* SslHandshakeHash.cs: Changed SslHash to MD5SHA1. Fix #71696.

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

19 years ago2005-04-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 12 Apr 2005 18:24:45 +0000 (18:24 -0000)]
2005-04-12  Sebastien Pouliot  <sebastien@ximian.com>

* TlsClientCertificateVerify.cs: Add missing data length (16 bits -
not to be confused with the record 24 bits length) before the RSA
signature of the MD5SHA1 hash. Fix #71696.

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

19 years ago2005-04-12 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Tue, 12 Apr 2005 18:04:57 +0000 (18:04 -0000)]
2005-04-12  Geoff Norton  <gnorton@customerdna.com>

        * configure.in: Disable -O2 on PPC until #74562 is fixed.

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

19 years ago**** Merged r40971 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 17:55:01 +0000 (17:55 -0000)]
**** Merged r40971 from MCS ****

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