Raja R Harinath [Wed, 3 Oct 2007 13:22:09 +0000 (13:22 -0000)]
Fix #328490
* mcs/ecore.cs (SimpleName.DoSimpleNameResolve): Handle Property and
Event accessibility checks here. Remove some bogus code that
accidently made GenericMethods work.
(PropertyExpr.IsAccessibleFrom, EventExpr.IsAccessibleFrom): New.
* tests/test-589.cs: Additional test for #328490.
* errors/cs0120-10.cs: New test based on #328490.
svn path=/trunk/mcs/; revision=86807
Atsushi Eno [Wed, 3 Oct 2007 11:01:21 +0000 (11:01 -0000)]
2007-10-03 Atsushi Enomoto <atsushi@ximian.com>
* TypeElement.cs : disable a test that causes NRE on .NET.
* SoapHttpClientProtocolTest.cs: disabled connection-oriented tests
that do not work fine on .NET 2.0.
svn path=/trunk/mcs/; revision=86802
Atsushi Eno [Wed, 3 Oct 2007 08:19:45 +0000 (08:19 -0000)]
2007-10-03 Atsushi Enomoto <atsushi@ximian.com>
* EventArrivedEventArgs.cs, EventArrivedEventHandler.cs,
EventQuery.cs, EventWatcherOptions.cs, ManagementQuery.cs,
RelatedObjectQuery.cs, RelationshipQuery.cs, SelectQuery.cs,
StoppedEventArgs.cs, StoppedEventHandler.cs, WqlEventQuery.cs,
WqlObjectQuery.cs :
oops, actually they are also included in 1.1 profile.
svn path=/trunk/mcs/; revision=86800
Atsushi Eno [Wed, 3 Oct 2007 08:13:06 +0000 (08:13 -0000)]
2007-10-03 Atsushi Enomoto <atsushi@ximian.com>
* EventArrivedEventArgs.cs, EventArrivedEventHandler.cs,
EventQuery.cs, EventWatcherOptions.cs,
ManagementDateTimeConverter.cs, ManagementEventWatcher.cs,
ManagementException.cs, RelatedObjectQuery.cs,
RelationshipQuery.cs, SelectQuery.cs, StoppedEventArgs.cs,
StoppedEventHandler.cs, WqlEventQuery.cs, WqlObjectQuery.cs:
added missing 1.x/2.0 types.
* CimType.cs, CodeLanguage.cs, ManagementBaseObject.cs,
ManagementClass.cs, ManagementNamedValueCollection.cs,
ManagementObject.cs, ManagementObjectCollection.cs,
ManagementOptions.cs, ManagementPath.cs, ManagementQuery.cs,
ManagementScope.cs, ManagementStatus.cs, MethodData.cs,
MethodDataCollection.cs, PropertyDataCollection.cs,
PutType.cs, QualifierDataCollection.cs, TextFormat.cs :
1.x/2.0 API fixes.
* System.Management.dll.sources : updated to have all 1.1/2.0 types.
svn path=/trunk/mcs/; revision=86799
Jonathan Pobst [Wed, 3 Oct 2007 02:48:36 +0000 (02:48 -0000)]
2007-10-02 Jonathan Pobst <monkey@jpobst.com>
* ComboBox.cs: For the 1.1 profile, the default SelectedText is
string.Empty, test failed from previous change.
svn path=/trunk/mcs/; revision=86793
Miguel de Icaza [Tue, 2 Oct 2007 23:49:04 +0000 (23:49 -0000)]
Force to bash
svn path=/trunk/mono/; revision=86785
Miguel de Icaza [Tue, 2 Oct 2007 23:40:26 +0000 (23:40 -0000)]
2007-10-02 Miguel de Icaza <miguel@novell.com>
* scripts/mono-test-install: (temp_exe): Add tests for dynamic
libraries that libgdiplus might be missing
;w
svn path=/trunk/mono/; revision=86784
Miguel de Icaza [Tue, 2 Oct 2007 23:30:21 +0000 (23:30 -0000)]
2007-10-02 Miguel de Icaza <miguel@novell.com>
* scripts/mono-test-install: Add detection and diagnostics for
broken System.Drawing installations.
svn path=/trunk/mono/; revision=86783
Rodrigo Kumpera [Tue, 2 Oct 2007 21:33:15 +0000 (21:33 -0000)]
2007-10-02 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (merge_stacks): major clean up, all type compatibility
checks are done by verify_type_compatibility. This fix my earlier lack
of understanding of the CLR type system and merge_stacks no longer looks
scary.
* verify.c: fixed some bad spelling.
svn path=/trunk/mono/; revision=86781
Rodrigo Kumpera [Tue, 2 Oct 2007 20:41:46 +0000 (20:41 -0000)]
* make_field_store_test.sh: sames
svn path=/trunk/mono/; revision=86774
Rodrigo Kumpera [Tue, 2 Oct 2007 20:32:38 +0000 (20:32 -0000)]
2007-10-02 Rodrigo Kumpera <rkumpera@novell.com>
* make_tests.sh: added the new tests for ops mixing Int32 and IntPtr, disabled
the overlapped tests for now
* make_unary_test.sh: disabled the overlapped tests for now
* make_field_store_test.sh: same
*
svn path=/trunk/mono/; revision=86770
Rodrigo Kumpera [Tue, 2 Oct 2007 20:30:13 +0000 (20:30 -0000)]
2007-10-02 Rodrigo Kumpera <rkumpera@novell.com>
Changelog: used the wrong date
svn path=/trunk/mono/; revision=86769
Rodrigo Kumpera [Tue, 2 Oct 2007 20:12:59 +0000 (20:12 -0000)]
2007-09-27 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (mono_type_from_stack_slot): added. returns the MonoType for
a given stack slock.
* verify.c: killed verify_type_compat in favor of verify_type_compatibility and
verify_type_compatibility_full. This removed a near indentical function and fixed
handling of Int32 and IntPtr across all opcodes.
svn path=/trunk/mono/; revision=86768
Jonathan Pobst [Tue, 2 Oct 2007 19:56:01 +0000 (19:56 -0000)]
2007-10-02 Jonathan Pobst <monkey@jpobst.com>
* TextBoxBase.cs: For the 1.1 profile, the default SelectedText
is null, not String.Empty. See bug #323038.
2007-10-02 Jonathan Pobst <monkey@jpobst.com>
* TextBoxTest.cs: Remove NotWorking from FocusSelectsAllTest.
svn path=/trunk/mcs/; revision=86767
Zoltan Varga [Tue, 2 Oct 2007 16:58:27 +0000 (16:58 -0000)]
2007-10-02 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_convert_imt_slot_to_vtable_slot): Call
mono_class_setup_vtable () before accessing klass->vtable.
svn path=/trunk/mono/; revision=86756
Marek Safar [Tue, 2 Oct 2007 14:53:11 +0000 (14:53 -0000)]
2007-10-02 Marek Safar <marek.safar@gmail.com>
A fix for bug #329685
* generics.cs (TypeInferenceContext.OutputTypeInference): Slowly
implementing method group output type inference.
svn path=/trunk/mcs/; revision=86750
Marek Safar [Tue, 2 Oct 2007 14:52:45 +0000 (14:52 -0000)]
New test.
svn path=/trunk/mcs/; revision=86749
Paolo Molaro [Tue, 2 Oct 2007 13:12:04 +0000 (13:12 -0000)]
Tue Oct 2 15:24:38 CEST 2007 Paolo Molaro <lupus@ximian.com>
* class.c: only vectors have the additional generic interfaces.
svn path=/trunk/mono/; revision=86745
Atsushi Eno [Tue, 2 Oct 2007 12:42:35 +0000 (12:42 -0000)]
2007-10-02 Atsushi Enomoto <atsushi@ximian.com>
* System.Design.dll.sources : more .NET 2.0 types.
* CodeDomLocalizationProvider.cs, CodeDomLocalizationModel.cs :
new files.
* CodeDomSerializerException.cs, CodeDomSerializerBase.cs,
TypeCodeDomSerializer.cs : cosmetic 2.0 API fixes.
* Adorner.cs, Behavior.cs, BehaviorDragDropEventArgs.cs,
BehaviorDragDropEventHandler.cs, BehaviorService.cs,
BehaviorServiceAdornerCollection.cs,
BehaviorServiceAdornerCollectionEnumerator.cs,
ComponentGlyph.cs, ControlBodyGlyph.cs, Glyph.cs,
GlyphCollection.cs, GlyphSelectionType.cs, SnapLine.cs,
SnapLinePriority.cs, SnapLineType.cs : new files.
* ControlDesigner.cs : added BehaviorService.
svn path=/trunk/mcs/; revision=86741
Jonathan Chambers [Tue, 2 Oct 2007 11:45:16 +0000 (11:45 -0000)]
2007-10-02 Jonathan Chambers <joncham@gmail.com>
* mono-io-portability.c: Init __mono_io_portability_helpers
to PORTABILITY_NONE on windows as mono_portability_helpers_init
is not always called before mono_portability_find_file.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=86738
Jb Evain [Tue, 2 Oct 2007 10:35:58 +0000 (10:35 -0000)]
2007-10-02 Jb Evain <jbevain@novell.com>
* declsec.c (declsec_20_write_type): support for bools.
svn path=/trunk/mono/; revision=86736
Marek Habersack [Tue, 2 Oct 2007 08:39:23 +0000 (08:39 -0000)]
2007-10-02 Marek Habersack <mhabersack@novell.com>
* SimpleWebHandlerParser.cs: fix the way types are loaded from
top-level assemblies.
svn path=/trunk/mcs/; revision=86735
Atsushi Eno [Tue, 2 Oct 2007 07:29:48 +0000 (07:29 -0000)]
2007-10-02 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : added -r:System.Xml.dll
* System.Design.dll.sources : added couple more of new .NET 2.0 types.
* DesignerDataParameter.cs, DesignerDataRelationship.cs,
DesignerDataSchemaClass.cs, DesignerDataStoredProcedure.cs,
DesignerDataTable.cs, DesignerDataTableBase.cs, DesignerDataView.cs,
IDataEnvironment.cs, IDesignerDataSchema.cs, QueryBuilderMode.cs:
new stubs and implementations.
* TypedDataSetGenerator.cs, MethodSignatureGenerator.cs,
TypedDataSetGeneratorException.cs, ParameterGenerationOption.cs,
TypedDataSetSchemaImporterExtension.cs :
new stubs and implementations.
* StronglyTypedResourceBuilder.cs : new stub.
svn path=/trunk/mcs/; revision=86734
Jonathan Pobst [Mon, 1 Oct 2007 21:58:50 +0000 (21:58 -0000)]
2007-10-01 Jonathan Pobst <monkey@jpobst.com>
* TextControl.cs: Change the margins to match MS a little better.
Still not perfect for X11 due to some DrawString differences, but
is still an improvement over the old stuff.
Partially fixes #324467.
svn path=/trunk/mcs/; revision=86726
Joel Reed [Mon, 1 Oct 2007 21:00:51 +0000 (21:00 -0000)]
enhance parsing of Mono.Data.SqlExpressions's SUBSTRING and IIF
svn path=/trunk/mcs/; revision=86725
Veerapuram Varadhan [Mon, 1 Oct 2007 18:43:20 +0000 (18:43 -0000)]
New tests for Read and Write APIs.
svn path=/trunk/mcs/; revision=86720
Veerapuram Varadhan [Mon, 1 Oct 2007 18:40:00 +0000 (18:40 -0000)]
* SqlChars.cs, SqlBytes.cs (Read, Write): Implemented missing 2.0 APIs.
svn path=/trunk/mcs/; revision=86719
Marek Habersack [Mon, 1 Oct 2007 18:31:24 +0000 (18:31 -0000)]
This is more elegant (thanks JB :))
svn path=/trunk/mcs/; revision=86718
Marek Habersack [Mon, 1 Oct 2007 18:21:30 +0000 (18:21 -0000)]
2007-10-01 Marek Habersack <mhabersack@novell.com>
* HttpServerUtility.cs: set a flag when transferring control to
another page.
* HttpContext.cs: added an internal InTransit property to carry
information that HttpServerUtility.Transfer has been used, over to
the target page.
2007-10-01 Marek Habersack <mhabersack@novell.com>
* Page.cs: do not set IsPostBack to true if we're in transfer from
another page. Fixes bug #329341
svn path=/trunk/mcs/; revision=86716
Jb Evain [Mon, 1 Oct 2007 18:17:38 +0000 (18:17 -0000)]
Add new Is* methods to AssemblyNameReference
svn path=/trunk/mcs/; revision=86715
Paolo Molaro [Mon, 1 Oct 2007 18:07:20 +0000 (18:07 -0000)]
typo fixes + new feature description.
svn path=/trunk/mono/; revision=86714
Paolo Molaro [Mon, 1 Oct 2007 16:21:33 +0000 (16:21 -0000)]
Define only on IMT systems.
svn path=/trunk/mono/; revision=86710
Jonathan Chambers [Mon, 1 Oct 2007 15:24:44 +0000 (15:24 -0000)]
2007-10-01 Jonathan Chambers <joncham@gmail.com>
* mono-io-portability.c: Only support on non-Windows
platforms.
Code is contributed under MIT/X11 license.
2007-10-01 Jonathan Chambers <joncham@gmail.com>
* mono-config.c: Use g_strcasecmp instead of
strcasecmp like everywhere else to fix
compilation with MSVC.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=86707
Zoltan Varga [Mon, 1 Oct 2007 15:17:29 +0000 (15:17 -0000)]
2007-10-01 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (get_plt_index): Rework the handling of wrappers to be not so
hackish.
svn path=/trunk/mono/; revision=86706
Zoltan Varga [Mon, 1 Oct 2007 15:17:03 +0000 (15:17 -0000)]
2007-10-01 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (get_plt_index): Rework the handling of wrappers to be not so
hackish.
svn path=/trunk/mono/; revision=86705
Marek Habersack [Mon, 1 Oct 2007 13:30:11 +0000 (13:30 -0000)]
2007-10-01 Marek Habersack <mhabersack@novell.com>
* ListItem.cs: make HasAttributes available for the 1.1 profile as
well.
* DropDownList.cs: render custom ListItem attributes in the 1.1
profile. Fixes bug #326288
svn path=/trunk/mcs/; revision=86701
Paolo Molaro [Mon, 1 Oct 2007 12:52:49 +0000 (12:52 -0000)]
Mon Oct 1 15:00:27 CEST 2007 Paolo Molaro <lupus@ximian.com>
* mini.c, mini-trampolines.c, mini.h: enable the lazy filling of the
IMT slots (this saves hundreds of KB of memory in programs like
IronPython and Monodevelop).
svn path=/trunk/mono/; revision=86700
Paolo Molaro [Mon, 1 Oct 2007 12:32:59 +0000 (12:32 -0000)]
Mon Oct 1 14:44:19 CEST 2007 Paolo Molaro <lupus@ximian.com>
* mini.c: print the delegate counter.
svn path=/trunk/mono/; revision=86699
Jb Evain [Mon, 1 Oct 2007 12:31:30 +0000 (12:31 -0000)]
fix the Is* method setters
svn path=/trunk/mcs/; revision=86698
Marek Habersack [Mon, 1 Oct 2007 12:30:36 +0000 (12:30 -0000)]
2007-10-01 Marek Habersack <mhabersack@novell.com>
* AppResourcesCompiler.cs: resources are no longer compiled into a
single assembly. Instead, the common assembly construction code
has been moved to AppResourcesAssemblyBuilder to use satellite
assemblies.
* AppResourcesAssemblyBuilder.cs: new resource assembly
construction code which takes care of outputting satellite
assemblies.
svn path=/trunk/mcs/; revision=86697
Paolo Molaro [Mon, 1 Oct 2007 12:29:48 +0000 (12:29 -0000)]
Mon Oct 1 14:39:11 CEST 2007 Paolo Molaro <lupus@ximian.com>
* object.c, object-internals.h: refactored the IMT code to enable
building a single slot at a time and lazily creating the IMT trampolines
and thunks.
svn path=/trunk/mono/; revision=86696
Paolo Molaro [Mon, 1 Oct 2007 12:24:37 +0000 (12:24 -0000)]
Mon Oct 1 14:36:50 CEST 2007 Paolo Molaro <lupus@ximian.com>
* mini-x86.c: make it easier to enable the debugging code for IMT
slots.
svn path=/trunk/mono/; revision=86695
Atsushi Eno [Mon, 1 Oct 2007 09:51:14 +0000 (09:51 -0000)]
2007-10-01 Atsushi Enomoto <atsushi@ximian.com>
* DataSourceGroupCollection.cs, DataSourceProviderService.cs,
DataSourceGroup.cs, DesignerDataColumn.cs : new stubs.
* ContentDefinition.cs, ContentDesignerState.cs,
ControlLocation.cs, DesignTimeResourceProviderFactory.cs,
IControlDesignerTag.cs, IControlDesignerView.cs,
IDesignTimeResourceWriter.cs, ViewEvent.cs, ViewEventArgs.cs,
ViewEventHandler.cs, WebFormsReferenceManager.cs,
WebFormsRootDesigner.cs : new stubs.
* ControlDesigner.cs : Added some more members. Uncomment
RootDesigner and Tag.
svn path=/trunk/mcs/; revision=86688
Carlos Alberto Cortez [Mon, 1 Oct 2007 04:16:59 +0000 (04:16 -0000)]
2007-09-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* FolderBrowserDialog.cs: When using MyComputer as
RootFolder, let absolute paths be considered as valid ones. Also, use
Path.DirectorySeparatorChar instead of Path.AltDirectorySeparatorChar,
for Windows compatibility.
Partially fixes #325247.
svn path=/trunk/mcs/; revision=86682
Gert Driesen [Sun, 30 Sep 2007 12:37:28 +0000 (12:37 -0000)]
* DynamicMethodTest.cs: Marked test for bug #325444 as NotDotNet, and
added link to MS bug report.
svn path=/trunk/mcs/; revision=86674
Gert Driesen [Sun, 30 Sep 2007 12:33:06 +0000 (12:33 -0000)]
* HttpListenerRequest.cs: Do not store 'method' in upper case, but
instead use case-insensitive comparison.
* HttpListenerRequestTest.cs: Added test for HttpMethod.
svn path=/trunk/mcs/; revision=86673
Gert Driesen [Sun, 30 Sep 2007 12:32:46 +0000 (12:32 -0000)]
* UriTest3.cs: Added test for bug #323542.
svn path=/trunk/mcs/; revision=86672
Gert Driesen [Sun, 30 Sep 2007 11:43:46 +0000 (11:43 -0000)]
Only applies to 2.0 profile.
svn path=/trunk/mcs/; revision=86668
Gert Driesen [Sun, 30 Sep 2007 09:09:22 +0000 (09:09 -0000)]
* HttpListenerRequestTest.cs: Added test for HasEntityBody.
* HttpListener2Test.cs: Removed CWL.
* HttpListenerRequest.cs: Removed dead code. USe String.Length to
check for zero-length string. Use instance field for is_chunked, and
also set it for GET/HEAD/DELETE. Fixed HasEntityBody to return true
when Content-Length > 0, or Transfer-Encoding is chunked.
* System_test.dll.sources: Added HttpListenerRequestTest.cs.
svn path=/trunk/mcs/; revision=86666
Gert Driesen [Sun, 30 Sep 2007 09:03:40 +0000 (09:03 -0000)]
* UriTest3.cs: Added test for bug #328768.
svn path=/trunk/mcs/; revision=86665
Konstantin Triger [Sun, 30 Sep 2007 07:38:35 +0000 (07:38 -0000)]
fix the test for net_1_1 profile
svn path=/trunk/mcs/; revision=86657
Carlos Alberto Cortez [Sun, 30 Sep 2007 02:32:52 +0000 (02:32 -0000)]
* FolderBrowserDialog.cs: Fix the recursive FindPathInNodes method.
Also remove the stack.Count > 0 check in FBTreeView.SetSelectedNode
method, since it causes the dialog to not select folders directly
under the root path (when setting SelectedPath property).
2007-09-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=86656
Zoltan Varga [Sat, 29 Sep 2007 21:33:07 +0000 (21:33 -0000)]
2007-09-29 Zoltan Varga <vargaz@gmail.com>
* loader.c (inflate_generic_signature): Allocate inflated signatures from the heap.
* metadata.c (mono_metadata_free_inflated_signature): Free the signature itself too.
Fixes #328501.
svn path=/trunk/mono/; revision=86648
Jonathan Pobst [Sat, 29 Sep 2007 20:17:12 +0000 (20:17 -0000)]
2007-09-29 Jonathan Pobst <monkey@jpobst.com>
* RadioButtonTest.cs: Fix test to not fail on monobuild.
svn path=/trunk/mcs/; revision=86647
Miguel de Icaza [Sat, 29 Sep 2007 19:59:03 +0000 (19:59 -0000)]
2007-09-29 Miguel de Icaza <miguel@novell.com>
* NetworkInterface.cs (GetAllNetworkInterfaces): return an empty
array instead of throwing an exception on operating systems where
svn path=/trunk/mcs/; revision=86646
Miguel de Icaza [Sat, 29 Sep 2007 19:58:02 +0000 (19:58 -0000)]
2007-09-29 Miguel de Icaza <miguel@novell.com>
* Uri.cs (ToString, MakeRelativeUri): refactor some code in
ToString to be reusable (to append the query string and the
fragment) by MakeRelativeUrl.
This fixes the MakeRelativeUrl stuff, but the tests can not be
used just yet because we fail with stuff like:
new Uri ("", UriKind.Relative)
(Parse): when parsing absolute filenames, check if the
UriKind is Relative, and if so, make the isAbsoluteUri false, to
ensure that the upper layers do not abort with relative Uris that
happen to be "/foo" for example.
Take an UriKind property to allow for proper checking and parsing
depending on the context requested by the caller.
Allows empty strings to be relative Uris as well.
Do checking when we have schema:// that the parsing is not for a
UriKind.Relative, otherwise throw an exception.
(Authority, HostNameType, IsDefaultPort, IsFile, IsLoopback,
PathAndQuery, DnsSafeHost): They all require absolute uris.
* UriKind.cs: make internal for 1.0
svn path=/trunk/mcs/; revision=86645
Miguel de Icaza [Sat, 29 Sep 2007 19:10:37 +0000 (19:10 -0000)]
Remove warnings
svn path=/trunk/mcs/; revision=86643
Miguel de Icaza [Sat, 29 Sep 2007 19:10:22 +0000 (19:10 -0000)]
remove warnings
svn path=/trunk/mcs/; revision=86642
Miguel de Icaza [Sat, 29 Sep 2007 19:10:10 +0000 (19:10 -0000)]
Remove warning
svn path=/trunk/mcs/; revision=86641
Miguel de Icaza [Sat, 29 Sep 2007 19:09:55 +0000 (19:09 -0000)]
Remove warnings
svn path=/trunk/mcs/; revision=86640
Raja R Harinath [Sat, 29 Sep 2007 14:30:24 +0000 (14:30 -0000)]
* loader.c (method_from_methodspec): Rearrange to avoid
un-necessary exposition. Don't assert out if the method's
declaring type is a generic type definition.
svn path=/trunk/mono/; revision=86634
Raja R Harinath [Sat, 29 Sep 2007 13:16:00 +0000 (13:16 -0000)]
* ObjectTest.cs (TestToStringOnGenericInstances): Fix expected string.
svn path=/trunk/mcs/; revision=86631
Carlos Alberto Cortez [Sat, 29 Sep 2007 07:32:17 +0000 (07:32 -0000)]
2007-09-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TreeNode.cs: When calling Expand/Collapse and need to call
ExpandBelow/CollapseBelow respectively, take into account
partially visible nodes (previously Expanding/Collapsing
a partially visible node in the bottom was not updating its +- sign).
svn path=/trunk/mcs/; revision=86630
Carlos Alberto Cortez [Sat, 29 Sep 2007 01:33:53 +0000 (01:33 -0000)]
* TreeView.cs: When calling Expand on a TreeNode, and we need to
expand nodes below (ExpandBelow), scroll the entire Viewport
area if the node is above it and not visible (instead of scrolling
the area from node's Bottom, which applies only when the node is
visible).
Fixes #325266.
2007-09-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=86625
Marek Habersack [Fri, 28 Sep 2007 23:51:55 +0000 (23:51 -0000)]
2007-09-29 Marek Habersack <mhabersack@novell.com>
* WebUIValidation_2.0.js: replace all the ocurrences of 'this' with
'webForm'. The reason for such change is that under certain
circumstances the function may be called on an object which is not
the original webForm to which the function was assigned. This
happens, for instance, in the AJAX Control Toolkit which wraps the
ValidatorGetValue function with its own version and calls the
original function on a Function object, so 'this' in that instance
becomes a 'function()' and not the original 'Window' object.
svn path=/trunk/mcs/; revision=86622
Carlos Alberto Cortez [Fri, 28 Sep 2007 21:23:03 +0000 (21:23 -0000)]
* TreeView.cs: When calling ExpandAll, set SelectedNode to the top
node in the bottom area (as .Net does). This is done to preserve the
scroll position when ExpandAll is called before handle is created for
the 1.1 profile (bottom area, as opposed to top area in 2.0).
Fixes #324103.
2007-09-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=86619
Carlos Alberto Cortez [Fri, 28 Sep 2007 21:06:26 +0000 (21:06 -0000)]
2007-09-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TreeView.cs: When calling ExpandAll, don't move the scroll to the
bottom area if we are in fact not using the vertical scroll bar.
Fixes #324824.
svn path=/trunk/mcs/; revision=86618
Martin Baulig [Fri, 28 Sep 2007 20:37:12 +0000 (20:37 -0000)]
2007-09-28 Martin Baulig <martin@ximian.com>
* debug-debugger.h
(MonoDebuggerMetadataInfo): Add `klass_image_offset',
`mono_method_klass_offset' and `mono_method_token_offset'.
svn path=/trunk/mono/; revision=86615
Martin Baulig [Fri, 28 Sep 2007 19:38:05 +0000 (19:38 -0000)]
2007-09-28 Martin Baulig <martin@ximian.com>
* mono-debug.h (MONO_DEBUGGER_VERSION): Bump to 61.
svn path=/trunk/mono/; revision=86606
Paolo Molaro [Fri, 28 Sep 2007 18:05:16 +0000 (18:05 -0000)]
Fri Sep 28 20:15:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
* class-internals.h: optimize field layout of MonoClass to
requires less cachelines at runtime and save a few bytes on 64 bit
systems.
svn path=/trunk/mono/; revision=86597
Jb Evain [Fri, 28 Sep 2007 17:58:49 +0000 (17:58 -0000)]
2007-09-28 Jb Evain <jbevain@novell.com>
* reflection.c: when encoding type names in custom attributes,
if the type is a closed generic type, its generic arguments
have to be serialized as AssemblyQualifiedName, so that when
they are deserialized, it's possible to re-create them properly.
Fixes #329450.
svn path=/trunk/mono/; revision=86594
Jb Evain [Fri, 28 Sep 2007 17:56:19 +0000 (17:56 -0000)]
2007-09-28 Jb Evain <jbevain@novell.com>
* TypeConverterTests.cs: test case for bug #329450.
svn path=/trunk/mcs/; revision=86593
Paolo Molaro [Fri, 28 Sep 2007 17:09:02 +0000 (17:09 -0000)]
Fri Sep 28 19:19:49 CEST 2007 Paolo Molaro <lupus@ximian.com>
* object.c, class-internals.h: added delegate-creation counter.
svn path=/trunk/mono/; revision=86591
Paolo Molaro [Fri, 28 Sep 2007 15:59:10 +0000 (15:59 -0000)]
Fri Sep 28 18:07:53 CEST 2007 Paolo Molaro <lupus@ximian.com>
* class.c: cleanup of the code that synthetizes interfaces for
arrays in 2.0: saves quit a bit of corlib mempool memory.
Code to fix bug #325495 ifdeffed out for now until the issues
with memory usage and O(n^2) behaviour are fixed.
svn path=/trunk/mono/; revision=86589
Jb Evain [Fri, 28 Sep 2007 15:54:33 +0000 (15:54 -0000)]
typo
svn path=/trunk/mcs/; revision=86586
Jb Evain [Fri, 28 Sep 2007 15:48:43 +0000 (15:48 -0000)]
2007-09-28 Jb Evain <jbevain@novell.com>
* Object.cs: Make ToString return Type.ToString ()
by default instead of Type.FullName to match .net
behavior. Fix #329419.
svn path=/trunk/mcs/; revision=86585
Jb Evain [Fri, 28 Sep 2007 15:47:21 +0000 (15:47 -0000)]
2007-09-28 Jb Evain <jbevain@novell.com>
* ObjectTest.cs: add test for bug #329419
svn path=/trunk/mcs/; revision=86584
Paolo Molaro [Fri, 28 Sep 2007 15:09:08 +0000 (15:09 -0000)]
Fri Sep 28 17:19:40 CEST 2007 Paolo Molaro <lupus@ximian.com>
* marshal.c: when possible, do not duplicate the name of the methods
in the method builder and in the generated MonoMethod.
svn path=/trunk/mono/; revision=86580
Atsushi Eno [Fri, 28 Sep 2007 15:02:28 +0000 (15:02 -0000)]
2007-09-28 Atsushi Enomoto <atsushi@ximian.com>
* DataSourceDescriptor.cs,
DataSourceDescriptorCollection.cs,
DesignerDataConnection.cs : new stubs.
* ControlDesigner.cs, TemplatedControlDesigner.cs :
Added some 2.0 members and excluded some non-2.0 stuff.
* ClientScriptItem.cs, ClientScriptItemCollection.cs,
ConnectionStringEditor.cs, ContainerControlDesigner.cs,
DesignerAutoFormat.cs, DesignerAutoFormatCollection.cs,
DesignerAutoFormatStyle.cs : new stubs.
svn path=/trunk/mcs/; revision=86577
Atsushi Eno [Fri, 28 Sep 2007 13:10:05 +0000 (13:10 -0000)]
2007-09-28 Atsushi Enomoto <atsushi@ximian.com>
* ByteViewer.cs : last one mile to finish 2.0 API (metadata wise).
svn path=/trunk/mcs/; revision=86571
Atsushi Eno [Fri, 28 Sep 2007 10:29:40 +0000 (10:29 -0000)]
2007-09-28 Atsushi Enomoto <atsushi@ximian.com>
* ExceptionCollection.cs, IComponentDesignerDebugService.cs,
IComponentDesignerStateService.cs,
MenuCommandsChangedEventArgs.cs,
MenuCommandsChangedEventHandler.cs,
MenuCommandsChangedType.cs : more 2.0 impl.
* MenuCommandService.cs, UndoEngine.cs : more 2.0 stubs.
* DisplayMode.cs, InheritanceService.cs,
LocalizationExtenderProvider.cs, ObjectSelectorEditor.cs:
cosmetic 2.0 API fixes.
svn path=/trunk/mcs/; revision=86563
Marek Habersack [Fri, 28 Sep 2007 10:23:25 +0000 (10:23 -0000)]
2007-09-28 Marek Habersack <mhabersack@novell.com>
* ContentDisposition.cs: if the file name contains spaces, enclose
it in quotes. Fixes bug #324084.
svn path=/trunk/mcs/; revision=86562
Atsushi Eno [Fri, 28 Sep 2007 09:41:40 +0000 (09:41 -0000)]
2007-09-28 Atsushi Enomoto <atsushi@ximian.com>
* DesignerActionUIStateChangeEventArgs.cs,
DesignerActionUIStateChangeEventHandler.cs,
DesignerActionUIStateChangeType.cs : more 2.0 impl.
* DesignerActionUIService.cs,
DesignerCommandSet.cs : more 2.0 stubs.
svn path=/trunk/mcs/; revision=86561
Jb Evain [Fri, 28 Sep 2007 09:39:33 +0000 (09:39 -0000)]
remove dead code
svn path=/trunk/mcs/; revision=86560
Jb Evain [Fri, 28 Sep 2007 09:28:35 +0000 (09:28 -0000)]
2007-09-28 Jb Evain <jbevain@novell.com>
* Mono.Cecil/SecurityDeclarationReader.cs:
Adapt patch from Carlo Kok <ck@remobjects.com>.
Properly read unicode string constants.
svn path=/trunk/mcs/; revision=86559
Atsushi Eno [Fri, 28 Sep 2007 08:55:25 +0000 (08:55 -0000)]
2007-09-28 Atsushi Enomoto <atsushi@ximian.com>
* ComponentActionsType.cs : fixed order.
svn path=/trunk/mcs/; revision=86557
Jb Evain [Fri, 28 Sep 2007 08:51:25 +0000 (08:51 -0000)]
2007-09-28 Jb Evain <jbevain@novell.com>
* Mono.Cecil/SecurityDeclarationReader.cs:
Adapt patch from Carlo Kok <ck@remobjects.com>.
For some MS assemblies, the security declaration contains
one zero byte.
svn path=/trunk/mcs/; revision=86556
Marek Habersack [Fri, 28 Sep 2007 08:48:51 +0000 (08:48 -0000)]
2007-09-28 Marek Habersack <mhabersack@novell.com>
* HttpListenerRequest.cs: HasEntityBody should return false when method is GET/HEAD,
content_length is less than or equal to zero or the request is
chunked. Fixes bug #325296
svn path=/trunk/mcs/; revision=86555
Atsushi Eno [Fri, 28 Sep 2007 08:42:30 +0000 (08:42 -0000)]
2007-09-28 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : removed NO_TEST.
* System.Design.dll.sources : added DesignerActionService.cs,
ComponentActionsType.cs, DesignerActionListsChangedType.cs,
DesignerActionListsChangedEventArgs.cs and
DesignerActionListsChangedEventHandler.cs.
* System.Design_test.dll.sources : new.
* DesignerActionService.cs : new stub.
* ComponentActionsType.cs,
DesignerActionListsChangedType.cs,
DesignerActionListsChangedEventArgs.cs,
DesignerActionListsChangedEventHandler.cs : new implementations.
* DesignerActionListCollection.cs : [ComVisible].
* DesignerActionItem.cs,
DesignerActionMethodItem.cs,
DesignerActionPropertyItem.cs,
DesignerActionTextItem.cs : fixed protected .ctor() and made
base fields private. Properties is implemented.
* DesignerActionListsChangedEventArgsTest.cs,
DesignerActionMethodItemTest.cs,
DesignerActionPropertyItemTest.cs : new tests.
svn path=/trunk/mcs/; revision=86554
Marek Habersack [Fri, 28 Sep 2007 08:34:07 +0000 (08:34 -0000)]
2007-09-28 William Holmes <billholmes54@gmail.com>
* DateTime.cs: Check for AssumeUniversal when parsing string.
Fixes bug #324845
2007-09-28 William Holmes <billholmes54@gmail.com>
* DateTimeTest.cs: Adding test for bug #324845
svn path=/trunk/mcs/; revision=86553
Marek Habersack [Fri, 28 Sep 2007 07:42:31 +0000 (07:42 -0000)]
2007-09-28 Marek Habersack <mhabersack@novell.com>
* HttpListenerRequest.cs: make sure 'method' is always stored in
upper case.
The DELETE method must not error out on missing Content-Length
header (this is the behavior of the MS.NET version of the
class). Fixes bug #323215.
svn path=/trunk/mcs/; revision=86552
Atsushi Eno [Fri, 28 Sep 2007 05:27:11 +0000 (05:27 -0000)]
2007-09-28 Atsushi Enomoto <atsushi@ximian.com>
* XmlWriter.cs : it is now documented that WriteNode(XPathNavigator)
ignores attributes and namespace decls, so do that.
* XQueryConvert.cs : removed extra stuff that are not in use.
* XmlWriterTests.cs : added WriteNodeXPathNavigatorAttribute().
svn path=/trunk/mcs/; revision=86546
Gert Driesen [Thu, 27 Sep 2007 20:44:41 +0000 (20:44 -0000)]
* DirectoryTest.cs: Added RunningOnUnix property to use for enabling
or disabling tests on a specific platform. Enabled and improved test
for bug #325107.
svn path=/trunk/mcs/; revision=86537
Jonathan Pobst [Thu, 27 Sep 2007 20:20:25 +0000 (20:20 -0000)]
2007-09-27 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: Comment out a double buffering optimization that doesn't
take into account invalidates created in OnPaint, causing the control
to never be redrawn. It would take quite a bit of work to work around
this, but I left it commented with an explanation for later possible
optimization.
[Fixes bug #328681]
svn path=/trunk/mcs/; revision=86534
Atsushi Eno [Thu, 27 Sep 2007 19:40:48 +0000 (19:40 -0000)]
2007-09-27 Atsushi Enomoto <atsushi@ximian.com>
* System.dll.sources : added ITypeDiscoveryService.cs.
* ITypeDiscoveryService.cs : new.
* DesignerTransactionCloseEventArgs.cs : added [Obsolete].
* DesignerVerb.cs : added Description. ToString() contains " : ".
* StandardCommands.cs : added DocumentOutline and ViewCode.
* HelpKeywordAttribute.cs : implemented .ctor(Type).
* ComponentChangedEventHandler.cs, ComponentRenameEventHandler.cs,
ActiveDesignerEventHandler.cs, HelpKeywordType.cs,
DesignerEventHandler.cs, ComponentEventHandler.cs,
DesignerTransactionCloseEventHandler.cs, HelpContextType.cs
ComponentChangingEventHandler.cs : [Serializable] is extra in 2.0.
* ServiceContainer.cs : some members became virtual in 2.0.
Removed finalizer. Added DefaultServices.
* DesignerOptionService.cs : it is abstract. Added attributes.
* CheckoutException.cs : added more 2.0 constructors.
* MenuCommand.cs : added Properties property.
* DesignerTransaction.cs : Fixed .ctor() (public->protected)
svn path=/trunk/mcs/; revision=86532
Rodrigo Kumpera [Thu, 27 Sep 2007 19:08:17 +0000 (19:08 -0000)]
2007-09-27 Rodrigo Kumpera <rkumpera@novell.com>
* make_load_indirect_test.sh: added, generate tests for ldind.X.
* make_tests.sh: added the new tests for ldind.X and new tests for stloc/starg using
native int and int32.
svn path=/trunk/mono/; revision=86531
Rodrigo Kumpera [Thu, 27 Sep 2007 18:58:10 +0000 (18:58 -0000)]
2007-09-27 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: added support for type checking ldind_* opcodes.
svn path=/trunk/mono/; revision=86530
Atsushi Eno [Thu, 27 Sep 2007 18:10:32 +0000 (18:10 -0000)]
2007-09-27 Atsushi Enomoto <atsushi@ximian.com>
* TypeDescriptor.cs : added missing ObsoleteAttribute.
* MemberDescriptor.cs, PropertyDescriptor.cs :
implemented GetInvocationTarget().
svn path=/trunk/mcs/; revision=86524
Nagappan Alagappan [Thu, 27 Sep 2007 17:33:09 +0000 (17:33 -0000)]
* System.Data.dll.sources: Added new files SqlDataSourceConverter.cs,
SqlInitialCatalogConverter.cs, NetworkLibraryConverter.cs.
svn path=/trunk/mcs/; revision=86520
Nagappan Alagappan [Thu, 27 Sep 2007 17:30:19 +0000 (17:30 -0000)]
* SqlConnection.cs: Added MonoTODO appropriately.
svn path=/trunk/mcs/; revision=86519