Atsushi Eno [Fri, 25 Feb 2005 11:50:56 +0000 (11:50 -0000)]
2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
* BUGS-MS.txt : more bug info.
svn path=/trunk/mcs/; revision=41190
Atsushi Eno [Fri, 25 Feb 2005 11:49:43 +0000 (11:49 -0000)]
2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
* ignore.lst : new file. It is used to exclude buggy MS results from
tests.
* xslttest.cs, alltest.cs : Ignore testcases written in "ignore.lst".
* XmlNormalizer.cs : It should not remove whitespace nodes.
svn path=/trunk/mcs/; revision=41189
Manjula GHM [Fri, 25 Feb 2005 11:36:33 +0000 (11:36 -0000)]
Handle String and date before Overloadresolve
Added code for char + char
Handle One of operands is value type in Relational operators
Handle when both are Object types
svn path=/trunk/mcs/; revision=41188
Raja R Harinath [Fri, 25 Feb 2005 11:32:59 +0000 (11:32 -0000)]
Fix #72924.
* statement.cs (ExpressionStatement.Resolve): Make robust to being
called twice in case of error.
svn path=/trunk/mcs/; revision=41187
Atsushi Eno [Fri, 25 Feb 2005 10:06:19 +0000 (10:06 -0000)]
2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
* DataColumn.cs : setting negative value on MaxLength of SimpleContent
column is still valid.
* DataColumnTest.cs : added testcase for setting negative value on
DataColumn whose mapping is SimpleContent.
svn path=/trunk/mcs/; revision=41186
Atsushi Eno [Fri, 25 Feb 2005 09:39:56 +0000 (09:39 -0000)]
2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
* XmlComment.cs, XmlNode.cs, XmlText.cs, XmlProcessingInstruction.cs,
XmlEntityReference.cs, XmlSignificantWhitespace.cs, XmlAttribute.cs,
XmlElement.cs, XmlEntity.cs, XmlCDataSection.cs :
For those nodes that are created by Clone(), IsReadOnly is false.
Patch by Konstantin Triger.
* XmlNodeTests.cs : added Clone() of readonly node returns a node
that is not readonly.
svn path=/trunk/mcs/; revision=41185
Raja R Harinath [Fri, 25 Feb 2005 07:40:58 +0000 (07:40 -0000)]
* runtime/Makefile.am (centum_nunit_tests): Remove. The
functionality has been moved to mcs/Makefile.
(test_select): Set ONLY_CENTUM_TESTS.
svn path=/trunk/mono/; revision=41184
Raja R Harinath [Fri, 25 Feb 2005 07:39:43 +0000 (07:39 -0000)]
* Makefile (centum_tests): New list of test subdirs that should pass 100%.
(default_centum_tests, net_2_0_centum_tests): New.
(ONLY_CENTUM_TESTS): New check. If defined during 'make
run-test', only the tests in centum_tests are run.
svn path=/trunk/mcs/; revision=41183
Atsushi Eno [Fri, 25 Feb 2005 07:21:28 +0000 (07:21 -0000)]
2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
* XmlDocumentNavigator.cs : iteratedNames array could be fixed and
performance got improved. Patch by Knstantin Triger.
svn path=/trunk/mcs/; revision=41182
Atsushi Eno [Fri, 25 Feb 2005 06:50:09 +0000 (06:50 -0000)]
2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
* XmlAttribute.cs : MS does not reject non-NCName prefix. Patch by
Konstantin Triger.
* XmlAttributeTests.cs : added nonNCName Prefix case.
svn path=/trunk/mcs/; revision=41181
Atsushi Eno [Fri, 25 Feb 2005 04:19:06 +0000 (04:19 -0000)]
2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
* xslttest.cs, alltest.cs : more disabled cases (stoppers).
svn path=/trunk/mcs/; revision=41179
Sebastien Pouliot [Fri, 25 Feb 2005 02:54:32 +0000 (02:54 -0000)]
Added new X.509 certificate unit tests for NET_2_0
svn path=/trunk/mcs/; revision=41175
Sebastien Pouliot [Fri, 25 Feb 2005 02:51:00 +0000 (02:51 -0000)]
2005-02-24 Sebastien Pouliot <sebastien@ximian.com>
* X509Cert20Test.cs: Fx 2.0 specific certificate tests.
svn path=/trunk/mcs/; revision=41174
Sebastien Pouliot [Fri, 25 Feb 2005 02:48:31 +0000 (02:48 -0000)]
2005-02-24 Sebastien Pouliot <sebastien@ximian.com>
* StrongNameIdentityPermissionTest.cs: Fixed some bad tests and
re-enabled the tests on NET_2_0 profile.
svn path=/trunk/mcs/; revision=41173
Sebastien Pouliot [Fri, 25 Feb 2005 02:41:09 +0000 (02:41 -0000)]
2005-02-24 Sebastien Pouliot <sebastien@ximian.com>
* GacIdentityPermission.cs: Fixed warning.
* StrongNameIdentityPermission.cs: Added support for multiple entries
for NET_2_0 profile (required for SecurityAction.*DemandChoice).
svn path=/trunk/mcs/; revision=41172
Geoff Norton [Thu, 24 Feb 2005 22:51:59 +0000 (22:51 -0000)]
2005-02-24 Geoff Norton <gnorton@customerdna.com>
* gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
so they dont get garbage collected before use.
svn path=/trunk/mcs/; revision=41171
Peter Dennis Bartok [Thu, 24 Feb 2005 22:45:28 +0000 (22:45 -0000)]
- Removed HandleData.cs from build
svn path=/trunk/mcs/; revision=41170
Peter Dennis Bartok [Thu, 24 Feb 2005 22:44:18 +0000 (22:44 -0000)]
- Removed remaining references to HandleData and removed HandleData.cs
- Plugged leaks in Win32 driver and Hwnd class
svn path=/trunk/mcs/; revision=41169
Martin Baulig [Thu, 24 Feb 2005 19:45:25 +0000 (19:45 -0000)]
2005-02-24 Martin Baulig <martin@ximian.com>
* class.c (dup_type): Correctly duplicate MONO_TYPE_PTR.
* reflection.c (dup_type): Likewise.
svn path=/trunk/mono/; revision=41164
Zoltan Varga [Thu, 24 Feb 2005 19:03:48 +0000 (19:03 -0000)]
2005-02-24 Zoltan Varga <vargaz@freemail.hu>
* Array.cs: Add missing 2.0 attributes and correct some parameter names.
svn path=/trunk/mcs/; revision=41163
Zoltan Varga [Thu, 24 Feb 2005 15:43:13 +0000 (15:43 -0000)]
2005-02-24 Zoltan Varga <vargaz@freemail.hu>
* gc.c (run_finalize): Set the domain for finalizing delegates as well.
Thanks to Willibald Krenn and Scott Mohekey for tracking this down.
svn path=/trunk/mono/; revision=41162
Miguel de Icaza [Thu, 24 Feb 2005 14:33:44 +0000 (14:33 -0000)]
Add a couple of internal methods to the ignore list
svn path=/trunk/mono/; revision=41160
Atsushi Eno [Thu, 24 Feb 2005 14:20:00 +0000 (14:20 -0000)]
2005-02-24 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextWriter.cs : WriteString() should be valid when
WriteStartDocument() was not called.
* XmlTextWriterTests.cs : Test for call to WriteRaw() -> WriteString()
svn path=/trunk/mcs/; revision=41159
Martin Baulig [Thu, 24 Feb 2005 14:16:38 +0000 (14:16 -0000)]
Updated.
svn path=/trunk/mcs/; revision=41158
Paolo Molaro [Thu, 24 Feb 2005 14:05:27 +0000 (14:05 -0000)]
Thu Feb 24 15:22:30 CET 2005 Paolo Molaro <lupus@ximian.com>
* mini.c, mini.h: make mono_lmf_addr a fast-access thread var.
* mini-x86.c: remove unreliable __thread var offset detection,
use the correct accessors and enable by default.
svn path=/trunk/mono/; revision=41156
Paolo Molaro [Thu, 24 Feb 2005 14:02:42 +0000 (14:02 -0000)]
Thu Feb 24 15:19:35 CET 2005 Paolo Molaro <lupus@ximian.com>
* domain.c, threads.c, object-internals.h: make the critical thread
local vars use the fast access mode (even when we're compiled in
a lib). Provide accessors to be used by the jit during codegen.
svn path=/trunk/mono/; revision=41155
Paolo Molaro [Thu, 24 Feb 2005 13:59:53 +0000 (13:59 -0000)]
Thu Feb 24 15:18:05 CET 2005 Paolo Molaro <lupus@ximian.com>
* Makefile.am, mono-compiler.h: added header to deal with
compiler-specific bugs and features.
svn path=/trunk/mono/; revision=41154
Paolo Molaro [Thu, 24 Feb 2005 13:58:17 +0000 (13:58 -0000)]
Thu Feb 24 15:16:18 CET 2005 Paolo Molaro <lupus@ximian.com>
* configure.in: add a check for compiler support of the
tls_model sttribute.
svn path=/trunk/mono/; revision=41153
Atsushi Eno [Thu, 24 Feb 2005 13:52:27 +0000 (13:52 -0000)]
2005-02-24 Atsushi Enomoto <atsushi@ximian.com>
* Compiler.cs : added ns lookup with nsDecls Hashtable.
svn path=/trunk/mcs/; revision=41152
Atsushi Eno [Thu, 24 Feb 2005 13:50:26 +0000 (13:50 -0000)]
2005-02-24 Atsushi Enomoto <atsushi@ximian.com>
* XslAttribute.cs : reduced reference to stylesheet XPathNavigator by
keeping nsDecls.
svn path=/trunk/mcs/; revision=41151
Martin Baulig [Thu, 24 Feb 2005 13:11:18 +0000 (13:11 -0000)]
2005-02-24 Martin Baulig <martin@ximian.com>
* README, README.Changes: Removed; they're old and obsolete.
svn path=/trunk/mcs/; revision=41150
Martin Baulig [Thu, 24 Feb 2005 13:10:11 +0000 (13:10 -0000)]
Removed this empty file.
svn path=/trunk/mcs/; revision=41149
Martin Baulig [Thu, 24 Feb 2005 13:08:28 +0000 (13:08 -0000)]
Ooops, this doesn't work.
svn path=/trunk/mcs/; revision=41148
Jordi Mas i Hernandez [Thu, 24 Feb 2005 11:23:35 +0000 (11:23 -0000)]
svn path=/trunk/mcs/; revision=41147
Jordi Mas i Hernandez [Thu, 24 Feb 2005 10:54:05 +0000 (10:54 -0000)]
2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
* TestRegion.cs: added new IsVisible cases
svn path=/trunk/mcs/; revision=41145
Carlos Alberto Cortez [Thu, 24 Feb 2005 09:12:45 +0000 (09:12 -0000)]
Change log added for last changes.
svn path=/trunk/mono/; revision=41143
Carlos Alberto Cortez [Thu, 24 Feb 2005 08:43:28 +0000 (08:43 -0000)]
2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Assembly.cs: LoadFrom: Change signature to support reflection only
methods; ReflectionOnlyLoad, ReflectionOnlyLoadFrom 2.0 methods
implemented; InvalidOperationException's re-thrown by CreateInstance.
Also ReflectionOnly 2.0 property added.
* MonoMethod.cs: InvalidOperationException's are re-thrown when calling
Invoke method on reflection only assemblies.
svn path=/trunk/mcs/; revision=41142
Carlos Alberto Cortez [Thu, 24 Feb 2005 08:43:04 +0000 (08:43 -0000)]
2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* AppDomain.cs: Changed GetAssemblies, LoadAssembly, and Load signatures,
and added some to support the reflection only methods. DoAssemblyResolve
was modified to invoke the new PreBindAssemblyResolve event when the
assembly is reflection only.
svn path=/trunk/mcs/; revision=41141
Carlos Alberto Cortez [Thu, 24 Feb 2005 08:41:54 +0000 (08:41 -0000)]
svn path=/trunk/mono/; revision=41140
Jordi Mas i Hernandez [Thu, 24 Feb 2005 06:43:36 +0000 (06:43 -0000)]
2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
* Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
* GroupBox.cs: Add control styles
* Label.cs: Add control styles
* UpDownBase.cs: Add control styles
* ListBox.cs: Add control styles
* XplatUIWin32.cs: Fixes wrong parameter order
svn path=/trunk/mcs/; revision=41139
Atsushi Eno [Thu, 24 Feb 2005 06:08:13 +0000 (06:08 -0000)]
2005-02-24 Atsushi Enomoto <atsushi@ximian.com>
* XslTransformImpl.cs : Load() should use argument XmlResolver to
get file stream. This fixes bug #72942.
* BUGS-MS.txt : more bug info.
svn path=/trunk/mcs/; revision=41138
Chris Toshok [Thu, 24 Feb 2005 05:50:42 +0000 (05:50 -0000)]
2005-02-23 Chris Toshok <toshok@ximian.com>
Part of fix for #72827.
* mono-debug.c (mono_debug_add_method): add lexical block data to
the info we write. Kind of a hack at the moment - we copy the
lexical block info from the MonoDebugMethodInfo to the
MonoDebugMethodJitInfo here, before writing it.
(mono_debug_read_method): read the lexical block info.
* mono-debug.h (_MonoDebugMethodJitInfo): add lexical block slots.
* debug-mono-symfile.h: add lexical block support.
* debug-mono-symfile.c (mono_debug_find_method): add lexical block
support.
svn path=/trunk/mono/; revision=41135
Chris Toshok [Thu, 24 Feb 2005 05:38:11 +0000 (05:38 -0000)]
2005-02-23 Chris Toshok <toshok@ximian.com>
Fix compiler portions of #72827.
* statement.cs (Block.Emit): call Begin/EndScope on the
EmitContext instead of the ILGenerator.
* codegen.cs (EmitContext.BeginScope): new method, call
ILGenerator.BeginScope as well as the SymbolWriter's OpenScope (if
we have one.)
(EmitContext.BeginScope): same, but EndScope and CloseScope
* symbolwriter.cs (SymbolWriter.OpenScope): get the current il
offset and call the superclass's OpenScope(int) with it.
(SymbolWriter.CloseScope): get the current il
offset and call superclass's CloseScope(int) with it.
svn path=/trunk/mcs/; revision=41134
Peter Dennis Bartok [Thu, 24 Feb 2005 05:18:45 +0000 (05:18 -0000)]
2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
* ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
svn path=/trunk/mcs/; revision=41133
Chris Toshok [Thu, 24 Feb 2005 03:17:04 +0000 (03:17 -0000)]
remove incorrect comment
svn path=/trunk/mcs/; revision=41130
Atsushi Eno [Thu, 24 Feb 2005 01:43:30 +0000 (01:43 -0000)]
2005-02-24 Atsushi Enomoto <atsushi@ximian.com>
* XslStylesheet.cs : It should consider "#default" in namespace-alias.
svn path=/trunk/mcs/; revision=41127
Gonzalo Paniagua Javier [Thu, 24 Feb 2005 00:57:39 +0000 (00:57 -0000)]
2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
is zero, use the TagName no matter its value. Fixes bug #72415.
svn path=/trunk/mcs/; revision=41125
Gonzalo Paniagua Javier [Thu, 24 Feb 2005 00:10:26 +0000 (00:10 -0000)]
2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* FormsAuthentication.cs: make the string to be stored in a config.
file uppercase... See bug #72557.
svn path=/trunk/mcs/; revision=41123
Jackson Harper [Wed, 23 Feb 2005 22:00:14 +0000 (22:00 -0000)]
oops.
svn path=/trunk/mcs/; revision=41119
Sebastien Pouliot [Wed, 23 Feb 2005 20:44:06 +0000 (20:44 -0000)]
2005-02-23 Sebastien Pouliot <sebastien@ximian.com>
* HttpRequestTest.cs: Added another XSS case that was found on ASP.NET
(fixed now) but didn't affect Mono.
svn path=/trunk/mcs/; revision=41118
Jackson Harper [Wed, 23 Feb 2005 20:30:40 +0000 (20:30 -0000)]
* BindingContext.cs: Use new PropertyManager constructor.
svn path=/trunk/mcs/; revision=41117
Jackson Harper [Wed, 23 Feb 2005 20:29:46 +0000 (20:29 -0000)]
flush
svn path=/trunk/mcs/; revision=41116
Jackson Harper [Wed, 23 Feb 2005 20:29:10 +0000 (20:29 -0000)]
* PropertyManager.cs: Implement property binding. This doesn't
seem to work yet though as (I think) there are some bugs in
System.ComponentModel.PropertyDescriptor.
svn path=/trunk/mcs/; revision=41115
Zoltan Varga [Wed, 23 Feb 2005 20:21:12 +0000 (20:21 -0000)]
2005-02-23 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mono_jit_free_method): Fix memory leak.
svn path=/trunk/mono/; revision=41113
Zoltan Varga [Wed, 23 Feb 2005 20:20:32 +0000 (20:20 -0000)]
2005-02-23 Zoltan Varga <vargaz@freemail.hu>
* loader.c (mono_lookup_pinvoke_call): Fix warning.
* object.c (mono_runtime_free_method): Call mono_free_method () and
put the TODOs there.
* loader.c (mono_free_method): Free up most memory allocated for
dynamic methods.
svn path=/trunk/mono/; revision=41112
Sebastien Pouliot [Wed, 23 Feb 2005 18:53:12 +0000 (18:53 -0000)]
2005-02-23 Sebastien Pouliot <sebastien@ximian.com>
* System.Web_test.dll.sources: Added new unit tests for
HttpRequest, HttpServerUtility and HttpUtility to test for XSS.
svn path=/trunk/mcs/; revision=41107
Sebastien Pouliot [Wed, 23 Feb 2005 18:52:28 +0000 (18:52 -0000)]
2005-02-23 Sebastien Pouliot <sebastien@ximian.com>
* HttpRequestTest.cs: New. Test that ValidateInput throw exceptions
when expected.
* HttpServerUtilityTest.cs: New. Test for possible XSS when using
HtmlEncode.
* HttpUtilityTest.cs: New. Test for possible XSS when using
HtmlEncode.
svn path=/trunk/mcs/; revision=41106
Sebastien Pouliot [Wed, 23 Feb 2005 18:51:56 +0000 (18:51 -0000)]
2005-02-23 Sebastien Pouliot <sebastien@ximian.com>
* HttpRequest.cs: Make sure that any access after a ValidateInput
throws an exception if the data isn't safe.
svn path=/trunk/mcs/; revision=41105
Paolo Molaro [Wed, 23 Feb 2005 17:36:32 +0000 (17:36 -0000)]
Wed Feb 23 18:54:26 CET 2005 Paolo Molaro <lupus@ximian.com>
* reflection.c: properly flag a Type argument to a
named custom attr value (bug #72248).
svn path=/trunk/mono/; revision=41102
Paolo Molaro [Wed, 23 Feb 2005 17:14:11 +0000 (17:14 -0000)]
Wed Feb 23 18:32:35 CET 2005 Paolo Molaro <lupus@ximian.com>
* reflection.c: reduce code duplication in named custom
attribute encoding.
svn path=/trunk/mono/; revision=41101
Dick Porter [Wed, 23 Feb 2005 16:20:36 +0000 (16:20 -0000)]
2005-02-23 Dick Porter <dick@ximian.com>
* UdpClientTest.cs: Added, with UdpClientBroadcastTest from
Chris Bacon <chris.bacon@docobo.co.uk>
svn path=/trunk/mcs/; revision=41100
Atsushi Eno [Wed, 23 Feb 2005 16:13:11 +0000 (16:13 -0000)]
2004-02-23 Atsushi Enomoto <atsushi@ximian.com>
* Expression.cs : xsl:sort case-order was not handled properly.
svn path=/trunk/mcs/; revision=41099
Paolo Molaro [Wed, 23 Feb 2005 16:06:55 +0000 (16:06 -0000)]
Wed Feb 23 17:23:52 CET 2005 Paolo Molaro <lupus@ximian.com>
* reflection.c: properly encode custom attrs of type object
(bug #72649).
svn path=/trunk/mono/; revision=41098
Dick Porter [Wed, 23 Feb 2005 15:59:55 +0000 (15:59 -0000)]
2005-02-23 Dick Porter <dick@ximian.com>
* UdpClient.cs: Set the Broadcast option, as apparently the MS
runtime defaults make UDP sockets broadcastable.
svn path=/trunk/mcs/; revision=41097
Zoltan Varga [Wed, 23 Feb 2005 15:43:53 +0000 (15:43 -0000)]
2005-02-23 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (mono_delegate_free_ftnptr): Make this thread safe.
svn path=/trunk/mono/; revision=41095
Atsushi Eno [Wed, 23 Feb 2005 14:47:39 +0000 (14:47 -0000)]
2005-02-23 Atsushi Enomoto <atsushi@ximian.com>
* XmlNamespaceManager.cs : IsValidDeclaration was giving useless error
information.
* GenericOutputter.cs : It should not attempt to write prefix "xml" and
namespace "http://www.w3.org/XML/1998/namespace".
svn path=/trunk/mcs/; revision=41094
Marek Safar [Wed, 23 Feb 2005 14:34:53 +0000 (14:34 -0000)]
oups forget to delete
svn path=/trunk/mcs/; revision=41093
Marek Safar [Wed, 23 Feb 2005 14:29:23 +0000 (14:29 -0000)]
add new test
updated fixed
svn path=/trunk/mcs/; revision=41092
Marek Safar [Wed, 23 Feb 2005 14:28:11 +0000 (14:28 -0000)]
2005-02-23 Marek Safar <marek.safar@seznam.cz>
* anonymous.cs (AnonymousMethod.Compatible): Fixed to report
CS1677 for out and ref as well.
* class.cs (Method.Define): Add error CS1599 detection.
* cs-parser.jay: Add CS1609, CS1670, CS1627 detection.
* cs-tokenizer.cs (xtoken): Add error CS1646 detection.
* delegate.cs (Delegate.Define): Add error CS1599 detection.
* support.cs.cs (ModifierDesc): New helper method.
svn path=/trunk/mcs/; revision=41091
Atsushi Eno [Wed, 23 Feb 2005 14:11:44 +0000 (14:11 -0000)]
2005-02-23 Atsushi Enomoto <atsushi@ximian.com>
* BUGS-MS.txt : all output_outputXXX comparison does not make sense.
svn path=/trunk/mcs/; revision=41090
Jordi Mas i Hernandez [Wed, 23 Feb 2005 13:23:29 +0000 (13:23 -0000)]
2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
* ProgressBar.cs: use clip region in ProgressBar
* ThemeWin32Classic.cs: use clip region in ProgressBar
svn path=/trunk/mcs/; revision=41089
Atsushi Eno [Wed, 23 Feb 2005 13:16:44 +0000 (13:16 -0000)]
2005-02-23 Atsushi Enomoto <atsushi@ximian.com>
* XslNumber.cs : Fixed incorrect 0 padding for 1) unsupported (and thus
default '1') pattern and 2) suffixed pattern with non-number char(s).
svn path=/trunk/mcs/; revision=41088
Raja R Harinath [Wed, 23 Feb 2005 12:56:04 +0000 (12:56 -0000)]
In mcs:
2005-02-23 Raja R Harinath <rharinath@novell.com>
Abin Thomas <projectmonokochi@rediffmail.com>
Anoob V E <projectmonokochi@rediffmail.com>
Harilal P R <projectmonokochi@rediffmail.com>
Fix #57851, #72718.
* class.cs (ConstructorBuilder.Resolve): Make sure that the second
MemberLookup (used for error reporting) actually returns a result.
Fix error report number (122, not 112).
In errors:
* cs0122-10.cs, CS0122-10-lib.cs: New tests based on #57851.
* Makefile (all-local): Add CS0122-10-lib.dll.
* cs0122-11.cs: New test based on #72718.
* cs0112-2.cs: Remove erroneous test. Same as cs1501.cs.
* mcs-expect-wrong-error (cs1501.cs): Remove.
svn path=/trunk/mcs/; revision=41087
Atsushi Eno [Wed, 23 Feb 2005 08:38:42 +0000 (08:38 -0000)]
2005-02-22 Atsushi Enomoto <atsushi@ximian.com>
* BUGS-MS.txt : explaination on the last standalone test revert.
svn path=/trunk/mcs/; revision=41083
Atsushi Eno [Wed, 23 Feb 2005 07:53:00 +0000 (07:53 -0000)]
2005-02-23 Atsushi Enomoto <atsushi@ximian.com>
* XmlDocumentNavigator.cs : it should virtually expand EntityReference,
so refactored to handle both entity references and top level children.
svn path=/trunk/mcs/; revision=41082
Gonzalo Paniagua Javier [Wed, 23 Feb 2005 01:39:48 +0000 (01:39 -0000)]
2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CapabilitiesLoader.cs: fix the path, as machine.config is now in a
x.x/ directory below $PREFIX/etc/mono.
svn path=/trunk/mcs/; revision=41076
Atsushi Eno [Wed, 23 Feb 2005 01:22:59 +0000 (01:22 -0000)]
2004-02-23 Atsushi Enomoto <atsushi@ximian.com>
* Iterator.cs :
In FollowingIterator, attribute and namespace nodes should be
considered to have following nodes. See XPath 1.0 section 5 (esp.
the description on "document order").
On fixing @*/following::*, attribute nodes are regarded as to be
RequireSorting = true (which might result in duplicate).
svn path=/trunk/mcs/; revision=41074
Jackson Harper [Tue, 22 Feb 2005 23:17:53 +0000 (23:17 -0000)]
* BindingsCollection.cs: Remove some debug code.
svn path=/trunk/mcs/; revision=41072
Jackson Harper [Tue, 22 Feb 2005 23:01:54 +0000 (23:01 -0000)]
* System.Windows.Forms.dll.sources: Add databinding classes
svn path=/trunk/mcs/; revision=41071
Jackson Harper [Tue, 22 Feb 2005 23:00:34 +0000 (23:00 -0000)]
* BindingContext.cs:
* ControlBindingsCollection.cs:
* CurrencyManager.cs:
* Binding.cs:
* BindingManagerBase.cs: Initial implementation
* BindingsCollection.cs: Add an internal contains method that the
BindingManagerBase uses to ensure bindings aren't added twice to
the collection.
* PropertyManager.cs: Stubbed out.
* Control.cs:
* ContainerControl.cs: Hook up databinding
svn path=/trunk/mcs/; revision=41070
Gonzalo Paniagua Javier [Tue, 22 Feb 2005 22:34:53 +0000 (22:34 -0000)]
2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* UnixEndPoint.cs: get the correct bytes when building the filename from
a SocketAddress. Fixes bug #72850.
svn path=/trunk/mcs/; revision=41068
Geoff Norton [Tue, 22 Feb 2005 21:38:09 +0000 (21:38 -0000)]
2005-02-22 Geoff Norton <gnorton@customerdna.com>
* XplatUIOSX.cs:
OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
Fixed Invalidate/Update chain.
Fixed tons of other minor bugs (this is almost a complete rewrite).
svn path=/trunk/mcs/; revision=41067
Jonathan Pryor [Tue, 22 Feb 2005 21:20:17 +0000 (21:20 -0000)]
* System/System.Diagnostics/TraceImpl.cs
More Thread-safety fixes. I have to lock on
Listeners.SyncRoot as we're traversing the collection and can't let the
collection change from underneath us while we're iterating over it
(alternately, we could clone the collection and iterate over the clone
without having locking issues -- assuming we had a lock-free clone --
but this would kill the GC). Fixes 69964. Only define lock_ if we're
using the lock-free initialization routine; it's not used otherwise.
* System/Test/System.Diagnostics/TraceTest.cs Add multi-thread test for #69964.
svn path=/trunk/mcs/; revision=41065
Paolo Molaro [Tue, 22 Feb 2005 20:37:18 +0000 (20:37 -0000)]
Tue Feb 22 21:54:47 CET 2005 Paolo Molaro <lupus@ximian.com>
* socket-io.c: load System.dll if it's not loaded already
(bug #72850 and #70477).
svn path=/trunk/mono/; revision=41063
Gonzalo Paniagua Javier [Tue, 22 Feb 2005 20:02:26 +0000 (20:02 -0000)]
2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: fail on unicode full-width '<' and '>' too. Fixes
a security report (http://secunia.com/advisories/14325) that wan't
reported to us before public disclosure.
svn path=/trunk/mcs/; revision=41061
César Natarén [Tue, 22 Feb 2005 19:28:04 +0000 (19:28 -0000)]
delete building instructions as M.J.dll gets build by default
svn path=/trunk/mcs/; revision=41059
Zoltan Varga [Tue, 22 Feb 2005 19:27:01 +0000 (19:27 -0000)]
2005-02-22 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mono_method_to_ir): Allocate a GOT var for THROW and RETHROW.
svn path=/trunk/mono/; revision=41058
Jordi Mas i Hernandez [Tue, 22 Feb 2005 19:21:26 +0000 (19:21 -0000)]
2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
* ComboBox.cs: do subcontrol creation when the control is created
svn path=/trunk/mcs/; revision=41057
Martin Baulig [Tue, 22 Feb 2005 19:13:58 +0000 (19:13 -0000)]
2005-02-22 Martin Baulig <martin@ximian.com>
* generic.cs (TypeParameter.Resolve): If resolving the constraints
returned an error, set `constraints' to null to avoid a crash
later on.
(TypeParameter.ResolveType): Likewise.
svn path=/trunk/mcs/; revision=41056
Martin Baulig [Tue, 22 Feb 2005 19:04:56 +0000 (19:04 -0000)]
New test.
svn path=/trunk/mcs/; revision=41054
Martin Baulig [Tue, 22 Feb 2005 19:03:54 +0000 (19:03 -0000)]
2005-02-22 Martin Baulig <martin@ximian.com>
* generic.cs
(Constraints.ResolveTypes): Protect against being called twice.
(Constraints.CheckInterfaceMethod): Don't call ResolveTypes().
(TypeParameter.ResolveType): New public method; calls
constraints.ResolveTypes().
(TypeParameter.DefineType): Moved constraints.ResolveType() out
into the new ResolveType().
(GenericMethod.Define): Call ResolveType() on all our
TypeParameter's.
svn path=/trunk/mcs/; revision=41053
César Natarén [Tue, 22 Feb 2005 18:49:42 +0000 (18:49 -0000)]
2005-02-22 Cesar Lopez Nataren <cnataren@novell.com>
* Block.cs: Report error JS5040. Reopened #72674, see last comment of it.
svn path=/trunk/mcs/; revision=41052
Lluis Sanchez [Tue, 22 Feb 2005 16:51:42 +0000 (16:51 -0000)]
2005-02-22 Lluis Sanchez Gual <lluis@novell.com>
* FilterableAttribute.cs: Fix endless loop.
svn path=/trunk/mcs/; revision=41049
Raja R Harinath [Tue, 22 Feb 2005 14:28:16 +0000 (14:28 -0000)]
In mcs:
2005-02-22 Abin Thomas <projectmonokochi@rediffmail.com>
Anoob V E <projectmonokochi@rediffmail.com>
Harilal P R <projectmonokochi@rediffmail.com>
Fix #71134.
* pending.cs (PendingImplementation.GetAbstractMethods):
Find NonPublic members too.
In tests:
2005-02-22 Raja R Harinath <rharinath@novell.com>
* mtest-6-exe.cs, mtest-6-dll.cs: New test based on #71134.
In errors:
* cs0115-3.c: New file based on #71134.
svn path=/trunk/mcs/; revision=41043
Sureshkumar T [Tue, 22 Feb 2005 14:05:40 +0000 (14:05 -0000)]
In Test/System.Data.Common:
* ConnectionStringsSectionTest.cs: Added file. Tests for
System.Configuration.ConnectionStringsSection class. This is used
for managing connection strings information for provider factory.
2005-02-22 Sureshkumar T <tsureshkumar@novell.com>
In .:
* System.Data_test.dll.sources: Added
System.Data.Common/ConnectionStringsSectionTest.cs
2005-02-22 Sureshkumar T <tsureshkumar@novell.com>
svn path=/trunk/mcs/; revision=41040
Raja R Harinath [Tue, 22 Feb 2005 13:59:31 +0000 (13:59 -0000)]
remove svn:executable
svn path=/trunk/mcs/; revision=41039
Raja R Harinath [Tue, 22 Feb 2005 13:58:53 +0000 (13:58 -0000)]
* FieldInfo.cs (GetFieldOffset): Make 'virtual' rather than
'abstract' so that this class can be derived outside of corlib.
svn path=/trunk/mcs/; revision=41038
Raja R Harinath [Tue, 22 Feb 2005 13:50:39 +0000 (13:50 -0000)]
* Makefile (PREBUILT): New rule to copy *.resources to *.resources.prebuilt.
(dist-default): Depend on it.
svn path=/trunk/mcs/; revision=41037
Raja R Harinath [Tue, 22 Feb 2005 13:45:20 +0000 (13:45 -0000)]
* cs0534-3.cs, cs0534-4.cs, CS0534-3-lib.cs, CS0534-4-lib.cs: New
files based on #71134.
* Makefile (all-local): Add CS0534-3-lib.dll and CS0534-4-lib.dll.
svn path=/trunk/mcs/; revision=41036
Sureshkumar T [Tue, 22 Feb 2005 13:31:12 +0000 (13:31 -0000)]
In .:
2005-02-22 Sureshkumar T <tsureshkumar@novell.com>
* System.dll.sources: Added files.
System.Configuration/ConnectionStringSettingsCollection.cs
System.Configuration/ConnectionStringSettings.cs
In System.Configuration:
2005-02-22 Sureshkumar T <tsureshkumar@novell.com>
* ConnectionStringsSection.cs: Implemented all methods.
New Files Added:
* ConnectionStringSettings.cs: Configuration object for a
connection string element.
* ConnectionStringSettingsCollection.cs: Collection of
ConnectionStringSettings objects.
svn path=/trunk/mcs/; revision=41035