Jackson Harper [Thu, 9 Feb 2006 22:39:04 +0000 (22:39 -0000)]
Kill the mdi_container when we dont need it anymore.
svn path=/trunk/mcs/; revision=56729
Dick Porter [Thu, 9 Feb 2006 21:25:22 +0000 (21:25 -0000)]
2006-02-09 Dick Porter <dick@ximian.com>
* threads.c (mono_thread_detach): Drop a reference to the thread
we're detaching.
2006-02-09 Dick Porter <dick@ximian.com>
* threads.c: Cope with the problems caused by attaching already
existing threads - they don't get the infrastructure to clean up
after themselves, especially the ID to handle hash. This fixes
bug 77468.
svn path=/trunk/mono/; revision=56725
Gert Driesen [Thu, 9 Feb 2006 21:02:39 +0000 (21:02 -0000)]
* XmlSerializerTests.cs: Fixed build after failed merge (time to call it a
day, I guess)
svn path=/trunk/mcs/; revision=56723
Gert Driesen [Thu, 9 Feb 2006 20:55:36 +0000 (20:55 -0000)]
* XmlTypeMapping.cs: Modified GetRealTypeMap to return current map if map
represents enum. Fixes bug #77501.
* XmlSerializerTests.cs: Added test for bug #77501. Added tests for XML and
encoded serialization of enums.
svn path=/trunk/mcs/; revision=56722
Jackson Harper [Thu, 9 Feb 2006 20:22:36 +0000 (20:22 -0000)]
* Form.cs: If a form is made into an MDI form update the styles
* so
all the props can get set correctly.
svn path=/trunk/mcs/; revision=56721
Gert Driesen [Thu, 9 Feb 2006 18:28:10 +0000 (18:28 -0000)]
Forgot to commit changelog entry for bug #77500.
svn path=/trunk/mcs/; revision=56719
Gert Driesen [Thu, 9 Feb 2006 17:37:18 +0000 (17:37 -0000)]
* SoapReflectionImporterTests.cs: Marked test NotDotNet.
svn path=/trunk/mcs/; revision=56718
Lluis Sanchez [Thu, 9 Feb 2006 17:10:04 +0000 (17:10 -0000)]
2006-02-09 Lluis Sanchez Gual <lluis@novell.com>
* XmlSerializerTests.cs, XmlSerializerTestClasses.cs: Added test
for bug #77447.
svn path=/trunk/mcs/; revision=56717
Lluis Sanchez [Thu, 9 Feb 2006 17:06:43 +0000 (17:06 -0000)]
2006-02-09 Lluis Sanchez Gual <lluis@novell.com>
* System.Xml.Serialization/XmlTypeMapMemberElement.cs: When
looking for the correct element definition for a member,
based on the value type, take into account subypes of the
declared types. Fixes bug #77447.
svn path=/trunk/mcs/; revision=56716
Gert Driesen [Thu, 9 Feb 2006 17:03:13 +0000 (17:03 -0000)]
* XmlSerializerTests.cs: Added constants for usage in new tests. Added methods
for encoded serialization. Fixed line endings.
svn path=/trunk/mcs/; revision=56715
Konstantin Triger [Thu, 9 Feb 2006 17:01:11 +0000 (17:01 -0000)]
threat Oracle like DB2
svn path=/trunk/mcs/; revision=56714
Gert Driesen [Thu, 9 Feb 2006 16:54:13 +0000 (16:54 -0000)]
* XmlSerializerTestClasses.cs: Added test classes.
svn path=/trunk/mcs/; revision=56713
Paolo Molaro [Thu, 9 Feb 2006 15:25:56 +0000 (15:25 -0000)]
Thu Feb 9 16:24:44 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini.c: handle systems that sue a different way to
retrieve the stack address of the current thread.
svn path=/trunk/mono/; revision=56709
Paolo Molaro [Thu, 9 Feb 2006 15:23:45 +0000 (15:23 -0000)]
More pthread function checks.
svn path=/trunk/mono/; revision=56708
Paolo Molaro [Thu, 9 Feb 2006 15:22:31 +0000 (15:22 -0000)]
Thu Feb 9 16:20:55 CET 2006 Paolo Molaro <lupus@ximian.com>
* os_dep.c, include/private/gcconfig.h, darwin_stop_world.c:
OSX/x86 support, mostly from Geoff Norton <gnorton@customerdna.com>.
svn path=/trunk/mono/; revision=56707
Zoltan Varga [Thu, 9 Feb 2006 14:53:11 +0000 (14:53 -0000)]
2006-02-09 Zoltan Varga <vargaz@gmail.com>
* Makefile.am generics.2.cs: Rename this to generics.cs and handle
it specially in the makefile.
svn path=/trunk/mono/; revision=56706
Zoltan Varga [Thu, 9 Feb 2006 14:39:38 +0000 (14:39 -0000)]
2006-02-09 Zoltan Varga <vargaz@gmail.com>
* generics.2.cs: Add tests for nullable reference types.
svn path=/trunk/mono/; revision=56704
Zoltan Varga [Thu, 9 Feb 2006 14:38:39 +0000 (14:38 -0000)]
2006-02-09 Zoltan Varga <vargaz@gmail.com>
* FieldInfoTest.cs: Add tests for nullable reference types.
svn path=/trunk/mcs/; revision=56703
Zoltan Varga [Thu, 9 Feb 2006 14:37:23 +0000 (14:37 -0000)]
2006-02-09 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_nullable_init): Handle nullable reference types.
(mono_nullable_box): Ditto. Fixes #77446.
svn path=/trunk/mono/; revision=56702
Konstantin Triger [Thu, 9 Feb 2006 14:29:35 +0000 (14:29 -0000)]
Added Mainsoft OracleClient testsuite
svn path=/trunk/mcs/; revision=56701
Gert Driesen [Thu, 9 Feb 2006 13:30:02 +0000 (13:30 -0000)]
* XmlSerializationWriterTests.cs: Use Assert instead of deprecated
Assertion class. Added tests for FromEnum, WriteXsiType,
WriteTypedPrimitive and WritePotentiallyReferencingElement. Changed
accessibility of Reset and Content on XmlSerializationWriterTester
and added public Execute methods for WritePotentiallyReferencingElement
and WriteTypedPrimitive, to allow this class to be useful for tests
that have effect on the prefix for other tests.
* XmlSerializationReaderTests.cs: Added tests for ToEnum.
* System.Xml_test.dll.Sources: Added XmlSerializationReaderTests.cs.
* XmlSerializationWriter.cs: Implemented 2.0 version of FromEnum, and
CreateInvalidEnumValueException. Set eol-style to native.
* XmlCustomerFormatter.cs: Added FromEnum overload that takes name of
enum for which string value must be created. Set eol-style to native.
Modified FromEnum to behave more like MSFT's implementation:
- treat value as bit field.
- no longer return empty string if the value matches an id for which there's
no corresponding name.
- if one of the ids has value 0 and there's a match for the enum value
(with a zero length XML name) or the enum value is 0, then return the
corresponding XML for the id with value 0.
- in 2.0 profile, throw InvalidOperationException if no match is found
for (part of) the enum value.
Modifies ToEnum to match the MSFT implementation (as described in
.NET 2.0 SDK):
- Expect hashtable containing enum names as key, and corresponding
integral numbers as value.
- Do not report exception for whitespace-only value.
- Support space (MS docs are not clear about this) delimited list
of names.
- typeName is only used to construct exception message.
svn path=/trunk/mcs/; revision=56700
Ankit Jain [Thu, 9 Feb 2006 12:39:39 +0000 (12:39 -0000)]
* get.c (stringify_array): New. Returns the stringified representation
of an array.
(dis_stringify_array): Use stringify_array.
(get_array_shape): Likewise. Also, allow lo_bounds to be signed.
svn path=/trunk/mono/; revision=56699
Ankit Jain [Thu, 9 Feb 2006 12:38:52 +0000 (12:38 -0000)]
* ILParser.jay (bound | int32): Handle invalid -ve size.
svn path=/trunk/mcs/; revision=56698
Carlos Alberto Cortez [Thu, 9 Feb 2006 08:47:32 +0000 (08:47 -0000)]
2006-02-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* FtpWebResponse.cs: Add UpdateStatus method, to update both
statusCode and statusDescription at the same time.
svn path=/trunk/mcs/; revision=56697
Paolo Molaro [Thu, 9 Feb 2006 08:32:27 +0000 (08:32 -0000)]
Missing check.
svn path=/trunk/mono/; revision=56696
Carlos Alberto Cortez [Thu, 9 Feb 2006 06:27:17 +0000 (06:27 -0000)]
* FtpWebRequest.cs: Remove WebExceptionStatus argument
from CreateExceptionFromResponse, since exceptions gotten
from server response always have a WebExceptionStatus.ProtocolError
value.
2006-02-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=56694
Carlos Alberto Cortez [Thu, 9 Feb 2006 05:22:50 +0000 (05:22 -0000)]
2006-02-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* FtpWebRequest.cs: Add renaming support when using
WebRequestMethods.Ftp.Rename method.
svn path=/trunk/mcs/; revision=56693
Jackson Harper [Thu, 9 Feb 2006 03:26:20 +0000 (03:26 -0000)]
* InternalWindowManager.cs: Respek clipping when drawing MDi
decorations.
svn path=/trunk/mcs/; revision=56688
Jackson Harper [Wed, 8 Feb 2006 22:01:49 +0000 (22:01 -0000)]
* InternalWindowManager.cs: Remove a state reset that was
getting invoked at the wrong time. Fixes managed windows getting
into a 'stuck' captured state.
svn path=/trunk/mcs/; revision=56687
Jackson Harper [Wed, 8 Feb 2006 21:11:01 +0000 (21:11 -0000)]
* Hwnd.cs: Add bits to track non client expose events.
* XplatUIX11.cs: Track non client expose events on the hwnd.
* This
gives us a proper invalid rect and will allow for some nice
optimizations with NC client drawing
- MDI windows are children windows, so move their style handling
into the child window block.
svn path=/trunk/mcs/; revision=56685
Chris Toshok [Wed, 8 Feb 2006 20:40:47 +0000 (20:40 -0000)]
2006-02-08 Chris Toshok <toshok@ximian.com>
* ListControl.cs (OnDataBinding): in 2.0, only clear our items if
AppendDataBoundItems != false. Also, split all the databinding
logic out to DoDataBinding, which we call from here only if
!NET_2_0.
(DoDataBinding): new function. actually perform the binding.
(PerformDataBinding): implement.
(PerformSelect): chain up to base class.
svn path=/trunk/mcs/; revision=56683
Paolo Molaro [Wed, 8 Feb 2006 18:34:40 +0000 (18:34 -0000)]
Wed Feb 8 19:33:17 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini.c: always handle the case when mono_jit_init()
is called in a thread different from the main thread,
confusing libgc (bug #77309).
svn path=/trunk/mono/; revision=56681
Gert Driesen [Wed, 8 Feb 2006 13:40:24 +0000 (13:40 -0000)]
* XmlTypeAttributeTests.cs: Set eol-style to native.
* All: removed bogus eol-style property.
svn path=/trunk/mcs/; revision=56679
Gert Driesen [Wed, 8 Feb 2006 13:38:15 +0000 (13:38 -0000)]
Realy really test eol-style on simple test file, to retrict possible damage;-)
svn path=/trunk/mcs/; revision=56678
Gert Driesen [Wed, 8 Feb 2006 13:28:13 +0000 (13:28 -0000)]
* XmlTextAttributeTests.cs: Set eol-style to native.
* XmlTypeAttributeTests.cs: Same.
* XmlSerializerTestClasses.cs: Same.
* XmlSerializerTests.cs: Same.
* XmlSerializationWriterTests.cs: Same.
* XmlRootAttributeTests.cs: Same.
* XmlReflectionImporterTests.cs: Same.
* XmlIncludeAttributeTests.cs: Same.
* XmlEnumAttributeTests.cs: Same.
* XmlElementAttributeTests.cs: Same.
* XmlChoiceIdentifierAttributeTests.cs: Same.
* XmlAttributesTests.cs: Same.
* XmlAttributeAttributeTests.cs: Same.
* XmlArrayItemAttributeTests.cs: Same.
* XmlArrayAttributeTests.cs: Same.
* XmlAnyElementAttributeTests.cs: Same.
* SoapTypeAttributeTests.cs: Same.
* SoapSchemaMemberTests.cs: Same.
* SoapAttributeAttribute.cs: Same.
* SoapElementAttributeTests.cs: Same.
* SoapEnumAttributeTests.cs: Same.
* SoapIncludeAttributeTests.cs: Same.
* ComplexDataStructure.cs: Same.
* DeserializeTests.cs: Same.
svn path=/trunk/mcs/; revision=56677
Gert Driesen [Wed, 8 Feb 2006 11:43:54 +0000 (11:43 -0000)]
Test for setting eol-style to native (from Windows) on file that
has CRLF line endings.
svn path=/trunk/mcs/; revision=56676
Ankit Jain [Wed, 8 Feb 2006 07:01:34 +0000 (07:01 -0000)]
In ilasm/codegen:
* PeapiTypeRef.cs (PeapiTypeRef.MakeBoundArray): Simplify and fix
behavior.
In class/PEAPI:
* Metadata.cs (BoundArray.ctor): Change param 'upBounds' to sizes.
(MetaData.CompressNum): Fix range check.
svn path=/trunk/mcs/; revision=56674
Martin Baulig [Wed, 8 Feb 2006 03:45:04 +0000 (03:45 -0000)]
2006-02-08 Martin Baulig <martin@ximian.com>
* generic.cs (ConstraintChecker.CheckConstraints): Move the error
reporting into CheckConstraint() so we can use the correctly
instantiated type.
svn path=/trunk/mcs/; revision=56670
Martin Baulig [Wed, 8 Feb 2006 02:52:34 +0000 (02:52 -0000)]
2006-02-08 Martin Baulig <martin@ximian.com>
* expression.cs (BaseAccess): Add support for generic methods.
* ecore.cs (MethodGroupExpr.ResolveGeneric): Propagate `IsBase' to
the new MethodGroupExpr.
svn path=/trunk/mcs/; revision=56668
Martin Baulig [Wed, 8 Feb 2006 02:02:19 +0000 (02:02 -0000)]
2006-02-08 Martin Baulig <martin@ximian.com>
* MonoGenericClass.cs (MonoGenericClass.IsAssignableFrom):
Override and implement this; fixes #77395.
2006-02-07 Martin Baulig <martin@ximian.com>
svn path=/trunk/mcs/; revision=56663
Gonzalo Paniagua Javier [Wed, 8 Feb 2006 01:37:58 +0000 (01:37 -0000)]
2006-02-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ChunkedInputStream.cs:
* ChunkStream.cs: handle partial trailers and zero reads. Patch by Pawel
Sakowski.
svn path=/trunk/mcs/; revision=56661
Peter Dennis Bartok [Wed, 8 Feb 2006 01:34:55 +0000 (01:34 -0000)]
2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs (Document.ctor): Now initializing
selection_anchor. Fixes #77493
svn path=/trunk/mcs/; revision=56660
Gonzalo Paniagua Javier [Wed, 8 Feb 2006 01:33:15 +0000 (01:33 -0000)]
2006-02-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWebRequest.cs: don't send the expect-100 if if there's no content.
* HttpListenerRequest.cs:
* HttpConnection.cs:
* RequestStream.cs: use the content length header to avoid reading past
the end of the stream.
Patch by Horst Reiterer.
svn path=/trunk/mcs/; revision=56658
Jackson Harper [Tue, 7 Feb 2006 23:55:58 +0000 (23:55 -0000)]
* TrackBar.cs: The increment/decrements were backwards.
svn path=/trunk/mcs/; revision=56657
Mike Kestner [Tue, 7 Feb 2006 23:28:32 +0000 (23:28 -0000)]
2006-02-07 Mike Kestner <mkestner@novell.com>
* Theme*.cs : remove ThemeEngine.Current usage as it just points back
to the instance itself.
svn path=/trunk/mcs/; revision=56655
Peter Dennis Bartok [Tue, 7 Feb 2006 23:16:22 +0000 (23:16 -0000)]
2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
* X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
on ulongs and pointers, the size differs between 32bit and 64bit
systems.
svn path=/trunk/mcs/; revision=56654
Martin Baulig [Tue, 7 Feb 2006 22:40:58 +0000 (22:40 -0000)]
2006-02-07 Martin Baulig <martin@ximian.com>
* generic.cs (ConstraintChecker.CheckConstraints): Interfaces are
also reference types; fixes #77483.
svn path=/trunk/mcs/; revision=56652
Martin Baulig [Tue, 7 Feb 2006 22:17:41 +0000 (22:17 -0000)]
2006-02-07 Martin Baulig <martin@ximian.com>
* icall.c (ves_icall_MonoMethod_get_IsGenericMethodDefinition): Removed.
svn path=/trunk/mono/; revision=56649
Martin Baulig [Tue, 7 Feb 2006 22:16:48 +0000 (22:16 -0000)]
2006-02-07 Martin Baulig <martin@ximian.com>
* MethodInfoTest.cs: Added test where IsGenericMethod must return false.
svn path=/trunk/mcs/; revision=56648
Martin Baulig [Tue, 7 Feb 2006 22:12:43 +0000 (22:12 -0000)]
2006-02-07 Martin Baulig <martin@ximian.com>
* generic.cs
(TypeManager.IsGenericMethod): We now return whether something is
an instantiated generic method (and not a generic method def).
(TypeManager.IsGenericMethodDefinition): New public method.
* typemanager.cs
(TypeManager.CSharpSignature): Only include type arguments for
"real" generic methods, not for any instantiated method.
(TypeManager.GetMethodName): Likewise, but also allow generic
method definitions here.
svn path=/trunk/mcs/; revision=56647
Mike Kestner [Tue, 7 Feb 2006 22:12:10 +0000 (22:12 -0000)]
2006-02-07 Mike Kestner <mkestner@novell.com>
* XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
for 64 bit platforms to work around a metacity bug.
svn path=/trunk/mcs/; revision=56646
Martin Baulig [Tue, 7 Feb 2006 22:11:52 +0000 (22:11 -0000)]
2006-02-07 Martin Baulig <martin@ximian.com>
* MonoMethod.cs
(MonoMethod.IsGenericMethod): Only return true for "real" generic
methods and not for arbitrary instantiated methods.
(MonoMethod.IsGenericMethodDefinition): Only return true for
generic method definitions, but not for instantiated generic
methods. Fixes #77466.
svn path=/trunk/mcs/; revision=56645
Chris Toshok [Tue, 7 Feb 2006 21:55:19 +0000 (21:55 -0000)]
2006-02-07 Chris Toshok <toshok@ximian.com>
* data/net_2_0/Makefile.am (EXTRA_DIST): add web.config
(mono_DATA): same.
* data/net_2_0/machine.config: remove the system.web section from
here.
* data/net_2_0/web.config: and add it here.
svn path=/trunk/mono/; revision=56644
Miguel de Icaza [Tue, 7 Feb 2006 20:51:44 +0000 (20:51 -0000)]
Clarification
svn path=/trunk/mono/; revision=56641
Chris Toshok [Tue, 7 Feb 2006 20:43:50 +0000 (20:43 -0000)]
make this test a bit more complicated by putting a server control in the contentplaceholder's fallback
svn path=/trunk/mcs/; revision=56640
Chris Toshok [Tue, 7 Feb 2006 20:42:35 +0000 (20:42 -0000)]
2006-02-07 Chris Toshok <toshok@ximian.com>
* TemplateControlCompiler.cs (AddParsedSubObjectStmt): append the
calls to AddParsedSubObject to a special statement collection --
builder.flushOutputStatements -- not to builder.method.Statements.
(InitMethod): initially, set flushOutputStatements to
method.Statements. If we're dealing with a ContentPlaceHolder,
set flushOutputStatements to be the else block of a conditional we
create. This causes the compiled control to fall back to the
ContentPlaceHolder's child controls in case there's no
corresponding Content template.
(AddChildCall): use methodStatements instead of method.Statements.
(CreateControlTree): same.
* PageCompiler.cs (CreatePropertyAssign): factor out the
string,string implementation and add one that also takes a
CodeExpression; make the string,string implementation call the
three arg one with thisRef.
(AddStatementsToInitMethod): make use of the 3-arg form of
CreatePropertyAssign to reduce code. Also, add support for
setting the page's Title from the parser's Title.
svn path=/trunk/mcs/; revision=56639
Chris Toshok [Tue, 7 Feb 2006 20:34:47 +0000 (20:34 -0000)]
2006-02-07 Chris Toshok <toshok@ximian.com>
* ControlBuilder.cs: rename flushOutputStatements to
methodStatements to at least reflect that they're in that method.
svn path=/trunk/mcs/; revision=56638
Chris Toshok [Tue, 7 Feb 2006 20:11:58 +0000 (20:11 -0000)]
an example of using the <%@ Page ... Title directive
svn path=/trunk/mcs/; revision=56636
Chris Toshok [Tue, 7 Feb 2006 20:10:07 +0000 (20:10 -0000)]
2006-02-07 Chris Toshok <toshok@ximian.com>
* TemplateControlCompiler.cs (AddParsedSubObjectStmt): append the
calls to AddParsedSubObject to a special statement collection --
builder.flushOutputStatements -- not to builder.method.Statements.
(InitMethod): initially, set flushOutputStatements to
method.Statements. If we're dealing with a ContentPlaceHolder,
set flushOutputStatements to be the else block of a conditional we
create. This causes the compiled control to fall back to the
ContentPlaceHolder's child controls in case there's no
corresponding Content template.
* PageCompiler.cs (CreatePropertyAssign): factor out the
string,string implementation and add one that also takes a
CodeExpression; make the string,string implementation call the
three arg one with thisRef.
(AddStatementsToInitMethod): make use of the 3-arg form of
CreatePropertyAssign to reduce code. Also, add support for
setting the page's Title from the parser's Title.
svn path=/trunk/mcs/; revision=56635
Chris Toshok [Tue, 7 Feb 2006 20:04:15 +0000 (20:04 -0000)]
2006-02-07 Chris Toshok <toshok@ximian.com>
* MasterPage.cs (CreateMasterPage): don't nullref on null
contentTemplateCollection.
* ControlBuilder.cs: add a flushOutputStatements field.
* PageParser.cs (ProcessMainAttributes): handle Title attribute.
(Title): add getter.
* Page.cs (Title): implement getter/setter.
(InternalProcessRequest): after calling ApplyMasterPage, apply the
page's Title directive if there is one.
(AddContentTemplate): make the EditorBrowsable attribute apply to
the method, not the field.
svn path=/trunk/mcs/; revision=56634
Jackson Harper [Tue, 7 Feb 2006 20:03:45 +0000 (20:03 -0000)]
* TrackBar.cs: Process the input keys we need, and hookup to
KeyDown instead of using WndProc, so we get key messages.
svn path=/trunk/mcs/; revision=56633
Peter Dennis Bartok [Tue, 7 Feb 2006 19:16:41 +0000 (19:16 -0000)]
* X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
we need to translate the XdndVersion atoms array before sending it
svn path=/trunk/mcs/; revision=56632
Peter Dennis Bartok [Tue, 7 Feb 2006 19:05:16 +0000 (19:05 -0000)]
2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
machine we're on.
svn path=/trunk/mcs/; revision=56631
Chris Toshok [Tue, 7 Feb 2006 16:56:30 +0000 (16:56 -0000)]
fix typo
svn path=/trunk/mcs/; revision=56624
Chris Toshok [Tue, 7 Feb 2006 16:50:19 +0000 (16:50 -0000)]
add BaseTemplateParser.cs and MasterPageControlBuilder.cs, and track ContentControlBuilderInternal name change.
svn path=/trunk/mcs/; revision=56622
Chris Toshok [Tue, 7 Feb 2006 16:49:30 +0000 (16:49 -0000)]
2006-02-07 Chris Toshok <toshok@ximian.com>
* ContentPlaceHolder.cs: fix ToolboxDataAttribute.
* Content.cs: use ContentControlBuilderInternal, and add a bunch
of unused (for now) EventHandler's here.
* ContentControlBuilderInternal.cs: rename ContentControlBuilder
to this.
svn path=/trunk/mcs/; revision=56621
Chris Toshok [Tue, 7 Feb 2006 16:49:01 +0000 (16:49 -0000)]
2006-02-07 Chris Toshok <toshok@ximian.com>
* MasterPage.cs: rework this file, adding some static methods
gleaned from MS stack traces, and clear up the propogation of
content templates between nested master pages.
* Control.cs (TemplateControl): implement.
* TemplateControl.cs: re-indent some of the code.
(ReadStringRecource): according to msdn2, these throw
NotSupportedException.
* MasterPageParser.cs (HandleOption): implement. assign our
master page's MasterPageFile from the UserControl property.
* UserControl.cs (InitializeAsUserControlInternal): new method
that allows initialization without a page.
* UserControlParser.cs (ProcessMainAttributes): for 2.0 handle
MasterPageFile attributes, so we can have nested master pages.
(MasterPageFile): add a 2.0 specific property.
* TemplateControlParser.cs: in .net 2.0, our base class is
BaseTemplateParser.
(HandleOptions): be consistent and call base.HandleOptions.
* BaseTemplateParser.cs: new (stubbed) class.
* MasterPageControlBuilder.cs: new file, not filled in (and really
not used either.)
* Page.cs (InternalProcessRequest): call ApplyMasterPage.
(SaveExistingContentTemplates): nuke.
(ReapplyExistingContentTemplate): nuke.
(ApplyMasterPage): if we have a master page, call
MasterPage.ApplyMasterPageRecursive with it and add it to our
controls.
(set_MasterPageFile): remove call to SaveExistingContentTemplates.
(get_Master): call MasterPage.CreateMasterPage.
(AddContentTemplate): keep track of the page's content templates
in a local Hashtable - they aren't our master page's content
templates.
svn path=/trunk/mcs/; revision=56620
Chris Toshok [Tue, 7 Feb 2006 16:48:02 +0000 (16:48 -0000)]
2006-02-07 Chris Toshok <toshok@ximian.com>
* UserControlCompiler.cs (AddStatementsToInitMethod): emit code to
assign __ctrl.MasterPageFile to our master page, if we have one.
* PageCompiler.cs (CreateContructor): remove the MasterPageFile
assignment from here.
(AddStatementsToInitMethod): and move it here.
* TemplateControlCompiler.cs (InitMethod): in the case where
builder is a RootBuilder (we're building the __BuildControlTree
method), call a virtual method so that subclasses can add their
own statements to the method (used by both Page and MasterPage);
Also, in the RootBuilder case, the argument should be the
parser.ClassName type (the class we're building); lastly, expand
the ContentPlaceHolder logic to include all the
ContentTemplates/InstantiateIn magic.
(AddStatementsToInitMethod): empty virtual method.
(AddContentTemplateInvocation): ContentControlBuilder ->
ContentControlBuilderInternal.
(CreateControlTree): same.
(CallBaseFrameworkInitialize): new function, create call to
base.FrameworkInitialize.
(CreateFrameworkInitializeMethod): call CallBaseFrameworkIniitialize.
svn path=/trunk/mcs/; revision=56619
Konstantin Triger [Tue, 7 Feb 2006 11:49:21 +0000 (11:49 -0000)]
TARGET_JVM: fixing canonicalization
svn path=/trunk/mcs/; revision=56612
Konstantin Triger [Tue, 7 Feb 2006 08:45:54 +0000 (08:45 -0000)]
remove local name encoding for enums
svn path=/trunk/mcs/; revision=56610
Atsushi Eno [Tue, 7 Feb 2006 07:57:08 +0000 (07:57 -0000)]
2006-02-07 Atsushi Enomoto <atsushi@ximian.com>
* cs1570-3.cs cs1570-5.cs cs1570-11.cs cs1570-9.cs cs1570-2.cs
cs1570-4.cs cs1570-6.cs cs1570.cs cs1570-10.cs cs1570-8.cs :
It reports XmlTextReader error message changes as build breakage.
That's why I opposed to compare error messages blindly.
svn path=/trunk/mcs/; revision=56609
Ankit Jain [Tue, 7 Feb 2006 06:54:20 +0000 (06:54 -0000)]
* socket-io.h (MonoSocketFlags): New. Copy of System.Net.Sockets.SocketFlags
* socket-io.c (convert_socketflags): New. Convert SocketFlags to native ones.
(ves_icall_System_Net_Sockets_Socket_Receive_internal): Convert flags using convert_socketflags.
(ves_icall_System_Net_Sockets_Socket_ReceiveFrom_internal): Likewise.
(ves_icall_System_Net_Sockets_Socket_Send_internal): Likewise.
(ves_icall_System_Net_Sockets_Socket_SendTo_internal): Likewise.
svn path=/trunk/mono/; revision=56608
Atsushi Eno [Tue, 7 Feb 2006 04:05:25 +0000 (04:05 -0000)]
2006-02-06 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaDatatypeTests.cs: (TestAnyType) NotDotNet -> Ignore.
svn path=/trunk/mcs/; revision=56607
Gonzalo Paniagua Javier [Tue, 7 Feb 2006 01:36:08 +0000 (01:36 -0000)]
Documented MONO_SHARED_HOSTNAME
svn path=/trunk/mono/; revision=56606
Gonzalo Paniagua Javier [Tue, 7 Feb 2006 01:35:46 +0000 (01:35 -0000)]
2006-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* shared.c: use MONO_SHARED_HOSTNAME as a substitute for gethostname()
when creating the shared files in the .wapi directory. Fixes bug #77371.
svn path=/trunk/mono/; revision=56605
Gonzalo Paniagua Javier [Tue, 7 Feb 2006 00:56:41 +0000 (00:56 -0000)]
fix
svn path=/trunk/mcs/; revision=56604
Peter Dennis Bartok [Tue, 7 Feb 2006 00:37:58 +0000 (00:37 -0000)]
2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs:
- The preceeding 64bit fixes had a bug: ChangeProperty expects the
number of bits for the property, not the number of bytes. The
change to provide IntPtr.Size broke 32bit. (64bit was also wrong
but would not crash since it specified 8 bits instead of 4 bits)
- More 64bit fixes: Switched all atoms from int to IntPtr (they are
defined as XID -> long in the C headers)
- Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
references since those are now IntPtr to begin with
- Switched all Atom.XXX 'int' casts to IntPtr casts
- Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
- Fixed XInternAtom signature for 64bit, now returns an IntPtr
- Added XChangeActivePointerGrab DllImport (for X11DnD)
* X11Structs.cs:
- Changed 'int' type for Atoms in XEvent structures to IntPtr
- Changed atom in HoverStruct to be IntPtr
* X11DnD.cs:
- Removed local DllImports, switched code to use those from XplatUIX11
- Removed/fixed casts related to the switch of Atom to be a IntPtr
svn path=/trunk/mcs/; revision=56603
Mike Kestner [Mon, 6 Feb 2006 23:00:18 +0000 (23:00 -0000)]
oops, forgot this file
svn path=/trunk/mcs/; revision=56601
Miguel de Icaza [Mon, 6 Feb 2006 22:24:02 +0000 (22:24 -0000)]
2006-02-06 Miguel de Icaza <miguel@novell.com>
* codegen.cs (EmitScopeInitFromBlock): check here the
capture_context, there is no need to make two calls to the
EmitContext.
* anonymous.cs: Add some debugging messages that might help me
track other instances of this problem in the future (the
regression of test 467).
* cs-parser.jay: track the variable block, as we need to initalize
any captured variables declared in this block for the "catch"
portion of the "Try" statement.
* statement.cs (Try.Emit): If the "Catch" has a VarBlock, emit any
scope initialization for captured variables.
Also, move the emit for the variables after the block location has
been marked.
Also in gmcs case, backport the const change from Marek.
svn path=/trunk/mcs/; revision=56599
Mike Kestner [Mon, 6 Feb 2006 21:49:04 +0000 (21:49 -0000)]
2006-02-06 Mike Kestner <mkestner@novell.com>
* XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
method signatures in the import region. There may still be some
lingering struct marshaling issues, as I didn't drill down into those.
Yet.
svn path=/trunk/mcs/; revision=56598
Gert Driesen [Mon, 6 Feb 2006 21:13:15 +0000 (21:13 -0000)]
* XmlSchemaDatatypeTests.cs: Marked TestAnyType NotDotNet on 2.0 profile
instead of marking it NotWorking. No longer derive from Assertion.
svn path=/trunk/mcs/; revision=56597
Gonzalo Paniagua Javier [Mon, 6 Feb 2006 21:01:47 +0000 (21:01 -0000)]
removed classes not in MS API
svn path=/trunk/mcs/; revision=56596
Gonzalo Paniagua Javier [Mon, 6 Feb 2006 21:00:42 +0000 (21:00 -0000)]
2006-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DefaultHttpHandler.cs: New file.
svn path=/trunk/mcs/; revision=56595
Jackson Harper [Mon, 6 Feb 2006 20:18:08 +0000 (20:18 -0000)]
* ComboBox.cs: Dont manually set the top_item, this is computed
when the scrollbar position is set.
svn path=/trunk/mcs/; revision=56594
Gonzalo Paniagua Javier [Mon, 6 Feb 2006 19:53:42 +0000 (19:53 -0000)]
forgot
svn path=/trunk/mcs/; revision=56593
Gonzalo Paniagua Javier [Mon, 6 Feb 2006 19:53:15 +0000 (19:53 -0000)]
2006-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* IgnoreFileBuildProvider.cs: it's not public.
* BuildProvider.cs: mostly implemented.
svn path=/trunk/mcs/; revision=56592
Marek Safar [Mon, 6 Feb 2006 18:40:58 +0000 (18:40 -0000)]
2006-02-06 Marek Safar <marek.safar@seznam.cz>
* ecore.cs (PropertyExpr.FindAccessors): Just made flags const.
svn path=/trunk/mcs/; revision=56591
Mike Kestner [Mon, 6 Feb 2006 18:06:14 +0000 (18:06 -0000)]
2006-02-06 Mike Kestner <mkestner@novell.com>
* XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
startup crashes on amd64. There's other fixes needed. All pinvoke
usage of Atom needs to be mapped to IntPtr for example. And there are
likely other int/long issues to be addressed.
svn path=/trunk/mcs/; revision=56590
Martin Baulig [Mon, 6 Feb 2006 16:58:07 +0000 (16:58 -0000)]
2006-02-06 Martin Baulig <martin@ximian.com>
* class.cs (TypeContainer.DefineType): If we're a struct, pass
`TypeManager.value_type' as parent type to
ModuleBuilder.DefineType(). Fixes #77358.
svn path=/trunk/mcs/; revision=56588
Atsushi Eno [Mon, 6 Feb 2006 15:14:54 +0000 (15:14 -0000)]
2006-02-06 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextReader.cs : ReadTextReader() is now assured to have current
node content, except for Text, CDATA and Comment. ReadName() does
not use nameBuffer and reuse peekChars.
svn path=/trunk/mcs/; revision=56587
Lluis Sanchez [Mon, 6 Feb 2006 14:54:14 +0000 (14:54 -0000)]
2006-02-06 Lluis Sanchez Gual <lluis@novell.com>
* LogicalCallContext.cs, MethodCall.cs, ReturnMessage.cs,
MethodResponse.cs: Create a new LogicalCallContext for
every message. Fixes #77364 again.
svn path=/trunk/mcs/; revision=56586
Paolo Molaro [Mon, 6 Feb 2006 14:05:05 +0000 (14:05 -0000)]
Mon Feb 6 09:01:24 EST 2006 Paolo Molaro <lupus@ximian.com>
* mini-ppc.c: fix handling of exceptions in large methods (bug #74932).
svn path=/trunk/mono/; revision=56584
Konstantin Triger [Mon, 6 Feb 2006 13:44:05 +0000 (13:44 -0000)]
fixing solution configurations
svn path=/trunk/mcs/; revision=56583
Konstantin Triger [Mon, 6 Feb 2006 13:09:43 +0000 (13:09 -0000)]
remove ClearCase binding
svn path=/trunk/mcs/; revision=56582
Konstantin Triger [Mon, 6 Feb 2006 12:34:31 +0000 (12:34 -0000)]
applying jldap patch, cvs revision 1.13
svn path=/trunk/mcs/; revision=56581
Atsushi Eno [Mon, 6 Feb 2006 11:31:30 +0000 (11:31 -0000)]
2006-02-06 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextReader.cs : eliminated currentTagBuffer. XmlDeclaration is
now once read as PI and then re-parsed from Value. DTD internal
subset is now parsed as usual "value".
svn path=/trunk/mcs/; revision=56580
Gert Driesen [Mon, 6 Feb 2006 10:39:27 +0000 (10:39 -0000)]
* DeserializeTests.cs: Use Assert instead of deprecated Assertion. Renumbered
tests. Fixed line endings.
svn path=/trunk/mcs/; revision=56579
Konstantin Triger [Mon, 6 Feb 2006 09:38:32 +0000 (09:38 -0000)]
performance refactoring
svn path=/trunk/mcs/; revision=56578
Atsushi Eno [Mon, 6 Feb 2006 08:42:07 +0000 (08:42 -0000)]
2006-02-06 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextReader.cs : Expect() could be written inline and it could
provide better information. ReadEndTag() could use Expect() instead
of costy ReadName().
svn path=/trunk/mcs/; revision=56577
Konstantin Triger [Sun, 5 Feb 2006 14:04:41 +0000 (14:04 -0000)]
use correct properties
svn path=/trunk/mcs/; revision=56573