mono.git
16 years ago2008-05-10 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 10 May 2008 15:42:15 +0000 (15:42 -0000)]
2008-05-10  Marek Safar  <marek.safar@gmail.com>

* driver.cs: Split Parse.

* location.cs (LookupFile): Uses string.Empty.

svn path=/trunk/mcs/; revision=102928

16 years ago2008-05-07 Gonzalo Panigua Javier <gonzalo.mono@gmail.com>
Gonzalo Paniagua Javier [Sat, 10 May 2008 04:25:25 +0000 (04:25 -0000)]
2008-05-07 Gonzalo Panigua Javier <gonzalo.mono@gmail.com>

* HttpApplication.cs: create a fake context while loading the
modules on the first request so that the modules don't mess up
with the actual output of that request.

svn path=/trunk/mcs/; revision=102912

16 years ago * ListView.cs: When calculating scrollbars, set horizontal scroll bar
Carlos Alberto Cortez [Sat, 10 May 2008 01:28:55 +0000 (01:28 -0000)]
* ListView.cs: When calculating scrollbars, set horizontal scroll bar
SmallChange to the item size width plus the padding, to match .net.

2008-05-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>

svn path=/trunk/mcs/; revision=102909

16 years ago * FileDialog.cs: Apply the custom filter typed by the user in the file
Carlos Alberto Cortez [Fri, 9 May 2008 23:58:33 +0000 (23:58 -0000)]
* FileDialog.cs: Apply the custom filter typed by the user in the file
name combobox as much as possible while navigating in the file dialog.
Fixes #385261.

2008-05-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>

svn path=/trunk/mcs/; revision=102907

16 years ago2008-05-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 9 May 2008 23:57:08 +0000 (23:57 -0000)]
2008-05-09 Rodrigo Kumpera  <rkumpera@novell.com>

* class.c: Added can_access_instantiation to verify if the instantiation
is visible. Fix access check for nested types as they returned TRUE
before doing type and generic instantiation visibility checks.

svn path=/trunk/mono/; revision=102906

16 years ago2008-05-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 9 May 2008 23:50:03 +0000 (23:50 -0000)]
2008-05-09 Rodrigo Kumpera <rkumpera@novell.com>

* make_type_visibility_test.sh: New test
generator for visibility tests of generic
method and type arguments.

* make_tests.sh: Added tests using using
the new generator.

svn path=/trunk/mono/; revision=102905

16 years ago2008-05-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 9 May 2008 22:51:07 +0000 (22:51 -0000)]
2008-05-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* BindingTest.cs: Activate a pair of previously not working 2.0 tests.

svn path=/trunk/mcs/; revision=102901

16 years ago2008-05-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 9 May 2008 22:48:29 +0000 (22:48 -0000)]
2008-05-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Binding.cs: Actually use NullValue if the retrieved value of
data source is null or DBNull. Makes a test pass.

svn path=/trunk/mcs/; revision=102900

16 years agoUpdate version number for Silverlight 2.0 assemblies
Miguel de Icaza [Fri, 9 May 2008 22:26:16 +0000 (22:26 -0000)]
Update version number for Silverlight 2.0 assemblies

svn path=/trunk/mcs/; revision=102893

16 years agoAdd silverlight.pub here too
Miguel de Icaza [Fri, 9 May 2008 22:25:28 +0000 (22:25 -0000)]
Add silverlight.pub here too

svn path=/trunk/mcs/; revision=102892

16 years agoAdd test I forgot to checkin the other day
Miguel de Icaza [Fri, 9 May 2008 21:38:15 +0000 (21:38 -0000)]
Add test I forgot to checkin the other day

svn path=/trunk/mcs/; revision=102888

16 years ago2008-05-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 9 May 2008 21:28:07 +0000 (21:28 -0000)]
2008-05-09 Rodrigo Kumpera <rkumpera@novell.com>

* make_tests.sh: Changed one test from unverifiable
to valid as it only fails on MS runtime due to a bug
on its implementation.

svn path=/trunk/mono/; revision=102886

16 years ago* CSharpCodeGenerator.cs: On 2.0 profile, add support for params
Gert Driesen [Fri, 9 May 2008 20:49:59 +0000 (20:49 -0000)]
* CSharpCodeGenerator.cs: On 2.0 profile, add support for params
keyword when System.ParamArrayAttribute custom attribute is added.
Fixes bug #387877.
* CodeGeneratorFromTypeTestBase.cs: Added tests for
System.ParamArrayAttribute custom attribute.
* CodeGeneratorFromTypeTest.cs: Added tests for
System.ParamArrayAttribute custom attribute.

svn path=/trunk/mcs/; revision=102885

16 years ago2008-05-09 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 9 May 2008 20:11:09 +0000 (20:11 -0000)]
2008-05-09  Marek Habersack  <mhabersack@novell.com>

* SocketAsyncEventArgs.cs: implemented support for executing
asynchronous socket actions, called from the new xxxxAsync methods
in Socket. The asynchronous operations do not use the ThreadPool
as I can't get the sample applications to work (send/receive
callbacks don't work) - it may change in the future.

* Socket.cs: implemented several xxxxAsync 2.0sp1 methods. The
ones not implemented for now are: ReceiveMessageFromAsync and
SendPacketsAsync. AcceptAsync doesn't perform the check for the
buffer size for now - need to implement runtime support for that.
Made several methods internal, so that they can be accessed from
SocketAsyncEventArgs code.

svn path=/trunk/mcs/; revision=102884

16 years ago2008-05-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 9 May 2008 19:21:24 +0000 (19:21 -0000)]
2008-05-09  Jonathan Pobst  <monkey@jpobst.com>

* Makefile: Add .ico's to IMAGE_RESOURCES.  Remove old .resources
files from RESX_RESOURCES.
* System.Windows.Forms.dll.resources: Remove old .resources files,
add .ico's.

2008-05-09  Jonathan Pobst  <monkey@jpobst.com>

* Added mono.ico, errorProvider.ico.

2008-05-09  Jonathan Pobst  <monkey@jpobst.com>

* Locale.cs: Comment out everything but GetText, modify GetText
to just return the parameter.

2008-05-09  Jonathan Pobst  <monkey@jpobst.com>

* ErrorProvider.cs, Form.cs: Get icons from ResourceImageLoader.
* MimeIcon.cs: Provide a way to get icons from resources.

svn path=/trunk/mcs/; revision=102881

16 years ago2008-05-09 Zoltan Varga <zovarga@debian.chello.hu>
Zoltan Varga [Fri, 9 May 2008 15:18:41 +0000 (15:18 -0000)]
2008-05-09  Zoltan Varga  <zovarga@debian.chello.hu>

* Makefile.am (get-monolite-latest): Create mcs/lib if not existing.

svn path=/trunk/mono/; revision=102871

16 years agofix AsQueryable signature
Jb Evain [Fri, 9 May 2008 13:28:39 +0000 (13:28 -0000)]
fix AsQueryable signature

svn path=/trunk/mcs/; revision=102866

16 years agosmall cleanup
Jb Evain [Fri, 9 May 2008 13:28:21 +0000 (13:28 -0000)]
small cleanup

svn path=/trunk/mcs/; revision=102865

16 years agoadded the files from r102790 to the sources list
Marek Habersack [Fri, 9 May 2008 12:19:38 +0000 (12:19 -0000)]
added the files from r102790 to the sources list

svn path=/trunk/mcs/; revision=102862

16 years agomixed-mode: Added mixed-mode assembly tests.
Kornél Pál [Fri, 9 May 2008 12:13:12 +0000 (12:13 -0000)]
mixed-mode: Added mixed-mode assembly tests.

svn path=/trunk/mono/; revision=102861

16 years agorefactor Average
Jb Evain [Fri, 9 May 2008 07:27:10 +0000 (07:27 -0000)]
refactor Average

svn path=/trunk/mcs/; revision=102855

16 years ago2008-05-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 9 May 2008 06:26:54 +0000 (06:26 -0000)]
2008-05-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Binding.cs: When the value retrieved from the control to be assigned
to the data source is null, actually use the 2.0 DataSourceNullValue
value. Make pass a data binding test.

svn path=/trunk/mcs/; revision=102854

16 years ago2008-05-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 9 May 2008 00:15:12 +0000 (00:15 -0000)]
2008-05-08  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: We need to invalidate implicit children even when
invalidate is called with invalidatechildren = false.  (Implicit
children are really part of the parent.)
* ListView.cs: Double-buffer internal child controls for less
flicker.
* ThemeWin32Classic.cs: Remove an extra nested loop in drawing
owner ListView subitems for greatly increased performance.
[Fixes bug #388477]

svn path=/trunk/mcs/; revision=102851

16 years ago2008-05-08 Carlos Alberto Cortez <calebrto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 8 May 2008 23:11:58 +0000 (23:11 -0000)]
2008-05-08  Carlos Alberto Cortez <calebrto.cortez@gmail.com>

* FileDialog.cs: When the user types a wildcard character in the
filename combobox, update the contents of the folder using the text as
a filter.
Fixes part of #385261.

svn path=/trunk/mcs/; revision=102847

16 years ago2008-05-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 8 May 2008 22:41:57 +0000 (22:41 -0000)]
2008-05-08 Rodrigo Kumpera  <rkumpera@novell.com>

* TypeBuilderTest.cs: Added regression tests for #354047.

svn path=/trunk/mcs/; revision=102845

16 years ago2008-05-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 8 May 2008 22:40:38 +0000 (22:40 -0000)]
2008-05-08 Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c (mono_reflection_create_generic_class): The created type
must have a different container from its TypeBuilder. Otherwise they
will end sharing generic arguments, which is wrong.

Due to the sharing, making a generic instance of the created type using
the TypeBuider generic arguments resulted in the generic type definition
been returned, which is wrong as well.

As a bonus the code was leaking the type_params array. This memory should
be allocated from the image mempool.

This fixes bug #354047.

svn path=/trunk/mono/; revision=102844

16 years agoAdd another qh to the culture of qh's
Miguel de Icaza [Thu, 8 May 2008 22:23:54 +0000 (22:23 -0000)]
Add another qh to the culture of qh's

svn path=/trunk/mcs/; revision=102842

16 years ago2008-05-08 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 8 May 2008 22:20:07 +0000 (22:20 -0000)]
2008-05-08  Miguel de Icaza  <miguel@novell.com>

* ResourceSet.cs: Pass the ignoreCase argument, needed to
implement ResourceManager.IgnoreCase.

Silverlight 2.0 applications store "page.xaml" as the key in the
resource keys, but request Page.xaml ones.

* ResourceManager.cs: Avoid exception throwing and catching.

* RutimeResourceSet.cs: Add a constructor that is required to
deserialize Silverlight 2.0 applications when deserializing the
resources that contains the XAML files in assemblies.

We do not take advantage of this new constructor that uses an
IntPtrStream, instead we stick to the Stream API.

svn path=/trunk/mcs/; revision=102841

16 years ago2008-05-08 Robert Jordan <robertjj@gmx.net>
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

16 years agooptimize ToArray a bit
Jb Evain [Thu, 8 May 2008 21:25:28 +0000 (21:25 -0000)]
optimize ToArray a bit

svn path=/trunk/mcs/; revision=102836

16 years agorefactoring
Jb Evain [Thu, 8 May 2008 21:19:18 +0000 (21:19 -0000)]
refactoring

svn path=/trunk/mcs/; revision=102834

16 years ago2008-05-08 Rodrigo Kumpera <rkumpera@novell.com>
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

16 years agoIn System.Collections:
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

16 years ago2008-05-08 Jonathan Pobst <monkey@jpobst.com>
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

16 years agofix Except with custom comparer
Jb Evain [Thu, 8 May 2008 20:16:53 +0000 (20:16 -0000)]
fix Except with custom comparer

svn path=/trunk/mcs/; revision=102829

16 years agorefactoring
Jb Evain [Thu, 8 May 2008 20:02:29 +0000 (20:02 -0000)]
refactoring

svn path=/trunk/mcs/; revision=102828

16 years ago * System.Linq/Enumerable.cs: LongCount() can be optimized for arrays, and Reverse...
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

16 years ago* winforms/webbrowser/standalone/Page.cs,
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

16 years agoUpdate man page
Miguel de Icaza [Thu, 8 May 2008 18:16:48 +0000 (18:16 -0000)]
Update man page

svn path=/trunk/mono/; revision=102823

16 years agoUpdate man page
Miguel de Icaza [Thu, 8 May 2008 18:14:13 +0000 (18:14 -0000)]
Update man page

svn path=/trunk/mono/; revision=102822

16 years ago2008-05-08 Marek Habersack <mhabersack@novell.com>
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

16 years ago2008-05-08 Dick Porter <dick@ximian.com>
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

16 years agooops
Jb Evain [Thu, 8 May 2008 15:38:14 +0000 (15:38 -0000)]
oops

svn path=/trunk/mcs/; revision=102815

16 years agotest for call to method with byref parameter
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

16 years ago2008-05-08 Jb Evain <jbevain@novell.com>
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

16 years ago2008-05-08 Jonathan Pobst <monkey@jpobst.com>
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

16 years agoproper file header
Jb Evain [Thu, 8 May 2008 15:34:53 +0000 (15:34 -0000)]
proper file header

svn path=/trunk/mcs/; revision=102811

16 years ago2008-05-08 Rodrigo Kumpera <rkumpera@novell.com>
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

16 years agoIn metadata:
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

16 years agohm
Jb Evain [Thu, 8 May 2008 14:10:52 +0000 (14:10 -0000)]
hm

svn path=/trunk/mcs/; revision=102806

16 years ago2008-05-08 Everaldo Canuto <ecanuto@novell.com>
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

16 years ago2008-05-07 Everaldo Canuto <ecanuto@novell.com>
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

16 years ago2008-05-08 Marek Habersack <mhabersack@novell.com>
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

16 years ago2008-05-07 Wade Berrier <wberrier@novell.com>
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

16 years agoRevert, put back the key Sebastien put here
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

16 years agoAdd love, new key for Mono.Moonlight
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

16 years ago * BindingSource.cs: When calling IsSynchronized, return the value of
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

16 years ago2008-05-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

16 years ago2008-05-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

16 years ago2008-05-07 Jonathan Pobst <monkey@jpobst.com>
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

16 years agoKeep ctors, so we can run sl2
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

16 years ago2008-05-06T1808 C.J. Adams-Collier <cjac@colliertech.org>
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

16 years ago2008-05-07 George Giolfan <georgegiolfan@yahoo.com>
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

16 years agoFixed typo
Marek Safar [Wed, 7 May 2008 19:05:42 +0000 (19:05 -0000)]
Fixed typo

svn path=/trunk/mcs/; revision=102762

16 years ago* OracleTransaction.cs: Corcompare fixes for 2.0 profile. Implemented
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

16 years agoError message fix
Marek Safar [Wed, 7 May 2008 18:44:37 +0000 (18:44 -0000)]
Error message fix

svn path=/trunk/mcs/; revision=102755

16 years ago2008-05-07 Marek Safar <marek.safar@gmail.com>
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

16 years ago* mcs/class/Mono.Mozilla/Mono.WebBrowser/DOM/IElement.cs,
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

16 years ago2008-05-07 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-05-07 Martin Baulig <martin@ximian.com>
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

16 years ago2008-05-07 Dick Porter <dick@ximian.com>
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

16 years ago2008-05-07 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2008-05-07 Marek Habersack <mhabersack@novell.com>
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

16 years ago2008-05-07 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-05-07 Zoltan Varga <vargaz@gmail.com>
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

16 years agoFixed test-643.cs
Marek Safar [Wed, 7 May 2008 15:44:56 +0000 (15:44 -0000)]
Fixed test-643.cs

svn path=/trunk/mcs/; revision=102732

16 years agofixlet for the last commit
Marek Habersack [Wed, 7 May 2008 14:54:32 +0000 (14:54 -0000)]
fixlet for the last commit

svn path=/trunk/mcs/; revision=102730

16 years ago2008-05-07 Marek Habersack <mhabersack@novell.com>
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

16 years agoIn System:
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

16 years ago2008-05-07 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-05-07 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-05-07 Marek Habersack <mhabersack@novell.com>
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

16 years agotest fix
Marek Safar [Wed, 7 May 2008 13:06:38 +0000 (13:06 -0000)]
test fix

svn path=/trunk/mcs/; revision=102722

16 years agocorlib.dll.sources: Remove System.IO/Check[Argument|Permission].cs
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

16 years ago2008-05-07 Sebastien Pouliot <sebastien@ximian.com>
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

16 years agoSHA384Managed.cs: Fix compiler warning and use the new local variable introduced...
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

16 years ago2008-05-07 Marek Habersack <mhabersack@novell.com>
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

16 years ago2008-05-07 Sebastien Pouliot <sebastien@ximian.com>
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

16 years ago2008-05-07 Sebastien Pouliot <sebastien@ximian.com>
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

16 years ago2008-05-07 Sebastien Pouliot <sebastien@ximian.com>
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

16 years ago2008-05-07 Ivan N. Zlatev <contact@i-nz.net>
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

16 years agoNew test.
Marek Safar [Wed, 7 May 2008 10:41:39 +0000 (10:41 -0000)]
New test.

svn path=/trunk/mcs/; revision=102709

16 years ago2008-05-07 Marek Safar <marek.safar@gmail.com>
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

16 years ago2008-05-07 Robert Jordan <robertj@gmx.net>
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

16 years agoNew test.
Marek Safar [Wed, 7 May 2008 09:17:17 +0000 (09:17 -0000)]
New test.

svn path=/trunk/mcs/; revision=102705

16 years agoBe careful when fixing this file
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

16 years ago2008-05-07 Atsushi Enomoto <atsushi@ximian.com>
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

16 years agoisolate unsupported flow using TARGET_JVM compilation flag.
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

16 years agoRemove debugging message
Miguel de Icaza [Wed, 7 May 2008 05:23:56 +0000 (05:23 -0000)]
Remove debugging message

svn path=/trunk/mcs/; revision=102699

16 years ago* mcs/class/Mono.Mozilla/Mono.WebBrowser/DOM/IElement.cs,
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