Zoltan Varga [Fri, 17 Dec 2004 18:24:33 +0000 (18:24 -0000)]
2004-12-17 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.h mini-amd64.c exceptions-amd64.c: Port exception handling
changes from the x86 code.
svn path=/trunk/mono/; revision=37894
Zoltan Varga [Fri, 17 Dec 2004 18:11:37 +0000 (18:11 -0000)]
2004-12-17 Zoltan Varga <vargaz@freemail.hu>
* mini.h: Add prototype for mono_arch_get_throw_corlib_exception ().
svn path=/trunk/mono/; revision=37893
Atsushi Eno [Fri, 17 Dec 2004 17:56:54 +0000 (17:56 -0000)]
2004-12-17 Atsushi Enomoto <atsushi@ximian.com>
* System.Xml.dll.sources : added XmlReaderBinarySupport.cs.
* XmlReaderBinarySupport.cs : added support class for base64/binhex
reading that mostly automates those reader support.
* XmlReader.cs : added CanReadBinaryContent, CanReadValueChunk,
ReadContentAsBase64(), ReadElementContentAsBase64(),
ReadContentAsBinHex(), ReadElementContentAsBinHex() and
ReadValueChunk().
* XmlTextReader.cs : Now ReadBase64() and ReadBinHex() implementations
are moved to XmlReaderBinarySupport. Added CanReadBinaryContent and
CanReadValueChunk overrides. Call Binary.Reset() to enable them.
* XmlTextReader2.cs : added CanReadBinaryContent, CanReadValueChunk.
Added ReadContentAsBase64(), ReadElementContentAsBase64(),
ReadContentAsBinHex(), ReadElementContentAsBinHex() (just because
they are overriden in MS.NET).
* XmlNodeReader.cs : added CanReadBinaryContent and CanReadValueChunk.
Call Binary.Reset() to enable them.
* XPathNavigatorReader.cs : added CanReadBinaryContent and
CanReadValueChunk. Call Binary.Reset() to enable them.
* SubtreeXmlReader.cs, XmlFilterReader.cs :
added CanReadBinaryContent and CanReadValueChunk.
Call Binary.Reset() to enable them.
svn path=/trunk/mcs/; revision=37892
Lluis Sanchez [Fri, 17 Dec 2004 17:43:35 +0000 (17:43 -0000)]
2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
* CssStyleCollection.cs: Minor (!) fix.
* HtmlTextWriter.cs: Register names for new 2.0 styles.
svn path=/trunk/mcs/; revision=37888
Lluis Sanchez [Fri, 17 Dec 2004 16:00:34 +0000 (16:00 -0000)]
2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
* Style.cs: Generate styles using a CssStyleCollection, so the code can
be reused for the 2.0 FillStyleAttributes method.
* Menu.cs: Implemented more properties and events. Rendering is very
complete now.
* MenuItem.cs: Added PopOutImageUrl property.
* Menu.js: More work on submenu management.
svn path=/trunk/mcs/; revision=37887
Lluis Sanchez [Fri, 17 Dec 2004 15:58:52 +0000 (15:58 -0000)]
2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
* CssStyleCollection.cs: Make it work as a standalone collection.
* HtmlTextWriter.cs: Added static method for getting style names.
svn path=/trunk/mcs/; revision=37886
Raja R Harinath [Fri, 17 Dec 2004 15:45:53 +0000 (15:45 -0000)]
* class.cs, decl.cs, ecore.cs, iterators.cs, pending.cs,
rootcontext.cs, typemanager.cs: Make nomenclature consistent.
"parent" refers to enclosing type/class. "base" refers to superclass.
svn path=/trunk/mcs/; revision=37885
Martin Baulig [Fri, 17 Dec 2004 15:36:50 +0000 (15:36 -0000)]
2004-12-17 Martin Baulig <martin@ximian.com>
* class-internals.h
(MonoGenericClass): Replaced `MonoType *generic_type' with
`MonoClass *generic_class'. Removed `dynamic_info'; if
`is_dynamic' is true, we're a `MonoDynamicGenericClass'.
(MonoDynamicGenericClass): Derive from `MonoGenericClass'.
svn path=/trunk/mono/; revision=37884
Jordi Mas i Hernandez [Fri, 17 Dec 2004 14:50:57 +0000 (14:50 -0000)]
CheckedBox implementation, ListBox fixes
svn path=/trunk/mcs/; revision=37883
Raja R Harinath [Fri, 17 Dec 2004 13:43:13 +0000 (13:43 -0000)]
* Makefile (run-mcs-tests, run-generics.tests): Don't remove
*.junk here.
(clean-local): Remove them here.
* do-tests.pl: Fix some perl warnings.
svn path=/trunk/mcs/; revision=37881
Raja R Harinath [Fri, 17 Dec 2004 13:36:44 +0000 (13:36 -0000)]
* codegen.cs (CommonAssemblyModulClass.GetClsCompliantAttribute):
Ensure that we only have GlobalAttributes.
* attribute.cs (Attribute.Emit): Make non-virtual.
(GlobalAttribute.Emit): Remove.
(Attribute.Resolve): Make virtual.
(GlobalAttribute.Resolve): New. Set Rootcontext.Tree.Types.NamespaceEntry.
(Attribute.GetConditionalAttributeValue): Take an EmitContext as
the argument. Don't create one.
(Attribute.GetObsoleteAttribute): Likewise.
(Attribute.GetClsCompliantAttributeValue): Likewise.
* class.cs, decl.cs: Update to changes.
svn path=/trunk/mcs/; revision=37880
Lluis Sanchez [Fri, 17 Dec 2004 12:41:23 +0000 (12:41 -0000)]
2004-12-17 Lluis Sanchez Gual <lluis@ximian.com>
* HttpCalls.cs: Use a different port.
svn path=/trunk/mcs/; revision=37879
Peter Dennis Bartok [Fri, 17 Dec 2004 12:03:20 +0000 (12:03 -0000)]
- Fixed baseline aligning calcs
svn path=/trunk/mcs/; revision=37876
Lluis Sanchez [Fri, 17 Dec 2004 12:02:41 +0000 (12:02 -0000)]
2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
* TcpMessageIO.cs: Removed some more WriteByte calls.
* TcpClientTransportSink.cs: Flush the net stream after writing
a message.
svn path=/trunk/mcs/; revision=37875
Lluis Sanchez [Fri, 17 Dec 2004 12:01:43 +0000 (12:01 -0000)]
2004-12-17 Lluis Sanchez Gual <lluis@ximian.com>
* HttpHelper.cs: Removed unused method. Optimized CopyStream method.
* HttpServerChannel.cs: SendResponse does not return a bool any
more, it throws an exception when it fails.
* HttpServer.cs: Improved handling of errors.
svn path=/trunk/mcs/; revision=37874
Lluis Sanchez [Fri, 17 Dec 2004 11:59:28 +0000 (11:59 -0000)]
2004-12-16 Lluis Sanchez Gual <lluis@novell.com>
* HashtableTest.cs: Added test for bug #70570.
svn path=/trunk/mcs/; revision=37873
Lluis Sanchez [Fri, 17 Dec 2004 11:57:51 +0000 (11:57 -0000)]
2004-12-17 Lluis Sanchez Gual <lluis@ximian.com>
* BaseCalls.cs: Removed useless try/catch.
svn path=/trunk/mcs/; revision=37872
Marek Safar [Fri, 17 Dec 2004 11:09:56 +0000 (11:09 -0000)]
2004-12-17 Marek Safar <marek.safar@seznam.cz>
* makefile: Removed LOCAL_MCS_FLAGS. Every test should
have its own.
* cs1621.cs, cs1014.cs, cs1615.cs, cs1609.cs, cs1627.cs,
cs1599-2.cs, cs1620.cs, cs0686.cs, cs1534.cs, cs1007.cs,
cs1626.cs, cs1599.cs, cs1670.cs, cs1646.cs, cs0683.cs,
cs1638.cs, cs0103-2.cs: New error tests.
svn path=/trunk/mcs/; revision=37871
Peter Dennis Bartok [Fri, 17 Dec 2004 09:23:23 +0000 (09:23 -0000)]
- Left mousebutton now sets the caret (and middle button still acts
as formatting tester, which must go away soon)
- Added Debug section for Deleting/Combining lines
- Fixed calculations for UpdateView after Combining lines
svn path=/trunk/mcs/; revision=37870
Peter Dennis Bartok [Fri, 17 Dec 2004 09:22:59 +0000 (09:22 -0000)]
- InsertCharAtCaret(): Fixed start pos fixup
- CaretLine_get: No longer derives the line from the tag, the tag
could be stale if lines in the document have been added or deleted
- RebalanceAfterDelete(): Fixed bug in balancing code
- RebalanceAfterAdd(): Fixed really stupid bug in balancing code
- Line.Streamline(): Now can also elminate leading empty tags
- DumpTree(): Added a few more tests and prevented exception on
uninitialized data
- Added Debug section for Combining lines
- Delete(): Now copies all remaining properties of a line
svn path=/trunk/mcs/; revision=37869
Marek Safar [Fri, 17 Dec 2004 08:42:37 +0000 (08:42 -0000)]
2004-12-17 Marek Safar <marek.safar@seznam.cz>
* delegate.cs (NewDelegate.DoResolve): Add error 149 report.
* ecore.cs (Expression.MemberLookupFailed): Fixed error 143.
* statement.cs (Foreach.Resolve): Add error 186 report.
svn path=/trunk/mcs/; revision=37868
Peter Dennis Bartok [Fri, 17 Dec 2004 06:00:45 +0000 (06:00 -0000)]
- Now properly aligns text on a baseline, using the new
XplatUI.GetFontMetrics() method. Simplified several calculations
- Moved #endif to allow compiling if Debug is not defined
svn path=/trunk/mcs/; revision=37867
Peter Dennis Bartok [Fri, 17 Dec 2004 05:54:03 +0000 (05:54 -0000)]
- Removed Wine assumptions, the handle is now equivalent to the gdi+ native
object
svn path=/trunk/mcs/; revision=37866
Peter Dennis Bartok [Fri, 17 Dec 2004 05:50:21 +0000 (05:50 -0000)]
- Added and implemented GetFontMetrics() method
svn path=/trunk/mcs/; revision=37865
Ben Maurer [Fri, 17 Dec 2004 03:49:19 +0000 (03:49 -0000)]
Revert, per Miguel
svn path=/trunk/mcs/; revision=37860
Jackson Harper [Fri, 17 Dec 2004 02:11:07 +0000 (02:11 -0000)]
* XplatUIStruct.cs: Add enum for dead keys
* X11Keyboard.cs: Map and unmap dead keys.
svn path=/trunk/mcs/; revision=37859
Gonzalo Paniagua Javier [Fri, 17 Dec 2004 00:54:34 +0000 (00:54 -0000)]
2004-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ArrayList.cs: don't initialize _items twice. Closes bug #70620.
svn path=/trunk/mcs/; revision=37855
Zoltan Varga [Thu, 16 Dec 2004 22:01:27 +0000 (22:01 -0000)]
2004-12-16 Zoltan Varga <vargaz@freemail.hu>
* CustomAttributeData.cs MethodBody.cs: Reenable some 2.0 code now that
the gmcs bugs blocking them are fixed.
svn path=/trunk/mcs/; revision=37852
Zoltan Varga [Thu, 16 Dec 2004 21:34:05 +0000 (21:34 -0000)]
2004-12-16 Zoltan Varga <vargaz@freemail.hu>
* mini-x86.c (mono_arch_emit_epilog): Optimize the corlib exception
throwing code to reduce its size, unify the AOT and non-aot code and
get rid of relocations in the AOT case.
svn path=/trunk/mono/; revision=37851
Zoltan Varga [Thu, 16 Dec 2004 21:29:58 +0000 (21:29 -0000)]
2004-12-16 Zoltan Varga <vargaz@freemail.hu>
* Array.cs (DoBinarySearch): Fix a warning.
svn path=/trunk/mcs/; revision=37850
Zoltan Varga [Thu, 16 Dec 2004 21:28:44 +0000 (21:28 -0000)]
2004-12-16 Zoltan Varga <vargaz@freemail.hu>
* CustomAttributeBuilder.cs: Fix a warning.
svn path=/trunk/mcs/; revision=37849
Zoltan Varga [Thu, 16 Dec 2004 21:13:41 +0000 (21:13 -0000)]
2004-12-16 Zoltan Varga <vargaz@freemail.hu>
* mini-x86.h mini.c exceptions-x86.c
(mono_arch_get_throw_corlib_exception): New arch specific function to
raise corlib exceptions which doesn't require relocations in the
caller.
svn path=/trunk/mono/; revision=37848
Zoltan Varga [Thu, 16 Dec 2004 21:10:21 +0000 (21:10 -0000)]
2004-12-16 Zoltan Varga <vargaz@freemail.hu>
* exception.c (mono_exception_from_token): New helper function.
svn path=/trunk/mono/; revision=37847
Zoltan Varga [Thu, 16 Dec 2004 21:09:04 +0000 (21:09 -0000)]
2004-12-16 Zoltan Varga <vargaz@freemail.hu>
* aot.c (emit_method): Handle PATCH_INFO_NONE as well.
svn path=/trunk/mono/; revision=37846
Marek Safar [Thu, 16 Dec 2004 17:28:27 +0000 (17:28 -0000)]
2004-12-16 Marek Safar <marek.safar@seznam.cz>
* expression.cs (Conditional.DoResolve): Add warning 429.
* statement.cs (If.Resolve): Add warning 665.
svn path=/trunk/mcs/; revision=37843
Atsushi Eno [Thu, 16 Dec 2004 17:09:48 +0000 (17:09 -0000)]
2004-12-16 Atsushi Enomoto <atsushi@ximian.com>
* xml-classes :updates.
svn path=/trunk/mono/; revision=37839
Atsushi Eno [Thu, 16 Dec 2004 15:37:31 +0000 (15:37 -0000)]
2004-12-16 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaValidator.cs : ValidateElement() was not LAMESPEC. Added
some comments on ValidateEndElement().
svn path=/trunk/mcs/; revision=37838
Atsushi Eno [Thu, 16 Dec 2004 15:10:54 +0000 (15:10 -0000)]
2004-12-16 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigatorReader.cs : added SchemaInfo.
svn path=/trunk/mcs/; revision=37837
Atsushi Eno [Thu, 16 Dec 2004 15:09:25 +0000 (15:09 -0000)]
2004-12-16 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigator.cs :added MoveToFollowing(), ReplaceSelf() and
all the missing attributes.
svn path=/trunk/mcs/; revision=37836
Raja R Harinath [Thu, 16 Dec 2004 14:14:58 +0000 (14:14 -0000)]
New invariant: RootContext.Tree.Types.NamespaceEntry == null
except when in the parser, and in GlobalAttribute.
* driver.cs (MainDriver): Reset RootContext.Tree.Types.NamespaceEntry.
* attribute.cs (GlobalAttribute.CheckAttributeType): Reset
RootContext.Tree.Types.NamespaceEntry once work is done.
(GlobalAttribute.Emit): New. Wrapper for Attribute.Emit, but sets
and resets RootContext.Tree.Types.NamespaceEntry.
svn path=/trunk/mcs/; revision=37835
Atsushi Eno [Thu, 16 Dec 2004 14:01:42 +0000 (14:01 -0000)]
2004-12-16 Atsushi Enomoto <atsushi@ximian.com>
* XsdValidatingReader.cs : added ActualSchemaType to context type.
* XmlSchemaValidatingReader.cs : added SchemaInfo override.
svn path=/trunk/mcs/; revision=37834
Atsushi Eno [Thu, 16 Dec 2004 14:00:21 +0000 (14:00 -0000)]
2004-12-16 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaValidator.cs : fill schemaInfo as long as possible right now.
svn path=/trunk/mcs/; revision=37833
Atsushi Eno [Thu, 16 Dec 2004 13:58:49 +0000 (13:58 -0000)]
2004-12-16 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs :
Added DateTime related methods with serialization mode.
svn path=/trunk/mcs/; revision=37832
Lluis Sanchez [Thu, 16 Dec 2004 13:05:43 +0000 (13:05 -0000)]
2004-12-16 Lluis Sanchez Gual <lluis@novell.com>
* Hashtable.cs: Add deserialized elements in OnDeserialization, since
when the serialization constructor is called, some of the elements
may not yet be fully deserialized. This fixes bug #70570.
svn path=/trunk/mcs/; revision=37830
Atsushi Eno [Thu, 16 Dec 2004 12:16:32 +0000 (12:16 -0000)]
2004-12-16 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaInfo.cs : added internal copy constructor.
* XmlReader.cs : added MoveToFollowing().
* XmlNode.cs,
XmlElement.cs,
XmlAttribute.cs : added SchemaInfo support.
* XmlDocument.cs : added Schemas and Validate().
ReadNode() now copies xmlReader's SchemaInfo.
* XmlNodeReader.cs : ditto (just reflects node's SchemaInfo).
* SubtreeXmlReader.cs, XmlFilterReader.cs :
Override SchemaInfo to return input reader's SchemaInfo.
svn path=/trunk/mcs/; revision=37829
Jackson Harper [Thu, 16 Dec 2004 10:48:32 +0000 (10:48 -0000)]
flush
svn path=/trunk/mcs/; revision=37828
Peter Dennis Bartok [Thu, 16 Dec 2004 10:27:26 +0000 (10:27 -0000)]
- Added check to make sure the handle of the window exists before calling
Graphics.FromHwnd()
svn path=/trunk/mcs/; revision=37827
Peter Dennis Bartok [Thu, 16 Dec 2004 10:24:03 +0000 (10:24 -0000)]
- Added TextBoxBase.cs and TextControl.cs
svn path=/trunk/mcs/; revision=37826
Peter Dennis Bartok [Thu, 16 Dec 2004 10:22:28 +0000 (10:22 -0000)]
- Initial checkin
svn path=/trunk/mcs/; revision=37825
Peter Dennis Bartok [Thu, 16 Dec 2004 10:18:11 +0000 (10:18 -0000)]
- Fixed Streamline method
- Added FindTag method to Line
- Added DumpTree method for debugging
- Added DecrementLines() method for deleting lines
- Fixed UpdateView to update the cursor to end-of-line on single-line updates
- Added PositionCaret() method
- Fixed MoveCaret(LineDown) to move into the last line, too
- Added InsertChar overload
- Fixed InsertChar tag offset calculations
- Added DeleteChar() method
- Added Combine() method for folding lines
- Fixed Delete() method, no longer allocates wasted Line object and now
copies all properties when swapping nodes
- Delete() method now updates document line counter
svn path=/trunk/mcs/; revision=37824
Atsushi Eno [Thu, 16 Dec 2004 09:53:19 +0000 (09:53 -0000)]
2004-12-16 Atsushi Enomoto <atsushi@ximian.com>
* XsdParticleValidationState.cs :
Removed some unused or unnecessary members. Readonlify some members.
Added GetExpectedParticles(ArrayList) and overriden in all state
types, which is used in XmlSchemaValidator.GetExpectedParticles().
* XmlSchemaValidator.cs : implemented GetExpectedParticles() and
SkipToEndElement ().
svn path=/trunk/mcs/; revision=37823
Jackson Harper [Thu, 16 Dec 2004 09:35:05 +0000 (09:35 -0000)]
* X11Keyboard.cs: Detect and use the num lock mask.
svn path=/trunk/mcs/; revision=37822
Jackson Harper [Thu, 16 Dec 2004 07:12:54 +0000 (07:12 -0000)]
* XplatUIX11.cs: Get the modifier keys from the keyboard driver
* X11Keyboard.cs: Expose the currently selected modifier keys
through a property.
svn path=/trunk/mcs/; revision=37821
Francisco Figueiredo Jr. [Thu, 16 Dec 2004 05:14:57 +0000 (05:14 -0000)]
2004-12-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
* Npgsql/NpgsqlConnector.cs: Changed name of portal and prepare prefixes to be all lower case in order to not have case problems when deallocating them. * Npgsql/NpgsqlCommand.cs: Fixed gborg 1082. Added support to implicit parameters when calling stored procedures.
svn path=/trunk/mcs/; revision=37820
Peter Dennis Bartok [Thu, 16 Dec 2004 02:38:30 +0000 (02:38 -0000)]
- Initial checkin of the TextBox/RichEdit backend
svn path=/trunk/mcs/; revision=37819
Gonzalo Paniagua Javier [Thu, 16 Dec 2004 02:35:07 +0000 (02:35 -0000)]
let's see if this fixes sparc build...
svn path=/trunk/mono/; revision=37818
Gonzalo Paniagua Javier [Thu, 16 Dec 2004 00:08:28 +0000 (00:08 -0000)]
2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* configure.in: isinf can be a macro and the test from AC_CHECK_FUNCTION
#undefines it before testing...
svn path=/trunk/mono/; revision=37817
Jackson Harper [Wed, 15 Dec 2004 23:55:29 +0000 (23:55 -0000)]
* TreeNode.cs:
* TreeView.cs: Fix build on csc (second time today ;-))
svn path=/trunk/mcs/; revision=37816
Zoltan Varga [Wed, 15 Dec 2004 22:45:41 +0000 (22:45 -0000)]
2004-12-15 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mono_emit_method_call): Only allocate the got var when it is
needed.
svn path=/trunk/mono/; revision=37815
Zoltan Varga [Wed, 15 Dec 2004 21:30:46 +0000 (21:30 -0000)]
2004-12-15 Zoltan Varga <vargaz@freemail.hu>
* assembly.c (mono_assembly_load_with_partial_name): Call
mono_assembly_loaded before invoking the preload hooks. Fixes
#70564.
svn path=/trunk/mono/; revision=37810
Zoltan Varga [Wed, 15 Dec 2004 21:00:48 +0000 (21:00 -0000)]
2004-12-15 Zoltan Varga <vargaz@freemail.hu>
* Thread.cs: Change type of culture_info and ui_culture_info to
IntPtr. Implement correct culture handling for the UI culture as
well.
svn path=/trunk/mcs/; revision=37808
Zoltan Varga [Wed, 15 Dec 2004 20:59:28 +0000 (20:59 -0000)]
2004-12-15 Zoltan Varga <vargaz@freemail.hu>
* object-internals.h (MonoThread): Change culture_info and
ui_culture_info into an array.
* threads.c: Cache culture info objects from more than one appdomain.
* threads.c threads-types.h icall.c: Add icalls for manipulating the
current UI culture.
svn path=/trunk/mono/; revision=37807
Jackson Harper [Wed, 15 Dec 2004 20:05:02 +0000 (20:05 -0000)]
* TreeView.cs: Store the treenodes plus/minus box bounds when it
is calculated and use this for click testing.
* TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
svn path=/trunk/mcs/; revision=37805
Jackson Harper [Wed, 15 Dec 2004 20:02:19 +0000 (20:02 -0000)]
flush
svn path=/trunk/mcs/; revision=37804
Jackson Harper [Wed, 15 Dec 2004 19:24:27 +0000 (19:24 -0000)]
Remove debug output
svn path=/trunk/mcs/; revision=37803
César Natarén [Wed, 15 Dec 2004 19:22:52 +0000 (19:22 -0000)]
2004-12-15 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* CodeGenerator.cs: add support for compiling not only from cwd.
svn path=/trunk/mcs/; revision=37802
Jackson Harper [Wed, 15 Dec 2004 19:14:59 +0000 (19:14 -0000)]
* TreeView.cs: Pass the nodes image index to the image list when
drawing that image.
svn path=/trunk/mcs/; revision=37800
Sebastien Pouliot [Wed, 15 Dec 2004 18:58:06 +0000 (18:58 -0000)]
2004-12-15 Sebastien Pouliot <sebastien@ximian.com>
* certmgr.cs, signcode.cs, sn.cs: Fixlets to removed compilation
warning (for unused variables).
svn path=/trunk/mcs/; revision=37799
Sebastien Pouliot [Wed, 15 Dec 2004 18:50:40 +0000 (18:50 -0000)]
2004-12-15 Sebastien Pouliot <sebastien@ximian.com>
* CipherSuite.cs: Removed unused MD5 and SHA1 instances created in
PRF method (fix compilation warnings).
svn path=/trunk/mcs/; revision=37798
Sebastien Pouliot [Wed, 15 Dec 2004 18:49:31 +0000 (18:49 -0000)]
2004-12-15 Sebastien Pouliot <sebastien@ximian.com>
* UTF7Encoding.cs: Fixed warning for unused variable.
svn path=/trunk/mcs/; revision=37797
Sebastien Pouliot [Wed, 15 Dec 2004 18:49:12 +0000 (18:49 -0000)]
2004-12-15 Sebastien Pouliot <sebastien@ximian.com>
* ASN1.cs: Fixed warning for unused variable.
svn path=/trunk/mcs/; revision=37796
Jonathan Pryor [Wed, 15 Dec 2004 18:32:11 +0000 (18:32 -0000)]
* Stdlib.cs: Add more <stdio.h> wrappers, such as fread(3) and fwrite(3).
These will be useful in implementing System.IO.Stream subclass for
reading/writing to a FILE*. Fix a typo in the realloc DllImport.
svn path=/trunk/mcs/; revision=37795
Jonathan Pryor [Wed, 15 Dec 2004 18:22:45 +0000 (18:22 -0000)]
* Syscall.cs: Fix the sys_kill and sys_crypt declarations.
* CdeclFunction.cs: Document calling convention problems on AMD64.
svn path=/trunk/mcs/; revision=37794
Gonzalo Paniagua Javier [Wed, 15 Dec 2004 17:59:45 +0000 (17:59 -0000)]
fix this on solaris for real
svn path=/trunk/mono/; revision=37793
Marek Safar [Wed, 15 Dec 2004 17:45:35 +0000 (17:45 -0000)]
new tests + refresh
svn path=/trunk/mcs/; revision=37792
Marek Safar [Wed, 15 Dec 2004 17:15:12 +0000 (17:15 -0000)]
2004-12-15 Marek Safar <marek.safar@seznam.cz>
* cs-parser.jay: Don't create a block for every variable.
svn path=/trunk/mcs/; revision=37791
Gonzalo Paniagua Javier [Wed, 15 Dec 2004 17:01:15 +0000 (17:01 -0000)]
2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* configure.in: check for ieeefp.h and isinf.
* mono/dis/dis-cil.c: added isinf() for Solaris, that does not seem to
have it. Fixes the build on Solaris.
svn path=/trunk/mono/; revision=37790
Jackson Harper [Wed, 15 Dec 2004 16:07:18 +0000 (16:07 -0000)]
* X11Keyboard.cs: Set messages hwnd.
* XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
post_message calls.
svn path=/trunk/mcs/; revision=37789
Zoltan Varga [Wed, 15 Dec 2004 15:58:49 +0000 (15:58 -0000)]
2004-12-15 Zoltan Varga <vargaz@freemail.hu>
* mini-x86.c (mono_arch_patch_code): Add missing PATCH_INFO_METHOD_REL
in the AOT case.
svn path=/trunk/mono/; revision=37788
Patrik Torstensson [Wed, 15 Dec 2004 15:56:56 +0000 (15:56 -0000)]
2004-12-14 Patrik Torstensson <patrik.torstensson@gmail.com>
* mini-x86.c, cpu-pentium.md, inssel-x86.brg: Fixed bug
with add function when used from Inc/dec atomic
functions. Re-enabled optimization on x86.
* mini-ops.h: renamed atomic_add functions to
allow _add to match the Interlocked::Add and
_add_next to match Interlocked::Inc/Dec.
svn path=/trunk/mono/; revision=37787
Patrik Torstensson [Wed, 15 Dec 2004 15:24:13 +0000 (15:24 -0000)]
2004-12-15 Patrik Torstensson <patrik.torstensson@gmail.com>
* interlocked.cs: New test.
svn path=/trunk/mono/; revision=37786
Jackson Harper [Wed, 15 Dec 2004 15:18:13 +0000 (15:18 -0000)]
* X11Keyboard.cs: Fix to compile with csc.
svn path=/trunk/mcs/; revision=37785
Gonzalo Paniagua Javier [Wed, 15 Dec 2004 14:22:05 +0000 (14:22 -0000)]
this never happened. Forget it.
svn path=/trunk/mcs/; revision=37784
Lluis Sanchez [Wed, 15 Dec 2004 14:04:20 +0000 (14:04 -0000)]
2004-12-15 Lluis Sanchez Gual <lluis@ximian.com>
* ObjectReader.cs: Use GetField instead of GetMembers. Properties can't
be serialized, so it makes no sense to use GetMembers.
svn path=/trunk/mcs/; revision=37783
Atsushi Eno [Wed, 15 Dec 2004 13:58:32 +0000 (13:58 -0000)]
2004-12-15 Atsushi Enomoto <atsushi@ximian.com>
* xsdtest.cs : added --v2 option that uses XmlReader.Create()
instead of XmlValidatingReader.
* XmlFilterReader.cs : don't expect XmlReaderSettings of its source.
* XmlSchemaValidatingReader.cs : xsi:* attributes are now handled via
XmlSchemaValidator.ValidateElement().
Removed some obsolete overrides.
* XmlReader.cs :
Create() should assure NameTable!=null on creating XmlTextReader.
Now use XmlSchemaValidatingReader for all xsd validation.
* XmlTextReader2.cs :
Don't use input reader's Settings. It is null.
* XmlReaderSettings.cs : added XmlResolver.
* XmlSchemaSet.cs : set default resolver. Clear components before
recompilation.
* XmlSchemaValidator.cs :
SourceUri is System.Uri.
GetUnspecifiedDefaultAttributes() is allowed only when it is inside
start tag.
Added AddSchema().
Added duplicate attribute check.
Added ValidateElement() that takes xsi:* parameters.
(http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackId=
7fc38ea1-c306-4fb7-8631-
0e174b0ff3c6)
HandleXsiNil() now just takes string parameter.
svn path=/trunk/mcs/; revision=37782
Gonzalo Paniagua Javier [Wed, 15 Dec 2004 13:11:33 +0000 (13:11 -0000)]
2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Thread.cs: don't bother serializing if the CultureInfo we're setting
has the same LCID as the CurrentCulture.
svn path=/trunk/mcs/; revision=37781
Gonzalo Paniagua Javier [Wed, 15 Dec 2004 13:03:45 +0000 (13:03 -0000)]
2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web/HttpApplication.cs: reread application CultureInfo as
web.config might have changed. Fixes bug #62539.
* System.Web.Configuration/WebConfigurationSettings.cs: correctly
detect web.config changes.
svn path=/trunk/mcs/; revision=37779
Gonzalo Paniagua Javier [Wed, 15 Dec 2004 11:08:56 +0000 (11:08 -0000)]
2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlForm.cs: MakeRelative() can be null. Thanks to Denis Gervaille.
svn path=/trunk/mcs/; revision=37777
Peter Dennis Bartok [Wed, 15 Dec 2004 10:48:57 +0000 (10:48 -0000)]
- Updated to reflect Mac Driver; added mention of System.Drawing patches
for MWF support
- Credited Geoff Norton with the Mac driver
svn path=/trunk/mcs/; revision=37776
Paolo Molaro [Wed, 15 Dec 2004 10:32:58 +0000 (10:32 -0000)]
Wed Dec 15 11:34:13 CET 2004 Paolo Molaro <lupus@ximian.com>
* ModuleBuilder.cs, EnumBuilder.cs: actually add the enumbuilder
to the type list of the module (bug#70488).
svn path=/trunk/mcs/; revision=37775
Raja R Harinath [Wed, 15 Dec 2004 09:30:42 +0000 (09:30 -0000)]
* configure.in ($mcsdir/build/config.make): Use $mcsdir relative
to the $srcdir. Fix definition of 'prefix'.
svn path=/trunk/mono/; revision=37774
Jackson Harper [Wed, 15 Dec 2004 08:48:53 +0000 (08:48 -0000)]
Commit correct versions of files.
svn path=/trunk/mcs/; revision=37772
Jackson Harper [Wed, 15 Dec 2004 08:44:34 +0000 (08:44 -0000)]
* System.Windows.Forms.dll.sources: Add keyboard love to the build.
* X11Structs.cs: Add key mask values
* XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
* X11Keyboard.cs: New file - Extrapolates and interpolates key
down/up foo into WM_CHAR foo
* KeyboardLayouts.cs: Common keyboard layouts
* XplatUIX11.cs: Add the keyboard driver. Add functionality to
post messages into the main queue.
svn path=/trunk/mcs/; revision=37771
Massimiliano Mantione [Wed, 15 Dec 2004 07:39:37 +0000 (07:39 -0000)]
2004-12-15 Massimiliano Mantione <massi@ximian.com>
* mini.c: Fixed a subtle bug in mono_method_to_ir, about the
linking of BBs to the end BB, and enabled SSAPRE also with
consprop and copyprop (which was prevented by that bug).
svn path=/trunk/mono/; revision=37770
Raja R Harinath [Wed, 15 Dec 2004 06:54:06 +0000 (06:54 -0000)]
* XmlReaderSettingsTests.cs (DefaultValue): Update DtdValidate and
XsdValidate references to use ValidationType.
svn path=/trunk/mcs/; revision=37769
Ben Maurer [Wed, 15 Dec 2004 00:08:35 +0000 (00:08 -0000)]
shhh
svn path=/trunk/mcs/; revision=37764
Jackson Harper [Tue, 14 Dec 2004 21:46:24 +0000 (21:46 -0000)]
* Compiler.cs: mcs writes to stderr now. Also read stdout so we
do not block if mcs writes a lot of data to is.
svn path=/trunk/mcs/; revision=37762
Ben Maurer [Tue, 14 Dec 2004 21:45:35 +0000 (21:45 -0000)]
less unsafe code
svn path=/trunk/mcs/; revision=37761
Jackson Harper [Tue, 14 Dec 2004 21:11:55 +0000 (21:11 -0000)]
* Compiler.cs: mcs writes to stderr now.
svn path=/trunk/mcs/; revision=37759
Miguel de Icaza [Tue, 14 Dec 2004 20:43:14 +0000 (20:43 -0000)]
2004-12-14 Miguel de Icaza <miguel@ximian.com>
* location.cs: Provide extra information.
svn path=/trunk/mcs/; revision=37758