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
Miguel de Icaza [Tue, 14 Dec 2004 20:42:04 +0000 (20:42 -0000)]
Add new test
svn path=/trunk/mcs/; revision=37757
Miguel de Icaza [Tue, 14 Dec 2004 19:05:35 +0000 (19:05 -0000)]
Remove warning
svn path=/trunk/mcs/; revision=37756
Miguel de Icaza [Tue, 14 Dec 2004 19:04:34 +0000 (19:04 -0000)]
Remove warning
svn path=/trunk/mcs/; revision=37755
Miguel de Icaza [Tue, 14 Dec 2004 18:33:35 +0000 (18:33 -0000)]
Make this quiet, like MCS
svn path=/trunk/mcs/; revision=37754
Patrik Torstensson [Tue, 14 Dec 2004 17:10:37 +0000 (17:10 -0000)]
2004-12-14 Patrik Torstensson <patrik.torstensson@gmail.com>
* mini-x86.c: disabling the Interlocked optimizing code.
svn path=/trunk/mono/; revision=37752
Ritvik Mayank [Tue, 14 Dec 2004 15:14:32 +0000 (15:14 -0000)]
2004-12-14 Ritvik Mayank <mritvik@novell.com>
*AssignmentStatements5.vb: Removed, as it was not a proper runtime test
*BoolLiteralTest1.vb: Likewise
*CharacterLiterals1.vb: Likewise
*IntegerLiteralTest4.vb: Likewise
2004-12-14 Ritvik Mayank <mritvik@novell.com>
*AssignmentStatements3.vb: Convert to nunit
*AssignmentStatements4.vb: Likewise
*Inheritance1.vb: Likewise
*IntegerLiteral1.vb: Likewise
*IntegerLiteralTest1.vb: Likewise
*IntegerLiteralTest2.vb: Likewise
*IntegerLiteralTest3.vb: Likewise
*LiteralNothing1.vb: Likewise
*ShiftOperators1.vb: Likewise
*StringLiterals1.vb: Likewise
*ConditionalStatements1.vb: Likewise
*DecimalLiteral1.vb: Likewise
*DoubleLiteral1.vb: Likewise
*LikeOperator1.vb: Likewise
*LocalVariables1.vb: Likewise
*LogicalOperators1.vb: Likewise
*LongLiteral1.vb: Likewise
*LoopStatements1.vb: Likewise
*RelationalOperators1.vb: Likewise
*SyncLock1.vb: Likewise
svn path=/trunk/mcs/; revision=37750
Paolo Molaro [Tue, 14 Dec 2004 14:56:35 +0000 (14:56 -0000)]
Add a target to build a selection of locales and a bit of docs.
svn path=/trunk/mono/; revision=37749
Zoltan Varga [Tue, 14 Dec 2004 14:10:01 +0000 (14:10 -0000)]
2004-12-14 Zoltan Varga <vargaz@freemail.hu>
* threads.h threads.c appdomain.c: Clear the culture_info field of
all threads during unloading if they point to an object in the dying
appdomain.
svn path=/trunk/mono/; revision=37748
Zoltan Varga [Tue, 14 Dec 2004 13:46:26 +0000 (13:46 -0000)]
2004-12-14 Zoltan Varga <vargaz@freemail.hu>
* Thread.cs: Optimize CurrentCulture to avoid initializing the
serialization infrastructure in the common case when the culture is
not set explicitly.
svn path=/trunk/mcs/; revision=37747
Gonzalo Paniagua Javier [Tue, 14 Dec 2004 13:32:24 +0000 (13:32 -0000)]
2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* WebConnectionStream.cs: remove unneeded check. Write detects and
triggers the exception now.
svn path=/trunk/mcs/; revision=37745
Zoltan Varga [Tue, 14 Dec 2004 13:26:04 +0000 (13:26 -0000)]
2004-12-14 Zoltan Varga <vargaz@freemail.hu>
* aot.c (load_aot_module): Move reading of got_addr after the AOT
file version check.
svn path=/trunk/mono/; revision=37744
Patrik Torstensson [Tue, 14 Dec 2004 13:22:03 +0000 (13:22 -0000)]
2004-12-14 Patrik Torstensson <patrik.torstensson@gmail.com>
* mini-x86.c, inssel-x86.brg, cpu-pentium.md: removed _imm
interlocked optimization due lack of support on x86, rewrote
exchange to take into account that base may be in eax.
xsp works again; activated Interlocked optimizing code.
svn path=/trunk/mono/; revision=37743
Zoltan Varga [Tue, 14 Dec 2004 13:18:01 +0000 (13:18 -0000)]
2004-12-14 Zoltan Varga <vargaz@freemail.hu>
* mini.h (MONO_AOT_FILE_VERSION): Bump AOT file version.
svn path=/trunk/mono/; revision=37742
Zoltan Varga [Tue, 14 Dec 2004 13:16:04 +0000 (13:16 -0000)]
2004-12-13 Zoltan Varga <vargaz@freemail.hu>
* mini-ops.h: Add new opcodes.
* mini.h: Add new patch types. Add got_var to MonoCompile.
* mini.h mini-x86.c mini-amd64.c aot.c: Rename
mono_arch_get_aot_patch_offset () to mono_arch_get_patch_offset () and
make it work with all kinds of patchable code.
* inssel.brg inssel-x86.brg: Add new rules dealing with computing the
address of the GOT, and referencing entries in the GOT.
* mini.c: Add code to load the GOT address if needed by an opcode.
* aot.c mini-x86.h mini-x86.c cpu-pentium.md: Add support for position
independent AOT code on the x86 using an elf-style Global Offset Table.
svn path=/trunk/mono/; revision=37741
Zoltan Varga [Tue, 14 Dec 2004 13:15:39 +0000 (13:15 -0000)]
2004-12-13 Zoltan Varga <vargaz@freemail.hu>
* mini-ops.h: Add new opcodes.
* mini.h: Add new patch types. Add got_var to MonoCompile.
* mini.h mini-x86.c mini-amd64.c aot.c: Rename
mono_arch_get_aot_patch_offset () to mono_arch_get_patch_offset () and
make it work with all kinds of patchable code.
* inssel.brg inssel-x86.brg: Add new rules dealing with computing the
address of the GOT, and referencing entries in the GOT.
* mini.c: Add code to load the GOT address if needed by an opcode.
* aot.c mini-x86.h mini-x86.c cpu-pentium.md: Add support for position
independent AOT code on the x86 using an elf-style Global Offset Table.
svn path=/trunk/mono/; revision=37740
Atsushi Eno [Tue, 14 Dec 2004 12:09:23 +0000 (12:09 -0000)]
2004-12-14 Atsushi Enomoto <atsushi@ximian.com>
* System.Xml.dll.sources : added XmlSchemaValidatingReader.
* XmlSchemaValidatingReader.cs : new file; another XmlReader
implementation that handles XSD validation. It is an reference
application for XmlSchemaValidator.
* XsdValidatingReader.cs : Use readerLineInfo for IXmlLineInfo.
* XmlReaderSettings.cs : XsdValidate and DtdValidate are now
ValidationType.
* XmlReader.cs : In Create(), use XmlSchemaValidatingReader for xsd
validation.
* XmlSchemaValidator.cs : implemented basic validation feature.
svn path=/trunk/mcs/; revision=37739
Raja R Harinath [Tue, 14 Dec 2004 12:04:08 +0000 (12:04 -0000)]
* profiles/basic.make (do-profile-check): Rename from
'real-profile-check'. Rewrite slightly to use 'make' to build the
sanity check.
(clean-profile): Remove the files.
svn path=/trunk/mcs/; revision=37738
Raja R Harinath [Tue, 14 Dec 2004 12:01:26 +0000 (12:01 -0000)]
* mono/mini/Makefile.am (RUNTIME): Set MONO_SHARED_DIR.
* mono/tests/Makefile.am (TEST_PROG_RUN, JITTEST_PROG_RUN): Set MONO_SHARED_DIR.
svn path=/trunk/mono/; revision=37737
Raja R Harinath [Tue, 14 Dec 2004 10:55:56 +0000 (10:55 -0000)]
* runtime/mono-wrapper.in (MONO_SHARED_DIR): Set. Ensures that
state isn't shared between an installed runtime and the in-tree
runtime, and also ensure that both 'make check' and 'make
distcheck' can run in parallel.
* runtime/Makefile.am (clean-local): Remove the .wapi directory.
svn path=/trunk/mono/; revision=37736
Raja R Harinath [Tue, 14 Dec 2004 10:20:05 +0000 (10:20 -0000)]
* MethodDef.cs (CreateSignature): Add a space in generated signature.
svn path=/trunk/mcs/; revision=37735
Marek Safar [Tue, 14 Dec 2004 10:18:54 +0000 (10:18 -0000)]
Copied remotely
svn path=/trunk/mcs/; revision=37734
Gonzalo Paniagua Javier [Tue, 14 Dec 2004 09:55:06 +0000 (09:55 -0000)]
2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AuthenticationManager.cs: don't lock on a public Type.
* HttpWebRequest.cs: read the error response for auth. errors.
svn path=/trunk/mcs/; revision=37732
Marek Safar [Tue, 14 Dec 2004 09:12:05 +0000 (09:12 -0000)]
2004-12-14 Marek Safar <marek.safar@seznam.cz>
* cs-parser.jay: Changed warning level for 642 to 4 until Miguel
find a conclusion.
* class.cs: Changed warning level for 169 to avoid developer
displeasure from warning flooding. It will be changed back when they
fix most of current BCL warnings.
* RootContext.cs: Pushed default WarningLevel to 3.
* statement.cs: Removed unused variable.
svn path=/trunk/mcs/; revision=37731
Gonzalo Paniagua Javier [Tue, 14 Dec 2004 08:56:04 +0000 (08:56 -0000)]
typos
svn path=/trunk/mono/; revision=37730
Marek Safar [Tue, 14 Dec 2004 07:45:28 +0000 (07:45 -0000)]
2004-12-14 Marek Safar <marek.safar@seznam.cz>
* cs0418-2.cs, cs0418.cs, cs0441.cs, cs0662.cs
cs0724.cs, cs1004.cs, cs1521-2.cs, cs1521.cs,
cs1558.cs, cs1576.cs, cs3017.cs, cs3018-2.cs,
cs3018.cs, cs3021.cs, cs3022.cs, cs3023.cs, cs3025.cs:
New error tests.
svn path=/trunk/mcs/; revision=37729
Marek Safar [Tue, 14 Dec 2004 07:35:28 +0000 (07:35 -0000)]
2004-12-14 Marek Safar <marek.safar@seznam.cz>
* class.cs (TypeContainer.GetClassBases): Add error 1521 report.
(TypeContainer.MethodModifiersValid): Refactored to use MemberCore.
Add error 502 report.
(StaticClass.DefineType): Add error 441 report.
(Class.AllowedModifiersProp): New virtual property as temporary
extension to AllowedModifiers.
(Class.DefineType): Add error 418 report. Moved ModFlags check here
to share implementation with StaticClass and don't call virtual
methods from ctor.
* driver.cs (MainDriver): Add error 1558 test.
* parameter.cs (Parameter.ApplyAttributeBuilder): Add error 662
report. Moved error 36 test here.
* statement.cs (Throw.Resolve): Add error 724 report.
* typemanager.cs: Add out_attribute_type core type.
svn path=/trunk/mcs/; revision=37728
Gonzalo Paniagua Javier [Tue, 14 Dec 2004 07:28:08 +0000 (07:28 -0000)]
stdout->stderr
svn path=/trunk/mcs/; revision=37727
Gonzalo Paniagua Javier [Tue, 14 Dec 2004 05:26:52 +0000 (05:26 -0000)]
2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ControlCollection.cs: fix off-by-one and store a null at the end to
remove the reference to the removed control.
svn path=/trunk/mcs/; revision=37725
Atsushi Eno [Tue, 14 Dec 2004 05:22:26 +0000 (05:22 -0000)]
2004-12-14 Atsushi Enomoto <atsushi@ximian.com>
* XsdIdentityState.cs : use validation exception for 2.0.
ProcessMatch() does not have to return bool. Use break and continue
and reduced indentation.
* XsdValidatingReader.cs : use validation exception for 2.0.
Added new XsdIDManager class and id handling is delegated to it.
XmlQualifiedName -> QName. AssessElementLocallyValidElement() does
not need XmlSchemaElement (it is context). Moved some static
methods to XmlSchemaUtil.cs. Collected key constraints stuff to a
region.
* XmlSchemaUtil.cs : added FindAttributeDeclaration() and
AttributeWildcardItemValid().
svn path=/trunk/mcs/; revision=37724
Gonzalo Paniagua Javier [Tue, 14 Dec 2004 04:57:19 +0000 (04:57 -0000)]
2004-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeCompiler.cs: ignore the 'BETA SOFTWARE blah' from gmcs.
svn path=/trunk/mcs/; revision=37723
Gonzalo Paniagua Javier [Tue, 14 Dec 2004 03:43:25 +0000 (03:43 -0000)]
2004-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* File.cs: delegate to the runtime the task of checking for destination
file existence in Move.
svn path=/trunk/mcs/; revision=37714
Gonzalo Paniagua Javier [Tue, 14 Dec 2004 03:43:08 +0000 (03:43 -0000)]
2004-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* io.c: check for the existence of 'dest' and set ERROR_ALREADY_EXISTS
if it exists and is not the same as 'src'.
svn path=/trunk/mono/; revision=37713
Ben Maurer [Tue, 14 Dec 2004 03:14:58 +0000 (03:14 -0000)]
2004-12-13 Ben Maurer <bmaurer@ximian.com>
* CultureInfo.cs: Store TextInfo data. Hand it over to TextInfo.
* TextInfo.cs: Rewrote props to use the textinfo data stored in
unmanaged code.
svn path=/trunk/mcs/; revision=37712
Ben Maurer [Tue, 14 Dec 2004 03:13:41 +0000 (03:13 -0000)]
In tools/locale-builder:
2004-12-13 Ben Maurer <bmaurer@ximian.com>
* CultureInfoEntry.cs (AppendTableRow): Stringify the
textinfoentry
* TextInfoEntry.cs: New file for textinfo data
* textinfo.xml: textinfo data
* Driver.cs: Harness all the stuff above
* Makefile.am: add new files
In mono/metadata:
2004-12-13 Ben Maurer <bmaurer@ximian.com>
* culture-info.h (TextInfoEntry): New struct
* object-internals.h: sync with managed
* locales.c: fill the `text_info_data' field
* culture-info-tables.h: update
svn path=/trunk/mono/; revision=37711
Sebastien Pouliot [Tue, 14 Dec 2004 02:02:59 +0000 (02:02 -0000)]
* caspol.1: Add documentation for -strong option;
* certmgr.1: Add documentation for -ssl options, samples and
known issues.
* mono.1: Fix files location for certificate stores.
svn path=/trunk/mono/; revision=37710
Sebastien Pouliot [Tue, 14 Dec 2004 01:58:24 +0000 (01:58 -0000)]
2004-12-13 Sebastien Pouliot <sebastien@ximian.com>
* certmgr.cs: Add a new -ssl action to download and add the
certificates from an SSL connection into thr right stores.
svn path=/trunk/mcs/; revision=37709
Sebastien Pouliot [Tue, 14 Dec 2004 01:55:08 +0000 (01:55 -0000)]
2004-12-13 Sebastien Pouliot <sebastien@ximian.com>
* X509Certificate.cs: Directly use the MD2 class when compiled in
Mono.Security.dll assembly (even if not configured in machine.config).
svn path=/trunk/mcs/; revision=37708