Zoltan Varga [Wed, 21 Jun 2006 12:44:54 +0000 (12:44 -0000)]
2006-06-21 Zoltan Varga <vargaz@gmail.com>
* object.h (mono_array_setref): Cast value to (MonoObject*) to fix warnings.
svn path=/trunk/mono/; revision=61900
Chris Toshok [Wed, 21 Jun 2006 11:39:18 +0000 (11:39 -0000)]
2006-06-21 Chris Toshok <toshok@ximian.com>
* DataView.cs: update the index after we successfully add the new
row. This keeps the dataview's row view count in sync with the
table.
svn path=/trunk/mcs/; revision=61899
Raja R Harinath [Wed, 21 Jun 2006 11:02:12 +0000 (11:02 -0000)]
Fix #78662
* mcs/expression.cs (Binary.CheckShiftArguments): Don't overwrite original
'left' and 'right' before error-checking.
* gmcs/expression.cs: Likewise.
* errors/cs0019-16.cs: New test from #78662.
svn path=/trunk/mcs/; revision=61898
Chris Toshok [Wed, 21 Jun 2006 10:41:07 +0000 (10:41 -0000)]
2006-06-21 Chris Toshok <toshok@ximian.com>
* CurrencyManager.cs: push some of the original type checking from
BindingContext.CreateBindingManager to here, and remove some of
the finalType stuff. Need more tests to make sure I've got the
ListName part right, and we might need more in SetDataSource.
* PropertyManager.cs: add a ctor that takes just the datasource,
and no property name. Make SetDataSource work with a null
property_name, and make Current return the data_source if the
property descriptor is null. this makes 'string foo = "hi";
BindingContext[foo].Current' return "hi" as it should.
* RelatedCurrencyManager.cs: make this code more generic - there's
no reason the parent manager has to be CurrencyManager, and
there's no reason to pass the DataRelation. It suffices to use a
BindingManagerBase and PropetyDescriptor.
* RelatedPropertyManager.cs: make a similar change here.
* BindingContext.cs: make CreateBindingManager the beautiful, tiny
flower I knew it could be.
svn path=/trunk/mcs/; revision=61897
Chris Toshok [Wed, 21 Jun 2006 10:30:58 +0000 (10:30 -0000)]
2006-06-20 Chris Toshok <toshok@ximian.com>
* DataView.cs: the PropertyDescriptorCollection returned by
ITyepdList.GetItemProperties should include the child relations of
our table, in order to match MS's behavior.
* DataViewManager.cs: ICollection.Count property is always 1.
svn path=/trunk/mcs/; revision=61896
Andrew Skiba [Wed, 21 Jun 2006 09:00:40 +0000 (09:00 -0000)]
Add FileUpload implementation
svn path=/trunk/mcs/; revision=61895
Juraj Skripsky [Wed, 21 Jun 2006 08:50:43 +0000 (08:50 -0000)]
2006-06-21 Juraj Skripsky <js@hotfeet.ch>
* AspTokenizer.cs (ReadAttValue), AspParser.cs (GetAttributes):
MS.NET handles nested quotes differently for server controls and
for "normal" controls. Add a property "AlternatingQuotes" to the
tokenizer and let the parser decide whether it is well-formed or not.
--This line, and thoae below, will be ignored--
M System.Web.Compilation/AspTokenizer.cs
M System.Web.Compilation/AspParser.cs
M System.Web.Compilation/ChangeLog
svn path=/trunk/mcs/; revision=61894
Konstantin Triger [Wed, 21 Jun 2006 08:11:15 +0000 (08:11 -0000)]
if the url is relative, make it relative to the context root
svn path=/trunk/mcs/; revision=61893
Atsushi Eno [Wed, 21 Jun 2006 07:17:53 +0000 (07:17 -0000)]
2006-06-21 Atsushi Enomoto <atsushi@ximian.com>
* Directory.cs : implemented GetFiles() and GetDirectories() which
takes SearchOption (as they are used in one of ruby.net stuff).
svn path=/trunk/mcs/; revision=61890
Jb Evain [Tue, 20 Jun 2006 20:27:57 +0000 (20:27 -0000)]
2006-06-20 Jb Evain <jbevain@gmail.com>
* Math.cs: implement Math.Truncate.
svn path=/trunk/mcs/; revision=61884
Chris Toshok [Tue, 20 Jun 2006 19:09:41 +0000 (19:09 -0000)]
* PropertyManager.cs: the PropertyChangedHandler is invoked when
data in the source has changed and we need to update the control,
so s/PullData/PushData.
* CurrencyManager.cs: Refresh is meant to update the control from
data in the datasource. So, s/PullData/PushData.
* BindingContext.cs: add more ugliness (we weren't handling the
case where data_source = DataTable and data_member = column_name).
* Binding.cs: fix PushData/PullData mixup. Both are interpreted
from the perspective of the datasource. PullData pulls from the
control, PushData pushes to the control.
2006-06-20 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=61883
Jackson Harper [Tue, 20 Jun 2006 17:32:03 +0000 (17:32 -0000)]
Things happen a little differently when control is created.
svn path=/trunk/mcs/; revision=61882
Chris Toshok [Tue, 20 Jun 2006 16:19:39 +0000 (16:19 -0000)]
oops. this was left out of the previous commit
svn path=/trunk/mcs/; revision=61880
Chris Toshok [Tue, 20 Jun 2006 16:15:54 +0000 (16:15 -0000)]
update the ifdefed-out code to use BindingMemberInfo
svn path=/trunk/mcs/; revision=61879
Chris Toshok [Tue, 20 Jun 2006 16:01:14 +0000 (16:01 -0000)]
In .:
2006-06-20 Chris Toshok <toshok@ximian.com>
* System.Windows.Forms.dll.sources: add RelatedPropertyManager.cs
and RelatedCurrencyManager.cs.
In System.Windows.Forms:
2006-06-20 Chris Toshok <toshok@ximian.com>
* BindingContext.cs: rewrite the CreateBindingManager code to
handle navigation paths more or less properly. This could
definitely stand some more work, in particular to push the
recursion up to the toplevel. But that relies on fixes in other
places (System.Data comes to mind).
Also, move to a flat hashtable (and encode the twolevel nature of
the dictionary into the hash key). This lets us implement the
IEnumerable.GetEnumerator method.
* RelatedCurrencyManager.cs: new class. Update our view based on
our relation and our parent CurrencyManager's position.
* CurrencyManager.cs: split out some logic from the ctor into
SetView, so it can be called from the new RelatedCurrencyManager
subclass.
* RelatedPropertyManager.cs: new class. Update our datasource
based on the position of our parent CurrencyManager.
* PropertyManager.cs: split out some logic from the ctor into
SetDataSource, so it can be called from the new RelatedDataSource
subclass. Also, make the Current getter return the value
of the PropertyDescriptor, not the data_source.
* Binding.cs: no need to duplicate the string splitting code here.
svn path=/trunk/mcs/; revision=61878
Jb Evain [Tue, 20 Jun 2006 14:44:14 +0000 (14:44 -0000)]
2006-06-20 Jb Evain <jbevain@gmail.com>
* cpu-g4.md: fix max length of start_handler instruction.
svn path=/trunk/mono/; revision=61876
Andrew Skiba [Tue, 20 Jun 2006 14:11:42 +0000 (14:11 -0000)]
take care of UrlPropertyAttribute
svn path=/trunk/mcs/; revision=61875
Zoltan Varga [Tue, 20 Jun 2006 14:02:47 +0000 (14:02 -0000)]
2006-06-20 Zoltan Varga <vargaz@gmail.com>
* ProtocolType.cs SocketOptionName.cs: Add missing net 2.0 fields.
svn path=/trunk/mcs/; revision=61874
Raja R Harinath [Tue, 20 Jun 2006 11:46:47 +0000 (11:46 -0000)]
Make 'mono_class_get_full' only inflate TYPESPECs, not TYPEDEFs
nor TYPEREFs.
* class.c (mono_class_create_from_typespec): Add 'context' argument.
Inflate result if necessary.
(mono_class_get_full): Remove old version. Rename from
'mono_class_get' and add 'context' argument. Pass it to
..._create_from_typespec.
(mono_class_get): New. Simple wrapper to mono_class_get_full.
(mono_ldtoken): Revert change below.
svn path=/trunk/mono/; revision=61872
Andrew Skiba [Tue, 20 Jun 2006 08:43:16 +0000 (08:43 -0000)]
handle CssClass property in FormView
svn path=/trunk/mcs/; revision=61871
Massimiliano Mantione [Tue, 20 Jun 2006 06:00:45 +0000 (06:00 -0000)]
* bug-78656.cs. Makefile.am: Added test for bug 78656.
svn path=/trunk/mono/; revision=61870
Massimiliano Mantione [Tue, 20 Jun 2006 05:58:39 +0000 (05:58 -0000)]
Again, fixed changelog date...
svn path=/trunk/mono/; revision=61869
Massimiliano Mantione [Tue, 20 Jun 2006 05:57:45 +0000 (05:57 -0000)]
* simple-cee-ops.h, simple-mini-ops.h: Fixed bug 78656.
svn path=/trunk/mono/; revision=61868
Jackson Harper [Mon, 19 Jun 2006 23:54:00 +0000 (23:54 -0000)]
input keys test
svn path=/trunk/mcs/; revision=61867
Martin Baulig [Mon, 19 Jun 2006 23:24:58 +0000 (23:24 -0000)]
New test for #78053.
svn path=/trunk/mcs/; revision=61866
Martin Baulig [Mon, 19 Jun 2006 23:24:24 +0000 (23:24 -0000)]
2006-06-20 Martin Baulig <martin@ximian.com>
* class.c (mono_ldtoken): Don't pass the generic context to
mono_class_get_full() for MONO_TOKEN_TYPE_DEF/REF. Fixes #78053.
svn path=/trunk/mono/; revision=61865
Martin Baulig [Mon, 19 Jun 2006 22:21:35 +0000 (22:21 -0000)]
2006-06-19 Martin Baulig <martin@ximian.com>
* convert.cs
(Convert.ImplicitConversionStandard): Cleanup and correctly
implement nullable conversions.
(Convert.ImplicitStandardConversionExists): Likewise.
(Convert.ExplicitConversion): Likewise.
svn path=/trunk/mcs/; revision=61863
Jackson Harper [Mon, 19 Jun 2006 22:07:51 +0000 (22:07 -0000)]
Remove some debug code.
svn path=/trunk/mcs/; revision=61862
Peter Dennis Bartok [Mon, 19 Jun 2006 21:22:22 +0000 (21:22 -0000)]
2006-06-19 Peter Dennis Bartok <pbartok@novell.com>
* ControlTest.cs: Added tests for enabled state inheritance
svn path=/trunk/mcs/; revision=61861
Peter Dennis Bartok [Mon, 19 Jun 2006 21:22:12 +0000 (21:22 -0000)]
2006-06-19 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- set_Enabled: OnEnabledChanged is not called if the inherited state
of the control is not altered, even though we might be changing the
internal state of the control (#78458)
- set_Enabled: (Re)Moved the enabling/disabling of the window to
OnEnabledChanged, to allow easy altering of any child window state
- OnEnabledChanged: Added code to enable/disable driver window state
- OnParentEnabledChanged: Instead of firing the event, call
OnEnabledChanged, which will fire the event and also a) set driver
window state and pass the enabled state to any grandchildren (#78458)
svn path=/trunk/mcs/; revision=61860
Jackson Harper [Mon, 19 Jun 2006 20:37:13 +0000 (20:37 -0000)]
* InternalWindowManager.cs: We don't set the cursor
explicitly
thats done via the response to NCHITTESTs.
- Don't need to adjust for titlebar heights anymore, the
coordinates are coming in the correct coordinates now (see
peters
last patch).
svn path=/trunk/mcs/; revision=61852
Peter Dennis Bartok [Mon, 19 Jun 2006 20:27:57 +0000 (20:27 -0000)]
2006-06-19 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
being translated relative to whole window, instead of client window.
That caused broken offsets on mouseclick (and caused gas for our
InternalWindowManager)
svn path=/trunk/mcs/; revision=61851
Chris Toshok [Mon, 19 Jun 2006 19:04:42 +0000 (19:04 -0000)]
2006-06-19 Chris Toshok <toshok@ximian.com>
* CurrencyManagerTest.cs: add some tests for related currency
managers.
* BindingContextTest.cs: add a test for
BindingContext.CollectionChanged -=. Also add a test for passing
null for data_member to BindingContext.Contains.
svn path=/trunk/mcs/; revision=61850
Peter Dennis Bartok [Mon, 19 Jun 2006 15:48:33 +0000 (15:48 -0000)]
2006-06-15 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs:
- MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
- Undo(): Added replay of cursor move on DeleteChars action; added
calling Undo() again if a recorded cursor move is invalid (to
ensure that some action is performed on Undo)
* TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
svn path=/trunk/mcs/; revision=61845
Martin Baulig [Mon, 19 Jun 2006 15:39:30 +0000 (15:39 -0000)]
2006-06-19 Martin Baulig <martin@ximian.com>
* generic.cs
(Nullable.Wrap.Create, Nullable.Unwrap.Create): New public static
methods; make the ctors protected.
* convert.cs
(Convert.ImplicitConversion): Correctly handle nullable conversions.
(Convert.ImplicitConversionExists): Likewise.
(Convert.ExplicitConversion): Likewise.
svn path=/trunk/mcs/; revision=61844
Martin Baulig [Mon, 19 Jun 2006 11:34:50 +0000 (11:34 -0000)]
2006-06-19 Martin Baulig <martin@ximian.com>
Fixed #78380; added gtest-273.cs.
* ecore.cs
(Expression.ResolveAsBaseTerminal): Move the constraint checking
into ResolveAsTypeTerminal().
* generic.cs
(ConstraintChecker.HasDefaultConstructor): Use the non-cache based
TypeManager.FindMembers() to check for the default ctor.
svn path=/trunk/mcs/; revision=61838
Raja R Harinath [Mon, 19 Jun 2006 10:00:33 +0000 (10:00 -0000)]
* Makefile (EXTRA_DISTFILES): Add Test/resource/SimpleTask.cs.
svn path=/trunk/mcs/; revision=61835
Marek Safar [Sun, 18 Jun 2006 19:05:51 +0000 (19:05 -0000)]
2006-06-18 Marek Safar <marek.safar@seznam.cz>
* generic.cs: Fixed NullableInfo accessibility.
svn path=/trunk/mcs/; revision=61827
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