Sebastien Pouliot [Fri, 10 Jun 2005 11:09:35 +0000 (11:09 -0000)]
svn path=/trunk/mcs/; revision=45746
Sebastien Pouliot [Fri, 10 Jun 2005 10:50:07 +0000 (10:50 -0000)]
2005-06-10 Sebastien Pouliot <sebastien@ximian.com>
* StrongNamePublicKeyBlob.cs: Reduce casts in Equals.
svn path=/trunk/mcs/; revision=45745
Gonzalo Paniagua Javier [Fri, 10 Jun 2005 10:46:12 +0000 (10:46 -0000)]
2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpSoapWebServiceHandler.cs: use the HttpResponse.BufferOutput
instead of our own MemoryStream when buffering is enabled. Flush the
response instead of closing it, as that allows for Content-Length to
be sent from HttpResponse and helps reusing connections.
svn path=/trunk/mcs/; revision=45744
Joerg Rosenkranz [Fri, 10 Jun 2005 10:10:46 +0000 (10:10 -0000)]
2005-06-10 Joerg Rosenkranz <joergr@voelcker.com>
* mono-service.cs: Removed AutoResetEvent code from signal
handler because it was unsafe and not guaranteed to work.
Use polling in main loop instead.
Use signal functions from Mono.Unix instead of self defined
ones.
svn path=/trunk/mcs/; revision=45743
Lluis Sanchez [Fri, 10 Jun 2005 10:10:35 +0000 (10:10 -0000)]
2005-05-10 Lluis Sanchez Gual <lluis@novell.com>
* SoapTypeMapper.cs: Serialize floats and doubles using the correct
precision. Patch by Roei Erez that fixes bug #75196.
svn path=/trunk/mcs/; revision=45742
Manjula GHM [Fri, 10 Jun 2005 09:37:39 +0000 (09:37 -0000)]
To Support other types of source in Mid statement
svn path=/trunk/mcs/; revision=45741
Manjula GHM [Fri, 10 Jun 2005 08:57:00 +0000 (08:57 -0000)]
To Support Optional max. insert length value in Mid statement
svn path=/trunk/mcs/; revision=45740
Atsushi Eno [Fri, 10 Jun 2005 08:09:01 +0000 (08:09 -0000)]
2005-06-11 Atsushi Enomoto <atsushi@ximian.com>
* CJK/CP932.cs : more PrivateUse. Compute them precisely.
svn path=/trunk/mcs/; revision=45738
John BouAntoun [Fri, 10 Jun 2005 08:05:27 +0000 (08:05 -0000)]
- MonthCalendar.cs: Removed MonoTodo attributes on Click and
DoubleClick events, since they are not meant to be fired.
svn path=/trunk/mcs/; revision=45737
Atsushi Eno [Fri, 10 Jun 2005 07:48:56 +0000 (07:48 -0000)]
2005-06-11 Atsushi Enomoto <atsushi@ximian.com>
* CJK/CP932.cs : PrivateUse was not mapped.
svn path=/trunk/mcs/; revision=45736
Sureshkumar T [Fri, 10 Jun 2005 06:43:14 +0000 (06:43 -0000)]
2005-06-10 Sureshkumar T <tsureshkumar@novell.com>
* DataRow.cs: CopyValuesToRow: if orginal == current, don't create
a new current record.
* DataSet.cs: GetChanges :Temporarily disable EnforceConstraints.
svn path=/trunk/mcs/; revision=45735
Duncan Mak [Fri, 10 Jun 2005 05:58:45 +0000 (05:58 -0000)]
2005-06-10 Duncan Mak <duncan@novell.com>
* cs-tokenizer.cs (process_directives): New flag for controlling
the processing of preprocessor directives.
(x_token): After seeing a '#', return Token.NONE instead of going
to handle_preprocessing_directive() when not processing
directives. This avoids unnecessary processing during the token peek in
is_punct().
This fixes #74939.
* cs-tokenizer.cs (handle_preprocessing_directive, xtoken):
Use the existing error reporting methods instead of
Report.Error.
* convert.cs (priv_fmt_expr): Remove. It's not needed anymore
after Raja's rewrite.
svn path=/trunk/mcs/; revision=45734
Gonzalo Paniagua Javier [Fri, 10 Jun 2005 05:14:06 +0000 (05:14 -0000)]
2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: avoid one intermediate buffer when reading the request
body and fail for over limit content length when the content type is
not handled as form or multipart data.
svn path=/trunk/mcs/; revision=45733
Gert Driesen [Fri, 10 Jun 2005 04:57:38 +0000 (04:57 -0000)]
* VBCodeCompiler.cs:
- ArgumentException was thrown when more than one file/source or
CodeCompileUnit is built.
- Temporary files are not cleaned up after compilation.
* VBCodeProviderTest.cs:
- Added batch of tests that check whether temporary files are cleaned up.
- Compile multiple sources, CodeCompileUnits and files.
- Use separate AppDomain for tests that actually load compiled assembly,
to ensure no test output is left on the system.
svn path=/trunk/mcs/; revision=45732
Gert Driesen [Fri, 10 Jun 2005 04:52:21 +0000 (04:52 -0000)]
* TraceTest.cs: Fixed test failure.
svn path=/trunk/mcs/; revision=45731
Manjula GHM [Fri, 10 Jun 2005 04:46:58 +0000 (04:46 -0000)]
Allow New Date assignment to other types
svn path=/trunk/mcs/; revision=45730
Atsushi Eno [Fri, 10 Jun 2005 04:09:52 +0000 (04:09 -0000)]
2005-06-10 Atsushi Enomoto <atsushi@ximian.com>
* DataSetReadXmlSchemaTest.cs : TestSampleFileImportSimple() is not
working and it takes so much time (downloading), so just disable it.
svn path=/trunk/mcs/; revision=45729
Sureshkumar T [Fri, 10 Jun 2005 04:09:49 +0000 (04:09 -0000)]
2005-06-10 Sureshkumar T <tsureshkumar@novell.com>
* MergeManager.cs: Temporarily disable EnforceConstraints while
doing a dataset Merge. Patch from george.barbarosie@gmail.com
(George Barbarosie).
svn path=/trunk/mcs/; revision=45728
Peter Dennis Bartok [Fri, 10 Jun 2005 04:04:10 +0000 (04:04 -0000)]
2005-06-09 Peter Bartok <pbartok@novell.com>
* UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
Jonathan's standalone controls into MWF, implemented missing
events, attributes and methods; added xxxAccessible classes
* AccessibleObject.cs: Made fields internal so other classes
can change them if needed
2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
* UpDownBase.cs: Complete implementation
* NumericUpDown.cs: Complete implementation
* DomainUpDown.cs: Complete implementation
svn path=/trunk/mcs/; revision=45727
Gonzalo Paniagua Javier [Thu, 9 Jun 2005 23:23:28 +0000 (23:23 -0000)]
2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* WebServiceHelper.cs: don't even try to read the response if its length
is known to be 0.
* SoapHttpClientProtocol.cs: for successful responses on methods that
are not one-way, don't return immediately if the content length is 0 so
that the check for Content-Type takes place.
svn path=/trunk/mcs/; revision=45723
Zoltan Varga [Thu, 9 Jun 2005 22:32:47 +0000 (22:32 -0000)]
2005-06-10 Zoltan Varga <vargaz@freemail.hu>
* *-ia64.*: Ongoing IA64 work.
svn path=/trunk/mono/; revision=45721
Zoltan Varga [Thu, 9 Jun 2005 20:23:06 +0000 (20:23 -0000)]
2005-06-09 Zoltan Varga <vargaz@freemail.hu>
* *-ia64.*: Ongoing IA64 work.
svn path=/trunk/mono/; revision=45720
Zoltan Varga [Thu, 9 Jun 2005 20:22:08 +0000 (20:22 -0000)]
2005-06-09 Zoltan Varga <vargaz@freemail.hu>
* ia64/ia64-codegen.h: Ongoing IA64 work.
svn path=/trunk/mono/; revision=45719
Zoltan Varga [Thu, 9 Jun 2005 20:11:38 +0000 (20:11 -0000)]
2005-06-09 Zoltan Varga <vargaz@freemail.hu>
* basic.cs: Add conv.ovf.i4.un test.
svn path=/trunk/mono/; revision=45718
Jordi Mas i Hernandez [Thu, 9 Jun 2005 18:28:35 +0000 (18:28 -0000)]
2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
* DataView.cs: fixes GetListName
svn path=/trunk/mcs/; revision=45716
Duncan Mak [Thu, 9 Jun 2005 17:45:32 +0000 (17:45 -0000)]
2005-06-09 Duncan Mak <duncan@novell.com>
* *.h: Added G_BEGIN_DECLS and G_END_DECLS where appropriate to
all public headers. Fixes #74919. r=zoltan.
svn path=/trunk/mono/; revision=45715
Ben Maurer [Thu, 9 Jun 2005 17:35:29 +0000 (17:35 -0000)]
warnings
svn path=/trunk/mcs/; revision=45714
Ben Maurer [Thu, 9 Jun 2005 17:32:16 +0000 (17:32 -0000)]
re-disable stuff
svn path=/trunk/mcs/; revision=45713
Ben Maurer [Thu, 9 Jun 2005 17:30:14 +0000 (17:30 -0000)]
fix freeze
svn path=/trunk/mcs/; revision=45712
Ben Maurer [Thu, 9 Jun 2005 17:06:31 +0000 (17:06 -0000)]
2005-06-09 Ben Maurer <bmaurer@ximian.com>
* configure.in: Handle more gracefully if objdump or X isn't
there. Warn the user about possible breakage.
svn path=/trunk/mono/; revision=45711
Gert Driesen [Thu, 9 Jun 2005 15:30:00 +0000 (15:30 -0000)]
* TraceImpl.cs: Adjust internal indentlevel and indentsize before passing on
to listeners. Fixes some test failures.
svn path=/trunk/mcs/; revision=45709
Lluis Sanchez [Thu, 9 Jun 2005 15:16:58 +0000 (15:16 -0000)]
2005-06-09 Lluis Sanchez Gual <lluis@novell.com>
* domain.c: The key for proxy_vtable_hash is now a pointer
array. Added new GHashFunc and GCompareFunc functions for this.
* class.h: The list of interfaces in MonoRemoteClass is known in
advance and can't grow (we create a new MonoRemoteClass if needed),
so now the interface array can be allocated together with
MonoRemoteClass.
* object.c: Added a new method create_remote_class_key.
Fixed mono_remote_class so it does not depend on
mono_upgrade_remote_class.
Removed extend_interface_array.
Added new method clone_remote_class(), which makes a copy of a remote
class and adds a new interface or class to it.
mono_upgrade_remote_class() now creates a new remote class (or gets
it from the cache) if an vtable upgrade is needed. In this way
we make sure that other objects sharing the same remote class
don't get the new vtable with unwanted interfaces.
* object-internals.h:
* object.h: Moved mono_upgrade_remote_class to object-internals.h.
* marshal.c: Track changes in mono_upgrade_remote_class().
svn path=/trunk/mono/; revision=45708
Andrew Skiba [Thu, 9 Jun 2005 14:38:58 +0000 (14:38 -0000)]
Fix the list of known failures
svn path=/trunk/mcs/; revision=45705
Sebastien Pouliot [Thu, 9 Jun 2005 14:38:34 +0000 (14:38 -0000)]
2005-06-09 Sebastien Pouliot <sebastien@ximian.com>
* HMAC.cs: BlockSizeValue has changed from a protected member to
a protected property.
svn path=/trunk/mcs/; revision=45704
Raja R Harinath [Thu, 9 Jun 2005 14:34:47 +0000 (14:34 -0000)]
Simplify Enumerator.MoveNext to make it "obviously correct", rather
than require subtle reasoning about the state of various variables.
* Dictionary.cs (Enumerator._isValid): Remove. Replace all uses
with "_current == null".
(Enumerator._validNodeVisited): Remove.
(Enumerator._next): New. Holds the the next position.
(Enumerator.FixNest): New helper function that ensures that _next
has the right value.
(Enumerator.MoveNext): Simplify. Now, copies _next to _current
and advances _next if possible.
svn path=/trunk/mcs/; revision=45703
Sebastien Pouliot [Thu, 9 Jun 2005 14:09:11 +0000 (14:09 -0000)]
forgot a few of them...
svn path=/trunk/mcs/; revision=45701
Martin Baulig [Thu, 9 Jun 2005 13:42:34 +0000 (13:42 -0000)]
Reverted the patch.
Next time please send me a patch which actually compiles.
svn path=/trunk/mcs/; revision=45700
Martin Baulig [Thu, 9 Jun 2005 13:33:29 +0000 (13:33 -0000)]
Ooops.
svn path=/trunk/mcs/; revision=45699
Martin Baulig [Thu, 9 Jun 2005 13:26:06 +0000 (13:26 -0000)]
Ooops.
svn path=/trunk/mcs/; revision=45698
Martin Baulig [Thu, 9 Jun 2005 13:17:47 +0000 (13:17 -0000)]
Committing a patch from Kamil Skalski <nazgul@nemerle.org>
containing some .NET 2.0 updates.
svn path=/trunk/mcs/; revision=45697
Martin Baulig [Thu, 9 Jun 2005 13:14:51 +0000 (13:14 -0000)]
2005-06-08 Kamil Skalski <nazgul@nemerle.org>
* icall.c: Add runtime methods for obtaining members of inflated
class, which were created from supplied non-inflated members. It
is used in internal Get{Method,Constructor,Field} methods in
System.Type
svn path=/trunk/mono/; revision=45696
Martin Baulig [Thu, 9 Jun 2005 13:07:58 +0000 (13:07 -0000)]
New test.
svn path=/trunk/mcs/; revision=45695
Martin Baulig [Thu, 9 Jun 2005 13:04:19 +0000 (13:04 -0000)]
2005-06-09 Martin Baulig <martin@ximian.com>
* delegate.cs (Delegate.VerifyMethod): Added
`MethodGroupExpr old_mg' argument; inherit its
`HasTypeParameters'; fix #75085.
svn path=/trunk/mcs/; revision=45694
Sebastien Pouliot [Thu, 9 Jun 2005 12:43:04 +0000 (12:43 -0000)]
2005-06-09 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Bump security tools version to 1.1.8.
svn path=/trunk/mcs/; revision=45693
Zoltan Varga [Thu, 9 Jun 2005 12:04:38 +0000 (12:04 -0000)]
2005-06-09 Zoltan Varga <vargaz@freemail.hu>
* CustomAttributeData.cs EventInfo.cs Assembly.cs: Updates for net 2.0 beta 2.
svn path=/trunk/mcs/; revision=45692
Martin Baulig [Thu, 9 Jun 2005 12:01:33 +0000 (12:01 -0000)]
2005-06-09 Martin Baulig <martin@ximian.com>
* expression.cs (Invocation.OverloadResolve): Correctly handle
generic methods for the SetMemberIsUsed(); fix #75064.
svn path=/trunk/mcs/; revision=45691
Jonathan Pryor [Thu, 9 Jun 2005 11:54:07 +0000 (11:54 -0000)]
* make-map.cs: Look for [Obsolete] members, and mark the UnixConvert
conversion functions with the same [Obsolete] message. This should permit
more graceful deprecation of enumerations in the future (rather than just
API breaks).
svn path=/trunk/mcs/; revision=45690
Martin Baulig [Thu, 9 Jun 2005 11:35:57 +0000 (11:35 -0000)]
2005-06-09 Martin Baulig <martin@ximian.com>
* statement.cs (Throw.Resolve): Use TypeManager.IsSubclassOf();
fixes #75062.
svn path=/trunk/mcs/; revision=45689
Martin Baulig [Thu, 9 Jun 2005 11:14:40 +0000 (11:14 -0000)]
2005-06-09 Martin Baulig <martin@ximian.com>
* reflection.c
(mono_reflection_bind_generic_method_parameters): Fix #75169.
svn path=/trunk/mono/; revision=45688
Martin Baulig [Thu, 9 Jun 2005 11:12:52 +0000 (11:12 -0000)]
New test.
svn path=/trunk/mcs/; revision=45687
Sebastien Pouliot [Thu, 9 Jun 2005 11:12:35 +0000 (11:12 -0000)]
2005-06-09 Sebastien Pouliot <sebastien@ximian.com>
* all: Added ComVisible(true) and some Obsolete attributes for NET_2_0
svn path=/trunk/mcs/; revision=45686
Zoltan Varga [Thu, 9 Jun 2005 10:38:09 +0000 (10:38 -0000)]
2005-06-09 Zoltan Varga <vargaz@freemail.hu>
* *.cs: Updates for net 2.0 beta 2.
svn path=/trunk/mcs/; revision=45685
Zoltan Varga [Thu, 9 Jun 2005 10:35:16 +0000 (10:35 -0000)]
2005-06-09 Zoltan Varga <vargaz@freemail.hu>
* ModuleHandle RuntimeMethodHandle.cs RuntimeTypeHandle.cs RuntimeFieldHandle.cs RuntimeArgumentHandle.cs: Add missing 2.0 attributes.
svn path=/trunk/mcs/; revision=45684
Sureshkumar T [Thu, 9 Jun 2005 10:30:34 +0000 (10:30 -0000)]
2005-06-09 Sureshkumar T <tsureshkumar@novell.com>
* System.Data.Odbc/OdbcDataReader.cs: GetValue (): return decimal in case of odbc
type Numeric. Move the temp buffer logic inside.
* System.Data.Odbc/OdbcTypeConverter.cs: map SQL_TYPE.NUMERIC to SQL_C_TYPE.CHAR by
now, since PgSql driver seems not to accept NUMERIC c type. Other
database anyway, provides NUMERIC datatype as DECIMAL.
svn path=/trunk/mcs/; revision=45683
Jordi Mas i Hernandez [Thu, 9 Jun 2005 09:18:22 +0000 (09:18 -0000)]
2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridTextBoxColumn.cs: drawing fixes
* DataGridCell.cs: fixes ToString method to match MSNet
* DataGridTableStyle.cs: fixes
* DataGridBoolColumn.cs: fixes, drawing
* DataGridDrawingLogic.cs: fixes, new methods
* DataGridTextBox.cs: Keyboard and fixes
* DataGrid.cs:
- Keyboard navigation
- Scrolling fixes
- Row selection (single, multiple, deletion, etc)
- Lots of fixes
svn path=/trunk/mcs/; revision=45682
Andrew Skiba [Thu, 9 Jun 2005 09:11:06 +0000 (09:11 -0000)]
TARGET_JVM for roundtrip bug
svn path=/trunk/mcs/; revision=45681
Massimiliano Mantione [Thu, 9 Jun 2005 08:58:26 +0000 (08:58 -0000)]
* mini.c: (remove_block_if_useless) Fixed bug 75061.
svn path=/trunk/mono/; revision=45680
Gonzalo Paniagua Javier [Thu, 9 Jun 2005 08:12:06 +0000 (08:12 -0000)]
2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: fix the check in Close() so that CloseConnection is
called even if there has been no final Flush. Fixes bug #75176.
svn path=/trunk/mcs/; revision=45679
Marek Safar [Thu, 9 Jun 2005 06:12:45 +0000 (06:12 -0000)]
2005-06-09 Marek Safar <marek.safar@seznam.cz>
* compiler-tester: Add process test runner to cope with
too many files in AppDomain(s).
svn path=/trunk/mcs/; revision=45675
Gert Driesen [Thu, 9 Jun 2005 05:39:39 +0000 (05:39 -0000)]
* CodeGeneratorFromCompileUnitTest.cs: added test for bug #75190.
svn path=/trunk/mcs/; revision=45674
Jackson Harper [Wed, 8 Jun 2005 20:33:55 +0000 (20:33 -0000)]
* Guidelines:
* Design: Double buffering is handled at a different level now, so
I am removing mention of it. Control developers do not need to
know how it works.
svn path=/trunk/mcs/; revision=45672
Jonathan Pryor [Wed, 8 Jun 2005 19:59:32 +0000 (19:59 -0000)]
* Syscall.cs: Add execvp(2). (This should have been added with the other
exec(2) additions...).
svn path=/trunk/mcs/; revision=45671
Martin Baulig [Wed, 8 Jun 2005 19:58:39 +0000 (19:58 -0000)]
Fixed in SVN.
svn path=/trunk/mcs/; revision=45670
Martin Baulig [Wed, 8 Jun 2005 19:57:29 +0000 (19:57 -0000)]
2005-06-08 Martin Baulig <martin@ximian.com>
* Dictionary.cs (Dictionary.KeyEnumerator): Removed the public
GetEnumerator() function since it's returning the wrong type.
(Dictionary.ValueEnumerator): Likewise. Fix #75073.
svn path=/trunk/mcs/; revision=45669
Sebastien Pouliot [Wed, 8 Jun 2005 19:46:17 +0000 (19:46 -0000)]
2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
* RuntimeEnvironment.cs: I get better results when calling Demand.
svn path=/trunk/mcs/; revision=45668
Ben Maurer [Wed, 8 Jun 2005 19:04:06 +0000 (19:04 -0000)]
2005-06-08 Ben Maurer <bmaurer@ximian.com>
* Makefile.am: Avoid versioning. We aren't going to be a strongly
versioned lib.
svn path=/trunk/mono/; revision=45663
Carlos Alberto Cortez [Wed, 8 Jun 2005 19:02:00 +0000 (19:02 -0000)]
2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* AssemblyNameTest.cs: Added tests to Version method,
in order to do additional checks with AssemblyBuilder
version.
svn path=/trunk/mcs/; revision=45661
Carlos Alberto Cortez [Wed, 8 Jun 2005 18:59:44 +0000 (18:59 -0000)]
2005-06-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* reflection.c (mono_image_basic_init): Define
Version in MonoDynamicAssembly.
svn path=/trunk/mono/; revision=45660
Jonathan Pryor [Wed, 8 Jun 2005 18:51:30 +0000 (18:51 -0000)]
* Makefile.am: Create an unversioned library. We won't make any gaurantees
about ABI stability until Mono 1.2 (if then).
svn path=/trunk/mono/; revision=45659
Miguel de Icaza [Wed, 8 Jun 2005 18:09:47 +0000 (18:09 -0000)]
Better fix
svn path=/trunk/mcs/; revision=45657
Miguel de Icaza [Wed, 8 Jun 2005 18:08:23 +0000 (18:08 -0000)]
2005-06-08 Miguel de Icaza <miguel@novell.com>
* class.cs: Small fix.
svn path=/trunk/mcs/; revision=45656
Ben Maurer [Wed, 8 Jun 2005 17:56:22 +0000 (17:56 -0000)]
2005-06-08 Ben Maurer <bmaurer@ximian.com>
* configure.in: read the SONAME from libX11. This is the same
thing as will be used by a shared library, so it will really
work.
This will have us get libX11.so.6 rather than libX11.so.6.2.
svn path=/trunk/mono/; revision=45655
Martin Baulig [Wed, 8 Jun 2005 17:26:12 +0000 (17:26 -0000)]
Small fix.
svn path=/trunk/mcs/; revision=45653
Martin Baulig [Wed, 8 Jun 2005 17:24:05 +0000 (17:24 -0000)]
The issue is fixed.
svn path=/trunk/mcs/; revision=45652
Martin Baulig [Wed, 8 Jun 2005 17:23:23 +0000 (17:23 -0000)]
The CharEnumerator issue is fixed.
svn path=/trunk/mcs/; revision=45651
Martin Baulig [Wed, 8 Jun 2005 17:21:58 +0000 (17:21 -0000)]
2005-06-08 Martin Baulig <martin@ximian.com>
Fix #75136.
* loader.c
(mono_method_signature_full): New public method; takes a
`MonoGenericContext *'.
(find_method): Use mono_method_signature_full() and pass the
klass'es context to it.
* class.c (mono_class_is_inflated_method): Use
mono_method_signature_full() and pass the context to it.
svn path=/trunk/mono/; revision=45650
Paolo Molaro [Wed, 8 Jun 2005 16:44:29 +0000 (16:44 -0000)]
Wed Jun 8 19:26:38 CEST 2005 Paolo Molaro <lupus@ximian.com>
* object.c: add proper locking in mono_remote_class_vtable(),
fixes possible memory corruption.
svn path=/trunk/mono/; revision=45647
Sebastien Pouliot [Wed, 8 Jun 2005 16:35:11 +0000 (16:35 -0000)]
2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
* PolicyLevel.cs: Added some missing initialization. More code reuse.
svn path=/trunk/mcs/; revision=45646
Jordi Mas i Hernandez [Wed, 8 Jun 2005 16:14:36 +0000 (16:14 -0000)]
Rectangle and RectangleF basic testing units
svn path=/trunk/mcs/; revision=45643
Jordi Mas i Hernandez [Wed, 8 Jun 2005 16:12:15 +0000 (16:12 -0000)]
2005-06-08 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
* Rectangle.cs:
- Fixes is empty method IsEmpty logic
- Fixes Contains method logic
- Fixes IntersectsWith logic
* RectangleF.cs:
- Fixes is empty method IsEmpty logic
- Fixes Contains method logic
- Fixes IntersectsWith logic
svn path=/trunk/mcs/; revision=45642
Martin Baulig [Wed, 8 Jun 2005 15:05:44 +0000 (15:05 -0000)]
Enable the new iterators tests.
svn path=/trunk/mcs/; revision=45641
Martin Baulig [Wed, 8 Jun 2005 15:05:13 +0000 (15:05 -0000)]
2005-06-08 Martin Baulig <martin@ximian.com>
* cs-parser.jay (nullable_type_or_conditional): If we put the
nullable back and our `type' is a `ComposedCast', remove the
nullable from it. Fixes #75156.
* expression.cs (ComposedCast.RemoveNullable): New public method.
svn path=/trunk/mcs/; revision=45640
Jonathan Pryor [Wed, 8 Jun 2005 14:09:49 +0000 (14:09 -0000)]
* Syscall.cs: Update comment with correct exception type.
* UnixConvert.cs: Rename ToFilePermissions(string) to
FromOctalPermissionString; Add ToOctalPermissionString,
FromUnixPermissionString, ToUnixPermissionString.
* UnixMarshal.cs: Remove ErrorMarshal.HaveStrerror_r and
UnixMarshal.IsErrorDescriptionThreadSafe. strerror(3) is now thread-safe
(from managed code, at least). Update comment.
svn path=/trunk/mcs/; revision=45637
Rafael Teixeira [Wed, 8 Jun 2005 13:33:01 +0000 (13:33 -0000)]
2005-06-08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* AssemblyInfo.cs :
- Added informational attributes that Mono.GetOptions shows in the help screen.
- Bumped up the version number a bit
svn path=/trunk/mcs/; revision=45636
Rafael Teixeira [Wed, 8 Jun 2005 13:10:01 +0000 (13:10 -0000)]
2005-06-08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* oops Mono.IsPartOfPackage renamed to Mono.IsPartOfPackageAttribute,
as mandates the convention
svn path=/trunk/mcs/; revision=45635
Michael Meeks [Wed, 8 Jun 2005 12:56:34 +0000 (12:56 -0000)]
2005-06-08 Michael Meeks <michael.meeks@novell.com>
* marshal.c (mono_remoting_marshal_init): set
initialized after initialization.
svn path=/trunk/mono/; revision=45633
Sebastien Pouliot [Wed, 8 Jun 2005 12:44:52 +0000 (12:44 -0000)]
2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
* Makefile: Added quota. Removed XML files generation.
* quota.cs: New. Test if the restricted appdomain allows the # Kb of
IsolatedStorage.
* README: Updated informations (quota and default policies).
* sandbox.cs: Updated to support the "default" named permissions set
(now) included with Mono. Support for loading XML policy files is
still available (but somewhat buggy at the moment).
svn path=/trunk/mono/; revision=45632
Martin Baulig [Wed, 8 Jun 2005 12:32:24 +0000 (12:32 -0000)]
2005-06-08 Martin Baulig <martin@ximian.com>
The big Iterators rewrite :-)
* iterators.cs: Rewrite this to use the anonymous methods framework.
* rootcontext.cs (RootContext.DefineTypes): Define Delegates
before the TypeContainers; see 2test-21.cs.
* class.cs
(TypeContainer.DefineType): Don't create a new EmitContext if we
already have one (this only happens if we're an Iterator).
(TypeContainer.Define): Also call Define() on all our iterators.
(Method.CreateEmitContext): Added support for iterators.
* anonymous.cs
(AnonymousContainer): New abstract base class for `AnonymousMethod'.
(AnonymousContainer.CreateMethodHost): Moved here from
AnonymousMethod and made abstract.
(AnonymousContainer.CreateScopeType): New abstract method.
(AnonymousContainer.IsIterator): New public property.
(ScopeInfo.EmitScopeType): Call CreateScopeType() on our Host to
get the ScopeTypeBuilder rather than manually defining it here.
(ScopeInfo.EmitScopeInstance): New public method; correctly handle
iterators here.
* driver.cs (Driver.MainDriver): Call TypeManager.InitCodeHelpers()
before RootContext.DefineTypes().
* codegen.cs (EmitContext.RemapToProxy): Removed.
(EmitContext.CurrentAnonymousMethod): Changed type from
AnonymousMethod -> AnonymousContainer.
(EmitContext.ResolveTopBlock): Protect from being called twice.
(EmitContext.MapVariable, RemapParameter(LValue)): Removed.
(EmitContext.EmitThis): Removed the iterators hacks; use the
anonymous methods framework for that.
* statement.cs
(ToplevelBlock.Container): Make this a property, not a field.
(ToplevelBlock.ReParent): New public method; move the
ToplevelBlock into a new container.
(Foreach.TemporaryVariable): Simplify.
svn path=/trunk/mcs/; revision=45631
Sebastien Pouliot [Wed, 8 Jun 2005 11:29:29 +0000 (11:29 -0000)]
2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
* AllowPartiallyTrustedCallersAttribute.cs, HostSecurityManagerFlags.cs
IEvidenceFactory.cs, IPermission.cs, ISecurityEncodable.cs,
ISecurityPolicyEncodable.cs, IStackWalk.cs, NamedPermissionSet.cs,
PolicyLevelType.cs, SecureString.cs, SecurityElement.cs,
SecurityZone.cs, UnverifiableCodeAttribute.cs, VerificationException.cs
XmlSyntaxException.cs: Fix 2.0 beta2 API changes (which is mostly
adding ComVisible attributes to classes).
svn path=/trunk/mcs/; revision=45630
Zoltan Varga [Wed, 8 Jun 2005 10:41:43 +0000 (10:41 -0000)]
2005-06-08 Zoltan Varga <vargaz@freemail.hu>
* ConstructorBuilder.cs FieldBuilder.cs MethodBuilder.cs PropertyBuilder.cs:
Add 2.0 Module property.
svn path=/trunk/mcs/; revision=45627
Zoltan Varga [Wed, 8 Jun 2005 09:30:50 +0000 (09:30 -0000)]
2005-06-08 Zoltan Varga <vargaz@freemail.hu>
* *.cs: Updates for net 2.0 beta 2.
svn path=/trunk/mcs/; revision=45626
Gonzalo Paniagua Javier [Wed, 8 Jun 2005 08:50:55 +0000 (08:50 -0000)]
2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ToolboxItemAttribute.cs: fix the fix that was fixed before.
svn path=/trunk/mcs/; revision=45625
Zoltan Varga [Wed, 8 Jun 2005 08:40:12 +0000 (08:40 -0000)]
2005-06-08 Zoltan Varga <vargaz@freemail.hu>
* ToolboxItemAttribute.cs: Revert last change as it breaks the build.
svn path=/trunk/mcs/; revision=45624
Gonzalo Paniagua Javier [Wed, 8 Jun 2005 08:28:36 +0000 (08:28 -0000)]
2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* UserControl.cs:
* Page.cs:
* Control.cs: updates for 1.1 SP1
svn path=/trunk/mcs/; revision=45623
Gonzalo Paniagua Javier [Wed, 8 Jun 2005 08:27:30 +0000 (08:27 -0000)]
2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlTableCell.cs:
* HtmlControl.cs: updates for 1.1 SP1.
svn path=/trunk/mcs/; revision=45622
Gonzalo Paniagua Javier [Wed, 8 Jun 2005 08:26:24 +0000 (08:26 -0000)]
2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Consts.cs: updated revision for Microsoft.VSDesigner.
svn path=/trunk/mcs/; revision=45621
Zoltan Varga [Wed, 8 Jun 2005 08:21:28 +0000 (08:21 -0000)]
2005-06-08 Zoltan Varga <vargaz@freemail.hu>
* Type.cs: Add missing 2.0 attributes.
svn path=/trunk/mcs/; revision=45620
Gonzalo Paniagua Javier [Wed, 8 Jun 2005 08:07:15 +0000 (08:07 -0000)]
fix attribute
svn path=/trunk/mcs/; revision=45619
Gonzalo Paniagua Javier [Wed, 8 Jun 2005 08:06:54 +0000 (08:06 -0000)]
2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* IISAPIRuntime.cs: GUID changed.
svn path=/trunk/mcs/; revision=45618
Gonzalo Paniagua Javier [Wed, 8 Jun 2005 08:06:40 +0000 (08:06 -0000)]
2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpParseException.cs:
* HttpResponse.cs:
* HttpApplication.cs: updates for 1.1 service pack.
svn path=/trunk/mcs/; revision=45617