Sebastien Pouliot [Thu, 22 Jun 2006 20:49:09 +0000 (20:49 -0000)]
configure.in: Add the Makefile to create in order to run the CAS tests
svn path=/trunk/mono/; revision=61966
Sebastien Pouliot [Thu, 22 Jun 2006 20:47:23 +0000 (20:47 -0000)]
2006-06-22 Sebastien Pouliot <sebastien@ximian.com>
* Makefile.am: Add 'cas' to SUBDIRS
svn path=/trunk/mono/; revision=61965
Sebastien Pouliot [Thu, 22 Jun 2006 20:46:24 +0000 (20:46 -0000)]
2006-06-22 Sebastien Pouliot <sebastien@ximian.com>
* Makefile.am: Updated Makefile to add the CAS tests to the tarball
and enable them to be more broadly tested;
* Makefile: Removed and replaced by Makefile.am
svn path=/trunk/mono/; revision=61964
Sebastien Pouliot [Thu, 22 Jun 2006 20:45:29 +0000 (20:45 -0000)]
2006-06-22 Sebastien Pouliot <sebastien@ximian.com>
* Makefile.am: Updated Makefile to add the CAS tests to the tarball
and enable them to be more broadly tested;
* Makefile: Removed and replaced by Makefile.am
svn path=/trunk/mono/; revision=61963
Sebastien Pouliot [Thu, 22 Jun 2006 20:44:43 +0000 (20:44 -0000)]
2006-06-22 Sebastien Pouliot <sebastien@ximian.com>
* Makefile.am: Updated Makefile to add the CAS tests to the tarball
and enable them to be more broadly tested;
* Makefile: Removed and replaced by Makefile.am
svn path=/trunk/mono/; revision=61962
Sebastien Pouliot [Thu, 22 Jun 2006 20:44:14 +0000 (20:44 -0000)]
2006-06-22 Sebastien Pouliot <sebastien@ximian.com>
* Makefile.am: Updated Makefile to add the CAS tests to the tarball
and enable them to be more broadly tested;
* Makefile: Removed and replaced by Makefile.am
svn path=/trunk/mono/; revision=61961
Sebastien Pouliot [Thu, 22 Jun 2006 20:43:41 +0000 (20:43 -0000)]
2006-06-22 Sebastien Pouliot <sebastien@ximian.com>
* Makefile.am: Updated Makefile to add the CAS tests to the tarball
and enable them to be more broadly tested;
* Makefile: Removed and replaced by Makefile.am
svn path=/trunk/mono/; revision=61960
Sebastien Pouliot [Thu, 22 Jun 2006 20:43:00 +0000 (20:43 -0000)]
2006-06-22 Sebastien Pouliot <sebastien@ximian.com>
* Makefile.am: Updated Makefile to add the CAS tests to the tarball
and enable them to be more broadly tested;
* Makefile: Removed and replaced by Makefile.am
svn path=/trunk/mono/; revision=61959
Marek Sieradzki [Thu, 22 Jun 2006 20:21:34 +0000 (20:21 -0000)]
2006-06-22 Marek Sieradzki <marek.sieradzki@gmail.com>
* ConditionalTokenizer.cs, ConditionalExpression.cs,
ConditionalParser.cs: Changed name,
removed -al.
* ConditionExpression.cs: Added Evaluate ().
* ConditionOrExpression.cs, ConditionAndExpression.cs: Added.
* BatchingImpl.cs: Added check if task should be executed.
svn path=/trunk/mcs/; revision=61957
Marek Sieradzki [Thu, 22 Jun 2006 20:16:59 +0000 (20:16 -0000)]
2006-06-22 Marek Sieradzki <marek.sieradzki@gmail.com>
* UsingTaskCollectionTest.cs, UsingTaskTest.cs: Updated names.
* ProjectTest.cs: Moved most of the old tests to various/.
* Consts.cs: Added.
svn path=/trunk/mcs/; revision=61956
Peter Dennis Bartok [Thu, 22 Jun 2006 19:10:07 +0000 (19:10 -0000)]
2006-06-22 Peter Dennis Bartok <pbartok@novell.com>
* Form.cs (ShowDialog): Release any captures before running the
new message pump (fixes #78680)
svn path=/trunk/mcs/; revision=61951
Marek Sieradzki [Thu, 22 Jun 2006 17:44:19 +0000 (17:44 -0000)]
2006-06-22 Marek Sieradzki <marek.sieradzki@gmail.com>
* BuildErrorEventArgsTest.cs: Fixed header.
* BuildEventArgsTest.cs: Added.
svn path=/trunk/mcs/; revision=61946
Marek Sieradzki [Thu, 22 Jun 2006 17:41:29 +0000 (17:41 -0000)]
2006-06-22 Marek Sieradzki <marek.sieradzki@gmail.com>
* ToolTask.cs: Added some [MonoTODO]s.
svn path=/trunk/mcs/; revision=61945
Marek Sieradzki [Thu, 22 Jun 2006 17:37:11 +0000 (17:37 -0000)]
2006-06-22 Marek Sieradzki <marek.sieradzki@gmail.com>
* FormatUrl.cs, CreateVisualBasicManifestResourceName.cs,
GenereateBootstrapper.cs, ExtractedClassName.cs,
GenerateManifestBase.cs, FormatVersion.cs,
CreateManifestResourceName.cs, CreateCSharpManifestResourceName.cs,
GenerateApplicationManifest.cs: Added stubs.
* Exec.cs: Removed some assignments.
* CreateItem.cs: Formatting.
svn path=/trunk/mcs/; revision=61943
Andrew Skiba [Thu, 22 Jun 2006 16:41:20 +0000 (16:41 -0000)]
remove unnecessary using
svn path=/trunk/mcs/; revision=61940
Andrew Skiba [Thu, 22 Jun 2006 16:37:08 +0000 (16:37 -0000)]
support for POST method in test framework and forms
svn path=/trunk/mcs/; revision=61939
Mike Kestner [Thu, 22 Jun 2006 16:23:24 +0000 (16:23 -0000)]
2006-06-22 Mike Kestner <mkestner@novell.com>
* ListView.cs: Layout column widths properly in details mode even
if HeaderStyle.None is set. Fixes #78691.
svn path=/trunk/mcs/; revision=61938
Andrew Skiba [Thu, 22 Jun 2006 14:07:38 +0000 (14:07 -0000)]
don't use IsNullOrEmpty in 1.1 code
svn path=/trunk/mcs/; revision=61935
Andrew Skiba [Thu, 22 Jun 2006 13:58:53 +0000 (13:58 -0000)]
implemented simple postback test infrastructure
svn path=/trunk/mcs/; revision=61934
Zoltan Varga [Thu, 22 Jun 2006 10:56:03 +0000 (10:56 -0000)]
2006-06-22 Zoltan Varga <vargaz@gmail.com>
* mini.c: Remove unused solaris/x86 includes.
svn path=/trunk/mono/; revision=61933
Andrew Skiba [Thu, 22 Jun 2006 08:35:08 +0000 (08:35 -0000)]
Add HtmlCompare project; add PostBack skeleton
svn path=/trunk/mcs/; revision=61931
Martin Baulig [Thu, 22 Jun 2006 01:46:25 +0000 (01:46 -0000)]
2006-06-22 Martin Baulig <martin@ximian.com>
* class.cs
(TypeContainer.GetNormalBases): Also use ResolveAsBaseTerminal()
for interfaces; fixes #78686, which is a modification of #78380
with interfaces instead of classes.
svn path=/trunk/mcs/; revision=61929
Peter Dennis Bartok [Wed, 21 Jun 2006 23:31:49 +0000 (23:31 -0000)]
2006-06-21 Peter Dennis Bartok <pbartok@novell.com>
* FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
svn path=/trunk/mcs/; revision=61923
Peter Dennis Bartok [Wed, 21 Jun 2006 23:18:37 +0000 (23:18 -0000)]
2006-06-21 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs (ContainsFocus): Using new driver method to get focused
window, instead of trying to use internal tracking var, which can
recursion issues (Fixes #78685)
* XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
XplatUIWin32.cs: Added GetFocus method to return focused window
svn path=/trunk/mcs/; revision=61922
Zoltan Varga [Wed, 21 Jun 2006 21:54:09 +0000 (21:54 -0000)]
2006-06-21 Zoltan Varga <vargaz@gmail.com>
* jit.h: Add G_BEGIN_DECLS/G_END_DECLS.
svn path=/trunk/mono/; revision=61920
Kornél Pál [Wed, 21 Jun 2006 21:47:43 +0000 (21:47 -0000)]
Encoding.cs: Return big-endian UTF-32 in GetEncodings () and GetEncoding (int)
svn path=/trunk/mcs/; revision=61919
Martin Baulig [Wed, 21 Jun 2006 20:45:36 +0000 (20:45 -0000)]
2006-06-21 Martin Baulig <martin@ximian.com>
* codegen.cs (CodeGen.Save): Moved the symbol file generation into
the `try'-block, so we also report CS0016 etc. there.
svn path=/trunk/mcs/; revision=61917
Martin Baulig [Wed, 21 Jun 2006 20:45:14 +0000 (20:45 -0000)]
2006-06-21 Martin Baulig <martin@ximian.com>
* delegate.cs
(Delegate.VerifyMethod): Allow `params' methods; fixes #78678.
svn path=/trunk/mcs/; revision=61916
Martin Baulig [Wed, 21 Jun 2006 20:32:20 +0000 (20:32 -0000)]
2006-06-21 Martin Baulig <martin@ximian.com>
* ecore.cs (FieldExpr.EmitAssign, FieldExpr.AddressOf): Correctly
handle SetAssigned() and SetMemberIsUsed() for generic types;
fixes #77545.
svn path=/trunk/mcs/; revision=61915
Martin Baulig [Wed, 21 Jun 2006 20:08:38 +0000 (20:08 -0000)]
2006-06-21 Martin Baulig <martin@ximian.com>
* delegate.cs
(Delegate.VerifyMethod): Allow `params' methods; fixes #78678.
svn path=/trunk/mcs/; revision=61914
Martin Baulig [Wed, 21 Jun 2006 17:06:56 +0000 (17:06 -0000)]
2006-06-21 Martin Baulig <martin@ximian.com>
* expression.cs (Unary.ResolveOperator): In `Operator.AddressOf',
also report CS1686 for parameters.
svn path=/trunk/mcs/; revision=61912
Andrew Skiba [Wed, 21 Jun 2006 15:57:20 +0000 (15:57 -0000)]
NunitWeb test framework major API refactoring; downport to net 1.1
svn path=/trunk/mcs/; revision=61910
Martin Baulig [Wed, 21 Jun 2006 15:54:07 +0000 (15:54 -0000)]
2006-06-21 Martin Baulig <martin@ximian.com>
* statement.cs (GotoCase.Resolve): Report a warning (CS0469)
instead of an error if the value is not implicitly convertible to
the switch types; fixes #77964.
svn path=/trunk/mcs/; revision=61909
Gonzalo Paniagua Javier [Wed, 21 Jun 2006 15:18:20 +0000 (15:18 -0000)]
2006-06-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ColorDialog.cs: when the mouse button is pressed inside the color
matrix, don't let the cursor move out of it until the button is
released, which is the behavior on windows. Changed 'colours' by
'colors' to use the same word consistently.
svn path=/trunk/mcs/; revision=61908
Chris Toshok [Wed, 21 Jun 2006 13:54:11 +0000 (13:54 -0000)]
* DataGrid.cs: add in some basic navigation stuff (navigating to a
child relation and back, using a stack). Also, remove
GetDataSource and the code that calls it - it's not needed. Also,
track CurrencyManager.ListName's removal.
2006-06-21 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=61906
Martin Baulig [Wed, 21 Jun 2006 13:41:56 +0000 (13:41 -0000)]
2006-06-21 Martin Baulig <martin@ximian.com>
* reflection.c
(method_encode_clauses): Don't assert on `ex_info->handlers' here;
fixes #76484.
svn path=/trunk/mono/; revision=61905
Konstantin Triger [Wed, 21 Jun 2006 13:31:25 +0000 (13:31 -0000)]
ExecuteXmlReader() implementation
svn path=/trunk/mcs/; revision=61904
Martin Baulig [Wed, 21 Jun 2006 13:22:56 +0000 (13:22 -0000)]
Added test for #77934.
svn path=/trunk/mcs/; revision=61903
Sebastien Pouliot [Wed, 21 Jun 2006 12:59:27 +0000 (12:59 -0000)]
2006-06-21 Sebastien Pouliot <sebastien@ximian.com>
* HttpWriter.cs: Fix test fixture not to inherit from
AspNetHostingMinimal which limits the test execution when the CAS
category isn't excluded.
svn path=/trunk/mcs/; revision=61902
Raja R Harinath [Wed, 21 Jun 2006 12:48:37 +0000 (12:48 -0000)]
Fix #78673
* mcs/class.cs (FieldBase.ResolveInitializer): Stop resolution if
FieldBuilder is null.
* gmcs/class.cs: Likewise.
svn path=/trunk/mcs/; revision=61901
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