Zoltan Varga [Sun, 4 Jun 2006 16:26:29 +0000 (16:26 -0000)]
2006-06-04 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (ves_icall_get_frame_info): Fix this function on ia64.
svn path=/trunk/mono/; revision=61442
Zoltan Varga [Sun, 4 Jun 2006 15:56:12 +0000 (15:56 -0000)]
2006-06-04 Zoltan Varga <vargaz@gmail.com>
* InterlockedTest.cs: Fix Interlocked.Add tests.
svn path=/trunk/mcs/; revision=61440
Miguel de Icaza [Sat, 3 Jun 2006 17:44:36 +0000 (17:44 -0000)]
2006-06-03 Miguel de Icaza <miguel@novell.com>
* debug-mono-symfile.c: Revert Martin's previous patch which broke
stack trace line information:
(Martin) (mono_debug_symfile_lookup_location): Fix the algorithm:
(Martin) when looking up B which is between A and C, return A not C.
Bug is #78573.
Thanks to Alexander Olk for tracking this down.
svn path=/trunk/mono/; revision=61434
John Luke [Sat, 3 Jun 2006 15:50:07 +0000 (15:50 -0000)]
2006-06-03 John Luke <john.luke@gmail.com>
* Path.cs: fix typo in [Obsolete] message
svn path=/trunk/mcs/; revision=61431
John Luke [Sat, 3 Jun 2006 15:47:43 +0000 (15:47 -0000)]
2006-06-03 John Luke <john.luke@gmail.com>
* X11DesktopColors.cs: dllimport the exact gtk and gdk versions
so the colors work without dev packages
svn path=/trunk/mcs/; revision=61430
Gonzalo Paniagua Javier [Fri, 2 Jun 2006 22:59:44 +0000 (22:59 -0000)]
2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TestColor.cs: added 2 more tests for serialization and enabled one
that was not working.
svn path=/trunk/mcs/; revision=61427
Gonzalo Paniagua Javier [Fri, 2 Jun 2006 22:45:53 +0000 (22:45 -0000)]
2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Color.cs: when deserializing from an MS generated stream, the value
for known colors was 0. These changes make our Color handle that case.
We won't serialize the name for known colors either, but the value will
be there, so we only check for a 0 value on a known color once.
Fixes bug #78265.
svn path=/trunk/mcs/; revision=61426
Marek Sieradzki [Fri, 2 Jun 2006 21:45:22 +0000 (21:45 -0000)]
2006-06-02 Marek Sieradzki <marek.sieradzki@gmail.com>
* BuildItem.cs, BuildProperty.cs, BuildPropertyGroup.cs,
BuildPropertyGroupCollection.cs: Fixed to match the tests.
svn path=/trunk/mcs/; revision=61425
Marek Sieradzki [Fri, 2 Jun 2006 21:41:12 +0000 (21:41 -0000)]
2006-06-02 Marek Sieradzki <marek.sieradzki@gmail.com>
* BuildPropertyTest.cs: Added.
* BuildPropertyGroupTest.cs: Added.
* BuildPropertyGroupCollectionTest.cs: Added.
svn path=/trunk/mcs/; revision=61424
Gonzalo Paniagua Javier [Fri, 2 Jun 2006 20:26:49 +0000 (20:26 -0000)]
fix namespace
svn path=/trunk/mcs/; revision=61423
Gonzalo Paniagua Javier [Fri, 2 Jun 2006 20:26:23 +0000 (20:26 -0000)]
2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BinaryReader.cs: use BlockCopyInternal.
svn path=/trunk/mcs/; revision=61422
Peter Dennis Bartok [Fri, 2 Jun 2006 20:10:54 +0000 (20:10 -0000)]
2006-06-02 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs
- Select: Implemented to just use activate. Seems to match MS
behaviour closest. Documented to only do actual control walking
based on it's parameters if in a container control so I moved
the code there.
- Removed selection check logic from our internal Select() method
* ContainerControl.cs:
- Select: Moved selection logic from Control here, since MS documents
that containers obey the bool arguments. No longer calling base
svn path=/trunk/mcs/; revision=61421
Jackson Harper [Fri, 2 Jun 2006 19:59:15 +0000 (19:59 -0000)]
* TreeView.cs: If the selected node isn't changed when we get
focus update the previously selected node so that we see the
selection box.
svn path=/trunk/mcs/; revision=61420
Zoltan Varga [Fri, 2 Jun 2006 18:40:25 +0000 (18:40 -0000)]
2006-06-02 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_set_last_error_windows): Fix build.
svn path=/trunk/mono/; revision=61417
Zoltan Varga [Fri, 2 Jun 2006 17:36:41 +0000 (17:36 -0000)]
2006-06-02 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_emit_native_wrapper): Call GetLastError () early and without a wrapper to
avoid clobbering its value.
(mono_string_to_lpstr): Fix a warning on windows.
svn path=/trunk/mono/; revision=61416
Gonzalo Paniagua Javier [Fri, 2 Jun 2006 16:26:38 +0000 (16:26 -0000)]
2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* WebProxy.cs: (IsBypassed) 'loopback', 'localhost' and any address
that starts with 127 are special.
svn path=/trunk/mcs/; revision=61415
Mike Kestner [Fri, 2 Jun 2006 15:29:51 +0000 (15:29 -0000)]
2006-06-02 Mike Kestner <mkestner@novell.com>
* ComboBox.cs: restructure grab and general mouse event handling.
Make the composite control raise mouse events like it was a single
control for leaves/enters/motion/up/down events. fix dropdown list
coordinate mangling and refactor it into the scrollbar subclass to
reduce code duplication. Fixes #78282 #78361 and #78457.
svn path=/trunk/mcs/; revision=61410
Mike Kestner [Fri, 2 Jun 2006 15:16:53 +0000 (15:16 -0000)]
2006-06-01 Mike Kestner <mkestner@novell.com>
* ScrollBar.cs: remove Capture setting/clearing, as it happens
automatically in the Control.WndProc.
svn path=/trunk/mcs/; revision=61409
Miguel de Icaza [Fri, 2 Jun 2006 14:53:26 +0000 (14:53 -0000)]
oops
svn path=/trunk/mono/; revision=61408
Miguel de Icaza [Fri, 2 Jun 2006 14:41:59 +0000 (14:41 -0000)]
2006-06-02 Miguel de Icaza <miguel@novell.com>
* tramp-sparc.c, tramp-ppc.c, tramp-s390.c, tramp-s390x.c,
tramp-arm.c, tramp-ia64.c
(mono_debugger_create_notification_function): Update signature to
new signature and use new protocol for creating the notification
function.
Should fix the build.
svn path=/trunk/mono/; revision=61407
Raja R Harinath [Fri, 2 Jun 2006 13:37:45 +0000 (13:37 -0000)]
Fix #78079
* mcs/expression.cs (Binary.DoNumericPromotions): Remove and rewrite.
(Binary.OverloadResolve_PredefinedIntegral): New.
(Binary.OverloadResolve_PredefinedFloating): New.
(Binary.OverloadResolve_PredefinedString): New.
(Binary.ResolveOperator): Use those instead of DoNumericPromotions.
Follow the standard more closely, and treat numeric promotions in
terms of overload resolution.
(Binary.CheckShiftArguments): Simplify.
* gmcs/expression.cs: Likewise.
* tests/test-520.cs: New test from #78079.
svn path=/trunk/mcs/; revision=61405
Ankit Jain [Fri, 2 Jun 2006 11:54:43 +0000 (11:54 -0000)]
* get.c (dis_stringify_method_signature_full): Fix two memory leaks.
svn path=/trunk/mono/; revision=61403
Ankit Jain [Fri, 2 Jun 2006 11:02:20 +0000 (11:02 -0000)]
* main.c (dis_method_list): Print only the method name in "{ // end
of.."
svn path=/trunk/mono/; revision=61400
Ankit Jain [Fri, 2 Jun 2006 10:42:32 +0000 (10:42 -0000)]
* get.c (get_typedef): Return NULL for <Module> type.
(get_escaped_class_name): Likewise.
(dis_stringify_object_with_class): Likewise.
(dis_stringify_type): Return NULL if the type name is NULL.
(get_escaped_name): Don't try to escape a NULL name.
(get_fieldref_signature): Type name can be null.
(get_field): Likewise.
(get_method_core): Likewise.
(get_methoddef): Likewise.
* main.c (dis_method_list): Print correct message for global methods.
(dis_globals): Don't print '<Module>' for global methods/fields.
svn path=/trunk/mono/; revision=61398
Geoff Norton [Fri, 2 Jun 2006 02:23:36 +0000 (02:23 -0000)]
2006-06-02 Geoff Norton <gnorton@customerdna.com>
* exceptions-ppc.c (mono_jit_walk_stack)
(ves_icall_get_frame_info): Fix the build
svn path=/trunk/mono/; revision=61397
Gonzalo Paniagua Javier [Thu, 1 Jun 2006 23:21:10 +0000 (23:21 -0000)]
2006-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* FileDialog.cs: fix crash when running SharpChess, which sets the
FilterIndex to 2 with only one Filter.
svn path=/trunk/mcs/; revision=61393
Gonzalo Paniagua Javier [Thu, 1 Jun 2006 22:53:03 +0000 (22:53 -0000)]
2006-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ToolBar.cs: add SizeSpecified property.
* ToolBarButton.cs: when the ButtonSize is calculated by the container,
try to figure out our real size, otherwise fallback to what the
container says.
svn path=/trunk/mcs/; revision=61392
Zoltan Varga [Thu, 1 Jun 2006 22:48:29 +0000 (22:48 -0000)]
2006-06-02 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_set_defaults): Fix the handling of -O=-all.
svn path=/trunk/mono/; revision=61391
Peter Dennis Bartok [Thu, 1 Jun 2006 22:43:57 +0000 (22:43 -0000)]
2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
* Control.cs (WndProc): MS always calls the DefWndProc to pass
up the event
svn path=/trunk/mcs/; revision=61390
Mike Kestner [Thu, 1 Jun 2006 21:42:44 +0000 (21:42 -0000)]
2006-06-01 Mike Kestner <mkestner@novell.com>
* ListView.cs: revamp the focus management in ListView. It still
causes churn of LostFocus/GotFocus emissions on clicks, but it's
better than not handling focus at all. Will revisit when pdb feels
the general focus handling is solid. Fixes #78526.
svn path=/trunk/mcs/; revision=61389
Jackson Harper [Thu, 1 Jun 2006 20:53:10 +0000 (20:53 -0000)]
TreeNode.cs: Make is_expanded internal so the treenode
collection can change it without firing the whole event chain.
* TreeNodeCollection.cs: When clearing all the child nodes make
sure to recalc the visible order.
- Improve algo for remove the top node
svn path=/trunk/mcs/; revision=61387
Jackson Harper [Thu, 1 Jun 2006 20:48:42 +0000 (20:48 -0000)]
* TreeView.cs: Set the default border style in the constructor.
- Move painting to use OnPaintInternal instead of capturing
WM_PAINT, this is the correct way of doing things
- UpdateBelow shouldn't invalidate the scrollbar area
- Cap the top on update below in case the node was above the top
of the viewport rectangle.
- ExpandBelow and Collapse below need to obey Begin/End Update.
svn path=/trunk/mcs/; revision=61386
Sebastien Pouliot [Thu, 1 Jun 2006 20:23:22 +0000 (20:23 -0000)]
2006-06-01 Sebastien Pouliot <sebastien@ximian.com>
* TestHatchBrush.cs: Some were surprisingly similar until...
svn path=/trunk/mcs/; revision=61385
Zoltan Varga [Thu, 1 Jun 2006 18:57:18 +0000 (18:57 -0000)]
2006-05-31 Zoltan Varga <vargaz@gmail.com>
* threadpool.c: Make ASyncCall a copy of the managed MonoAsyncCall class so
it gets GC tracking.
svn path=/trunk/mono/; revision=61384
Chris Toshok [Thu, 1 Jun 2006 18:43:17 +0000 (18:43 -0000)]
2006-06-01 Chris Toshok <toshok@ximian.com>
* CurrencyManagerTest.cs: add a few tests to see what events are
being emitted in which order from AddNew, CancelCurrentEdit and
EndCurrentEdit.
svn path=/trunk/mcs/; revision=61383
Jackson Harper [Thu, 1 Jun 2006 17:45:25 +0000 (17:45 -0000)]
* TreeView.cs: Set the default border style in the constructor.
svn path=/trunk/mcs/; revision=61381
Peter Dennis Bartok [Thu, 1 Jun 2006 16:48:02 +0000 (16:48 -0000)]
2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
SendMessage directly calling window procedures, which in turn might
call SetFocus()
svn path=/trunk/mcs/; revision=61379
Peter Dennis Bartok [Thu, 1 Jun 2006 15:55:36 +0000 (15:55 -0000)]
2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: Don't handle WM_SETFOCUS if the same window already
has focus (works around X11 sending a FocusIn after our SetFocus)
* XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
svn path=/trunk/mcs/; revision=61378
Alexander Olk [Thu, 1 Jun 2006 15:20:24 +0000 (15:20 -0000)]
2006-06-01 Alexander Olk <alex.olk@googlemail.com>
* Mime.cs: Fix for the NET_2_0 build.
NameValueCollection needs StringComparer now.
svn path=/trunk/mcs/; revision=61377
Raja R Harinath [Thu, 1 Jun 2006 14:51:02 +0000 (14:51 -0000)]
* mcs/flowanalysis.cs (MyBitVector): Simplify representation.
(MyBitVector.Clone): Avoid allocating BitArray.
(MyBitVector.operator&): Rename from MyBitVector.And and make symmetric.
(MyBitVector.operator|): Likewise, with MyBitVector.Or.
(*): Update. Change all references to MyBitVector.And and
MyBitVector.Or to &= and |=.
* gmcs/flowanalysis.cs: Likewise.
svn path=/trunk/mcs/; revision=61376
Sebastien Pouliot [Thu, 1 Jun 2006 13:47:43 +0000 (13:47 -0000)]
2006-06-01 Sebastien Pouliot <sebastien@ximian.com>
* RandomNumberGeneratorTest.cs: Don't forget the last run in Runs.
Track both 0 and 1 runs. Changed runs ranges to match FIPS140-2 Change
Notice #1 (fixes bug #78560). Updated test cases to NUnit 2.2 format.
svn path=/trunk/mcs/; revision=61375
Raja R Harinath [Thu, 1 Jun 2006 13:08:52 +0000 (13:08 -0000)]
* Nullable.cs (operator==, operator!=): Remove.
svn path=/trunk/mcs/; revision=61371
Ankit Jain [Thu, 1 Jun 2006 10:47:34 +0000 (10:47 -0000)]
* declsec.c (dump_declsec_entry20): Fix a warning.
svn path=/trunk/mono/; revision=61362
Ankit Jain [Thu, 1 Jun 2006 10:32:30 +0000 (10:32 -0000)]
In ilasm/codegen:
* MethodDef.cs (GetNamedParamPos): Return -1 if param_list is null.
In ilasm/errors:
* err-ldarg.il: New.
In ilasm/parser:
* ILParser.jay (instr | INSTR_PARAM ..): Report error if the param is not
found.
svn path=/trunk/mcs/; revision=61360
Ankit Jain [Thu, 1 Jun 2006 09:33:05 +0000 (09:33 -0000)]
In ilasm/tests:
* test-cattr-1.il: New. Test for custom attributes on return type of
a method.
In ilasm/codegen:
* MethodDef.cs (MethodDef): Use a ParamDef for return type, instead of a
BaseTypeRef.
(MethodDef.ctor): Update.
(MethodDef.AddParamDefaultValue): Remove.
(MethodDef.GetParam): Likewise.
(MethodDef.Resolve): Update to use ret_param instead of ret_type.
In ilasm/errors:
* err-cattr.il: New.
In ilasm/parser:
* ILParser.jay (method_decl | D_PARAM ..): Param index is zero-based,
with zero representing the return value.
Update to check CurrentCustomAttrTarget for null before using it.
In class/PEAPI:
* PEAPI.cs (PEFile.AddMethod): Add overload for return type as Param
instead of PEAPI.Type .
* Metadata.cs (MetaDataElement.HasCustomAttr): New. Temporary hack.
(Param.HasMarshalInfo): New.
(ClassDef.AddMethod): Add overload for return type as Param.
(MethodDef.ctor): Change internal .ctor's sig to take Param instead of
PEAPI.Type for return type.
(MethodDef.retType): Remove.
(MethodDef.TypeSig): Update to use ret_param always.
(MethodDef.BuildTables): Add ret_param to Param table only if it has
marshal info or custom attributes.
svn path=/trunk/mcs/; revision=61358
Zac Bowling [Thu, 1 Jun 2006 06:47:14 +0000 (06:47 -0000)]
2006-06-01 Zac Bowling <zac@zacbowling.com>
* configure.in, quick fix for typo breaking build (test instead of text on last output texted added by miguel earlier)
svn path=/trunk/mono/; revision=61356
Zoltan Varga [Wed, 31 May 2006 20:55:44 +0000 (20:55 -0000)]
2006-05-31 Zoltan Varga <vargaz@gmail.com>
* class-internals.h (MonoClass): Removed obsolete 'dummy' flag.
* reflection.c loader.c: Removed references to 'dummy' flag.
* loader.c (mono_loader_error_prepare_exception): Fix a warning.
svn path=/trunk/mono/; revision=61355
Zoltan Varga [Wed, 31 May 2006 20:48:47 +0000 (20:48 -0000)]
2006-05-31 Zoltan Varga <vargaz@gmail.com>
* MonoDummy.cs: Removed as it is no longer needed.
svn path=/trunk/mcs/; revision=61354
Zoltan Varga [Wed, 31 May 2006 20:48:20 +0000 (20:48 -0000)]
2006-05-31 Zoltan Varga <vargaz@gmail.com>
* corlib.dll.sources: Removed System/MonoDummy.cs.
svn path=/trunk/mcs/; revision=61353
Peter Dennis Bartok [Wed, 31 May 2006 19:57:20 +0000 (19:57 -0000)]
2006-05-31 Peter Dennis Bartok <pbartok@novell.com>
* LabelTest.cs:
- Added (still unused) fuzzy compare for events
- Disabled event order tests, they are too strict
* ScrollBarTest.cs: Disabled event order tests, are too strict
svn path=/trunk/mcs/; revision=61352
Chris Toshok [Wed, 31 May 2006 19:30:58 +0000 (19:30 -0000)]
2006-05-31 Chris Toshok <toshok@ximian.com>
* DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
return (via an out parameter) the starting X of the column.
(UpdateVisibleColumn): track change to FromPixelToColumn.
(HitTest): add a ColumnResize case here.
(DrawResizeLine): new function, probably poorly named.
* DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
only need to keep one reference.
(set_ListManager): same.
(OnMouseDown): call HitTest instead of grid_drawing.HitTest.
Also, add support for HitTestType.ColumnResize.
(OnMouseMove): add column resize behavior here, and change the
cursor to the correct one as we move around the datagrid.
(OnMouseUp): terminate the column resize if we're resizing.
(ProcessGridKey): from the MS docs, Alt-0 enters the null value
for the current cell.
(ConnectListManagerEvents): use cached_currencymgr.
(DisconnectListManagerEvents): fill this in, using
cached_currencymgr.
(SetCurrentCell): remove cached_currencymgr_events handling.
(SetDataMember): only call DisconnectListManagerEvents if
cached_currencymgr is != null.
(SetDataSource): same.
(OnListManagerCurrentChanged): cached_currencymgr_events ->
cached_currencymgr.
svn path=/trunk/mcs/; revision=61350
Jackson Harper [Wed, 31 May 2006 19:19:20 +0000 (19:19 -0000)]
* BindingManagerBase.cs: Remove somedebug code that creeped into
SVN.
* TreeNode.cs: We get the indent level dynamically right now, so
don't track it as a member.
* TreeNodeCollection.cs: Make sure all nodes added to the list
have parents, treeviews/topnodes setup properly.
- Don't attempt to track indent level.
svn path=/trunk/mcs/; revision=61349
Gert Driesen [Wed, 31 May 2006 19:01:07 +0000 (19:01 -0000)]
* AssemblyInfo.cs: Added assembly level attributes on 2.0 profile to
match those of MS.NET. Fixes few corcompare warnings. Set eol-style
to native.
svn path=/trunk/mcs/; revision=61348
Gert Driesen [Wed, 31 May 2006 18:27:52 +0000 (18:27 -0000)]
* SoapFormatter.cs: Only apply ComVisible attribute to FilterLevel
on 1.0 profile.
svn path=/trunk/mcs/; revision=61347
Jackson Harper [Wed, 31 May 2006 17:36:56 +0000 (17:36 -0000)]
* BindingManagerBase.cs: Remove somedebug code that creeped into
SVN.
svn path=/trunk/mcs/; revision=61346
Zoltan Varga [Wed, 31 May 2006 17:16:47 +0000 (17:16 -0000)]
2006-05-31 Zoltan Varga <vargaz@gmail.com>
* object-internals.h (MonoAsyncResult): Add an 'object_data' field which has
GC tracking.
* object.c (mono_async_result_new): Add an additional parameter 'object_data'.
* marshal.c threadpool.c: Update callers of mono_async_result_new.
* appdomain.c: Bump corlib version.
svn path=/trunk/mono/; revision=61345
Zoltan Varga [Wed, 31 May 2006 17:13:32 +0000 (17:13 -0000)]
2006-05-31 Zoltan Varga <vargaz@gmail.com>
* Environment.cs: Bump corlib version.
svn path=/trunk/mcs/; revision=61344
Zoltan Varga [Wed, 31 May 2006 17:12:59 +0000 (17:12 -0000)]
2006-05-31 Zoltan Varga <vargaz@gmail.com>
* AsyncResult.cs: Add an 'object_data' field which has GC tracking.
svn path=/trunk/mcs/; revision=61343
Zoltan Varga [Wed, 31 May 2006 17:05:13 +0000 (17:05 -0000)]
2006-05-31 Zoltan Varga <vargaz@gmail.com>
* AsyncResult.cs: Revert the last change.
svn path=/trunk/mcs/; revision=61342
Zoltan Varga [Wed, 31 May 2006 17:04:44 +0000 (17:04 -0000)]
2006-05-31 Zoltan Varga <vargaz@gmail.com>
* Environment.cs: Revert the last change.
svn path=/trunk/mcs/; revision=61341
Zoltan Varga [Wed, 31 May 2006 17:02:03 +0000 (17:02 -0000)]
2006-05-31 Zoltan Varga <vargaz@gmail.com>
* AsyncResult.cs: Make 'data' field an object to allow GC tracking.
svn path=/trunk/mcs/; revision=61340
Zoltan Varga [Wed, 31 May 2006 17:00:53 +0000 (17:00 -0000)]
2006-05-31 Zoltan Varga <vargaz@gmail.com>
* corlib.dll.sources: Add System/MonoAsyncCall.cs.
svn path=/trunk/mcs/; revision=61339
Zoltan Varga [Wed, 31 May 2006 17:00:05 +0000 (17:00 -0000)]
2006-05-31 Zoltan Varga <vargaz@gmail.com>
* Environment.cs: Bump corlib version.
* MonoAsyncCall.cs: New file.
svn path=/trunk/mcs/; revision=61338
Sebastien Pouliot [Wed, 31 May 2006 14:55:33 +0000 (14:55 -0000)]
2006-05-31 Sebastien Pouliot <sebastien@ximian.com>
* KeyInfoClause.cs: Under 2.0 the ctor is protected.
* Transform.cs: Under 2.0 the ctor is protected. Enable the use of
XmlSecureResolver when the security manager is active.
svn path=/trunk/mcs/; revision=61337
Gert Driesen [Wed, 31 May 2006 14:51:08 +0000 (14:51 -0000)]
* ComplexDataStructure.cs: Added MS product feedback bug ID to test
that fails on MS.NET.
svn path=/trunk/mcs/; revision=61336
Gert Driesen [Wed, 31 May 2006 13:55:23 +0000 (13:55 -0000)]
* SqlConnection.cs: Removed extra destructor, as destructor on
System.ComponentModel.Component already calls Dispose.
* SqlParameter.cs: Removed explicit interface implementation of
IDataParameter.ParameterName.
* OdbcErrorCollection.cs: Removed explicit interface implementation
of IEnumerable.GetEnumerator ().
* OdbcCommand.cs: Removed destructor as the destructor in
System.ComponentModel.Component already calls the Dispose method.
Removed explicit interface implemenation of members that are
implement by public members.
* OdbcDataReader.cs: Removed explicit interface implemenation of
IDataRecord.GetData.
* OleDbErrorCollection.cs: Removed explicit interface implementation
of IEnumerable.GetEnumerator ().
* OleDbParameterCollection.cs: Removed explicit interface
implementation members that are already implementation by public
members.
* DataTable.cs: Renamed initInProgress to fInitInProgress. BeginInit
and EndInit must only be virtual in 2.0 profile. Set eol-style to CRLF.
svn path=/trunk/mcs/; revision=61328
Zoltan Varga [Wed, 31 May 2006 13:39:02 +0000 (13:39 -0000)]
2006-05-31 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_setup_fields): Call mono_class_init () for class->parent.
Fixes #78539.
svn path=/trunk/mono/; revision=61326
Gert Driesen [Wed, 31 May 2006 13:22:20 +0000 (13:22 -0000)]
* DesignerCollection.cs: Added explicit interface implemenation for
ICollection.Count and IEnumerable.GetEnumerator. Fixes corcompare
warnings.
svn path=/trunk/mcs/; revision=61324
Gert Driesen [Wed, 31 May 2006 13:20:33 +0000 (13:20 -0000)]
* TypeConverter.cs: Added explicit interface implementation for
ICollection.CopyTo and IEnumerable.GetEnumerator. Fixes corcompare
warnings.
* Component.cs: Remove TypeConverter attribute. Fixes corcompare
warning.
* AttributeCollection.cs: Added explicit interface implemenation for
IEnumerable.GetEnumerator, IList.RemoveAt and ICollection.Count.
Fixes corcompare warnings.
* PropertyDescriptorCollection.cs: Added explicit interface
implemenation for ICollection.Count. Fixes corcompare warning.
svn path=/trunk/mcs/; revision=61323
Sebastien Pouliot [Wed, 31 May 2006 12:52:52 +0000 (12:52 -0000)]
2006-05-31 Sebastien Pouliot <sebastien@ximian.com>
* ClrObjectFactory.cs: Fix the build from untested changes.
svn path=/trunk/mcs/; revision=61320
Ankit Jain [Wed, 31 May 2006 12:41:21 +0000 (12:41 -0000)]
* TypeDef.cs (TypeDef.IsValueType): New.
(TypeDef.IsEnumType): New.
(TypeDef.Define): Don't seal System.ValueType or System.Enum .
svn path=/trunk/mcs/; revision=61319
Gert Driesen [Wed, 31 May 2006 11:11:43 +0000 (11:11 -0000)]
* ClerkInfo.cs: Fixed line endings. Set eol-style to CRLF.
* LogRecordFlags.cs: Fixed line endings. Set eol-style to CRLF.
* Clerk.cs: Fixed line endings. Set eol-style to CRLF.
* LogRecord.cs: Fixed line endings. Set eol-style to CRLF.
* ApplicationCrmEnabledAttribute.cs: Set eol-style to native.
* CompensatorOptions.cs: Fixed line endings. Set eol-style to CRLF.
* TransactionState.cs: Fixed line endings. Set eol-style to CRLF.
* ClerkMonitor.cs: Fixed line endings. Set eol-style to CRLF.
* Compensator.cs: Set eol-style to native.
svn path=/trunk/mcs/; revision=61313
Gert Driesen [Wed, 31 May 2006 11:05:17 +0000 (11:05 -0000)]
* ComManagedImportUtil.cs: Do not mark instance methods virtual. Fixes
API signature mismatches.
* ClrObjectFactory.cs: Do not mark methods virtual. Fixes API signature
mismatches.
* Publish.cs: Do not mark instance methods virtual. Fixes API signature
mismatches.
svn path=/trunk/mcs/; revision=61312
Gert Driesen [Wed, 31 May 2006 11:00:35 +0000 (11:00 -0000)]
* AppDomainHelper.cs: Set eol-style to native.
* AssemblyLocator.cs: Set eol-style to native.
* ClientRemotingConfig.cs: Set eol-style to native.
* ClrObjectFactory.cs: Set eol-style to native.
* ComManagedImportUtil.cs: Set eol-style to native.
* ComSoapPublishError.cs: Set eol-style to native.
* GenerateMetadata.cs: Set eol-style to native.
* IClrObjectFactory.cs: Set eol-style to native.
* IComManagedImportUtil.cs: Set eol-style to native.
* IComSoapIISVRoot.cs: Set eol-style to native.
* IComSoapMetadata.cs: Set eol-style to native.
* IComSoapPublisher.cs: Set eol-style to native.
* IISVirtualRoot.cs: Set eol-style to native.
* IServerWebConfig.cs: Set eol-style to native.
* ISoapClientImport.cs: Set eol-style to native.
* ISoapServerTlb.cs: Set eol-style to native.
* ISoapServerVRoot.cs: Set eol-style to native.
* ISoapUtility.cs: Set eol-style to native.
* Publish.cs: Set eol-style to native.
* ServerWebConfig.cs: Set eol-style to native.
* SoapClientImport.cs: Set eol-style to native.
* SoapServerTlb.cs: Set eol-style to native.
* SoapServerVRoot.cs: Set eol-style to native.
* SoapUtility.cs: Set eol-style to native.
svn path=/trunk/mcs/; revision=61311
Gert Driesen [Wed, 31 May 2006 10:53:55 +0000 (10:53 -0000)]
* SecurityRoleAttribute.cs: Set AllowMultiple to true.
* InterfaceQueueingAttribute.cs: Set AllowMultiple to true.
* ObjectPoolingAttribute.cs: Implement IConfigurationAttribute.
* SecureMethodAttribute.cs: Attribute is not valid on assemblies.
* BOID.cs: Added MarshalAs attribute to match MS.NET.
svn path=/trunk/mcs/; revision=61310
Raja R Harinath [Wed, 31 May 2006 10:47:15 +0000 (10:47 -0000)]
* il2tests.2.il: New file for generics CIL tests. Add test for #78019.
* Makefile.am: Update.
svn path=/trunk/mono/; revision=61309
Raja R Harinath [Wed, 31 May 2006 10:08:42 +0000 (10:08 -0000)]
Fix #78019
* mini.c (mono_method_to_ir): Don't apply box+brtrue optimization
to nullable types.
svn path=/trunk/mono/; revision=61308
Gert Driesen [Wed, 31 May 2006 09:58:33 +0000 (09:58 -0000)]
* AccessChecksLevelOption.cs: Fixed line endings. Set eol-style to CRLF.
* ActivationOption.cs: Fixed line endings. Set eol-style to CRLF.
* Activity.cs: Fixed line endings. Set eol-style to CRLF.
* ApplicationAccessControlAttribute.cs: Set eol-style to native.
* ApplicationActivationAttribute.cs: Set eol-style to native.
* ApplicationIDAttribute.cs: Set eol-style to native.
* ApplicationNameAttribute.cs: Set eol-style to native.
* ApplicationQueuingAttribute.cs: Fixed line endings. Set eol-style
to CRLF.
* AuthenticationOption.cs: Set eol-style to native.
* AutoCompleteAttribute.cs: Fixed line endings. Set eol-style to CRLF.
* BindingOption.cs: Fixed line endings. Set eol-style to CRLF.
* BOID.cs: Fixed line endings. Set eol-style to CRLF.
* BYOT.cs: Fixed line endings. Set eol-style to CRLF.
* ComponentAccessControlAttribute.cs: Fixed line endings. Set eol-style
to CRLF.
* COMTIIntrinsicsAttribute.cs: Fixed line endings. Set eol-style
* ConstructionEnabledAttribute.cs: Fixed line endings. Set eol-style
to CRLF.
* ContextUtil.cs: Fixed line endings. Set eol-style to CRLF.
* DescriptionAttribute.cs: Fixed line endings. Set eol-style to CRLF.
* EventClassAttribute.cs: Fixed line endings. Set eol-style to CRLF.
* EventTrackingEnabledAttribute.cs: Fixed line endings. Set eol-style
to CRLF.
* ExceptionClassAttribute.cs: Fixed line endings. Set eol-style to CRLF.
* IAsyncErrorNotify.cs: Fixed line endings. Set eol-style to CRLF.
* IConfigurationAttribute.cs: Set eol-style to native.
* IISIntrinsicsAttribute.cs: Fixed line endings. Set eol-style to CRLF.
* ImpersonationLevelOption.cs: Set eol-style to native.
* InheritanceOption.cs: Fixed line endings. Set eol-style to CRLF.
* InstallationFlags.cs: Set eol-style to native.
* InterfaceQueuingAttribute.cs: Fixed line endings. Set eol-style
to CRLF.
* IPlaybackControl.cs: Fixed line endings. Set eol-style to CRLF.
* IProcessInitControl.cs: Fixed line endings. Set eol-style to CRLF.
* IProcessInitializer.cs: Set eol-style to native.
* IRegistrationHelper.cs: Set eol-style to native.
* IRemoteDispatch.cs: Fixed line endings. Set eol-style to CRLF. Set
Autocomplete to false for RemoteDispatchNotAutoDone method.
* ISecurityCallContext.cs: Fixed line endings. Set eol-style to CRLF.
* ISecurityCallersColl.cs: Fixed line endings. Set eol-style to CRLF.
* ISecurityIdentityColl.cs: Fixed line endings. Set eol-style to CRLF.
* IServiceCall.cs: Fixed line endings. Set eol-style to CRLF.
* IServicedComponentInfo.cs: Fixed line endings. Set eol-style to CRLF.
* ISharedProperty.cs: Fixed line endings. Set eol-style to CRLF.
* ISharedPropertyGroup.cs: Fixed line endings. Set eol-style to CRLF.
* ITransaction.cs: Fixed line endings. Set eol-style to CRLF.
* JustInTimeActivationAttribute.cs: Fixed line endings. Set eol-style
to CRLF.
* LoadBalancingSupportedAttribute.cs: Fixed line endings. Set eol-style
to CRLF.
* MustRunInClientContextAttribute.cs: Fixed line endings. Set eol-style
to CRLF.
* ObjectPoolingAttribute.cs: Fixed line endings. Set eol-style to CRLF.
* PartitionOption.cs: Fixed line endings. Set eol-style to CRLF.
* PrivateComponentAttribute.cs: Fixed line endings. Set eol-style
to CRLF.
* PropertyLockMode.cs: Set eol-style to native.
* PropertyReleaseMode.cs: Set eol-style to native.
* RegistrationConfig.cs: Fixed line endings. Set eol-style to CRLF.
* RegistrationErrorInfo.cs: Fixed line endings. Set eol-style to CRLF.
* RegistrationException.cs: Fixed line endings. Set eol-style to CRLF.
* RegistrationHelper.cs: Set eol-style to native.
* RegistrationHelperTx.cs: Set eol-style to native.
* ResourcePool.cs: Fixed line endings. Set eol-style to CRLF.
* SecureMethodAttribute.cs: Fixed line endings. Set eol-style to CRLF.
* SecurityCallContext.cs: Fixed line endings. Set eol-style to CRLF.
* SecurityCallers.cs: Fixed line endings. Set eol-style to CRLF.
* SecurityIdentity.cs: Fixed line endings. Set eol-style to CRLF.
* SecurityRoleAttribute.cs: Fixed line endings. Set eol-style to CRLF.
* ServiceConfig.cs: Fixed line endings. Set eol-style to CRLF.
* ServicedComponent.cs: Fixed line endings. Set eol-style to CRLF.
* ServicedComponentException.cs: Fixed line endings. Set eol-style
to CRLF.
* ServiceDomain.cs: Fixed line endings. Set eol-style to CRLF.
* SharedProperty.cs: Fixed line endings. Set eol-style to CRLF.
* SharedPropertyGroup.cs: Fixed line endings. Set eol-style to CRLF.
* SharedPropertyGroupManager.cs: Fixed line endings. Set eol-style
to CRLF.
* SxsOption.cs: Fixed line endings. Set eol-style to CRLF.
* SynchronizationAttribute.cs: Fixed line endings. Set eol-style
to CRLF.
* SynchronizationOption.cs: Set eol-style to native.
* ThreadPoolOption.cs: Fixed line endings. Set eol-style to CRLF.
* TransactionAttribute.cs: Fixed line endings. Set eol-style to CRLF.
* TransactionIsolationLevel.cs: Set eol-style to native.
* TransactionOption.cs: Set eol-style to native.
* TransactionStatus.cs: Fixed line endings. Set eol-style to CRLF.
* TransactionVote.cs: Set eol-style to native.
* XACTTRANSINFO.cs: Fixed line endings. Set eol-style to CRLF.
svn path=/trunk/mcs/; revision=61307
Senganal T [Wed, 31 May 2006 09:40:34 +0000 (09:40 -0000)]
2006-05-31 Senganal T <tsenganal@novell.com>
* Test/System.Data/DataSetTest2.cs : Fixed InferXmlSchema_inferingTables5.
* System.Data/XmlDataInferenceLoader.cs :
- InferTableElement : Repeated element should result in a single
inferred table.
Patch from Deepak Kr Velachha
svn path=/trunk/mcs/; revision=61306
Raja R Harinath [Wed, 31 May 2006 09:36:27 +0000 (09:36 -0000)]
* generic.cs (Nullable.LiftedBinaryOperator.EmitEquality):
Use bne.un instead of ceq+brfalse.
svn path=/trunk/mcs/; revision=61305
Gert Driesen [Wed, 31 May 2006 09:13:12 +0000 (09:13 -0000)]
* TcpClientChannel.cs: Marked CreateMessageSink virtual.
* TcpServerChannel.cs: Marked GetUrlsForUri virtual.
svn path=/trunk/mcs/; revision=61304
Senganal T [Wed, 31 May 2006 09:10:54 +0000 (09:10 -0000)]
2006-05-31 Senganal T <tsenganal@novell.com>
* DataSetTest2.cs,DataSetReadXmlSchemaTest.cs,DataSetTest.cs:
Cleanup NotWorking testcases
svn path=/trunk/mcs/; revision=61303
Gert Driesen [Wed, 31 May 2006 08:46:36 +0000 (08:46 -0000)]
* TcpClientChannel.cs: Set eol-style to native.
* TcpChannel.cs: Fixed line endings. Set eol-style to native.
* TcpServerTransportSink.cs: Fixed line endings. Set eol-style to
native.
* TcpConnectionPool.cs: Fixed line endings. Set eol-style to CRLF.
* TcpClientTransportSinkProvider.cs: Fixed line endings. Set eol-style
to native.
* TcpMessageIO.cs: Set eol-style to native.
* TcpServerChannel.cs: Fixed line endings. Set eol-style to native.
* TcpClientTransportSink.cs: Fixed line endings. Set eol-style to
native.
svn path=/trunk/mcs/; revision=61302
Gert Driesen [Wed, 31 May 2006 08:38:41 +0000 (08:38 -0000)]
* SoapCore.cs: Set eol-style to native.
* SoapServerFormatterSinkProvider.cs: Fixed line endings. Set eol-style
to CRLF.
* ChannelCore.cs: Set eol-style to native.
* BinaryServerFormatterSink.cs: Set eol-style to native.
* SoapClientFormatterSinkProvider.cs: Fixed line endings. Set eol-style
to CRLF. Next and CreateSink should not be virtual.
* SoapMessageFormatter.cs: Set eol-style to CRLF.
* BinaryClientFormatterSink.cs: Fixed line endings. Set eol-style to
native.
* BinaryCore.cs: Set eol-style to native.
* BinaryServerFormatterSinkProvider.cs: Set eol-style to native.
* CommonTransportKeys.cs: Set eol-style to native.
* SoapServerFormatterSink.cs: Fixed line endings. Set eol-style to CRLF.
* RemotingThreadPool.cs: Fixed line endings. Set eol-style to native.
* BinaryClientFormatterSinkProvider.cs: Set eol-style to native.
* SoapClientFormatterSink.cs: Fixed line endings. Set eol-style to CRLF.
svn path=/trunk/mcs/; revision=61301
Raja R Harinath [Wed, 31 May 2006 08:28:03 +0000 (08:28 -0000)]
Fix cs0208-[23].cs
* typemanager.cs (IsUnmanagedType): Disallow generic types and
generic parameters.
svn path=/trunk/mcs/; revision=61300
Gert Driesen [Wed, 31 May 2006 08:22:07 +0000 (08:22 -0000)]
* SoapWriter.cs: Fixed line endings. Set eol-style to CRLF.
* SoapReader.cs: Fixed line endings. Set eol-style to CRLF.
* SoapFormatter.cs: Fixed line endings. Set eol-style to CRLF.
Remove unnecessary dtor.
* SoapTypeMapper.cs: Fixed line endings. Set eol-style to native.
svn path=/trunk/mcs/; revision=61299
Gert Driesen [Wed, 31 May 2006 08:14:22 +0000 (08:14 -0000)]
* OciGlue.cs: Set eol-style to native.
* OracleBFile.cs: Set eol-style to native.
* OracleBinary.cs: Set eol-style to native.
* OracleBoolean.cs: Set eol-style to native.
* OracleCommandBuilder.cs: Set eol-style to native.
* OracleCommand.cs: Set eol-style to native.
* OracleConnection.cs: Set eol-style to native.
* OracleConnectionPool.cs: Set eol-style to native.
* OracleConnectionPoolManager.cs: Set eol-style to native.
* OracleDataAdapter.cs: Set eol-style to native.
* OracleDataReader.cs: Set eol-style to native.
* OracleDateTime.cs: Set eol-style to native.
* OracleException.cs: Set eol-style to native.
* OracleInfoMessageEventArgs.cs: Set eol-style to native.
* OracleInfoMessageEventHandler.cs: Set eol-style to native.
* OracleLob.cs: Set eol-style to native.
* OracleLobOpenMode.cs: Set eol-style to native.
* OracleMonthSpan.cs: Set eol-style to native.
* OracleNumber.cs: Set eol-style to native.
* OracleParameterCollection.cs: Set eol-style to native.
* OracleParameter.cs: Set eol-style to native.
* OraclePermissionAttribute.cs: Set eol-style to native.
* OraclePermission.cs: Set eol-style to native.
* OracleRowUpdatedEventArgs.cs: Set eol-style to native.
* OracleRowUpdatedEventHandler.cs: Set eol-style to native.
* OracleRowUpdatingEventArgs.cs: Set eol-style to native.
* OracleRowUpdatingEventHandler.cs: Set eol-style to native.
* OracleString.cs: Set eol-style to native.
* OracleTimeSpan.cs: Set eol-style to native.
* OracleTransaction.cs: Set eol-style to native.
* OracleType.cs: Set eol-style to native.
svn path=/trunk/mcs/; revision=61298
Gert Driesen [Wed, 31 May 2006 08:09:48 +0000 (08:09 -0000)]
* OracleLob.cs: Explicitly implement IDisposable interface. Fixes
API signature warning for Dispose () method.
* OracleParameterCollection.cs: Removed explicit interface implemenation
of IList.IsFixedSize, IList.IsReadOnbly, IList.IsSynchronized and
IList.SyncRoot. Fixes API signature mismatches.
* OracleBFile.cs: Explicit implemenat IDisposable interface. Fixed
API signature warning for Dispose () method.
* OracleCommand.cs: Fixed line endings.
* OracleConnection.cs: Removed destructor, as the destructor in
System.ComponentModel.Component already calls the Dispose (bool) method.
* OracleDataReader.cs: Fixed line endings.
* OracleDateTime.cs: Fixed line endings.
* OracleParameter.cs: Fixed line endings.
svn path=/trunk/mcs/; revision=61297
Andrew Skiba [Wed, 31 May 2006 08:07:52 +0000 (08:07 -0000)]
merge -r 60814:60815
svn path=/trunk/mcs/; revision=61296
Miguel de Icaza [Wed, 31 May 2006 02:13:55 +0000 (02:13 -0000)]
2006-05-25 Atsushi Enomoto <atsushi@ximian.com>
* corlib_test.dll.sources : added EncodingInfoTest.cs.
2006-04-21 Zoltan Varga <vargaz@gmail.com>
svn path=/trunk/mcs/; revision=61295
Atsushi Eno [Wed, 31 May 2006 01:38:24 +0000 (01:38 -0000)]
2006-05-30 Atsushi Enomoto <atsushi@ximian.com>
* SerializationCodeGenerator.cs,
XmlSerializerReaderInterpreter.cs : handle CDATA section as text
node. Fixed bug #78536.
* XmlSerializerTests.cs : added tailored version of bug #78536 test.
svn path=/trunk/mcs/; revision=61294
Jackson Harper [Tue, 30 May 2006 22:42:05 +0000 (22:42 -0000)]
Some more tests.
svn path=/trunk/mcs/; revision=61292
Wade Berrier [Tue, 30 May 2006 21:38:08 +0000 (21:38 -0000)]
Makefile: oops, add some more missing resources.
svn path=/trunk/mcs/; revision=61291
Miguel de Icaza [Tue, 30 May 2006 21:16:27 +0000 (21:16 -0000)]
2006-05-30 Miguel de Icaza <miguel@novell.com>
* loader.c (method_from_memberref): Fix argument value for
mono_loader_set_error_method_load (I was passing the MonoClass
instead of the class name char *).
svn path=/trunk/mono/; revision=61290
Jackson Harper [Tue, 30 May 2006 20:34:19 +0000 (20:34 -0000)]
* BindingContext.cs: Create the currency manager tables here.
This allows us to more easily create null tables (when bad data
members are used), and more easily create related currency
managers.
* CurrencyManager.cs: All the table creation stuff is done by
* the
binding context now.
- Current should throw an exception if listposition is -1.
- CancelCurrentEdit/EndCurrentEdit, do nothing if the list
hasn't
been bound yet.
svn path=/trunk/mcs/; revision=61288
Wade Berrier [Tue, 30 May 2006 20:14:15 +0000 (20:14 -0000)]
Makefile: fix resource filenames to fix make dist
svn path=/trunk/mcs/; revision=61285
Jackson Harper [Tue, 30 May 2006 20:10:11 +0000 (20:10 -0000)]
Some tests for recent CurrencyManager work.
svn path=/trunk/mcs/; revision=61283
Jackson Harper [Tue, 30 May 2006 19:53:30 +0000 (19:53 -0000)]
* BindingContext.cs: Create the currency manager tables here.
This allows us to more easily create null tables (when bad data
members are used), and more easily create related currency
managers.
* CurrencyManager.cs: All the table creation stuff is done by
* the
binding context now.
- Current should throw an exception if listposition is -1.
- CancelCurrentEdit/EndCurrentEdit, do nothing if the list
hasn't
been bound yet.
svn path=/trunk/mcs/; revision=61281
Sebastien Pouliot [Tue, 30 May 2006 19:02:21 +0000 (19:02 -0000)]
2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
* System.Drawing_test.dll.sources: Added unit tests for FontFamily.
svn path=/trunk/mcs/; revision=61280
Sebastien Pouliot [Tue, 30 May 2006 19:01:40 +0000 (19:01 -0000)]
2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
* FontFamilyTest.cs: New. Unit tests for FontFamily.
* TestFont.cs: Added more test cases to Font.
svn path=/trunk/mcs/; revision=61279