Miguel de Icaza [Mon, 4 Oct 2004 20:42:22 +0000 (20:42 -0000)]
nullref is what should be printed out here
svn path=/trunk/mono/; revision=34686
Atsushi Eno [Mon, 4 Oct 2004 20:30:23 +0000 (20:30 -0000)]
2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigatorReader.cs : When the reader's root node is not of type
Root, it incorrectly skipped the node itself.
svn path=/trunk/mcs/; revision=34685
Gonzalo Paniagua Javier [Mon, 4 Oct 2004 20:25:38 +0000 (20:25 -0000)]
2004-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWebRequest.cs: ProxyQuery returns true when we use a proxy without
tunneling a secure connection.
* ServicePoint.cs: added UseConnect property.
* ServicePointManager.cs: set the UseConnect property when we use a http
proxy for a https connection.
* WebConnection.cs: setup the tunnled connection when using a proxy and
https.
svn path=/trunk/mcs/; revision=34682
Gonzalo Paniagua Javier [Mon, 4 Oct 2004 20:25:24 +0000 (20:25 -0000)]
2004-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpsClientStream.cs: the .ctor receives a pre-read buffer now.
* SslClientStream.cs: added InputBuffer property.
svn path=/trunk/mcs/; revision=34681
Zoltan Varga [Mon, 4 Oct 2004 20:09:33 +0000 (20:09 -0000)]
2004-10-04 Zoltan Varga <vargaz@freemail.hu>
* icall.c (ves_icall_InternalInvoke): Throw an exception when calling
constructor of abstract class. Fixes #61689.
svn path=/trunk/mono/; revision=34680
Atsushi Eno [Mon, 4 Oct 2004 19:30:12 +0000 (19:30 -0000)]
2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
* HtmlEmitter.cs : TH tag is not regarded as HTML tag.
This fixes bug #67390.
svn path=/trunk/mcs/; revision=34678
Zoltan Varga [Mon, 4 Oct 2004 19:29:21 +0000 (19:29 -0000)]
2004-10-04 Zoltan Varga <vargaz@freemail.hu>
* web/team.xml: Update my info.
svn path=/trunk/mono/; revision=34677
Juraj Skripsky [Mon, 4 Oct 2004 18:10:27 +0000 (18:10 -0000)]
2004-10-04 Juraj Skripsky <js@hotfeet.ch>
* namespace.cs (NamespaceEntry.Using): No matter which warning
level is set, check if this namespace name has already been added.
svn path=/trunk/mcs/; revision=34675
Zoltan Varga [Mon, 4 Oct 2004 16:17:37 +0000 (16:17 -0000)]
2004-10-04 Zoltan Varga <vargaz@freemail.hu>
* AppDomain.cs: Make ThreadStatic variables static. Fixes #56614.
svn path=/trunk/mcs/; revision=34673
Miguel de Icaza [Mon, 4 Oct 2004 15:36:04 +0000 (15:36 -0000)]
Add zlib_macros.c from Chris Lahey
svn path=/trunk/mono/; revision=34672
Atsushi Eno [Mon, 4 Oct 2004 13:36:37 +0000 (13:36 -0000)]
2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
* DataSet.cs : For a row, when a relation is not nested, then it is
still output target since it won't be written as a child of its
parent. It fixes bug #66379.
svn path=/trunk/mcs/; revision=34670
Sanja Gupta [Mon, 4 Oct 2004 12:56:58 +0000 (12:56 -0000)]
ChangeLog: Updated ChangeLog.
ParameterCollection.cs: Updated.
svn path=/trunk/mcs/; revision=34669
Zoltan Varga [Mon, 4 Oct 2004 12:33:39 +0000 (12:33 -0000)]
2004-10-04 Zoltan Varga <vargaz@freemail.hu>
* NGenAttribute.cs: Add ComVisible (false).
svn path=/trunk/mcs/; revision=34668
Raja R Harinath [Mon, 4 Oct 2004 12:15:10 +0000 (12:15 -0000)]
* System.IO.Compression/DeflateStreamTest.cs: NET_2_0 only.
* System.IO.Compression/GzipStreamTest.cs: Likewise.
Report from Mayank Ritvik <mritvik@novell.com>.
svn path=/trunk/mcs/; revision=34667
Sanja Gupta [Mon, 4 Oct 2004 12:04:22 +0000 (12:04 -0000)]
ChangeLog: Updated ChangeLog.
Parameter.cs: Updated and completed implementation.
svn path=/trunk/mcs/; revision=34666
Martin Baulig [Mon, 4 Oct 2004 12:04:11 +0000 (12:04 -0000)]
2004-10-04 Martin Baulig <martin@ximian.com>
* class-internals.h (MonoGenericContainer): New type.
(MonoMethodNormal): Replaced `MonoGenericParam *gen_params' with
`MonoGenericContainer *generic_container'.
(MonoClass): Replaced `gen_params' and `num_gen_params' with
`MonoGenericContainer *generic_container'.
* metadata.c (mono_metadata_load_generic_params): Return a
`MonoGenericContainer *' instead of a `MonoGenericParam *';
removed the `num' argument.
svn path=/trunk/mono/; revision=34665
Neale Ferguson [Mon, 4 Oct 2004 11:57:04 +0000 (11:57 -0000)]
Minor fix to OP_OR_IMM.
svn path=/trunk/mono/; revision=34664
Zoltan Varga [Mon, 4 Oct 2004 11:53:13 +0000 (11:53 -0000)]
2004-10-04 Zoltan Varga <vargaz@freemail.hu>
* *.cs: Add some more 2.0 stuff.
svn path=/trunk/mcs/; revision=34663
Ravindra [Mon, 4 Oct 2004 10:58:41 +0000 (10:58 -0000)]
Updated project.
svn path=/trunk/mcs/; revision=34662
Zoltan Varga [Mon, 4 Oct 2004 09:55:07 +0000 (09:55 -0000)]
2004-10-04 Zoltan Varga <vargaz@freemail.hu>
* corlib.dll.sources: Add more 2.0 classes under System.Runtime.InteropServices.
svn path=/trunk/mcs/; revision=34661
Zoltan Varga [Mon, 4 Oct 2004 09:51:57 +0000 (09:51 -0000)]
2004-10-04 Zoltan Varga <vargaz@freemail.hu>
* *.cs: Add more 2.0 stuff.
svn path=/trunk/mcs/; revision=34660
Zoltan Varga [Mon, 4 Oct 2004 09:41:04 +0000 (09:41 -0000)]
2004-10-04 Zoltan Varga <vargaz@freemail.hu>
* MethodImplOptions.cs MethodCodeType.cs RuntimeHelpers.cs DecimalConstantAttribute.cs: Add 2.0 stuff.
svn path=/trunk/mcs/; revision=34659
Zoltan Varga [Mon, 4 Oct 2004 09:23:28 +0000 (09:23 -0000)]
2004-10-04 Zoltan Varga <vargaz@freemail.hu>
* ModuleBuilder.cs (DefineType): Check for duplicate type names. Fixes
#65988.
svn path=/trunk/mcs/; revision=34657
Zoltan Varga [Mon, 4 Oct 2004 09:04:59 +0000 (09:04 -0000)]
2004-10-04 Zoltan Varga <vargaz@freemail.hu>
* corlib.dll.sources: Add new 2.0 classes under System.Runtime.InteropServices.
svn path=/trunk/mcs/; revision=34656
Zoltan Varga [Mon, 4 Oct 2004 09:01:29 +0000 (09:01 -0000)]
2004-10-04 Zoltan Varga <vargaz@freemail.hu>
* *.cs: Add new 2.0 classes.
svn path=/trunk/mcs/; revision=34655
Peter Dennis Bartok [Mon, 4 Oct 2004 08:14:40 +0000 (08:14 -0000)]
- Initial check-in
svn path=/trunk/mcs/; revision=34654
Ravindra [Mon, 4 Oct 2004 07:53:06 +0000 (07:53 -0000)]
* gdipFunctioncs.cs: Fix from Alois for bug #67383.
svn path=/trunk/mcs/; revision=34652
Jordi Mas i Hernandez [Mon, 4 Oct 2004 07:09:37 +0000 (07:09 -0000)]
fixes right button position causing right button not showing on horizontal scrollbars
svn path=/trunk/mcs/; revision=34651
Gonzalo Paniagua Javier [Mon, 4 Oct 2004 02:37:00 +0000 (02:37 -0000)]
2004-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* system.c: check the number of online processors instead of the
existing ones. Sanitize return value if it's an error.
svn path=/trunk/mono/; revision=34650
Ben Maurer [Mon, 4 Oct 2004 01:38:46 +0000 (01:38 -0000)]
2004-10-03 Ben Maurer <bmaurer@ximian.com>
* expression.cs: reftype [!=]= null should always use br[true,false].
# 67410
svn path=/trunk/mcs/; revision=34648
Ben Maurer [Mon, 4 Oct 2004 01:09:47 +0000 (01:09 -0000)]
build fixeroo
svn path=/trunk/mcs/; revision=34647
Atsushi Eno [Mon, 4 Oct 2004 00:37:52 +0000 (00:37 -0000)]
2004-10-03 Atsushi Enomoto <atsushi@ximian.com>
* DataSet.cs : Attribute constraint field XPath must be written as
@blah. This fixes bug #66366.
svn path=/trunk/mcs/; revision=34646
Ben Maurer [Sun, 3 Oct 2004 21:59:09 +0000 (21:59 -0000)]
2004-10-03 Ben Maurer <bmaurer@ximian.com>
* HttpResponse.cs: use UtcNow
svn path=/trunk/mcs/; revision=34642
Ben Maurer [Sun, 3 Oct 2004 21:55:41 +0000 (21:55 -0000)]
2004-10-03 Ben Maurer <bmaurer@ximian.com>
* Cache.cs, CacheEntry.cs, CacheExpires.cs, ExpiresBuckets.cs:
use UtcNow rather than Now.
svn path=/trunk/mcs/; revision=34640
Marek Safar [Sun, 3 Oct 2004 20:54:49 +0000 (20:54 -0000)]
2004-10-03 Marek Safar <marek.safar@seznam.cz>
* test-297.cs: Incorporated test for #67108
svn path=/trunk/mcs/; revision=34639
Ben Maurer [Sun, 3 Oct 2004 20:54:10 +0000 (20:54 -0000)]
2004-10-03 Ben Maurer <bmaurer@ximian.com>
* system.c: Add support for getting the # of cpus.
svn path=/trunk/mono/; revision=34638
Zoltan Varga [Sun, 3 Oct 2004 20:52:58 +0000 (20:52 -0000)]
2004-10-04 Zoltan Varga <vargaz@freemail.hu>
* Runtime*Handle.cs ModuleHandle.cs: Add Equals + GetHashCode.
* ModuleHandle.cs: Add missing methods.
* RuntimeTypeHandle.cs: Add GetModuleHandle () method.
svn path=/trunk/mcs/; revision=34637
Marek Safar [Sun, 3 Oct 2004 20:52:58 +0000 (20:52 -0000)]
2004-10-03 Marek Safar <marek.safar@seznam.cz>
Fix #67108
* attribute.cs: Enum conversion moved to
GetAttributeArgumentExpression to be applied to the all
expressions.
svn path=/trunk/mcs/; revision=34636
Zoltan Varga [Sun, 3 Oct 2004 19:05:39 +0000 (19:05 -0000)]
2004-10-03 Zoltan Varga <vargaz@freemail.hu>
* tramp-sparc.c (sparc_magic_trampoline): Handle appdomain stuff
better. Fixes appdomain-unload.exe on sparc.
svn path=/trunk/mono/; revision=34635
Zoltan Varga [Sun, 3 Oct 2004 18:02:38 +0000 (18:02 -0000)]
2004-10-03 Zoltan Varga <vargaz@freemail.hu>
* AttributeTargets.cs: Add 2.0 GenericParameter value.
svn path=/trunk/mcs/; revision=34634
Miguel de Icaza [Sun, 3 Oct 2004 16:44:36 +0000 (16:44 -0000)]
Update
svn path=/trunk/mono/; revision=34633
Zoltan Varga [Sun, 3 Oct 2004 16:31:32 +0000 (16:31 -0000)]
2004-10-03 Zoltan Varga <vargaz@freemail.hu>
* AssemblyBuilderAccess.cs: Remove [Flags].
* PackingSize.cs: Add new 2.0 members. Remove [Flags].
* AssemblyBuilder.cs: Add net 2.0 Save method.
* LocalBuilder.cs: Make this inherit from LocalVariableInfo under
net 2.0. Reorganize fields so the layout visible to the runtime is the
same under 1.0 and 2.0. Add 2.0 properties.
svn path=/trunk/mcs/; revision=34632
Zoltan Varga [Sun, 3 Oct 2004 16:29:27 +0000 (16:29 -0000)]
2004-10-03 Zoltan Varga <vargaz@freemail.hu>
* icall.c (ves_icall_System_Reflection_Module_GetPEKind): Add support
for dynamic images.
* object-internals.h (MonoReflectionAssemblyBuilder): Add pe_kind and
machine fields.
* metadata-internals.h (MonoDynamicImage): Add pe_kind and machine fields.
* reflection.c: Save pe_kind and machine values into the generated
image file.
svn path=/trunk/mono/; revision=34631
Zoltan Varga [Sun, 3 Oct 2004 15:47:30 +0000 (15:47 -0000)]
2004-10-03 Zoltan Varga <vargaz@freemail.hu>
* appdomain.c: Bump corlib version number.
* object-internals.h: Reorganize layout of LocalBuilder.
svn path=/trunk/mono/; revision=34630
Zoltan Varga [Sun, 3 Oct 2004 15:46:04 +0000 (15:46 -0000)]
2004-10-03 Zoltan Varga <vargaz@freemail.hu>
* Environment.cs: Bump corlib version.
svn path=/trunk/mcs/; revision=34629
Zoltan Varga [Sun, 3 Oct 2004 15:44:24 +0000 (15:44 -0000)]
2004-10-03 Zoltan Varga <vargaz@freemail.hu>
* LocalBuilder.cs: Make this inherit from LocalVariableInfo under
net 2.0. Reorganize fields so the layout visible to the runtime is the
same under 1.0 and 2.0. Add 2.0 properties.
svn path=/trunk/mcs/; revision=34628
Zoltan Varga [Sun, 3 Oct 2004 15:42:23 +0000 (15:42 -0000)]
2004-10-03 Zoltan Varga <vargaz@freemail.hu>
* LocalVariableInfo.cs: Reorganize fields so LocalBuilder can inherit
from this class.
svn path=/trunk/mcs/; revision=34627
Zoltan Varga [Sun, 3 Oct 2004 13:44:52 +0000 (13:44 -0000)]
2004-10-03 Zoltan Varga <vargaz@freemail.hu>
* class-internals.h class.c (mono_class_get_implemented_interfaces):
New helper function.
svn path=/trunk/mono/; revision=34626
Zoltan Varga [Sun, 3 Oct 2004 12:48:09 +0000 (12:48 -0000)]
2004-10-03 Zoltan Varga <vargaz@freemail.hu>
* icall.c (ves_icall_System_Reflection_Assembly_GetTypes): Return the
created MonoType for dynamic types. Fixes #66180.
svn path=/trunk/mono/; revision=34625
Ben Maurer [Sat, 2 Oct 2004 23:51:07 +0000 (23:51 -0000)]
2004-10-02 Ben Maurer <bmaurer@ximian.com>
* threadpool.c: the ares hashtable needs a critical section around it.
this prevents some nasty segfaults
svn path=/trunk/mono/; revision=34622
Massimiliano Mantione [Sat, 2 Oct 2004 21:12:06 +0000 (21:12 -0000)]
Updated the changelogs to give credit to will@exomi.com (Ville-Pertti Keinonen) for the patch and put the bug number.
svn path=/trunk/mono/; revision=34621
Massimiliano Mantione [Sat, 2 Oct 2004 20:45:31 +0000 (20:45 -0000)]
2004-10-02 Massimiliano Mantione <massi@ximian.com>
* ssa.c: Fixed casts to unsigned where the value was of 64 bits in
simulate_long_compare.
* process.c: Fixed alignments to 32 bits (casting to unsigned is unsafe on
64 bits platforms).
svn path=/trunk/mono/; revision=34620
Miguel de Icaza [Sat, 2 Oct 2004 19:48:46 +0000 (19:48 -0000)]
Apply fix from joe.gasiorek@gmail.com (Joe Gasiorek)
svn path=/trunk/mcs/; revision=34619
Peter Dennis Bartok [Sat, 2 Oct 2004 19:12:18 +0000 (19:12 -0000)]
- Simplified the Invalidate method by using an X call instead of generating
the expose ourselves
- Added an expose when the window background is changed
- Implemented ClientToScreen method
svn path=/trunk/mcs/; revision=34618
Peter Dennis Bartok [Sat, 2 Oct 2004 19:08:38 +0000 (19:08 -0000)]
- Added Win32EnableWindow method (test for implementing modal dialogs)
- Added ClientToScreen method and imports
svn path=/trunk/mcs/; revision=34617
Peter Dennis Bartok [Sat, 2 Oct 2004 19:07:36 +0000 (19:07 -0000)]
- Added ClientToScreen coordinate translation method
svn path=/trunk/mcs/; revision=34616
Peter Dennis Bartok [Sat, 2 Oct 2004 19:06:40 +0000 (19:06 -0000)]
- Fixed access level for constructor
svn path=/trunk/mcs/; revision=34615
Peter Dennis Bartok [Sat, 2 Oct 2004 19:06:20 +0000 (19:06 -0000)]
- Changed access level for the window_collection hash table
svn path=/trunk/mcs/; revision=34614
Peter Dennis Bartok [Sat, 2 Oct 2004 19:05:52 +0000 (19:05 -0000)]
- Added KeyPreview property
- Added Menu property (still incomplete, pending Jordi's menu work)
- Implemented ProcessCmdKey
- Implemented ProcessDialogKey
- Implemented ProcessKeyPreview
svn path=/trunk/mcs/; revision=34613
Peter Dennis Bartok [Sat, 2 Oct 2004 19:02:56 +0000 (19:02 -0000)]
- Added private method to get the Control object from the window handle
- Implemented ContextMenu property
- Implemented PointToScreen
- Implemented PreProcessMessage
- Implemented IsInputChar
- Implemented IsInputKey
- Implemented ProcessCmdKey
- Completed ProcessKeyEventArgs
- Fixed message loop to call the proper chain of functions on key events
- Implemented ProcessDialogChar
- Implemented ProcessDialogKey
- Implemented ProcessKeyMessage
- Implemented ProcessKeyPreview
- Added RaiseDragEvent stub (MS internal method)
- Added RaiseKeyEvent stub (MS internal method)
- Added RaiseMouseEvent stub (MS Internal method)
- Added RaisePaintEvent stub (MS Internal method)
- Added ResetMouseEventArgs stub (MS Internal method)
- Implemented RtlTranslateAlignment
- Implemented RtlTranslateContent
- Implemented RtlTranslateHorizontal
- Implemented RtlTranslateLeftRight
- Added generation of KeyPress event
svn path=/trunk/mcs/; revision=34612
Peter Dennis Bartok [Sat, 2 Oct 2004 18:55:20 +0000 (18:55 -0000)]
- Added LeftRightAlignment source reference
svn path=/trunk/mcs/; revision=34611
Miguel de Icaza [Sat, 2 Oct 2004 18:48:07 +0000 (18:48 -0000)]
Add System.IO.Compression from Chris Lahey (clahey@ximian.com)
svn path=/trunk/mcs/; revision=34610
Zoltan Varga [Sat, 2 Oct 2004 14:47:25 +0000 (14:47 -0000)]
2004-10-02 Zoltan Varga <vargaz@freemail.hu>
* Int32Test.cs: Add tests for TryParse ().
svn path=/trunk/mcs/; revision=34609
Zoltan Varga [Sat, 2 Oct 2004 14:46:45 +0000 (14:46 -0000)]
2004-10-02 Zoltan Varga <vargaz@freemail.hu>
* Int32.cs UInt32.cs Byte.cs SByte.cs Int16.cs UInt16.cs Int64.cs UInt64.cs: Implement 2.0 TryParse methods.
svn path=/trunk/mcs/; revision=34608
Zoltan Varga [Sat, 2 Oct 2004 12:55:10 +0000 (12:55 -0000)]
2004-10-02 Zoltan Varga <vargaz@freemail.hu>
* jit-icalls.c: Handle a nonexisting trunc function more correctly.
svn path=/trunk/mono/; revision=34607
Ravindra [Sat, 2 Oct 2004 11:57:56 +0000 (11:57 -0000)]
Added attributes.
svn path=/trunk/mcs/; revision=34606
Ravindra [Sat, 2 Oct 2004 11:32:01 +0000 (11:32 -0000)]
Added attributes.
svn path=/trunk/mcs/; revision=34605
Gert Driesen [Sat, 2 Oct 2004 10:48:16 +0000 (10:48 -0000)]
* TypeBuilderTest.cs: Added test to ensure NotSupportedException is
thrown when creating a type with a default ctor while parent does
not have a default ctor.
svn path=/trunk/mcs/; revision=34604
Gert Driesen [Sat, 2 Oct 2004 10:46:45 +0000 (10:46 -0000)]
ChangeLog: removed conflict indicators
svn path=/trunk/mcs/; revision=34603
Gert Driesen [Sat, 2 Oct 2004 10:44:53 +0000 (10:44 -0000)]
* TypeBuilder.cs: throw NotSupportedException when defining default
ctor if parent type does not have default ctor
svn path=/trunk/mcs/; revision=34602
Marek Safar [Fri, 1 Oct 2004 22:12:13 +0000 (22:12 -0000)]
2004-10-02 Marek Safar <marek.safar@seznam.cz>
* CSharpCodeCompiler.cs: Fix #65722.
svn path=/trunk/mcs/; revision=34601
Jackson Harper [Fri, 1 Oct 2004 17:53:26 +0000 (17:53 -0000)]
Implement the Close method so work on MessageBox can continue.
svn path=/trunk/mcs/; revision=34600
John Luke [Fri, 1 Oct 2004 17:42:18 +0000 (17:42 -0000)]
2004-10-01 John Luke <john.luke@gmail.com>
* *.cs: fix some incorrect tests by either addding a Main method,
or adding a -t:library compiler option. Makes one test pass, and adds
19 to *-expect-wrong-error as they compile when they shouldn't
* *mcs-expect-*-error: update
svn path=/trunk/mcs/; revision=34599
Gonzalo Paniagua Javier [Fri, 1 Oct 2004 13:10:44 +0000 (13:10 -0000)]
2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: even if the control has no children the naming container
may contain the control we're looking for. Fixes bug #67304.
svn path=/trunk/mcs/; revision=34593
Sureshkumar T [Fri, 1 Oct 2004 13:09:13 +0000 (13:09 -0000)]
* DbProviderFactories.cs: Implemented all the stubs. Added functionality for
getting available provider factories and creating a specified provider factory.
* DbProviderFactoriesConfigurationHandler.cs: Added functionality for handling
DbProviderFactories configuration section.
* DbProviderFactory.cs: Added protected constructor. SupportedClasses property
is made abstract.
svn path=/trunk/mcs/; revision=34592
Sanja Gupta [Fri, 1 Oct 2004 10:46:55 +0000 (10:46 -0000)]
ChangeLog: Updated ChangeLog.
ParameterCollection.cs: Resolved warnings, "Unreachable code detected" while compilation.
svn path=/trunk/mcs/; revision=34591
Sanja Gupta [Fri, 1 Oct 2004 10:43:59 +0000 (10:43 -0000)]
ChangeLog: Updated ChangeLog.
AccessDataSource.cs: Initial implementation.
svn path=/trunk/mcs/; revision=34590
Anirban Bhattacharjee [Fri, 1 Oct 2004 08:24:19 +0000 (08:24 -0000)]
2004-10-01 Anirban Bhattacharjee <banirban@novell.com>
* ecore.cs: Bug fixing - when event raised from other assembly
svn path=/trunk/mcs/; revision=34589
Raja R Harinath [Fri, 1 Oct 2004 05:23:57 +0000 (05:23 -0000)]
* cs0122-5.cs, cs0122-6.cs: New tests.
* gmcs-expect-no-error: Update.
svn path=/trunk/mcs/; revision=34587
Raja R Harinath [Fri, 1 Oct 2004 05:17:23 +0000 (05:17 -0000)]
* Makefile (NEW_TEST_SOURCES_common): Add test-300.
* test-300.cs: New. Test based on #65833.
svn path=/trunk/mcs/; revision=34586
Raja R Harinath [Fri, 1 Oct 2004 05:16:01 +0000 (05:16 -0000)]
Fix #65833, test-300.cs, cs0122-5.cs, cs0122-6.cs.
* class.c (TypeContainer.DefineType): Flag error if
base types aren't accessible due to access permissions.
* decl.cs (DeclSpace.ResolveType): Move logic to
Expression.ResolveAsTypeTerminal.
(DeclSpace.ResolveTypeExpr): Thin layer over
Expression.ResolveAsTypeTerminal.
(DeclSpace.CheckAccessLevel, DeclSpace.FamilyAccess):
Refactor code into NestedAccess. Use it.
(DeclSpace.NestedAccess): New.
* ecore.cs (Expression.ResolveAsTypeTerminal): Add new
argument to silence errors. Check access permissions.
(TypeExpr.DoResolve, TypeExpr.ResolveType): Update.
* expression.cs (ProbeExpr.DoResolve): Use ResolveAsTypeTerminal.
(Cast.DoResolve): Likewise.
(New.DoResolve): Likewise.
(InvocationOrCast.DoResolve,ResolveStatement): Likewise.
(TypeOf.DoResolve): Likewise.
* expression.cs (Invocation.BetterConversion): Return the Type of
the better conversion. Implement section 14.4.2.3 more faithfully.
(Invocation.BetterFunction): Make boolean. Make correspondence to
section 14.4.2.2 explicit.
(Invocation.OverloadResolve): Update.
(Invocation): Remove is_base field.
(Invocation.DoResolve): Don't use is_base. Use mg.IsBase.
(Invocation.Emit): Likewise.
svn path=/trunk/mcs/; revision=34585
Gonzalo Paniagua Javier [Fri, 1 Oct 2004 03:36:52 +0000 (03:36 -0000)]
2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: SuppressContent does not throw and clears all the
buffered output. Fixes bug #67213.
svn path=/trunk/mcs/; revision=34583
Gonzalo Paniagua Javier [Fri, 1 Oct 2004 03:04:50 +0000 (03:04 -0000)]
s/Behaviour/Behavior/g Fixes bug 67261
svn path=/trunk/mcs/; revision=34581
Gonzalo Paniagua Javier [Fri, 1 Oct 2004 02:51:30 +0000 (02:51 -0000)]
2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AttributeCollection.cs: support attributes inherited from the one
we want. Fixes bug #67088. Thanks to Sander Rijken.
svn path=/trunk/mcs/; revision=34578
Geoff Norton [Fri, 1 Oct 2004 02:44:39 +0000 (02:44 -0000)]
2004-09-30 Geoff Norton <gnorton@customerdna.com>
* Convert.cs: ConvertToBase* was not endian aware. Implemented EndianSwap
and swapping of all values before going into the BitConverter so that values
are returned with proper endianess.
svn path=/trunk/mcs/; revision=34577
Francisco Figueiredo Jr. [Thu, 30 Sep 2004 21:39:06 +0000 (21:39 -0000)]
* Initial import of BSD license of LargeObject support ported code.
svn path=/trunk/mcs/; revision=34576
Francisco Figueiredo Jr. [Thu, 30 Sep 2004 21:36:09 +0000 (21:36 -0000)]
2004-09-30 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* NpgsqlTypes/FastPath.cs,
NpgsqlTypes/FastPathArg.cs,
NpgsqlTypes/LargeObject.cs,
NpgsqlTypes/LargeObjectManager.cs,
Npgsql.dll.sources: Added large object support. Thanks Emiliano Necciari (e dot necciari at blogic dot it) for the patch.
svn path=/trunk/mcs/; revision=34575
Lluis Sanchez [Thu, 30 Sep 2004 21:05:31 +0000 (21:05 -0000)]
* HttpSimpleProtocolImporter.cs: Fix import of arrays of primitive types.
svn path=/trunk/mcs/; revision=34574
Lluis Sanchez [Thu, 30 Sep 2004 20:56:52 +0000 (20:56 -0000)]
* MapCodeGenerator.cs: When the Object type is exported, export all
derived maps. This was done in IncludeMetadata, but this method is
not called by the xsd tool.
* XmlCodeExporter.cs: In AddMappingMetadata, only generate the root
attribute for primitive types and arrays.
* XmlSchemaImporter.cs: Only export all object-derived maps if the
Object type is explicitly referenced by an element.
* XmlSerializationWriter.cs: Minor fix.
svn path=/trunk/mcs/; revision=34573
Zoltan Varga [Thu, 30 Sep 2004 20:50:30 +0000 (20:50 -0000)]
2004-09-30 Zoltan Varga <vargaz@freemail.hu>
* object-internals.h (MonoReflectionTypeBuilder): Add 'created' field.
svn path=/trunk/mono/; revision=34572
Zoltan Varga [Thu, 30 Sep 2004 20:48:20 +0000 (20:48 -0000)]
2004-09-30 Zoltan Varga <vargaz@freemail.hu>
* TypeBuilder.cs: Make 'created' field visible to the runtime.
svn path=/trunk/mcs/; revision=34571
Peter Dennis Bartok [Thu, 30 Sep 2004 20:06:56 +0000 (20:06 -0000)]
- Bug fixes
svn path=/trunk/mcs/; revision=34570
Miguel de Icaza [Thu, 30 Sep 2004 18:08:29 +0000 (18:08 -0000)]
Just rename the damn file
svn path=/trunk/mcs/; revision=34569
Jackson Harper [Thu, 30 Sep 2004 17:34:08 +0000 (17:34 -0000)]
Fix typo. Patch by John BouAntoun.
svn path=/trunk/mcs/; revision=34568
Lluis Sanchez [Thu, 30 Sep 2004 15:59:13 +0000 (15:59 -0000)]
* mini.c: Always generate a field read/write wrapper for members
of the class MarshalByRefObject since the actual instance could
be a CBO.
svn path=/trunk/mono/; revision=34567
Lluis Sanchez [Thu, 30 Sep 2004 15:30:01 +0000 (15:30 -0000)]
* image.c: Always canonicalize image file names, to avoid loading
the same assembly twice when referenced using a relative path.
svn path=/trunk/mono/; revision=34566
Ravindra [Thu, 30 Sep 2004 13:32:06 +0000 (13:32 -0000)]
Updated project and sources list.
svn path=/trunk/mcs/; revision=34565
Ravindra [Thu, 30 Sep 2004 13:26:35 +0000 (13:26 -0000)]
Converter for ListViewItem.
svn path=/trunk/mcs/; revision=34564
Ravindra [Thu, 30 Sep 2004 13:26:00 +0000 (13:26 -0000)]
Enum for ListView control.
svn path=/trunk/mcs/; revision=34563
Ravindra [Thu, 30 Sep 2004 13:25:33 +0000 (13:25 -0000)]
Supporting class for ListView control.
svn path=/trunk/mcs/; revision=34562