Andrew Skiba [Sun, 18 Jun 2006 10:51:24 +0000 (10:51 -0000)]
Check IsWritablePropertyOrField before generating code for assignment statement and DataBind event.
svn path=/trunk/mcs/; revision=61826
Zoltan Varga [Sun, 18 Jun 2006 10:34:15 +0000 (10:34 -0000)]
2006-06-18 Zoltan Varga <vargaz@gmail.com>
* RealProxy.cs (ProcessResponse): Use t.GetElementType ().IsInstanceOfType () when the type is a byref.
svn path=/trunk/mcs/; revision=61825
Marek Sieradzki [Sat, 17 Jun 2006 09:10:32 +0000 (09:10 -0000)]
2006-06-17 Marek Sieradzki <marek.sieradzki@gmail.com>
* Error.cs: Added null check and changed return value of Execute () to
false.
* ResolveProjectBase.cs, AssignTargetPath.cs, CallTarget.cs,
AspNetCompiler.cs, AssignCulture.cs, AssignProjectConfiguration.cs:
Added stubs.
svn path=/trunk/mcs/; revision=61822
Marek Sieradzki [Sat, 17 Jun 2006 09:06:29 +0000 (09:06 -0000)]
2006-06-17 Marek Sieradzki <marek.sieradzki@gmail.com>
* PoResourceReader.cs, PoResourceWriter.cs, TxtResourceReader.cs,
TxtResourceWriter.cs: Copied authors from monoresgen.
svn path=/trunk/mcs/; revision=61821
Marek Sieradzki [Sat, 17 Jun 2006 09:04:46 +0000 (09:04 -0000)]
2006-06-17 Marek Sieradzki <marek.sieradzki@gmail.com>
* ErrorTest.cs: Added check for Execute () return value.
svn path=/trunk/mcs/; revision=61820
Marek Sieradzki [Sat, 17 Jun 2006 09:02:59 +0000 (09:02 -0000)]
2006-06-17 Marek Sieradzki <marek.sieradzki@gmail.com>
* Makefile: Added test-local target to compile
Test/resources/SimpleTask.cs.
svn path=/trunk/mcs/; revision=61819
Jackson Harper [Fri, 16 Jun 2006 22:14:53 +0000 (22:14 -0000)]
- Eliminate separate tracking of the active control, we can just
get this from the controls collection.
- Paint the decorations for the newly activated titlebar so we
get
a pretty blue bar.
svn path=/trunk/mcs/; revision=61816
Jackson Harper [Fri, 16 Jun 2006 21:44:45 +0000 (21:44 -0000)]
* MdiClient.cs: Instead of just sizing maximized windows when
there is a resize we also have to adjust the Y of minimized
windows, so they stay pinned to the bottom of the mdi container.
* InternalWindowManager.cs:
* ThemeWin32Classic.cs: Minimized windows get all three buttons
even if they are a tool window.
svn path=/trunk/mcs/; revision=61815
Massimiliano Mantione [Fri, 16 Jun 2006 20:37:18 +0000 (20:37 -0000)]
* bug-78653.cs. Makefile.am: Added test for bug 78653.
svn path=/trunk/mono/; revision=61814
Massimiliano Mantione [Fri, 16 Jun 2006 20:35:10 +0000 (20:35 -0000)]
Fixed commit date...
svn path=/trunk/mono/; revision=61813
Massimiliano Mantione [Fri, 16 Jun 2006 20:33:31 +0000 (20:33 -0000)]
* ssa.c: Fixed bug 78653 for SSA based deadce.
* mini.h: added MONO_INST_DEFINITION_HAS_SIDE_EFFECTS flag go
MonoInst.flags, used in SSA based deadce.
* aliasing.c: Fixed bug 78653 for "fastpath" deadce.
* simple-cee-ops.h, simple-mini-ops.h: Fixed bug 78653.
svn path=/trunk/mono/; revision=61812
Martin Baulig [Fri, 16 Jun 2006 17:33:29 +0000 (17:33 -0000)]
New test.
svn path=/trunk/mcs/; revision=61809
Martin Baulig [Fri, 16 Jun 2006 17:14:16 +0000 (17:14 -0000)]
2006-06-16 Martin Baulig <martin@ximian.com>
* generic.cs
(Constraints.InflatedConstraints.inflate): Correctly inflate
generic types; fixes #78400.
svn path=/trunk/mcs/; revision=61808
Sebastien Pouliot [Fri, 16 Jun 2006 13:18:06 +0000 (13:18 -0000)]
2006-06-16 Sebastien Pouliot <sebastien@ximian.com>
* SecurityContext.cs: Don't skip the calling callBack if we don't call
CompressedStack.Run (#78652).
svn path=/trunk/mcs/; revision=61796
Raja R Harinath [Fri, 16 Jun 2006 11:59:38 +0000 (11:59 -0000)]
* cs0120-9.cs: New test from #78601.
svn path=/trunk/mcs/; revision=61794
Raja R Harinath [Fri, 16 Jun 2006 11:58:28 +0000 (11:58 -0000)]
Merge r61792 from mcs. Fix up error testcases to reflect changes
svn path=/trunk/mcs/; revision=61793
Juraj Skripsky [Fri, 16 Jun 2006 11:40:51 +0000 (11:40 -0000)]
2006-06-16 Juraj Skripsky <js@hotfeet.ch>
* ecore.cs (SimpleName.Error_ObjectRefRequired): Do not truncate the name.
Fixed bug #78601.
(MemberExpr.EmitInstance): Use GetSignatureForError () to get full name.
(FieldExpr.DoResolve): likewise.
(PropertyExpr.InstanceResolve): likewise.
(EventExpr.InstanceResolve): likewise.
svn path=/trunk/mcs/; revision=61792
Raja R Harinath [Fri, 16 Jun 2006 08:31:50 +0000 (08:31 -0000)]
* Makefile (DISTFILES): Distribute *.snk.
svn path=/trunk/mcs/; revision=61791
Raja R Harinath [Fri, 16 Jun 2006 08:13:05 +0000 (08:13 -0000)]
Also distribute 77687inc.xsd
svn path=/trunk/mcs/; revision=61790
Raja R Harinath [Fri, 16 Jun 2006 07:20:01 +0000 (07:20 -0000)]
* Makefile (EXTRA_DISTFILES): New.
Add Test/System.Web.Services.Description/test.wsdl.
svn path=/trunk/mcs/; revision=61786
Peter Dennis Bartok [Thu, 15 Jun 2006 22:01:55 +0000 (22:01 -0000)]
2006-06-15 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs (Undo): Handle non-existent cursor locations in the
undo buffer, these can happen when text was deleted and the cursor
was recorded first. Since we will also have a recorded cursor
after the delete this is not an issue. (Fixes #78651)
svn path=/trunk/mcs/; revision=61778
Martin Baulig [Thu, 15 Jun 2006 21:58:26 +0000 (21:58 -0000)]
2006-06-15 Martin Baulig <martin@ximian.com>
* statement.cs
(SwitchLabel.ResolveAndReduce): Added `bool allow_nullable'
argument; always allow a `null' label if true.
(Switch.SwitchGoverningType): Take an `Expression expr' argument.
(Switch.TableSwitchEmit, Switch.SimpleSwitchEmit): Check whether
we have a `null' label and mark the new `null_target' label;
default to the `default' label.
(Switch.Resolve): Add support for nullable types. Fixes #78630.
svn path=/trunk/mcs/; revision=61777
Martin Baulig [Thu, 15 Jun 2006 21:54:41 +0000 (21:54 -0000)]
2006-06-15 Martin Baulig <martin@ximian.com>
* class.cs (Operator.Define): Allow an implicit/explicit operator
to convert to/from a nullable value of the enclosing type.
* generic.cs (TypeManager.IsNullableTypeOf): New public method.
(Nullable.Unwrap, Nullable.Wrap): Make these classes public.
* convert.cs
(Convert.ImplicitStandardConversionExists): Add support for lifted
implicit/explicit conversions.
(Convert.ImplicitConversionStandard): Likewise.
svn path=/trunk/mcs/; revision=61776
Gonzalo Paniagua Javier [Thu, 15 Jun 2006 20:58:55 +0000 (20:58 -0000)]
2006-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SessionId.cs: make the length of the SessionID 24, as MS.
svn path=/trunk/mcs/; revision=61774
Sebastien Pouliot [Thu, 15 Jun 2006 19:34:20 +0000 (19:34 -0000)]
2006-06-15 Sebastien Pouliot <sebastien@ximian.com>
* HashAlgorithmTest.cs: Added new test cases wrt the output buffer
used in TransformBlock (e.g. bug #78647). Updated existing test case
to work under 2.0 final.
* HMACMD5Test.cs: Fix SetUp to allow new inherited test cases to work
properly.
* HMACRIPEMD160Test.cs: Fix SetUp to allow new inherited test cases to
work properly.
* HMACSHA1Test.cs: Fix SetUp to allow new inherited test cases to
work properly.
* HMACSHA256Test.cs: Fix SetUp to allow new inherited test cases to
work properly.
* HMACSHA384Test.cs: New. Basic test cases that, cheaply, inherits
the HashAlgorithm tests.
* HMACSHA512Test.cs: New. Basic test cases that, cheaply, inherits
the HashAlgorithm tests.
* KeyedHashAlgorithmTest.cs: Ensure we're always using the same key
(required for new, inherited, test cases). Fix ToString to match
KeyedHashAlgorithm (and not an inherited class).
svn path=/trunk/mcs/; revision=61769
Sebastien Pouliot [Thu, 15 Jun 2006 19:20:20 +0000 (19:20 -0000)]
2006-06-15 Sebastien Pouliot <sebastien@ximian.com>
* CryptoTools.cs: Fix offset in block processor. This fix the HMAC
algorithms when large buffer where used (with multiple calls to
TransformBlock).
svn path=/trunk/mcs/; revision=61767
Sebastien Pouliot [Thu, 15 Jun 2006 19:18:08 +0000 (19:18 -0000)]
2006-06-15 Sebastien Pouliot <sebastien@ximian.com>
* CryptoTools.cs: Fix offset in block processor. This fix the HMAC
algorithms when large buffer where used (with multiple calls to
TransformBlock).
svn path=/trunk/mcs/; revision=61766
Sebastien Pouliot [Thu, 15 Jun 2006 19:15:17 +0000 (19:15 -0000)]
2006-06-15 Sebastien Pouliot <sebastien@ximian.com>
* HashAlgorithm.cs: Changed the order of BlockCopy + HashCore to
HashCore + BlockCopy. Fx 2.0 now allows using a null output buffer
(without exception) while previous 1.x versions crashed the runtime
(mono won't crash the runtime, so we always do like 2.0).
svn path=/trunk/mcs/; revision=61765
Zoltan Varga [Thu, 15 Jun 2006 17:39:15 +0000 (17:39 -0000)]
2006-06-15 Zoltan Varga <vargaz@gmail.com>
* pinvoke-2.cs: Rename to pinvoke-2.2.cs.
* Makefile.am (TEST_CS2_SRC): Add pinvoke-2.2.cs
* pinvoke-2.2.cs libtest.c: Add Marshal.GetDelegateForFunctionPointer () tests.
svn path=/trunk/mono/; revision=61762
Neale Ferguson [Thu, 15 Jun 2006 17:37:18 +0000 (17:37 -0000)]
* atomic.h: More tinkering with InterlockedExchange/InterlockedCompareExchange
for s390/s390x.
svn path=/trunk/mono/; revision=61761
Juraj Skripsky [Thu, 15 Jun 2006 15:08:41 +0000 (15:08 -0000)]
2006-06-15 Juraj Skripsky <js@hotfeet.ch>
* AspTokenizer.cs (ReadAttValue), AspParser.cs (GetAttributes):
Don't allow an attribute value to contain the same quote characters
as the ones used for delimiting the value itself. Add a token
NOTWELLFORMED to signal that case to AspParser. Fixes bug #78643.
svn path=/trunk/mcs/; revision=61758
Paolo Molaro [Thu, 15 Jun 2006 15:00:59 +0000 (15:00 -0000)]
Thu Jun 15 16:59:36 CEST 2006 Paolo Molaro <lupus@ximian.com>
* ppc/ppc-codegen.h: reduce noisy build warnings by
casting to the more commonly used unsigned char type
(from johannes@sipsolutions.net (Johannes Berg)).
svn path=/trunk/mono/; revision=61757
Paolo Molaro [Thu, 15 Jun 2006 14:56:09 +0000 (14:56 -0000)]
Thu Jun 15 16:52:46 CEST 2006 Paolo Molaro <lupus@ximian.com>
* tramp-ppc.c: don't use malloc () for trampoline code, sometimes
it can end up using non executable memory on ppc64 systems
running ppc32 userspace (fix from Johannes Berg).
svn path=/trunk/mono/; revision=61756
Sebastien Pouliot [Thu, 15 Jun 2006 13:49:09 +0000 (13:49 -0000)]
2006-06-15 Sebastien Pouliot <sebastien@ximian.com>
* SecurityContext.cs: Don't call CompressedStack.Run if we don't have
a compressed stack in the context (which can now happen because of
#78652). This should fix MWF bug #78652 (BeginInvoke under 2.0).
svn path=/trunk/mcs/; revision=61755
Senganal T [Thu, 15 Jun 2006 12:02:57 +0000 (12:02 -0000)]
2006-06-15 Senganal T <tsenganal@novell.com>
* Test/System.Data/DataTableTest2.cs :
- Test if the Sort Order is correct when Sort String is not
explicitly set.
- Test if EvaluateException is raised if filter is not a
boolean expression.
- Test if expression is evaluated corrected when the filter
is a boolean column.
* Mono.Data.SqlExpressions/Expression.cs :
- EvalBoolean : throw EvaluateException unless overridden.
- UnaryExpression.EvalBoolean : override EvalBoolean
* Mono.Data.SqlExpressions/Like.cs, In.cs, ColumnReference.cs : override EvalBoolean
* System.Data/DataTable.cs :
- Select : If Sort String is not provided, sort the result
DataRows in Ascending Order of the Columns used in the filter
svn path=/trunk/mcs/; revision=61754
Raja R Harinath [Thu, 15 Jun 2006 11:31:44 +0000 (11:31 -0000)]
oops. 'make distcheck' takes too long
svn path=/trunk/mcs/; revision=61753
Raja R Harinath [Thu, 15 Jun 2006 11:00:17 +0000 (11:00 -0000)]
* Makefile (EXTRA_DISTFILES): Rename from DISTFILES.
svn path=/trunk/mcs/; revision=61752
Zoltan Varga [Thu, 15 Jun 2006 09:51:44 +0000 (09:51 -0000)]
2006-06-15 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_ftnptr_to_delegate): Avoid allocating signature from mempool
and later freeing it. Fixes #78638.
svn path=/trunk/mono/; revision=61751
Marek Sieradzki [Thu, 15 Jun 2006 09:31:09 +0000 (09:31 -0000)]
2006-06-15 Marek Sieradzki <marek.sieradzki@gmail.com>
* UpdateUnit.cs, AssemblyReferenceType.cs, OutputMessageType.cs,
AssemblyIdentity.cs: Fixed enums order.
* DeployManifest.cs, Manifest.cs, FileReferenceCollection.cs: Added
missing abstract/sealed.
svn path=/trunk/mcs/; revision=61750
Raja R Harinath [Thu, 15 Jun 2006 09:21:06 +0000 (09:21 -0000)]
Set svn:eol-style=native
svn path=/trunk/mono/; revision=61749
Raja R Harinath [Thu, 15 Jun 2006 09:16:16 +0000 (09:16 -0000)]
Add more files to the tarball.
svn path=/trunk/mcs/; revision=61748
Raja R Harinath [Thu, 15 Jun 2006 09:02:36 +0000 (09:02 -0000)]
* Makefile (EXTRA_DISTFILES): Add Test/XmlFiles/nvdl.rng.
svn path=/trunk/mcs/; revision=61747
Raja R Harinath [Thu, 15 Jun 2006 07:27:43 +0000 (07:27 -0000)]
some more stealth whitespace
svn path=/trunk/mcs/; revision=61746
Raja R Harinath [Thu, 15 Jun 2006 07:19:48 +0000 (07:19 -0000)]
remove stealth whitespace
svn path=/trunk/mcs/; revision=61745
Senganal T [Thu, 15 Jun 2006 06:56:16 +0000 (06:56 -0000)]
2006-06-15 Senganal T <tsenganal@novell.com>
* Test/System.Data/DataSetTest2.cs : Test the behavior of EnforceConstraints
* Test/System.Data/DataViewTest_IBindingList.cs : Test to ensure the correct index is
used for comparision
* Test/System.Data/DataRowTest2.cs : Test to ensure the RowErrors and ColumnErrors are
filled correctly.
* System.Data.Common/Key.cs :
-Equals : Check for Equality of Sort Order too.
* System.Data/DataSet.cs :
- InternalEnforceConstraints : Check if any null constraints
are violated. Throw ConstraintException only after all the errors
are filled.
* System.Data/DataTable.cs :
- EnforceConstraints : Move away the logic to check for
NullConstraintViolation.
- AssertNotNullConstraint : Checks for Null Constraint
Violation.
- EndLoadData : Do not throw any exceptions here. All the
errors have to be found and RowErrors set before throwing the
exception.
* System.Data/DataRow.cs :
- ImportRecrod : Check the values of the row for any null
values.
- SetColumnError : If the error for column is already set,
do not add a new error but edit the existing error.
- CheckValue : Set the NullConstraintViolation flag if either
table is being loaded or if EnforceConstraints is set to
false.
* System.Data/Constraint.cs : Do not throw exception when EnforceConstraints is
set to false or table is being loaded.
* System.Data/UniqueConstraint.cs : Correct the error message. Set ColumnErrors
along with the RowError.
svn path=/trunk/mcs/; revision=61744
Miguel de Icaza [Thu, 15 Jun 2006 05:16:38 +0000 (05:16 -0000)]
Fix a few other missing files
svn path=/trunk/mcs/; revision=61743
Miguel de Icaza [Thu, 15 Jun 2006 05:13:06 +0000 (05:13 -0000)]
Add missing files to get the XML tests running
svn path=/trunk/mcs/; revision=61742
Miguel de Icaza [Thu, 15 Jun 2006 05:07:45 +0000 (05:07 -0000)]
Add missing files to distribution
svn path=/trunk/mcs/; revision=61741
Miguel de Icaza [Thu, 15 Jun 2006 05:03:58 +0000 (05:03 -0000)]
Fix the build
svn path=/trunk/mcs/; revision=61740
Miguel de Icaza [Thu, 15 Jun 2006 04:44:47 +0000 (04:44 -0000)]
2006-06-15 Miguel de Icaza <miguel@novell.com>
* icall.c (mono_class_get_throw): Revert over-zealous error
throwing, the caller for mono_class_get_throw will cope with
errors when classes are not properly initialized already.
The code still copes with loader exceptions though.
Fixes the regression in reftype1 and reftype3 from the CAS tests.
svn path=/trunk/mono/; revision=61739
Miguel de Icaza [Thu, 15 Jun 2006 03:01:27 +0000 (03:01 -0000)]
2006-06-14 Miguel de Icaza <miguel@novell.com>
* metadata.c (mono_metadata_interfaces_from_typedef_full): Return
FALSE on class loading failure instead of returning true.
* class.c (mono_class_create_from_typedef): It is possible for
mono_metadata_interfaces_from_typedef_full to fail if a class is
not found, cope with this.
2006-06-14 Dick Porter <dick@ximian.com>
svn path=/trunk/mono/; revision=61738
Peter Dennis Bartok [Thu, 15 Jun 2006 01:00:22 +0000 (01:00 -0000)]
- Fix build
svn path=/trunk/mcs/; revision=61737
Gonzalo Paniagua Javier [Thu, 15 Jun 2006 00:26:17 +0000 (00:26 -0000)]
2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateControlParser.cs: fix compilation caching when more than one
@control is compiled from source. Closes bug #78626.
svn path=/trunk/mcs/; revision=61724
Gonzalo Paniagua Javier [Wed, 14 Jun 2006 22:13:28 +0000 (22:13 -0000)]
2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: add the 2.0 Items property. Fixes bug #78467.
svn path=/trunk/mcs/; revision=61720
Gonzalo Paniagua Javier [Wed, 14 Jun 2006 22:08:15 +0000 (22:08 -0000)]
new test
svn path=/trunk/mcs/; revision=61719
Gonzalo Paniagua Javier [Wed, 14 Jun 2006 22:08:02 +0000 (22:08 -0000)]
2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Button.cs: do something in PostBackUrl.
* Repeater.cs: when creating the RepeaterItemCollection, initialize
'items' if it hasn't been done yet. Fixes bug #78417.
svn path=/trunk/mcs/; revision=61718
Gonzalo Paniagua Javier [Wed, 14 Jun 2006 22:05:19 +0000 (22:05 -0000)]
2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* RepeaterItemCollectionTest.cs: New file.
svn path=/trunk/mcs/; revision=61717
Marek Sieradzki [Wed, 14 Jun 2006 21:48:09 +0000 (21:48 -0000)]
2006-06-14 Marek Sieradzki <marek.sieradzki@gmail.com>
* UsingTask.cs: Changed properties to return null on empty attribute.
* UsingTaskCollection.cs: Added object to SyncRoot.
* BuildPropertyGroup.cs: Added NotImplementedException throwing.
svn path=/trunk/mcs/; revision=61715
Marek Sieradzki [Wed, 14 Jun 2006 21:44:49 +0000 (21:44 -0000)]
2006-06-14 Marek Sieradzki <marek.sieradzki@gmail.com>
* BuildPropertyGroupTest.cs: Added some tests.
* UsingTaskCollectionTest.cs: Added very simple test.
* UsingTaskTest.cs: Added test that's loading SimpleTask.dll task from
Test/resources/. Test/resources/SimpleTask.cs should be compiled
before running tests. I need to find out how to add it to Makefile.
svn path=/trunk/mcs/; revision=61714
Marek Sieradzki [Wed, 14 Jun 2006 21:34:47 +0000 (21:34 -0000)]
2006-06-14 Marek Sieradzki <marek.sieradzki@gmail.com>
* ApplicationIdentity.cs, ProxyStub.cs, OutputMessageCollection.cs,
UpdateUnit.cs, DeployManifest.cs, UpdateMode.cs, BaseReference.cs,
ManifestReader.cs, AssemblyIdentity.cs, ApplicationManifest.cs,
TrustInfo.cs, WindowClass.cs, AssemblyReference.cs, FileReference.cs,
AssemblyReferenceType.cs, ManifestWriter.cs, SecurityUtilities.cs,
ComClass.cs, OutputMessage.cs, Manifest.cs, AssemblyManifest.cs,
OutputMessageType.cs, TypeLib.cs, AssemblyReferenceCollection.cs,
FileReferenceCollection.cs: Added stubs.
svn path=/trunk/mcs/; revision=61713
Peter Dennis Bartok [Wed, 14 Jun 2006 20:08:16 +0000 (20:08 -0000)]
2006-06-14 Peter Dennis Bartok <pbartok@novell.com>
* AccessibleObject.cs: Remove dependence on Control.is_selected;
instead properly track control states internally (allows us to
remove is_selected from Control)
svn path=/trunk/mcs/; revision=61712
Gonzalo Paniagua Javier [Wed, 14 Jun 2006 19:16:58 +0000 (19:16 -0000)]
2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: use the new internal LosFormatter.SerializeToBase64.
* LosFormatter.cs: always work on base 64 strings even if the
input/output is on a Stream. Fixes bug #78640.
svn path=/trunk/mcs/; revision=61711
Gonzalo Paniagua Javier [Wed, 14 Jun 2006 17:57:02 +0000 (17:57 -0000)]
2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ImageListStreamer.cs: correctly generate the 1bpp mask for images
whose width is not a multiple of 8.
svn path=/trunk/mcs/; revision=61710
Jackson Harper [Wed, 14 Jun 2006 17:55:00 +0000 (17:55 -0000)]
I wanted to confirm these values, so I started a
SystemInformation unit test.
svn path=/trunk/mcs/; revision=61709
Neale Ferguson [Wed, 14 Jun 2006 16:38:05 +0000 (16:38 -0000)]
* atomic.h: Fix atomic exchange pointer operations for s390x - these
were broken as they used 32-bit instructions rather than their 64-bit
versions.
svn path=/trunk/mono/; revision=61708
Vladimir Krasnov [Wed, 14 Jun 2006 16:37:50 +0000 (16:37 -0000)]
BaseDataList.cs: added ConnectToDataSource method that called from OnLoad, fixed GetData method
Wizard.cs: fixed bug when called MoveTo after that control hierarchy has been created
svn path=/trunk/mcs/; revision=61707
Dick Porter [Wed, 14 Jun 2006 16:24:20 +0000 (16:24 -0000)]
2006-06-14 Dick Porter <dick@ximian.com>
* processes.c: Don't run the atexit handlers when bailing out
of a fork/exec.
svn path=/trunk/mono/; revision=61705
Dick Porter [Wed, 14 Jun 2006 16:17:01 +0000 (16:17 -0000)]
2006-06-14 Dick Porter <dick@ximian.com>
* socket-io.c:
* process.c: Fix a bunch of signed/unsigned warnings from gcc
4.1.1
2006-06-14 Dick Porter <dick@ximian.com>
* wait.c: Fix stupid typo shown up by gcc 4.1.1, = not ==
* handles-private.h:
* shared.c:
* io.c:
* processes.c:
* mono-spinlock.h:
* handles.c:
* collection.c: Fix a bunch of signed/unsigned warnings from gcc
4.1.1
2006-06-14 Dick Porter <dick@ximian.com>
* wapihandles.c: Fix a bunch of signed/unsigned warnings from
* gcc
4.1.1
svn path=/trunk/mono/; revision=61703
Sebastien Pouliot [Wed, 14 Jun 2006 15:54:54 +0000 (15:54 -0000)]
2006-06-14 Sebastien Pouliot <sebastien@ximian.com>
* README.vsnet: Make it clear that building Mono under cygwin is a
pre-requirement to using the VS.NET solution (with the supplied
instructions).
svn path=/trunk/mono/; revision=61702
Sebastien Pouliot [Wed, 14 Jun 2006 15:29:00 +0000 (15:29 -0000)]
2006-06-14 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Update copyright notice.
* signcode.cs: Add support for -x (delayed timestamp) to fix bug
#78614. Now the tool is more useful in real-life scenarios.
* TESTS: New. Instructions on how to test any changes related to
Authenticode.
svn path=/trunk/mcs/; revision=61700
Sebastien Pouliot [Wed, 14 Jun 2006 15:28:24 +0000 (15:28 -0000)]
2006-06-14 Sebastien Pouliot <sebastien@ximian.com>
* AuthenticodeBase.cs: Fix destination offset. Note that this works
under MS but not under Mono.
* AuthenticodeDeformatter.cs: Report a more useful error if the file
hash doesn't match the signed hash.
svn path=/trunk/mcs/; revision=61699
Sebastien Pouliot [Wed, 14 Jun 2006 15:27:32 +0000 (15:27 -0000)]
2006-06-14 Sebastien Pouliot <sebastien@ximian.com>
* ASN1.cs: Switch condition not to use the cached data if there is a
collection being used. Skip extra 0 at the end of the byte[] buffer.
svn path=/trunk/mcs/; revision=61698
Sebastien Pouliot [Wed, 14 Jun 2006 15:26:34 +0000 (15:26 -0000)]
2006-06-14 Sebastien Pouliot <sebastien@ximian.com>
* AuthenticodeBase.cs: Fix destination offset. Note that this works
under MS but not under Mono.
* AuthenticodeDeformatter.cs: Report a more useful error if the file
hash doesn't match the signed hash.
* AuthenticodeFormatter.cs: Implemented support for Timestamp method.
svn path=/trunk/mcs/; revision=61697
Sebastien Pouliot [Wed, 14 Jun 2006 15:22:57 +0000 (15:22 -0000)]
2006-06-14 Sebastien Pouliot <sebastien@ximian.com>
* ASN1.cs: Switch condition not to use the cached data if there is a
collection being used. Skip extra 0 at the end of the byte[] buffer.
svn path=/trunk/mcs/; revision=61696
Sebastien Pouliot [Wed, 14 Jun 2006 13:35:19 +0000 (13:35 -0000)]
2006-06-14 Sebastien Pouliot <sebastien@ximian.com>
* ExecutionContextTest.cs: Changed Run test to execute only under
CAS until bug #78306 (CompressedStack) is fixed.
svn path=/trunk/mcs/; revision=61695
Andrew Skiba [Wed, 14 Jun 2006 06:51:10 +0000 (06:51 -0000)]
Add the value of Menu.CssClass to the table class
svn path=/trunk/mcs/; revision=61691
Atsushi Eno [Wed, 14 Jun 2006 02:12:53 +0000 (02:12 -0000)]
2006-06-13 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs :
Another lame win32 dependent pattern. Fixed bug #78618.
svn path=/trunk/mcs/; revision=61689
Jackson Harper [Tue, 13 Jun 2006 22:53:08 +0000 (22:53 -0000)]
* MdiClient.cs: Only maximize the next child if the current one
is maximized.
svn path=/trunk/mcs/; revision=61686
Massimiliano Mantione [Tue, 13 Jun 2006 21:00:57 +0000 (21:00 -0000)]
* test-inline-call-stack.cs: Test also that the order in which
.cctors are run is essentially the same regardless of the status of
"beforefieldinit", because too many apps depend on this behavior
(which seems to be also the one of the MS CLR).
svn path=/trunk/mono/; revision=61684
Massimiliano Mantione [Tue, 13 Jun 2006 21:00:22 +0000 (21:00 -0000)]
* mini.c: Made so that inline is locally disabled if it would
trigger a .cctor, because too many apps depend on this behavior
(which seems to be also the one of the MS CLR).
svn path=/trunk/mono/; revision=61683
Juraj Skripsky [Tue, 13 Jun 2006 20:48:11 +0000 (20:48 -0000)]
2006-06-13 Juraj Skripsky <js@hotfeet.ch>
* CalendarTest.cs (SelectDateProperty): Make sure SelectedDate is
automatically "rounded" to the same date with time set to 12:00am.
svn path=/trunk/mcs/; revision=61681
Juraj Skripsky [Tue, 13 Jun 2006 20:35:11 +0000 (20:35 -0000)]
2006-06-13 Juraj Skripsky <js@hotfeet.ch>
* Calendar.cs: Make sure WebControls.Enabled is respected.
* SelectedDatesCollection.cs: Set time for all DateTime object passed in
to 12:00am as MS.NET does the same.
Fixes bug #71251.
svn path=/trunk/mcs/; revision=61679
Martin Baulig [Tue, 13 Jun 2006 20:09:44 +0000 (20:09 -0000)]
The regression is now fixed.
svn path=/trunk/mcs/; revision=61678
Chris Toshok [Tue, 13 Jun 2006 20:02:09 +0000 (20:02 -0000)]
oops
svn path=/trunk/mcs/; revision=61677
Chris Toshok [Tue, 13 Jun 2006 20:01:43 +0000 (20:01 -0000)]
2006-06-13 Chris Toshok <toshok@ximian.com>
* DataGridColumnStyle.cs: Invalidate the column when HeaderText is
modified. Also, guard against grid or grid_drawing being null in
Invalidate.
* DataGrid.cs: Reformat tons of getters/setters. In the
DataMember setter, just call SetNewDataSource instead of
duplicating some of its functionality. In SetNewDataSource, don't
check ListManager for null, since the property getter creates the
object if needed.
* DataGridTableStyle.cs: don't set TableStyle or call
SetDataGridInternal on the column here, it's done in
GridColumnStylesCollection.Add.
* GridColumnStylesCollection.cs: fix all the explicit interface
implementations to just call our methods. Nuke AddInternal() and
move the body of it to Add(). Also, add a call to
column.SetDataGridInternal to Add().
* DataGridTextBoxColumn.cs (.ctors): call this() instead of
base()+duplicate code. Also, use the Format property instead of
format to generate an Invalidate ala MS. Lastly, create the
textbox here, unconditionally.
(set_Format): call Invalidate.
(get_TextBox): no need to call EnsureTextBox.
(Commit): remove the message box.
(Edit) remove the call to EnsureTextBox.
(EndEdit): call HideEditBox instead of ReleaseHostedControl.
(EnterNullValue): no need to check textbox for null.
(HideEditBox): no need to check textbox for null.
(SetDataGridInColumn): add the textbox to the grid's controls.
(EnsureTextBox): nuke.
>>>>>>> .r61675
svn path=/trunk/mcs/; revision=61676
Zoltan Varga [Tue, 13 Jun 2006 19:12:42 +0000 (19:12 -0000)]
2006-06-13 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_emit_stack_alloc): Fix initialization of localloc'ed memory.
No idea why this worked before.
svn path=/trunk/mono/; revision=61675
Jackson Harper [Tue, 13 Jun 2006 18:42:08 +0000 (18:42 -0000)]
* MdiWindowManager.cs: Hook up to the maximized menus paint
* event
and redraw the buttons when needed. Unhook when the window is
unmaximized.
* MainMenu.cs: Add an internal Paint event, the mdi window
* manager
needs this so that it can redraw its buttons when the menu is
repainted.
* InternalWindowManager.cs:
* Form.cs: The method order has changed for
* DrawMaximizedButtons,
so that it can be a PaintEventHandler.
svn path=/trunk/mcs/; revision=61674
Kornél Pál [Tue, 13 Jun 2006 18:31:27 +0000 (18:31 -0000)]
ByteEncoding.cs: Use unsafe code in GetString() that results in significant performance improvement.
svn path=/trunk/mcs/; revision=61673
Jackson Harper [Tue, 13 Jun 2006 17:56:02 +0000 (17:56 -0000)]
Open up CreateButtons to base classes
so they can recreate the buttons on state changes.
svn path=/trunk/mcs/; revision=61672
Jackson Harper [Tue, 13 Jun 2006 17:21:36 +0000 (17:21 -0000)]
- When a new window is activated repaint the decorations of the
old one, so that it no longer has the Active "look" (the blue
titlebar).
svn path=/trunk/mcs/; revision=61671
Jackson Harper [Tue, 13 Jun 2006 16:55:17 +0000 (16:55 -0000)]
* MdiClient.cs: When we close a maximized mdi window, the next
* mdi
window is activated and maximized, even if it wasn't before.
* InternalWindowManager.cs: Open up CreateButtons to base
* classes
so they can recreate the buttons on state changes.
- If a window is maximized give it all three buttons
* MdiWindowManager.cs: Create the titlebar buttons when the
* state
is changed, this is needed because a toolwindow will not have
all
three buttons until it is maximized.
svn path=/trunk/mcs/; revision=61670
Zoltan Varga [Tue, 13 Jun 2006 15:59:47 +0000 (15:59 -0000)]
2006-06-13 Zoltan Varga <vargaz@gmail.com>
* branch-opts.c (mono_branch_optimize_exception_target): Avoid branches
which branch to outer exception clauses since they could skip the
inner finally clauses. Fixes #78633.
svn path=/trunk/mono/; revision=61668
Zoltan Varga [Tue, 13 Jun 2006 15:52:59 +0000 (15:52 -0000)]
2006-06-13 Zoltan Varga <vargaz@gmail.com>
* branch-opts.c (mono_branch_optimize_exception_target): Avoid branches
which branch to outer exception clauses since they could skip the
inner finally clauses. Fixes #78633.
* exceptions.cs: Add a test for the above.
svn path=/trunk/mono/; revision=61667
Martin Baulig [Tue, 13 Jun 2006 15:51:36 +0000 (15:51 -0000)]
2006-06-13 Martin Baulig <martin@ximian.com>
* ecore.cs (SimpleName.DoSimpleNameResolve): Check whether we have
type arguments and create a ConstructedType if necessary. Fixes #78400.
svn path=/trunk/mcs/; revision=61666
Gonzalo Paniagua Javier [Tue, 13 Jun 2006 14:57:04 +0000 (14:57 -0000)]
Revert last change. It broke the build.
svn path=/trunk/mcs/; revision=61664
Vladimir Krasnov [Tue, 13 Jun 2006 13:08:48 +0000 (13:08 -0000)]
BaseDataList.cs: added ConnectToDataSource method that called from OnLoad, fixed GetData method
svn path=/trunk/mcs/; revision=61662
Martin Baulig [Tue, 13 Jun 2006 13:06:55 +0000 (13:06 -0000)]
2006-06-13 Martin Baulig <martin@ximian.com>
* known-issuses-mcs, known-issues-gmcs: Disable test-408.cs.
svn path=/trunk/mcs/; revision=61661
Zoltan Varga [Tue, 13 Jun 2006 12:57:54 +0000 (12:57 -0000)]
2006-06-13 Zoltan Varga <vargaz@gmail.com>
* mini.c (merge_basic_blocks): Nullify the branch at the end of the first bb.
Fixes #78629.
* iltests.il: Add a test for the above.
svn path=/trunk/mono/; revision=61659
Vladimir Krasnov [Tue, 13 Jun 2006 12:55:51 +0000 (12:55 -0000)]
Repeater.cs: fixed ConnectToDataSource method, subscribed to DataSourceViewChanged, looks for a datasource in its parent control
fixed GetData method, should not get data if datasource is null
svn path=/trunk/mcs/; revision=61658
Konstantin Triger [Tue, 13 Jun 2006 08:22:09 +0000 (08:22 -0000)]
raise OnDataSourceViewChanged events when data changes
svn path=/trunk/mcs/; revision=61647