mono.git
16 years ago2007-08-28 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 28 Aug 2007 18:41:11 +0000 (18:41 -0000)]
2007-08-28  Jonathan Pobst  <monkey@jpobst.com>

* RadioButton.cs: Use 2.0 rendering.  Use base implementation of TextAlign.
* Theme.cs, ThemeWin32Classic.cs: Implement 2.0 rendering for RadioButton.

2007-08-28  Jonathan Pobst  <monkey@jpobst.com>

* ThemeElementsDefault.cs: Add accessor for RadioButtonPainter.

2007-08-28  Jonathan Pobst  <monkey@jpobst.com>

* RadioButtonPainter.cs: Added.

2007-08-28  Jonathan Pobst  <monkey@jpobst.com>

* System.Windows.Forms.dll.sources: Add RadioButtonPainter.cs.

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

16 years ago2007-08-28 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 28 Aug 2007 15:18:41 +0000 (15:18 -0000)]
2007-08-28  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Mdb/MdbWriter.cs:
Rewrite variables infos.

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

16 years ago2007-08-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 28 Aug 2007 15:08:49 +0000 (15:08 -0000)]
2007-08-28  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunModuleConstructor): New icall.

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

16 years ago2007-08-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 28 Aug 2007 15:07:43 +0000 (15:07 -0000)]
2007-08-28  Zoltan Varga  <vargaz@gmail.com>

* RuntimeHelpers.cs: Implement RunModuleConstructor ().

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

16 years ago2007-08-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 28 Aug 2007 15:05:30 +0000 (15:05 -0000)]
2007-08-28  Zoltan Varga  <vargaz@gmail.com>

* DateTime.cs: Fix a warning.

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

16 years ago2007-08-28 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 28 Aug 2007 15:05:19 +0000 (15:05 -0000)]
2007-08-28  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Cil/CodeWriter.cs
  Mono.Cecil/ReflectionWriter.cs
  Mono.Cecil.Cil/SymbolStoreHelper.cs
  Mono.Cecil.Signatures/SignatureWriter.cs:
Generate proper variables signatures for symbols
stores.

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

16 years agoreformatting
Marek Habersack [Tue, 28 Aug 2007 13:57:11 +0000 (13:57 -0000)]
reformatting

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

16 years ago2007-08-28 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 28 Aug 2007 13:50:25 +0000 (13:50 -0000)]
2007-08-28  Marek Habersack  <mhabersack@novell.com>

            * Page.cs: The following property values are returned from cached
            fields instead of looking them up on Context: Application,
            Response, Request, Cache (as determined by the tests).
            Added a backing field for the Session property.
            Session doesn't throw an exception when Context is null - it
            silently ignores it and throws a session not available exception.
            _context is never used directly, the Context property is used
            instead. Fixes bug #82606

2007-08-28  Marek Habersack  <mhabersack@novell.com>

            * PageTest.cs: added tests for exceptions that should be thrown
            when the following properties are accessed from a Page descendant
            that overrides the Context property: Response, Cache, Session. The
            Application property test was also added, to check if it is
            properly set to null when no request has been served by the page.

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

16 years ago2007-08-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 28 Aug 2007 12:48:36 +0000 (12:48 -0000)]
2007-08-28  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_class_proxy_vtable): Use max_interface_id instead of
class->max_interface_id in a one place. Fixes transparentproxy.exe test on ia64.

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

16 years ago* build-csproj2k5: Add Mono.Mozilla as a reference.
Rolf Bjarne Kvinge [Tue, 28 Aug 2007 12:45:03 +0000 (12:45 -0000)]
* build-csproj2k5: Add Mono.Mozilla as a reference.
* SWF2k5.csproj: Updated.

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

16 years ago2007-08-27 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 28 Aug 2007 12:10:40 +0000 (12:10 -0000)]
2007-08-27  Ivan N. Zlatev  <contact@i-nz.net>

        * CursorConverter.cs: Implement conversion to
        InstanceDescriptor.

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

16 years agoupdate project file with recent changes
Konstantin Triger [Tue, 28 Aug 2007 11:13:57 +0000 (11:13 -0000)]
update project file with recent changes

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

16 years ago2007-08-27 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 28 Aug 2007 11:12:52 +0000 (11:12 -0000)]
2007-08-27  Ivan N. Zlatev  <contact@i-nz.net>
        * DataMemberFieldEditor.cs: stubbed.
        * DataMemberListEditor.cs: stubbed.
        * FormatStringEditor.cs: stubbed.
        * StringCollectionEditor.cs: implemented.
        * StringArrayEditor.cs: implemented.
        * TabPageCollectionEditor.cs: implemented.
        * ListControlStringCollectionEditor.cs: implemented.

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

16 years agoremove unneeded 'using'
Konstantin Triger [Tue, 28 Aug 2007 11:11:47 +0000 (11:11 -0000)]
remove unneeded 'using'

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

16 years ago2007-08-27 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 28 Aug 2007 11:06:33 +0000 (11:06 -0000)]
2007-08-27  Ivan N. Zlatev  <contact@i-nz.net>
* CollectionEditor.cs:
 - Fix CreateCollectionItemType to deal with "Item" overloads.
 - Implement Create/DestroyInstance to check for the
   IDesignerHost service and use that.
 - Check if SetItems produces a new object(will happen for arrays)
   and update EditValue.
        * GridEntry.cs: Implement GetService.

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

16 years agoupdate project file with recent changes; remove IPGlobal* from compilation since...
Konstantin Triger [Tue, 28 Aug 2007 10:59:46 +0000 (10:59 -0000)]
update project file with recent changes; remove IPGlobal* from compilation since they use pinvoke to get the information

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

16 years agoNew test.
Marek Safar [Tue, 28 Aug 2007 10:13:49 +0000 (10:13 -0000)]
New test.

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

16 years agoNew test.
Marek Safar [Tue, 28 Aug 2007 10:13:19 +0000 (10:13 -0000)]
New test.

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

16 years ago2007-08-28 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 28 Aug 2007 10:11:29 +0000 (10:11 -0000)]
2007-08-28  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Anonymous type arguments can be simple name, syntax error
handling.

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

16 years ago2007-08-28 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 28 Aug 2007 09:47:17 +0000 (09:47 -0000)]
2007-08-28  Mark Probst  <mark.probst@gmail.com>

* security-manager.c (mono_security_manager_get_methods):
LinkDemandSecurityException now has 2 arguments instead of 3.

2007-08-28  Mark Probst  <mark.probst@gmail.com>

* mini.c (check_linkdemand): Remove embedded reference object in
call to LinkDemandSecurityException.
(mono_jit_compile_method_inner): Call LinkDemandSecurityException
with an IntPtr instead of a reference object.

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

16 years ago2007-08-28 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 28 Aug 2007 09:42:00 +0000 (09:42 -0000)]
2007-08-28  Mark Probst  <mark.probst@gmail.com>

* SecurityManager.cs: Changed method argument of
LinkDemandSecurityException to IntPtr and removed the assembly
argument (which can be gotten to via the method), to avoid having
to embed reference object values in the native code.

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

16 years ago2007-08-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 28 Aug 2007 09:34:30 +0000 (09:34 -0000)]
2007-08-28  Zoltan Varga  <vargaz@gmail.com>

* mini.c (handle_initobj): Handle alignment properly.

* inssel.brg (mini_emit_memset): Ditto.

* inssel.brg (mini_emit_memcpy): Ditto.

* inssel-sparc.brg: Ditto.

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

16 years ago2007-08-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 28 Aug 2007 09:14:36 +0000 (09:14 -0000)]
2007-08-28  Zoltan Varga  <vargaz@gmail.com>

* mini.h mini.c inssel-*.brg: Pass alignment information to OP_MEMCPY/MEMSET.

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

16 years agoadjust ignore
Jb Evain [Mon, 27 Aug 2007 22:49:14 +0000 (22:49 -0000)]
adjust ignore

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

16 years agocreate only one assembly for the tunning linker steps
Jb Evain [Mon, 27 Aug 2007 22:48:19 +0000 (22:48 -0000)]
create only one assembly for the tunning linker steps

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

16 years ago2007-08-28 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 27 Aug 2007 22:19:38 +0000 (22:19 -0000)]
2007-08-28  Jb Evain  <jbevain@novell.com>

* Makefile: mdb support.

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

16 years ago2007-08-27 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 27 Aug 2007 21:27:59 +0000 (21:27 -0000)]
2007-08-27  Jb Evain  <jbevain@novell.com>

* Mono.Linker/Driver.cs
  Mono.Linker/Annotations.cs
  Mono.Linker/LinkContext.cs
  Mono.Linker.Steps/OutputStep.cs:
Implement symbols loading/saving.

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

16 years ago2007-08-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 27 Aug 2007 20:02:12 +0000 (20:02 -0000)]
2007-08-27  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_layout_fields): Only do the struct alignment hack on
platforms which need it.

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

16 years ago2007-08-27 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 27 Aug 2007 19:14:50 +0000 (19:14 -0000)]
2007-08-27  Jonathan Pobst  <monkey@jpobst.com>

* LabelEditTextBox.cs, TreeView.cs: After hiding the textbox used
for label editting, make sure we focus back on the TreeView.
[Fixes bug #82590]

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

16 years ago2007-08-27 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 27 Aug 2007 19:11:12 +0000 (19:11 -0000)]
2007-08-27  Jb Evain  <jbevain@novell.com>

* Makefile: integrate Mono.Cecil.Mdb in the build.

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

16 years ago2007-08-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 27 Aug 2007 18:54:40 +0000 (18:54 -0000)]
2007-08-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Add some 2.0 overrides.

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

16 years agoprotect against null assembly
Jb Evain [Mon, 27 Aug 2007 18:22:37 +0000 (18:22 -0000)]
protect against null assembly

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

16 years agodon't write method without debugging info
Jb Evain [Mon, 27 Aug 2007 18:09:30 +0000 (18:09 -0000)]
don't write method without debugging info

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

16 years ago2007-08-27 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 27 Aug 2007 17:53:51 +0000 (17:53 -0000)]
2007-08-27  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Mdb/MdbWriter.cs:
Rewrite using the direct mdb api.

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

16 years ago2007-08-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 27 Aug 2007 17:38:26 +0000 (17:38 -0000)]
2007-08-27  Atsushi Enomoto  <atsushi@ximian.com>

        * IPGlobalProperties.cs : implemented remaining methods in
          MibIPGlobalProperties. Support /usr/compat/linux/proc
          for some BSD environment.

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

16 years agoadd readme and authors
Jb Evain [Mon, 27 Aug 2007 16:44:38 +0000 (16:44 -0000)]
add readme and authors

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

16 years agodelete
Jb Evain [Mon, 27 Aug 2007 16:32:22 +0000 (16:32 -0000)]
delete

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

16 years agoadd build files
Jb Evain [Mon, 27 Aug 2007 16:32:09 +0000 (16:32 -0000)]
add build files

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

16 years ago2007-08-27 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 27 Aug 2007 16:30:41 +0000 (16:30 -0000)]
2007-08-27  Jb Evain  <jbevain@novell.com>

* MonoSymbolFile.cs, SymbolWriterImpl.cs: add some Cecil specific
code protected by a CECIL defined.

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

16 years agoMon Aug 27 18:29:12 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 27 Aug 2007 16:04:25 +0000 (16:04 -0000)]
Mon Aug 27 18:29:12 CEST 2007 Paolo Molaro <lupus@ximian.com>

* sgen-gc.c: unregister thread data structures with a pthread_key_t
dtor.

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

16 years agoMon Aug 27 18:27:35 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 27 Aug 2007 16:03:04 +0000 (16:03 -0000)]
Mon Aug 27 18:27:35 CEST 2007 Paolo Molaro <lupus@ximian.com>

* threads.c: free the thread static data on thread exit.

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

16 years agomoved
Jb Evain [Mon, 27 Aug 2007 14:56:54 +0000 (14:56 -0000)]
moved

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

16 years ago * Form.cs: Uses opacity var instead of Opacity property in CreateHandle
Everaldo Canuto [Mon, 27 Aug 2007 14:32:18 +0000 (14:32 -0000)]
* Form.cs: Uses opacity var instead of Opacity property in CreateHandle
because getter dont returns right value before handle creation. Thanks
to George. Fixes #82569.

2007-08-27  Everaldo Canuto  <ecanuto@novell.com>

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

16 years ago2007-08-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 27 Aug 2007 13:19:41 +0000 (13:19 -0000)]
2007-08-27  Atsushi Enomoto  <atsushi@ximian.com>

        * IPGlobalProperties.cs, TcpStatistics.cs,
          IPGlobalStatistics.cs, IcmpV4Statistics.cs,
          IcmpV6Statistics.cs, UdpStatistics.cs :
          and here is non-Windows version, based on /proc/net/snmp(6).

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

16 years ago * Theme.cs: Revert last patch, it causes error under win32.
Everaldo Canuto [Mon, 27 Aug 2007 13:15:51 +0000 (13:15 -0000)]
* Theme.cs: Revert last patch, it causes error under win32.

2007-08-27  Everaldo Canuto  <ecanuto@novell.com>

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

16 years ago2007-08-27 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Mon, 27 Aug 2007 13:06:17 +0000 (13:06 -0000)]
2007-08-27  Everaldo Canuto  <ecanuto@novell.com>
* Theme.cs: Uses Environment.SpecialFolder.DesktopDirectory instead of
Environment.SpecialFolder.Desktop in Places method, Desktop returns the
logical Desktop rather than the physical file system location. Fixes #82603.

2007-08-26  Everaldo Canuto  <ecanuto@novell.com>

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

16 years ago2007-08-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 27 Aug 2007 12:50:59 +0000 (12:50 -0000)]
2007-08-27  Marek Habersack  <mhabersack@novell.com>

            * HttpCookieTest.cs: the ToStringTest works now.

2007-08-27  Marek Habersack  <mhabersack@novell.com>

            * HttpCookie.cs: make sure a key is output even if it has no
            values set. Fixes bug #81333.

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

16 years ago2007-08-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 27 Aug 2007 12:16:31 +0000 (12:16 -0000)]
2007-08-27  Marek Habersack  <mhabersack@novell.com>

            * HtmlForm.cs: make sure the ID is set before HtmlControls renders
            the attributes. Fixes bug #82596

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

16 years agoMon Aug 27 10:55:54 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 27 Aug 2007 08:31:26 +0000 (08:31 -0000)]
Mon Aug 27 10:55:54 CEST 2007 Paolo Molaro <lupus@ximian.com>

* class.c: walk the hierarchy to find the generic definition for
a class (fixes runtime part of bug #82498).

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

16 years ago2007-08-22 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Mon, 27 Aug 2007 07:51:01 +0000 (07:51 -0000)]
2007-08-22  Everaldo Canuto  <ecanuto@novell.com>

* MessageBox.cs: Add clipboard copy (ctrl+c) to messagebox. Thanks Andy Hume
for the patch. Fixes #82568.

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

16 years ago2007-08-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 27 Aug 2007 04:42:29 +0000 (04:42 -0000)]
2007-08-27  Atsushi Enomoto  <atsushi@ximian.com>

* IPGlobalProperties.cs, TcpConnectionInformation.cs,
  TcpStatistics.cs, IPGlobalStatistics.cs, IcmpV4Statistics.cs,
  IcmpV6Statistics.cs, UdpStatistics.cs :
  initial implementation of IPGlobalProperties and its children
  for Win32 API, mostly done. Non-Windows implementation should
  follow.

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

16 years ago * ListView.cs: Add a pair of missing 2.0 ListViewItemCollection.Insert
Carlos Alberto Cortez [Mon, 27 Aug 2007 00:41:16 +0000 (00:41 -0000)]
* ListView.cs: Add a pair of missing 2.0 ListViewItemCollection.Insert
methods.

2007-08-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2007-08-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 27 Aug 2007 00:16:26 +0000 (00:16 -0000)]
2007-08-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* System.Windows.Forms.dll.sources: Add new ListViewInsertionMark.cs
file.

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

16 years ago2007-08-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 27 Aug 2007 00:16:03 +0000 (00:16 -0000)]
2007-08-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewInsertionMark.cs: New stubbed class.

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

16 years ago2007-08-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 26 Aug 2007 20:48:30 +0000 (20:48 -0000)]
2007-08-26  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (mono_handle_exception_internal): Skip the first frame for
exceptions raised in unmanaged code. Fixes part of #82594.

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

16 years agoNew tests.
Marek Safar [Sun, 26 Aug 2007 11:09:27 +0000 (11:09 -0000)]
New tests.

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

16 years ago2007-08-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 26 Aug 2007 11:07:13 +0000 (11:07 -0000)]
2007-08-26  Marek Safar  <marek.safar@gmail.com>

* attribute.cs (IsClsCompliant): Add nullable types test.

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

16 years agonomd5 fix
Roei Erez [Sun, 26 Aug 2007 05:27:00 +0000 (05:27 -0000)]
nomd5 fix

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

16 years ago* FolderBrowserDialog.cs: When adding folder, immediately create the
Gert Driesen [Sat, 25 Aug 2007 12:36:31 +0000 (12:36 -0000)]
* FolderBrowserDialog.cs: When adding folder, immediately create the
directory with temporary name and rename the directory when editing
finishes. This matches MS. Ensure the node for the new folder is
selected and LabelEdit is disabled, when editing is either finished
or cancelled.

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

16 years ago* TreeView.cs: When editing label of node, ensure node is visible.
Gert Driesen [Sat, 25 Aug 2007 09:20:18 +0000 (09:20 -0000)]
* TreeView.cs: When editing label of node, ensure node is visible.

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

16 years ago2007-08-25 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 25 Aug 2007 08:11:30 +0000 (08:11 -0000)]
2007-08-25  Ivan N. Zlatev  <contact@i-nz.net>

        * NestedContainer.cs: implemented.
        * NestedContainerTest.cs: add.

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

16 years ago2007-08-25 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 25 Aug 2007 07:44:55 +0000 (07:44 -0000)]
2007-08-25  Ivan N. Zlatev  <contact@i-nz.net>

* TypeDescriptionProvider.cs: implemented.
* TypeDescriptionProviderAttribute.cs: implemented.
* CustomTypeDescriptor.cs: implemented.
* TypeDescriptor.cs: Implement CreateInstance.

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

16 years ago2007-08-25 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 25 Aug 2007 07:36:31 +0000 (07:36 -0000)]
2007-08-25  Ivan N. Zlatev  <contact@i-nz.net>

        * PropertyGridView.cs: Set the value only if it has changed.

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

16 years agoResurrect r84839
Robert Jordan [Sat, 25 Aug 2007 06:25:01 +0000 (06:25 -0000)]
Resurrect r84839

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

16 years agoreverted changes for datetime serialization
Alan McGovern [Sat, 25 Aug 2007 02:32:55 +0000 (02:32 -0000)]
reverted changes for datetime serialization

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

16 years agoIn System:
Robert Jordan [Sat, 25 Aug 2007 00:46:18 +0000 (00:46 -0000)]
In System:
2007-08-25  Robert Jordan  <robertj@gmx.net>

* DateTime.cs: Implement internal To/FromBinary for the 1.1 profile.

In System.Runtime.Serialization.Formatters.Binary:
2007-08-25  Robert Jordan  <robertj@gmx.net>

* ObjectReader.cs, ObjectWriter.cs, CodeGenerator.cs:
Use DateTime.From/ToBinary. Fixes #82400.

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

16 years ago2007-08-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 24 Aug 2007 23:17:22 +0000 (23:17 -0000)]
2007-08-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: Some more code refactoring to add support sorting
with groups (now for Details view). Remove unused code also.

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

16 years ago2007-08-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 24 Aug 2007 22:30:27 +0000 (22:30 -0000)]
2007-08-24  Jonathan Pobst  <monkey@jpobst.com>

* NodeLabelEditEventArgs.cs: EndEdit immediately when CancelEdit is called.
Not a big fan of reacting immediately to a field in an EventArg, but that's
the way it's done.  (This is part of the previous commit that got left out.)

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

16 years ago* FolderBrowserDialog.cs: Removed need for separate description field.
Gert Driesen [Fri, 24 Aug 2007 22:14:47 +0000 (22:14 -0000)]
* FolderBrowserDialog.cs: Removed need for separate description field.
Replaced "" with string.Empty. Fixed tabindex. Ensure OK button
has focus when dialog box is displayed again, regardless of what
button was pressed the previous time. Set RootFolder and SelectedPath
each time dialog box is displayed. This ensures the treeview is
refreshed, and fixes bug #82579. Do no hide selected node in TreeView
when it does not have focus. Added support for more special folders.
* FolderBrowserDialogTest.cs: Added tests for Description and
ShowNewFolderButton.

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

16 years ago2007-08-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 24 Aug 2007 21:35:38 +0000 (21:35 -0000)]
2007-08-25  Zoltan Varga  <vargaz@gmail.com>

* ArrayList.cs: Fix overflows in BinarySearch and qsort.

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

16 years ago2007-08-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 24 Aug 2007 21:33:40 +0000 (21:33 -0000)]
2007-08-24  Zoltan Varga  <vargaz@gmail.com>

* Array.cs: Fix min + max / 2 overflows in the BinarySearch and qsort methods.
Fixes #82469.

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

16 years ago2007-08-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 24 Aug 2007 21:23:41 +0000 (21:23 -0000)]
2007-08-24  Zoltan Varga  <vargaz@gmail.com>

* CalendricalCalculations.cs: Fix a warning.

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

16 years ago2007-08-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 24 Aug 2007 21:03:58 +0000 (21:03 -0000)]
2007-08-24  Jonathan Pobst  <monkey@jpobst.com>

* TreeView.cs: Create a CancelEdit method.  Clone the edit_args in EndEdit
before calling AfterLabelEdit.  If the user calls BeginEdit in that event,
it resets the edit_args.
* TreeNode.cs: Call CancelEdit if the user passes cancel = true to EndEdit.
[Fixes bug #82577]

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

16 years ago* System.Windows.Forms_test.dll.sources: Added
Gert Driesen [Fri, 24 Aug 2007 19:03:20 +0000 (19:03 -0000)]
* System.Windows.Forms_test.dll.sources: Added
FolderBrowserDialogTest.cs.
* FolderBrowserDialogTest.cs: Added tests for SelectedPath and
RootFolder.
* SaveFileDialogTest.cs: Renamed class and improved AddExtension test.
* FolderBrowserDialog.cs: Modifies form caption and text of new folder
button to match MS. Provide more meaningful exception message for
invalid RootFolder value. Use zero-length string when SelectedPath
is set to null. Allow non-rooted paths in SelectedPath, but ignore
them in FolderBrowserTreeView. Allow folders to be created in
RootFolder. Fixes bug #82576.

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

16 years ago2007-08-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 24 Aug 2007 18:49:55 +0000 (18:49 -0000)]
2007-08-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Correctly compute the layout_ht (height) when using groups,
since we need to take into account the group headers and the margin
between them.
* ListViewGroup.cs: Add a rows field to store the number of rows per
group.

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

16 years ago2007-08-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 24 Aug 2007 18:39:57 +0000 (18:39 -0000)]
2007-08-24  Zoltan Varga  <vargaz@gmail.com>

* assembly.c (mono_assembly_close): Move the closing of the referenced assemblies to
...

* image.c (mono_image_close): Here. Hopefully fixes #82510.

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

16 years ago* DateTimePicker.cs: The MS' MTB has a really stupid year formatting.
Rolf Bjarne Kvinge [Fri, 24 Aug 2007 17:19:41 +0000 (17:19 -0000)]
* DateTimePicker.cs: The MS' MTB has a really stupid year formatting.
  Anyways, let's just follow the lead.

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

16 years ago2007-08-24 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 24 Aug 2007 16:54:35 +0000 (16:54 -0000)]
2007-08-24  Mark Probst  <mark.probst@gmail.com>

* coreclr-security.cs, Makefile.am: Added test for CoreCLR
security.

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

16 years ago2007-08-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 24 Aug 2007 15:04:33 +0000 (15:04 -0000)]
2007-08-24  Jonathan Pobst  <monkey@jpobst.com>

* CheckBox.cs: Set the AutoSizeMode to GrowAndShrink.
* Form.cs, GroupBox.cs: Don't skip Right or Bottom anchored
controls in GetPreferredSizeCore.
* ThemeWin32Classic.cs: Tweak text drawing of CheckBoxes.
[Fixes bug #82488]

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

16 years agoops.
Ivan Zlatev [Fri, 24 Aug 2007 14:52:24 +0000 (14:52 -0000)]
ops.

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

16 years ago2007-08-24 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 24 Aug 2007 14:43:00 +0000 (14:43 -0000)]
2007-08-24  Ivan N. Zlatev <contact@i-nz.net>

* System.Design.dll.sources: add MultilineStringEditor.cs.

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

16 years ago* GridViewTest.cs: Code formatting.
Gert Driesen [Fri, 24 Aug 2007 14:00:43 +0000 (14:00 -0000)]
* GridViewTest.cs: Code formatting.

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

16 years ago2007-08-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 24 Aug 2007 13:22:51 +0000 (13:22 -0000)]
2007-08-24  Jonathan Pobst  <monkey@jpobst.com>

* PrintDialog.cs: Need to instantiate the form variable here too.

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

16 years ago2007-08-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 24 Aug 2007 12:31:11 +0000 (12:31 -0000)]
2007-08-24  Atsushi Enomoto  <atsushi@ximian.com>

* SslStream.cs : uh, fixed the build.

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

16 years ago2007-08-24 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 24 Aug 2007 12:07:37 +0000 (12:07 -0000)]
2007-08-24  Mark Probst  <mark.probst@gmail.com>

* monodiet.c (handle_cattrs): Fixed a custom attr leak.

2007-08-24  Mark Probst  <mark.probst@gmail.com>

* mini.c (mono_method_to_ir), declsec.c
(mono_declsec_linkdemand_aptc): Fixed custom attr leaks.

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

16 years ago2007-08-24 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 24 Aug 2007 11:59:58 +0000 (11:59 -0000)]
2007-08-24  Robert Jordan  <robertj@gmx.net>

* appdomain.c: don't perform the ':'->';' substitution on Win32.

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

16 years ago* ResourceManagerTest.cs: Improved existing tests. Ensure all resources
Gert Driesen [Fri, 24 Aug 2007 11:25:36 +0000 (11:25 -0000)]
* ResourceManagerTest.cs: Improved existing tests. Ensure all resources
are released. Fixes test failures on Windows.
* ResourceWriterTest.cs: Added test for bug #82566.
* ResourceReaderTest.cs: Improved existing tests. Ensure all resources
are released. Fixed test failures on Windows.

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

16 years ago* ResourceReader.cs: Fixed exception message to match MS. Removed
Gert Driesen [Fri, 24 Aug 2007 11:22:04 +0000 (11:22 -0000)]
* ResourceReader.cs: Fixed exception message to match MS. Removed
duplicate checks from string ctor.

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

16 years ago* BinaryReader.cs: Fixed line endings.
Gert Driesen [Fri, 24 Aug 2007 10:51:01 +0000 (10:51 -0000)]
* BinaryReader.cs: Fixed line endings.
* FileStream.cs: Rename name argument to path. Spaces to tabs.

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

16 years ago2007-08-24 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 24 Aug 2007 10:38:37 +0000 (10:38 -0000)]
2007-08-24  Jb Evain  <jbevain@novell.com>

* TypeTest.cs: Add tests for AssemblyQualifiedName for
byref types.

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

16 years ago2007-08-24 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 24 Aug 2007 10:36:22 +0000 (10:36 -0000)]
2007-08-24  Jb Evain  <jbevain@novell.com>

* class.c (mono_type_get_name_recurse): fix AssemblyQualifiedName
for byref types.

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

16 years ago2007-08-24 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 24 Aug 2007 10:10:53 +0000 (10:10 -0000)]
2007-08-24  Mark Probst  <mark.probst@gmail.com>

* threads.c: Make sure a thread gets cleaned up only once.  Fixes
#82286.

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

16 years ago2007-08-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 24 Aug 2007 09:42:40 +0000 (09:42 -0000)]
2007-08-24  Atsushi Enomoto  <atsushi@ximian.com>

    System.Net.Security:
* SslStream.cs : implemented, based on Mono.Security.
* LocalCertificateSelectionCallback.cs : extern alias is needed.

    System(topdir):
* Makefile : split PREBUILT_DEP from CONFIGURATION_DEP so that the
  prebuilt System.dll could be referenced for security stuff too.

    Test/tools/mutual:
* Makefile, ca.pem, client.p12, client.pem, mutual.cs, server.sh,
  server_cert.pem, server_key.pem, serveropt.sh:
  ported from Mono.Security
* README : forwarding.

    Test/tools/server:
* Makefile, msslserver.cs, mutual.pem : ported from Mono.Security.
* README : forwarding.

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

16 years ago2007-08-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 24 Aug 2007 09:31:55 +0000 (09:31 -0000)]
2007-08-24  Atsushi Enomoto  <atsushi@ximian.com>

* doc.cs : catch other types of exception than XmlException to
  report CS1570. Fixed bug #82565.

* cs1570-12.cs : new test (bug #82565).

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

16 years ago2007-08-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 24 Aug 2007 06:18:35 +0000 (06:18 -0000)]
2007-08-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewGroupTest.cs: New assertions for a pair of tests.

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

16 years ago2007-08-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 24 Aug 2007 06:12:38 +0000 (06:12 -0000)]
2007-08-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Do some reorganization to support sorting in groups,
by doing the layout sequentially in ListView.Items. Also add support
for the Default Group, which should be available for items with no
group assigned.
* ListViewGroup.cs: Add support for DefaultGroup. Include new members
for storing layout info also.
* ListViewGroupCollection.cs: Add a DefaultGroup as part of the
collection, as well as providing internal members to do a traversal
including the default group (needed when doing layout/drawing).
* ThemeWin32Classic.cs: When drawing group headers use internal
ListViewGroupCollection members to take into account the default
group.

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

16 years ago2007-08-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 24 Aug 2007 01:52:43 +0000 (01:52 -0000)]
2007-08-24  Zoltan Varga  <vargaz@gmail.com>

* assembly.c: Fix a warning.

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

16 years ago2007-08-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 23 Aug 2007 23:27:16 +0000 (23:27 -0000)]
2007-08-24  Marek Habersack  <mhabersack@novell.com>

            * ApplicationHostTest.cs: use ; as the separator in the
            PrivateBinPath test.

2007-08-24  Marek Habersack  <mhabersack@novell.com>

            * ApplicationHost.cs: use ; as the separator with PrivateBinPath.

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

16 years ago2007-08-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 23 Aug 2007 23:05:12 +0000 (23:05 -0000)]
2007-08-23  Marek Habersack  <mhabersack@novell.com>

        * appdomain.c: parse the <runtime> section looking for the probing
        element with the 'privatePath' attribute, which sets additional
        directories in which the runtime should look for assemblies.

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

16 years ago2007-08-23 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Thu, 23 Aug 2007 21:14:43 +0000 (21:14 -0000)]
2007-08-23  George Giolfan  <georgegiolfan@yahoo.com>

* FlowLayoutPanel.cs: Add GetPreferredSizeCore.  [Fixes bug #82537]

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