Robert Jordan [Thu, 8 May 2008 21:27:19 +0000 (21:27 -0000)]
2008-05-08 Robert Jordan <robertjj@gmx.net>
* scripts/mono-service.in: Replace bash-ism with `sh' syntax.
svn path=/trunk/mono/; revision=102837
Jb Evain [Thu, 8 May 2008 21:25:28 +0000 (21:25 -0000)]
optimize ToArray a bit
svn path=/trunk/mcs/; revision=102836
Jb Evain [Thu, 8 May 2008 21:19:18 +0000 (21:19 -0000)]
refactoring
svn path=/trunk/mcs/; revision=102834
Rodrigo Kumpera [Thu, 8 May 2008 21:18:06 +0000 (21:18 -0000)]
2008-05-08 Rodrigo Kumpera <rkumpera@novell.com>
* Activator.cs (CreateInstance): Check for null types when creating
the error message.
svn path=/trunk/mcs/; revision=102833
Robert Jordan [Thu, 8 May 2008 20:57:15 +0000 (20:57 -0000)]
In System.Collections:
2008-05-08 Robert Jordan <robertj@gmx.net>
* DictionaryEntry.cs: Rename fields for serialization
compatibility with MS. Accept null keys on 2.0 profile.
Fixes #381922.
In Test/System.Collections:
2008-05-08 Robert Jordan <robertj@gmx.net>
* DictionaryEntryTest.cs: Add tests for key's argument validation.
svn path=/trunk/mcs/; revision=102831
Jonathan Pobst [Thu, 8 May 2008 20:33:35 +0000 (20:33 -0000)]
2008-05-08 Jonathan Pobst <monkey@jpobst.com>
* ListBox.cs: Various fixes for MultiColumn listboxen.
[Fixes bug #388114]
svn path=/trunk/mcs/; revision=102830
Jb Evain [Thu, 8 May 2008 20:16:53 +0000 (20:16 -0000)]
fix Except with custom comparer
svn path=/trunk/mcs/; revision=102829
Jb Evain [Thu, 8 May 2008 20:02:29 +0000 (20:02 -0000)]
refactoring
svn path=/trunk/mcs/; revision=102828
Jonathan Pryor [Thu, 8 May 2008 19:57:18 +0000 (19:57 -0000)]
* System.Linq/Enumerable.cs: LongCount() can be optimized for arrays, and Reverse() can
be implemented in terms of IList w/o needing a temporary List<T> copy.
* Test/System.Linq/EnumerableTest.cs: test Reverse() for non-IList types.
* Test/System.Linq/EnumerableMoreTest.cs: test LongCount() for non-array types.
svn path=/trunk/mcs/; revision=102827
Andreia Gaita [Thu, 8 May 2008 19:39:10 +0000 (19:39 -0000)]
* winforms/webbrowser/standalone/Page.cs,
winforms/webbrowser/standalone/Main.cs: Added Style and TabIndex
accessors
* winforms/webbrowser/standalone/bin,
winforms/webbrowser/standalone/bin/test.html: Test page set up to
load by default in the app
* winforms/webbrowser/standalone/DomInspector.cs: Added Style and
TabIndex accessors in the dom menu
* mcs/class/Mono.Mozilla/Mono.Mozilla2K5.csproj,
mcs/class/Mono.Mozilla/Mono.Mozilla.dll.sources: Interfaces added
to support stylesheet getters/setters
* mcs/class/Mono.Mozilla/Mono.WebBrowser/DOM/IElement.cs,
mcs/class/Mono.Mozilla/Mono.Mozilla/DOM/Node.cs,
mcs/class/Managed.Windows.Forms/System.Windows.Forms/HtmlElement.cs:
Implement Style property
* mcs/class/Mono.Mozilla/Mono.Mozilla/interfaces/nsIDOMMediaList.cs,
mcs/class/Mono.Mozilla/Mono.Mozilla/interfaces/nsIDOMCSSValue.cs,
mcs/class/Mono.Mozilla/Mono.Mozilla/interfaces/nsIDOMCSSStyleSheet.cs,
mcs/class/Mono.Mozilla/Mono.Mozilla/interfaces/nsIDOMCSSRuleList.cs,
mcs/class/Mono.Mozilla/Mono.Mozilla/interfaces/nsIDOMStyleSheet.cs,
mcs/class/Mono.Mozilla/Mono.Mozilla/interfaces/nsIDOMCSSStyleDeclaration.cs,
mcs/class/Mono.Mozilla/Mono.Mozilla/interfaces/nsIDOMViewCSS.cs,
mcs/class/Mono.Mozilla/Mono.Mozilla/interfaces/nsIDOMCSSRule.cs:
Added to support stylesheet getters/setters
2008-05-08 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=102824
Miguel de Icaza [Thu, 8 May 2008 18:16:48 +0000 (18:16 -0000)]
Update man page
svn path=/trunk/mono/; revision=102823
Miguel de Icaza [Thu, 8 May 2008 18:14:13 +0000 (18:14 -0000)]
Update man page
svn path=/trunk/mono/; revision=102822
Marek Habersack [Thu, 8 May 2008 17:36:56 +0000 (17:36 -0000)]
2008-05-08 Marek Habersack <mhabersack@novell.com>
* DataPager.cs, DataPager.cs, DataPagerFieldCollection.cs,
DataPagerFieldCommandEventArgs.cs, DataPagerField.cs,
DataPagerFieldItem.cs, InsertItemPosition.cs,
IPageableItemContainer.cs, ListViewCancelEventArgs.cs,
ListViewCancelMode.cs, ListViewCommandEventArgs.cs, ListView.cs,
ListViewDataItem.cs, ListViewDeletedEventArgs.cs,
ListViewDeleteEventArgs.cs, ListViewEditEventArgs.cs,
ListViewInsertedEventArgs.cs, ListViewInsertEventArgs.cs,
ListViewItem.cs, ListViewItemEventArgs.cs, ListViewItemType.cs,
ListViewPagedDataSource.cs, ListViewSelectEventArgs.cs,
ListViewSortEventArgs.cs, ListViewTableRow.cs,
ListViewUpdatedEventArgs.cs, ListViewUpdateEventArgs.cs,
NextPreviousPagerField.cs, NumericPagerField.cs, PageEventArgs.cs,
PagePropertiesChangingEventArgs.cs, TemplatePagerField.cs:
added. NOTE: this is code in progress! It is not fully implemented
and usable, please do not file bug reports for the code - patches
are gladly accepted :)
svn path=/trunk/mcs/; revision=102821
Dick Porter [Thu, 8 May 2008 16:42:50 +0000 (16:42 -0000)]
2008-05-08 Dick Porter <dick@ximian.com>
* Makefile: Test/System.IO/DirectoryInfoTest.cs needs Mono.Posix
2008-05-08 Dick Porter <dick@ximian.com>
* DirectoryInfoTest.cs: Added a test for bug 385765.
svn path=/trunk/mcs/; revision=102819
Jb Evain [Thu, 8 May 2008 15:38:14 +0000 (15:38 -0000)]
oops
svn path=/trunk/mcs/; revision=102815
Jb Evain [Thu, 8 May 2008 15:36:12 +0000 (15:36 -0000)]
test for call to method with byref parameter
svn path=/trunk/mcs/; revision=102814
Jb Evain [Thu, 8 May 2008 15:35:37 +0000 (15:35 -0000)]
2008-05-08 Jb Evain <jbevain@novell.com>
* Expression.cs, EmitContext.cs: deal with call to methods
with byref parameters.
svn path=/trunk/mcs/; revision=102813
Jonathan Pobst [Thu, 8 May 2008 15:35:34 +0000 (15:35 -0000)]
2008-05-08 Jonathan Pobst <monkey@jpobst.com>
* ListBox.cs: Respect checkboxes when measuring item size.
* ThemeWin32Classis.cs: When drawing list items, don't draw
text outside of the item's bounds to prevent overlapping.
(.Net actually overlaps, but that's just silly.)
[Fixes bug #388117]
svn path=/trunk/mcs/; revision=102812
Jb Evain [Thu, 8 May 2008 15:34:53 +0000 (15:34 -0000)]
proper file header
svn path=/trunk/mcs/; revision=102811
Rodrigo Kumpera [Thu, 8 May 2008 15:03:55 +0000 (15:03 -0000)]
2008-05-08 Rodrigo Kumpera <rkumpera@novell.com>
* bug-387274.2.il: Regression test for bug #387274.
svn path=/trunk/mono/; revision=102808
Rodrigo Kumpera [Thu, 8 May 2008 14:53:53 +0000 (14:53 -0000)]
In metadata:
2008-05-08 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-internals.h: Move MONO_SECMAN_FLAG macros from mini/declsec.h
to here as they are now used in assembly.c new code.
Added a skipverification flag to MonoAssembly.
New internal function mono_assembly_has_skip_verification.
* assembly.c: New function mono_assembly_has_skip_verification. It checks
if an assembly has a version 2.0 SkipVerification security attribute. Fixes
part of #387274.
In mini:
2008-05-08 Rodrigo Kumpera <rkumpera@novell.com>
* declsec.h: Move MONO_SECMAN_FLAG to metadata/metadata-internals.h.
* mini.c: Added mini_assembly_can_skip_verification. This
function checks if the assembly requested to skip verification.
Fixes part of #387274.
svn path=/trunk/mono/; revision=102807
Jb Evain [Thu, 8 May 2008 14:10:52 +0000 (14:10 -0000)]
hm
svn path=/trunk/mcs/; revision=102806
Everaldo Canuto [Thu, 8 May 2008 09:42:11 +0000 (09:42 -0000)]
2008-05-08 Everaldo Canuto <ecanuto@novell.com>
* NotifyIcon.cs: Call SetForegroundWindow before show context menu. Thanks
Gert Driesen. Fixes bug #324830.
svn path=/trunk/mcs/; revision=102802
Everaldo Canuto [Thu, 8 May 2008 09:33:26 +0000 (09:33 -0000)]
2008-05-07 Everaldo Canuto <ecanuto@novell.com>
* XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: SetForegroundWindow
method implemented.
svn path=/trunk/mcs/; revision=102801
Marek Habersack [Thu, 8 May 2008 05:12:35 +0000 (05:12 -0000)]
2008-05-08 Marek Habersack <mhabersack@novell.com>
* SocketAsyncOperation.cs, SendPacketsElement.cs,
SocketAsyncEventArgs.cs: added initial implementations for
2.0SP1/3.5 classes used in the (to be implemented) new xxxAsync
methods of the Socket class.
svn path=/trunk/mcs/; revision=102790
Wade Berrier [Thu, 8 May 2008 02:01:24 +0000 (02:01 -0000)]
2008-05-07 Wade Berrier <wberrier@novell.com>
* Initial import of jpobst's nunit report stuff
svn path=/trunk/mcs/; revision=102785
Miguel de Icaza [Thu, 8 May 2008 00:59:45 +0000 (00:59 -0000)]
Revert, put back the key Sebastien put here
svn path=/trunk/mcs/; revision=102782
Miguel de Icaza [Thu, 8 May 2008 00:58:17 +0000 (00:58 -0000)]
Add love, new key for Mono.Moonlight
svn path=/trunk/mcs/; revision=102781
Carlos Alberto Cortez [Wed, 7 May 2008 23:44:45 +0000 (23:44 -0000)]
* BindingSource.cs: When calling IsSynchronized, return the value of
the related IList list.
2008-05-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=102780
Carlos Alberto Cortez [Wed, 7 May 2008 22:43:45 +0000 (22:43 -0000)]
2008-05-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBindingHelperTest.cs: Remove the NotWorking category from
GetListItemPropertiesTest, as well as add a pair of new assertions.
svn path=/trunk/mcs/; revision=102779
Carlos Alberto Cortez [Wed, 7 May 2008 22:42:33 +0000 (22:42 -0000)]
2008-05-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBindingHelper.cs: Fix some bits in GetListItemProperties, to
make a test pass.
svn path=/trunk/mcs/; revision=102778
Jonathan Pobst [Wed, 7 May 2008 21:12:23 +0000 (21:12 -0000)]
2008-05-07 Jonathan Pobst <monkey@jpobst.com>
* DataGridView.cs: Implement PageUp/PageDown keys. Extend keyboard
navigation to scroll the grid if the current cell is not visible.
svn path=/trunk/mcs/; revision=102775
Miguel de Icaza [Wed, 7 May 2008 20:07:19 +0000 (20:07 -0000)]
Keep ctors, so we can run sl2
svn path=/trunk/mcs/; revision=102771
C.J. Adams-Collier [Wed, 7 May 2008 20:07:13 +0000 (20:07 -0000)]
2008-05-06T1808 C.J. Adams-Collier <cjac@colliertech.org>
* known-issues-gmcs: added entry for gtest-395.cs
* known-issues-smcs: added entry for gtest-395.cs
* gtest-395.cs: added test from https://bugzilla.novell.com/show_bug.cgi?id=387040
svn path=/trunk/mcs/; revision=102770
George Giolfan [Wed, 7 May 2008 19:11:05 +0000 (19:11 -0000)]
2008-05-07 George Giolfan <georgegiolfan@yahoo.com>
* System.Windows.Forms.dll.sources: Added VisualStyles/ToolStripPainter.cs.
* SWF.csproj, SWF2k5.csproj: Updated.
* ThemeElementsVisualStyles.cs: Added ToolStripPainter.
* ToolStripPainter.cs: Added.
svn path=/trunk/mcs/; revision=102764
Marek Safar [Wed, 7 May 2008 19:05:42 +0000 (19:05 -0000)]
Fixed typo
svn path=/trunk/mcs/; revision=102762
Gert Driesen [Wed, 7 May 2008 18:49:22 +0000 (18:49 -0000)]
* OracleTransaction.cs: Corcompare fixes for 2.0 profile. Implemented
DbConnection and Dispose override. Code formatting.
* OracleLob.cs: Implemented Dispose overloads. Code formatting.
* OracleCommand.cs: Removed extra connection_timeout field. Fixed
DesignTimeVisible. Changed CommandText to return zero-length string
when underlying value is null. Fixed CommandTimeout to always
return 0. Implemented DbConnection, DbParameterCollection and
DbTransaction properties. Corcompare fixes for 2.0 profile.
* OracleTimeSpan.cs: In OracleTimeSpan ctor, throw NRE when from
is Null timespan. Fixed Hours property to actually return hours instead
of days. Modified Value to throw InvalidOperationException when
current instance is Null. Fixed explicit operator argument name.
* OracleRowUpdatingEventArgs.cs: Added missing BaseCommand override.
* OracleParameterCollection.cs: Removed extra internal ctor.
Corcompare fixes for 2.0 profile. On 1.0 profile, perform culture
sensitive and case-insensitive lookup. On 2.0 profile, first perform
case-sensitive lookup and fallback to case-insensitive lookup.
Set and remove Container where necessary, and perform checks for
ownership. Implemented AddRange overloads, and (Get/Set)Parameter.
Added several 2.0 overloads taking OracleParameter. Fixed exceptions
to match MS.
* OracleDataReader.cs: Corcompare fixes for 2.0 profile. Moved
disposing of schematable to Close, and invoke Close from Dispose.
Reduce casts. Stubbed methods introduced in 2.0 profile.
* OracleConnection.cs: Corcompare fixes for 2.0 profile. Changed
ConnectionString to return zero-length string when underlying value is
null. Removed explicit IDisposable implementation. Use string.Empty
instead of "". Code formatting.
* OracleMonthSpan.cs: Code formatting. Changed argument name of
explicit operator to match MS.
* OracleDataAdapter.cs: Code formatting. Fixed default ctor to use
null for SelectCommand. In 2.0 profile, set UpdateBatchSize to 1 and
throw AORE when setting it to negative value. Modified *Command setters
to throw InvalidCastException instead of ArgumentException. Removed
extra TableMappings property.
* OracleParameter.cs: Use zero-length string as default for
SourceColumn. Added missing 2.0 ctor. In ParameterName return zero
length string when name is null. Added SourceColumnNullMapping
property. Corcompare fixes for 2.0 profile. Code formatting.
* OracleBFile.cs: Added Dispose override for 2.0 profile.
* OracleDataAdapterTest.cs: Added ctor and basic property tests.
* OracleParameterCollectionTest.cs: Added tests for Clear,Count,Add,
Add,AddRange,Contains,indexers,IndexOf,Insert,Remove and RemoveAt.
* OracleCommandTest.cs: Added tests for ctors and CommandText,
CommandTimeout, ConnectionTimeout and Connection.
* OracleConnectionTest.cs: Added tests for ConnectionString and
ConnectionTimeout.
* OracleParameterTest.cs: Allow for disconnected tests. Added basic
ctor tests and test for ParameterName.
* OracleTimeSpanTest.cs: Added ctor tests. Added tests for IsNull,
MaxValue, MinValue, Null and ToString.
* System.Data.OracleClient_test.dll.sources: Added
OracleConnectionTest.cs, OracleDataAdapterTest.cs and
OracleTimeSpanTest.cs.
svn path=/trunk/mcs/; revision=102756
Marek Safar [Wed, 7 May 2008 18:44:37 +0000 (18:44 -0000)]
Error message fix
svn path=/trunk/mcs/; revision=102755
Marek Safar [Wed, 7 May 2008 18:44:26 +0000 (18:44 -0000)]
2008-05-07 Marek Safar <marek.safar@gmail.com>
* expression.cs, parameter.cs: Small ParameterReference clean up.
svn path=/trunk/mcs/; revision=102754
Andreia Gaita [Wed, 7 May 2008 18:41:34 +0000 (18:41 -0000)]
* mcs/class/Mono.Mozilla/Mono.WebBrowser/DOM/IElement.cs,
mcs/class/Mono.Mozilla/Mono.Mozilla/DOM/HTMLElement.cs,
mcs/class/Mono.Mozilla/Mono.Mozilla/DOM/Element.cs,
mcs/class/Managed.Windows.Forms/System.Windows.Forms/HtmlElement.cs:
Implement TabIndex
2008-05-07 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=102752
Zoltan Varga [Wed, 7 May 2008 17:35:41 +0000 (17:35 -0000)]
2008-05-07 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_get_method): Disable the check for open generic classes when
using generic sharing.
svn path=/trunk/mono/; revision=102744
Martin Baulig [Wed, 7 May 2008 17:24:26 +0000 (17:24 -0000)]
2008-05-07 Martin Baulig <martin@ximian.com>
* CSharpCodeCompiler.cs: Don't mess around with the
MONO_INSIDE_MDB environment variable, it may only be modified by
the debugger.
svn path=/trunk/mcs/; revision=102742
Dick Porter [Wed, 7 May 2008 16:48:39 +0000 (16:48 -0000)]
2008-05-07 Dick Porter <dick@ximian.com>
* io.c (FindNextFile): Handle symlinks correctly. Fixes bug
385765.
svn path=/trunk/mono/; revision=102741
Jonathan Pobst [Wed, 7 May 2008 16:44:50 +0000 (16:44 -0000)]
2008-05-07 Jonathan Pobst <monkey@jpobst.com>
* ListBox.cs: Respect ScrollAlwaysVisible and HorizontalScrollbar
properties, even when there are no items.
[Fixes bug #387611]
svn path=/trunk/mcs/; revision=102740
Marek Habersack [Wed, 7 May 2008 16:19:05 +0000 (16:19 -0000)]
2008-05-07 Marek Habersack <mhabersack@novell.com>
* RolePrincipal.cs: fix:
- Reloading the roles cache from the provider when expired
- Update issue & expiry date for expired tickets
- Incrementing the cookie expiry date
- Obey Roles.MaxCachedResults
Fixes bug #385877. Patch from Ivan Hamilton
<ivan@chimerical.com.au>, thanks!
svn path=/trunk/mcs/; revision=102737
Zoltan Varga [Wed, 7 May 2008 15:59:38 +0000 (15:59 -0000)]
2008-05-07 Zoltan Varga <vargaz@gmail.com>
* generics.cs: Add a test #387034.
svn path=/trunk/mono/; revision=102734
Zoltan Varga [Wed, 7 May 2008 15:58:49 +0000 (15:58 -0000)]
2008-05-07 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_object_get_virtual_method): Inflate the resulting method if
needed. Fixes #387034.
svn path=/trunk/mono/; revision=102733
Marek Safar [Wed, 7 May 2008 15:44:56 +0000 (15:44 -0000)]
Fixed test-643.cs
svn path=/trunk/mcs/; revision=102732
Marek Habersack [Wed, 7 May 2008 14:54:32 +0000 (14:54 -0000)]
fixlet for the last commit
svn path=/trunk/mcs/; revision=102730
Marek Habersack [Wed, 7 May 2008 14:48:46 +0000 (14:48 -0000)]
2008-05-07 Marek Habersack <mhabersack@novell.com>
* TemplateParser.cs: added a stack of include directories, to
properly resolve file relative paths when the #include file=""
directive is used. Fixes bug #324536
2008-05-07 Marek Habersack <mhabersack@novell.com>
* AspGenerator.cs: push the include file directory to the parser
include directory stack and pop it after parsing the include, so
that the relative file paths are resolved correctly. Fixes bug
#324536
svn path=/trunk/mcs/; revision=102729
Robert Jordan [Wed, 7 May 2008 14:00:30 +0000 (14:00 -0000)]
In System:
2008-05-07 Robert Jordan <robertj@gmx.net>
* RuntimeFieldHandle.cs, RuntimeTypeHandle.cs, RuntimeMethodHandle.cs:
Don't try to serialize uninitialized handles. Fixes #386641.
In .:
2008-05-07 Robert Jordan <robertj@gmx.net>
* corlib_test.dll.sources: Add System/Runtime*HandleTest.cs
In Test/System:
2008-05-07 Robert Jordan <robertj@gmx.net>
* Runtime*Handle.cs: Add serialization tests.
svn path=/trunk/mcs/; revision=102727
Zoltan Varga [Wed, 7 May 2008 13:48:00 +0000 (13:48 -0000)]
2008-05-07 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_get_method): Check whenever the method class is an open generic
type, and return NULL in that case, causing a verification error. Fixes
#384123.
svn path=/trunk/mono/; revision=102726
Zoltan Varga [Wed, 7 May 2008 13:46:25 +0000 (13:46 -0000)]
2008-05-07 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_inflate_generic_type): Avoid a crash if context is NULL.
svn path=/trunk/mono/; revision=102725
Marek Habersack [Wed, 7 May 2008 13:46:13 +0000 (13:46 -0000)]
2008-05-07 Marek Habersack <mhabersack@novell.com>
* RoleManagerSection.cs: use type converter when creating the
cookieTimeout property in the static constructor. Fixes bug
#387526. Patch fromIvan Hamilton <ivan@chimerical.com.au>, thanks!
svn path=/trunk/mcs/; revision=102724
Marek Safar [Wed, 7 May 2008 13:06:38 +0000 (13:06 -0000)]
test fix
svn path=/trunk/mcs/; revision=102722
Sebastien Pouliot [Wed, 7 May 2008 12:06:07 +0000 (12:06 -0000)]
corlib.dll.sources: Remove System.IO/Check[Argument|Permission].cs
svn path=/trunk/mcs/; revision=102719
Sebastien Pouliot [Wed, 7 May 2008 12:05:42 +0000 (12:05 -0000)]
2008-05-07 Sebastien Pouliot <sebastien@ximian.com>
* CheckArgument.cs: Removed. Lots of unused code. The two methods
used are now inlined into Path.cs
* CheckPermission.cs: Removed. Lots of unused code.
* Path.cs: Inlined two checks.
[Found using Gendarme]
svn path=/trunk/mcs/; revision=102718
Sebastien Pouliot [Wed, 7 May 2008 12:02:06 +0000 (12:02 -0000)]
SHA384Managed.cs: Fix compiler warning and use the new local variable introduced previously.
svn path=/trunk/mcs/; revision=102717
Marek Habersack [Wed, 7 May 2008 11:51:39 +0000 (11:51 -0000)]
2008-05-07 Marek Habersack <mhabersack@novell.com>
* ChangeLog: added and moved entries from ../ChaneLog to here.
* Makefile (RESOURCE_FILES): partially revert r102022 - always use
the 3.5.0.0 script library. Fixes bug #384580
svn path=/trunk/mcs/; revision=102715
Sebastien Pouliot [Wed, 7 May 2008 11:50:27 +0000 (11:50 -0000)]
2008-05-07 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Change InternalsVisibleTo on Mono.Moonlight to
a key we control.
svn path=/trunk/mcs/; revision=102714
Sebastien Pouliot [Wed, 7 May 2008 11:50:00 +0000 (11:50 -0000)]
2008-05-07 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Change InternalsVisibleTo on Mono.Moonlight to
a key we control.
svn path=/trunk/mcs/; revision=102713
Sebastien Pouliot [Wed, 7 May 2008 11:48:49 +0000 (11:48 -0000)]
2008-05-07 Sebastien Pouliot <sebastien@ximian.com>
* data/net_[1_1|2_0]/machine.config: Add entry to remap the public
key used by Silverlight 2.0 platform assemblies. Needed in both
profiles since SN uses 1.0.
svn path=/trunk/mono/; revision=102712
Ivan Zlatev [Wed, 7 May 2008 11:44:56 +0000 (11:44 -0000)]
2008-05-07 Ivan N. Zlatev <contact@i-nz.net>
* NativeWindow.cs: Add support for multiple handles per window.
* NativeWindows.cs, LibSupport.cs, Control.cs, XplatUIX11GTK.cs,
XplatUIX11.cs, X11Display.cs: Do not access NativeWindow.windows_collection
directly - use FromHandle instead.
[Fixes bug #374660]
svn path=/trunk/mcs/; revision=102711
Marek Safar [Wed, 7 May 2008 10:41:39 +0000 (10:41 -0000)]
New test.
svn path=/trunk/mcs/; revision=102709
Marek Safar [Wed, 7 May 2008 10:40:30 +0000 (10:40 -0000)]
2008-05-07 Marek Safar <marek.safar@gmail.com>
* anonymous.cs, codegen.cs, convert.cs, ecore.cs: Removed uber ugly TempEc
hack. Fixes #387502.
svn path=/trunk/mcs/; revision=102708
Robert Jordan [Wed, 7 May 2008 09:41:34 +0000 (09:41 -0000)]
2008-05-07 Robert Jordan <robertj@gmx.net>
* Makefile.am: don't pull libeglib.a twice. Fixes #387491.
svn path=/trunk/mono/; revision=102706
Marek Safar [Wed, 7 May 2008 09:17:17 +0000 (09:17 -0000)]
New test.
svn path=/trunk/mcs/; revision=102705
Marek Safar [Wed, 7 May 2008 09:04:31 +0000 (09:04 -0000)]
Be careful when fixing this file
svn path=/trunk/mcs/; revision=102704
Atsushi Eno [Wed, 7 May 2008 08:34:57 +0000 (08:34 -0000)]
2008-05-07 Atsushi Enomoto <atsushi@ximian.com>
* XmlReader.cs : force CloseInput to every XmlReader that is created
from url (I mean, every internal XmlReader instance).
* XmlFilterReader.cs : clone settings so that it does not depend on
inconsistent settings after creation. Fixed bug #385638.
* XmlReaderCommonTests.cs : added test for bug #385638.
svn path=/trunk/mcs/; revision=102702
Roei Erez [Wed, 7 May 2008 07:46:48 +0000 (07:46 -0000)]
isolate unsupported flow using TARGET_JVM compilation flag.
svn path=/trunk/mcs/; revision=102701
Miguel de Icaza [Wed, 7 May 2008 05:23:56 +0000 (05:23 -0000)]
Remove debugging message
svn path=/trunk/mcs/; revision=102699
Andreia Gaita [Wed, 7 May 2008 03:36:03 +0000 (03:36 -0000)]
* mcs/class/Mono.Mozilla/Mono.WebBrowser/DOM/IElement.cs,
mcs/class/Mono.Mozilla/Mono.Mozilla/DOM/HTMLElement.cs,
mcs/class/Mono.Mozilla/Mono.Mozilla/DOM/Element.cs,
mcs/class/Managed.Windows.Forms/System.Windows.Forms/HtmlElement.cs:
Implement InnerHTML setter
2008-05-07 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=102698
Miguel de Icaza [Wed, 7 May 2008 03:31:39 +0000 (03:31 -0000)]
2008-05-06 Miguel de Icaza <miguel@novell.com>
* assembly.c (mono_assembly_load_reference): Prevent crash while
disassembling Silverlight 2.0 executables while we still do not
have GACed libraries.
svn path=/trunk/mono/; revision=102697
Andreia Gaita [Wed, 7 May 2008 03:31:10 +0000 (03:31 -0000)]
* mcs/class/Mono.Mozilla/Mono.WebBrowser/DOM/IDocument.cs,
mcs/class/Mono.Mozilla/Mono.Mozilla/DOM/Document.cs,
mcs/class/Mono.Mozilla/Mono.Mozilla/DOM/Window.cs: Helper to
retrieve the window of a document
* mcs/class/Managed.Windows.Forms/System.Windows.Forms/HtmlDocument.cs:
Implement Focused
2008-05-07 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=102696
Carlos Alberto Cortez [Wed, 7 May 2008 02:53:19 +0000 (02:53 -0000)]
* BindingSourceTest.cs: New tests for ApplySort and RemoveSort methods.
2008-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=102695
Carlos Alberto Cortez [Wed, 7 May 2008 02:52:04 +0000 (02:52 -0000)]
* BindingSource.cs: Minor fixes to the the ApplySort and Remove sort
methods, as well as add messages to the exceptions.
2006-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=102694
Miguel de Icaza [Wed, 7 May 2008 01:06:34 +0000 (01:06 -0000)]
Improve debugging message to track down the method that is actually missing
svn path=/trunk/mcs/; revision=102688
Carlos Alberto Cortez [Tue, 6 May 2008 23:16:37 +0000 (23:16 -0000)]
* BindingSourceTest.cs: Activate a pair of tests.
2008-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=102681
Carlos Alberto Cortez [Tue, 6 May 2008 23:15:20 +0000 (23:15 -0000)]
* BindingSource.cs: Setting DataSource should only reset DataMember if
the previous value was null (make pass a not working test).
2006-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=102680
Marek Habersack [Tue, 6 May 2008 23:05:10 +0000 (23:05 -0000)]
2008-05-07 Marek Habersack <mhabersack@novell.com>
* HttpRequest.cs: StripPath should handle UNC paths too. Fixes bug
#385870. Patch from Ivan Hamilton <ivan@chimerical.com.au>,
thanks!
svn path=/trunk/mcs/; revision=102679
Carlos Alberto Cortez [Tue, 6 May 2008 22:39:20 +0000 (22:39 -0000)]
* BindingSOurceTest.cs: New assertion for
ISupportInitializeNotification test.
2008-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=102678
Carlos Alberto Cortez [Tue, 6 May 2008 22:38:36 +0000 (22:38 -0000)]
2006-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* BindingSource.cs: When EndInit call is postponed and is called until
DataSource.EndInit is called, remove the handler for data source.
svn path=/trunk/mcs/; revision=102677
Zoltan Varga [Tue, 6 May 2008 22:29:00 +0000 (22:29 -0000)]
2008-05-07 Zoltan Varga <vargaz@gmail.com>
* reflection.c: Special case generic type definitions as well. Fixes #383444.
svn path=/trunk/mono/; revision=102675
Marek Safar [Tue, 6 May 2008 21:48:31 +0000 (21:48 -0000)]
2008-05-06 Marek Safar <marek.safar@gmail.com>
* IntPtr.cs (eplicit long, GetObjectData): Use ToInt64.
svn path=/trunk/mcs/; revision=102670
Marek Safar [Tue, 6 May 2008 21:38:34 +0000 (21:38 -0000)]
2008-05-06 Marek Safar <marek.safar@gmail.com>
* IntPtr.cs (eplicit long): Uses ToInt64.
svn path=/trunk/mcs/; revision=102669
Zoltan Varga [Tue, 6 May 2008 21:35:49 +0000 (21:35 -0000)]
2008-05-06 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_System_Reflection_Module_ResolveTypeToken): Fix handling
of the dynamic case. Fixes #387404.
svn path=/trunk/mono/; revision=102668
Rodrigo Kumpera [Tue, 6 May 2008 21:15:39 +0000 (21:15 -0000)]
2008-05-06 Rodrigo Kumpera <rkumpera@novell.com>
*verify.c (mono_verifier_is_class_full_trust): If under
verify_all and the verifier mode was not set, only
gac and corlib types are fulltrust. This makes --verify-all
usable to detect unverifiable code, which is the expected
use case.
svn path=/trunk/mono/; revision=102666
Rodrigo Kumpera [Tue, 6 May 2008 21:12:45 +0000 (21:12 -0000)]
2008-05-06 Rodrigo Kumpera <rkumpera@novell.com>
* driver.c (mono_main): Revert r102623. The right
thing to do is to enable the verifier under verifiable
unless a --security flag was passed.
We need this non-trivial behavior for --verify-all otherwise
mcs-compileall won't be able to use it. As it needs everything to
be verified under validil.
svn path=/trunk/mono/; revision=102665
Rodrigo Kumpera [Tue, 6 May 2008 20:32:55 +0000 (20:32 -0000)]
2008-05-06 Rodrigo Kumpera <rkumpera@novell.com>
* verify.h: Ops, commited the header with debug
enabled.
svn path=/trunk/mono/; revision=102663
Rodrigo Kumpera [Tue, 6 May 2008 20:31:23 +0000 (20:31 -0000)]
2008-05-06 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (merge_stack): Use the new value on unverifiable
stack merges.
* verify.c (verify_type_compatibility_full): Comparison
of nullable types can't use mono_class_is_assignable_from.
* verify.c, verify.h: Added MONO_VERIFY_REPORT_ALL_ERRORS
that makes all verification errors be reported.
* pedump.c: Pass MONO_VERIFY_REPORT_ALL_ERRORS to
mono_method_verify.
svn path=/trunk/mono/; revision=102662
Rodrigo Kumpera [Tue, 6 May 2008 20:30:41 +0000 (20:30 -0000)]
* valid_nullable_store.il: New test to ensure
that nullables are properly compared.
2008-05-02 Rodrigo Kumpera <rkumpera@novell.com>
svn path=/trunk/mono/; revision=102661
Robert Jordan [Tue, 6 May 2008 20:02:10 +0000 (20:02 -0000)]
forgot license
svn path=/trunk/mono/; revision=102659
Robert Jordan [Tue, 6 May 2008 19:45:47 +0000 (19:45 -0000)]
In metadata:
2008-05-05 Robert Jordan <robertj@gmx.net>
* marshal.c (mono_marshal_get_thunk_invoke_wrapper):
support for value types. See #386415.
* object.c: comments.
In tests:
2008-05-05 Robert Jordan <robertj@gmx.net>
* libtest.c, thunks.cs: reworked to match the new struct
handling.
svn path=/trunk/mono/; revision=102655
Martin Baulig [Tue, 6 May 2008 19:06:42 +0000 (19:06 -0000)]
2008-05-06 Martin Baulig <martin@ximian.com>
* class.cs (Constructor.Emit): Fix the logic whether to emit
symbol information.
svn path=/trunk/mcs/; revision=102653
Martin Baulig [Tue, 6 May 2008 18:41:24 +0000 (18:41 -0000)]
2008-05-06 Martin Baulig <martin@ximian.com>
Fix #383749.
* debug-mini.c (mono_debugger_thread_created): Add proper locking.
(mono_debugger_thread_cleanup): Likewise.
(mono_debugger_extended_notification): Likewise.
svn path=/trunk/mono/; revision=102648
Rodrigo Kumpera [Tue, 6 May 2008 18:20:54 +0000 (18:20 -0000)]
2008-05-06 Rodrigo Kumpera <rkumpera@novell.com>
* bug-382986.cs. bug-382986-lib.cs: Regression test for
bug #382986.
svn path=/trunk/mono/; revision=102644
Jonathan Pobst [Tue, 6 May 2008 17:35:18 +0000 (17:35 -0000)]
2008-05-06 Jonathan Pobst <monkey@jpobst.com>
* ToolStripManager.cs: Don't use IsAlive, race condition, etc. etc.
svn path=/trunk/mcs/; revision=102640
Jonathan Pobst [Tue, 6 May 2008 17:10:12 +0000 (17:10 -0000)]
2008-05-06 Jonathan Pobst <monkey@jpobst.com>
* ToolStripManager.cs: Store references to toolstrips as
weak references so they do not prevent forms from getting collected.
[Fixes bug #386483]
svn path=/trunk/mcs/; revision=102636
Jonathan Pobst [Tue, 6 May 2008 16:32:44 +0000 (16:32 -0000)]
2008-05-06 Jonathan Pobst <monkey@jpobst.com>
* TrackBar.cs: We can't set ResizeRedraw because it isn't set
on .Net. So do the same thing in WndProc.
svn path=/trunk/mcs/; revision=102635
Rodrigo Kumpera [Tue, 6 May 2008 16:06:30 +0000 (16:06 -0000)]
2008-05-06 Rodrigo Kumpera <rkumpera@novell.com>
* mini.c (mono_method_to_ir): Verify visibility of call related opcodes
against both inflated and non-inflated methods. We need to check against the
generic definition for cases where the instantiated method is not visible.
We need to check against the inflated types for cases where the instantiation
changes any super type. This fixes #382986.
Note that this doesn't need to be applied to other parts of mono_method_to_ir
that check for visibiliy as generic params only appears as the type subject
of tokens on call opcodes. Field manipulation and ldftn must always
target an exact type.
svn path=/trunk/mono/; revision=102633