mono.git
18 years ago2006-05-17 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 17 May 2006 21:23:16 +0000 (21:23 -0000)]
2006-05-17  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs: If client_window ends up being width or height zero
  due to border settings, move it off window inside whole_window (#78433)

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

18 years ago2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 17 May 2006 21:10:16 +0000 (21:10 -0000)]
2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ImageAnimator.cs: get the FrameDelay from the image properties, if
available. Remove ^Ms.

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

18 years agoadd this back
Gonzalo Paniagua Javier [Wed, 17 May 2006 20:09:39 +0000 (20:09 -0000)]
add this back

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

18 years ago System.Drawing_test.dll.sources: Added unit tests for Pen.
Sebastien Pouliot [Wed, 17 May 2006 20:04:56 +0000 (20:04 -0000)]
 System.Drawing_test.dll.sources: Added unit tests for Pen.

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

18 years ago2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 17 May 2006 20:03:15 +0000 (20:03 -0000)]
2006-05-17  Sebastien Pouliot  <sebastien@ximian.com>

* PenTest.cs: New. Unit tests for Pen.

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

18 years ago2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 17 May 2006 19:57:07 +0000 (19:57 -0000)]
2006-05-17  Sebastien Pouliot  <sebastien@ximian.com>

* Pen.cs: Get the pen color from the solid brush (when applicable).
Added missing validations for most properties. Always return a clone
of the internal brush (so no one can dispose of it in our back).

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

18 years ago * Mime.cs: Shrink the mime file cache correctly.
Alexander Olk [Wed, 17 May 2006 19:11:48 +0000 (19:11 -0000)]
* Mime.cs: Shrink the mime file cache correctly.

2006-05-17  Alexander Olk  <alex.olk@googlemail.com>

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

18 years agoTemporarily disable.
Martin Baulig [Wed, 17 May 2006 19:01:03 +0000 (19:01 -0000)]
Temporarily disable.

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

18 years ago2006-05-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 17 May 2006 18:59:53 +0000 (18:59 -0000)]
2006-05-17  Martin Baulig  <martin@ximian.com>

* pthread-support.c, pthread-stop-world.c: Put the debugger stuff
inside a `#if LIBGC_MONO_DEBUGGER_SUPPORTED' conditional.

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

18 years ago* driver.cs: Pass filename without path to AssemblyBuilder's
Gert Driesen [Wed, 17 May 2006 18:33:43 +0000 (18:33 -0000)]
* driver.cs: Pass filename without path to AssemblyBuilder's
AddResourceFile. Fixes bug #78407.
* test-513.cs: New test for bug #78407.

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

18 years ago2006-05-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 17 May 2006 18:30:38 +0000 (18:30 -0000)]
2006-05-17  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_emit_native_wrapper): Make the marshalling code more
uniform by moving stuff from this function to the proper emit_marshal_XXX functions.

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

18 years ago2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 17 May 2006 18:24:05 +0000 (18:24 -0000)]
2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Color.cs: make it serialization-compatible with MS. Fixes bug #78265.

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

18 years ago2006-05-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 17 May 2006 17:52:47 +0000 (17:52 -0000)]
2006-05-17  Zoltan Varga  <vargaz@gmail.com>

* pinvoke2.cs libtest.c: Add tests for marshalling UnmanagedType.LPStruct.

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

18 years ago2006-05-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 17 May 2006 17:51:16 +0000 (17:51 -0000)]
2006-05-17  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (emit_marshal_vtype): Add limited support for
UnmanagedType.LPStruct. Fixes #78427.

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

18 years ago2006-05-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 May 2006 17:20:02 +0000 (17:20 -0000)]
2006-05-17  Atsushi Enomoto  <atsushi@ximian.com>

* SettingsPropertyCollection.cs : implemented some synchronization
  releated members. Actually it can never be synchronized by itself.
* SettingsBase.cs : Synchronized() just returns the same instance,
  marking it as IsSynchronized = true. Fixed bug #78430.

* LocalFileSettingsProviderTest.cs : commented some lines in
  Initialized() as they don't work under .NET.
* ApplicationSettingsBaseTest.cs : added Synchronized(), test for
  bug #78430.

* SwitchesTest.cs : Ignore NewSwitch under 2.0 as it fails under
  .NET.

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

18 years agoWed May 17 19:00:15 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 17 May 2006 17:03:10 +0000 (17:03 -0000)]
Wed May 17 19:00:15 CEST 2006 Paolo Molaro <lupus@ximian.com>

* mono-hash.h, mono-hash.c: changed the code so we're able to
specify if the key or value or both are managed objects.

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

18 years ago2006-05-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 17 May 2006 16:57:17 +0000 (16:57 -0000)]
2006-05-17  Zoltan Varga  <vargaz@gmail.com>

* marshal8.cs: Applied a patch from Jonathan Chambers to add a test case to
#77523.

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

18 years ago2006-05-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 17 May 2006 16:56:24 +0000 (16:56 -0000)]
2006-05-17  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (ves_icall_System_Runtime_InteropServices_Marshal_PtrToStructure):
Applied a patch from kangaroo to fix #77523.

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

18 years ago2006-05-17 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Wed, 17 May 2006 16:33:42 +0000 (16:33 -0000)]
2006-05-17  Alexander Olk  <alex.olk@googlemail.com>

* ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)

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

18 years agoWed May 17 18:07:33 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 17 May 2006 16:08:13 +0000 (16:08 -0000)]
Wed May 17 18:07:33 CEST 2006 Paolo Molaro <lupus@ximian.com>

* debug-debugger.c: fix the build.

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

18 years agofix typo
Andrew Skiba [Wed, 17 May 2006 16:05:00 +0000 (16:05 -0000)]
fix typo

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

18 years agorename methods so nunit does not try to run them as tests
Andrew Skiba [Wed, 17 May 2006 15:50:22 +0000 (15:50 -0000)]
rename methods so nunit does not try to run them as tests

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

18 years agoNunitWeb category works with make run-test-ondotnet
Andrew Skiba [Wed, 17 May 2006 15:16:59 +0000 (15:16 -0000)]
NunitWeb category works with make run-test-ondotnet

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

18 years agomove resources to the default namespace
Andrew Skiba [Wed, 17 May 2006 14:57:18 +0000 (14:57 -0000)]
move resources to the default namespace

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

18 years ago* nunitweb_config.xml: similar to almost_config.xml but ignores more stuff
Andrew Skiba [Wed, 17 May 2006 14:56:26 +0000 (14:56 -0000)]
* nunitweb_config.xml: similar to almost_config.xml but ignores more stuff
* NunitWebTest.cs: use nunit_config.xml and fallback on XmlException

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

18 years agouse TARGET_JVM for java specific code
Andrew Skiba [Wed, 17 May 2006 14:52:15 +0000 (14:52 -0000)]
use TARGET_JVM for java specific code

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

18 years ago2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 17 May 2006 14:33:13 +0000 (14:33 -0000)]
2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TestBmpCodec.cs: Bitmap24bitFeatures works now.

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

18 years agofix typo
Gonzalo Paniagua Javier [Wed, 17 May 2006 14:32:11 +0000 (14:32 -0000)]
fix typo

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

18 years ago2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 17 May 2006 14:27:48 +0000 (14:27 -0000)]
2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Bitmap.cs: (Clone) use the 'format' argument instead of the
PixelFormat.

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

18 years agoIn mcs:
Raja R Harinath [Wed, 17 May 2006 13:31:26 +0000 (13:31 -0000)]
In mcs:
* statement.cs (LabeledStatement.Resolve): Move merging of origins ...
* flowanalysis.cs (FlowBranchingLabeled): ... here.
(FlowBranching.MergeChild): Overwrite
reachability information from Labeled branchings too.

In gmcs:
* statement.cs (LabeledStatement.Resolve): Move merging of origins ...
* flowanalysis.cs (FlowBranchingLabeled): ... here.
(FlowBranching.MergeChild): Overwrite
reachability information from Labeled branchings too.

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

18 years ago2006-05-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 17 May 2006 10:52:47 +0000 (10:52 -0000)]
2006-05-17  Martin Baulig  <martin@ximian.com>

* debug-debugger.c
(debugger_thread_vtable): Moved here from ../metadata/threads.c.
(debugger_init_threads): Formerly known as mono_debugger_init_threads().
(debugger_finalize_threads): Formaly known as mono_debugger_finalize_threads().
(debugger_attach): Call GC_mono_debugger_add_all_threads().

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

18 years ago2006-05-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 17 May 2006 10:52:16 +0000 (10:52 -0000)]
2006-05-17  Martin Baulig  <martin@ximian.com>

* threads.c
(debugger_thread_vtable): Moved into ../mini/debug-debugger.c.
(debugger_thread_created): Removed.
(debugger_thread_exited): Removed.

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

18 years ago2006-05-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 17 May 2006 10:51:31 +0000 (10:51 -0000)]
2006-05-17  Martin Baulig  <martin@ximian.com>

Fix a weird race condition which prevented XSP from working inside
the debugger - see doc/debugger-issues.txt for details.

* include/gc.h: Moved the "libgc-mono-debugger.h" #include down
after the gc_pthread_redirects.h one.

* include/libgc-mono-debugger.h
(GCThreadFunctions): Added `thread_created' and `thread_exited'.
(GC_mono_debugger_add_all_threads): New function prototype.

* pthread_stop_world.c (gc_thread_vtable): Allow the vtable and
any function in it be NULL; use NULL as the default vtable.
(GC_mono_debugger_add_all_threads): New public function.

* pthread_support.c (GC_new_thread): Use calloc() instead of
GC_INTERNAL_MALLOC() to allocate the `GC_thread' structure.
(GC_delete_thread): Call `gc_thread_vtable->thread_exited()'.
(GC_thr_init): Call `gc_thread_vtable->thread_created()'.
(GC_start_routine_head): Likewise; use calloc() instead of
GC_INTERNAL_MALLOC() to allocate the `start_info'.

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

18 years agosvn path=/trunk/mcs/; revision=60765
Yoni Klain [Wed, 17 May 2006 10:50:03 +0000 (10:50 -0000)]
svn path=/trunk/mcs/; revision=60765

18 years ago Fix test to work on windows.
Jackson Harper [Wed, 17 May 2006 00:55:36 +0000 (00:55 -0000)]
    Fix test to work on windows.

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

18 years ago2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 16 May 2006 23:55:17 +0000 (23:55 -0000)]
2006-05-16  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs (AddExpose): More sanity checks

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

18 years ago2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 16 May 2006 23:44:04 +0000 (23:44 -0000)]
2006-05-16  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs:
  - AddExpose: Don't add expose ranges outside the size of our
    window
  - Cast opacity values to Int32 to avoid crashes with certain
    values
  - Added disabled code paths that protect against illegal cross-
    thread painting (Developers.exe)

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

18 years ago2006-05-16 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 16 May 2006 23:10:57 +0000 (23:10 -0000)]
2006-05-16  Miguel de Icaza  <miguel@novell.com>

* DataGridTest.cs: Add a test case based on 78420, confirm that
the fix works.

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

18 years ago2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 16 May 2006 23:06:11 +0000 (23:06 -0000)]
2006-05-16  Peter Dennis Bartok  <pbartok@novell.com>

* ProgressBar.cs: Invalidate the control when it's resized
  since block size is based on control size. (#78388)

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

18 years ago2006-05-16 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 16 May 2006 23:01:38 +0000 (23:01 -0000)]
2006-05-16  Miguel de Icaza  <miguel@novell.com>

* DataGrid.cs (SetDataBinding): per the discussion on irc, instead
of setting the incoming argument to the "reset" value, we set the
this.datamember to string.empty (before we were invalidating the
incoming data).

Fixes 78420

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

18 years ago2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 16 May 2006 22:15:44 +0000 (22:15 -0000)]
2006-05-16  Peter Dennis Bartok  <pbartok@novell.com>

* Form.cs: Only apply transparency settings after the form
  is created. (Fixes #77800)

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

18 years ago2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 16 May 2006 21:55:55 +0000 (21:55 -0000)]
2006-05-16  Peter Dennis Bartok  <pbartok@novell.com>

* ApplicationContext.cs: Grab the HandleDestroyed event so
  we know when to fire OnMainFormClosed

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

18 years ago2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 16 May 2006 21:37:58 +0000 (21:37 -0000)]
2006-05-16  Peter Dennis Bartok  <pbartok@novell.com>

* Application.cs: Introduced sub-class to allow tracking of
  threads and centralized triggering of the event mess for
  ThreadExit, AppExit, etc..  (#76156)

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

18 years ago2006-05-16 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Tue, 16 May 2006 20:18:04 +0000 (20:18 -0000)]
2006-05-16  Alexander Olk  <alex.olk@googlemail.com>

* MimeIcon.cs:
  - Do not return a null icon index value for a mime subclass.
    Instead try the main mime type class too.
  - Seems that some newer distributions don't have a link to some
    gnome default icons anymore. So check the default gnome dir too.

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

18 years ago * MdiClient.cs: Don't paint the parent background image if we
Jackson Harper [Tue, 16 May 2006 19:34:39 +0000 (19:34 -0000)]
    * MdiClient.cs: Don't paint the parent background image if we
        * have
        our own background image.

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

18 years ago2006-05-16 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 16 May 2006 16:57:42 +0000 (16:57 -0000)]
2006-05-16  Dick Porter  <dick@ximian.com>

        * processes.c (process_set_termination_details): Unref the handle
        when we've stored the exit details.  Fixes the rest of 78241.

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

18 years ago2006-05-16 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 16 May 2006 16:57:41 +0000 (16:57 -0000)]
2006-05-16  Dick Porter  <dick@ximian.com>

        * Process.cs: Dispose the handle from a destructor too

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

18 years ago2006-05-17 Kazuki Oikawa <kazuki@panicode.com>
Kazuki Oikawa [Tue, 16 May 2006 16:39:27 +0000 (16:39 -0000)]
2006-05-17  Kazuki Oikawa  <kazuki@panicode.com>

* HttpUtility.cs: implemented ParseQueryString
* HttpUtilityTest.cs: added tests for HttpUtility.ParseQueryString.

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

18 years ago2006-05-17 Kazuki Oikawa <kazuki@panicode.com>
Kazuki Oikawa [Tue, 16 May 2006 16:34:16 +0000 (16:34 -0000)]
2006-05-17  Kazuki Oikawa  <kazuki@panicode.com>

* Array.cs : added internal sort method used
  in System.Collections.Generics.List<T>.Sort(Comparison<T>).
* List.cs : implemented Sort(Comparison <T>).

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

18 years ago2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 16 May 2006 15:06:14 +0000 (15:06 -0000)]
2006-05-16  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs:
  - PerformLayout: Do not shrink space filled by DockStyle.Fill
    controls, all filled controls are supposed to overlap (#78080)
  - UpdateZOrder is supposed to update the control's z-order in the
    parent's z-order chain. Fixed to behave like that
  - BringToFront: Removed obsolete code
  - SendToBack: Simplyfied
  - SetChildIndex: Trigger layout calculations when Z-order changes
    since layout is done by z-order

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

18 years agoFilename fix
Boris Kirzner [Tue, 16 May 2006 14:02:15 +0000 (14:02 -0000)]
Filename fix

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

18 years agoPass java security parameters to jvm.
Boris Kirzner [Tue, 16 May 2006 13:42:03 +0000 (13:42 -0000)]
Pass java security parameters to jvm.

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

18 years agoIn mcs:
Raja R Harinath [Tue, 16 May 2006 13:18:22 +0000 (13:18 -0000)]
In mcs:
* statement.cs (Goto.Resolve): Merge jump origins here ...
* flowanalysis.cs (FlowBranching.Label): ... rather than here.

In gmcs:
* statement.cs (Goto.Resolve): Merge jump origins here ...
* flowanalysis.cs (FlowBranching.Label): ... rather than here.

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

18 years ago2006-05-16 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 16 May 2006 13:10:46 +0000 (13:10 -0000)]
2006-05-16  Chris Toshok  <toshok@ximian.com>

[ fixes bug #78410 ]
* DataGrid.cs (set_AlternatingBackColor): use
grid_drawing.InvalidateCells instead of Refresh().
(set_BackColor): call grid_drawing.InvalidateCells.
(set_BackgroundColor): use Invalidate instead of Refresh.

* DataGridDrawingLogic.cs (InvalidateCells): new function, just
invalidate the cell area.

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

18 years agorun-W3C-tests.bat: skip nunit build if already done
Vladimir Krasnov [Tue, 16 May 2006 11:51:53 +0000 (11:51 -0000)]
run-W3C-tests.bat: skip nunit build if already done
run-XSLT-tests.bat: skip nunit build if already done

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

18 years agokill bogus svn:executable flags
Raja R Harinath [Tue, 16 May 2006 11:48:39 +0000 (11:48 -0000)]
kill bogus svn:executable flags

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

18 years agorun-tests.test.bat: skip nunit build if already done
Vladimir Krasnov [Tue, 16 May 2006 11:45:58 +0000 (11:45 -0000)]
run-tests.test.bat: skip nunit build if already done

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

18 years agorun-tests.test.connected.bat: skip nunit build if already done
Vladimir Krasnov [Tue, 16 May 2006 11:41:32 +0000 (11:41 -0000)]
run-tests.test.connected.bat: skip nunit build if already done
run-tests.test.disconnected.bat: skip nunit build if already done

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

18 years agorun-tests.test.bat: skip nunit build if already done
Vladimir Krasnov [Tue, 16 May 2006 11:38:35 +0000 (11:38 -0000)]
run-tests.test.bat: skip nunit build if already done

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

18 years agoIn mcs:
Raja R Harinath [Tue, 16 May 2006 11:10:10 +0000 (11:10 -0000)]
In mcs:
* flowanalysis.cs (FlowBranching.LookupLabel): Move CS0159 check ...
(FlowBranchingToplevel.LookupLabel): ... here.  Add CS1632 check.
(FlowBranchingGoto.LookupLabel): New.  Handle back jumps.
(FlowBranchingBlock.LookupLabel): Call LabeledStatement.AddReference
here, ...
* statement.cs (Goto.Resolve): ... not here.
(Goto.Emit): Remove CS1632 check.

In gmcs:
* flowanalysis.cs (FlowBranching.LookupLabel): Move CS0159 check ...
(FlowBranchingToplevel.LookupLabel): ... here.  Add CS1632 check.
(FlowBranchingGoto.LookupLabel): New.  Handle back jumps.
(FlowBranchingBlock.LookupLabel): Call LabeledStatement.AddReference
here, ...
* statement.cs (Goto.Resolve): ... not here.
(Goto.Emit): Remove CS1632 check.

In tests:
* test-511.cs, test-512.cs: New tests from #76632.

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

18 years agoDisable running secure mode tests by default
Boris Kirzner [Tue, 16 May 2006 10:50:47 +0000 (10:50 -0000)]
Disable running secure mode tests by default

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

18 years ago [ fixes bug #78011 ]
Chris Toshok [Mon, 15 May 2006 22:19:10 +0000 (22:19 -0000)]
[ fixes bug #78011 ]
* ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
on to DataGridPaintRow.
(DataGridPaintRow): take a clip argument, and only draw the cells
which intersect it.  same with the not_usedarea.

* Theme.cs (DataGridPaintRow) add @clip parameter.

* DataGrid.cs (ScrollToColumnInPixels): simplify, use
XplatUI.ScrollWindow.
(ScrollToRow): same.

* DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
with last column which was causing a gray swath to appear with the
XplatUI.ScrollWindow code.

2006-05-15  Chris Toshok  <toshok@ximian.com>

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

18 years ago2006-05-15 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 15 May 2006 20:52:11 +0000 (20:52 -0000)]
2006-05-15  Chris Toshok  <toshok@ximian.com>

* ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
use XplatUI.ScrollWindow.
(VerticalScrollEvent): use XplatUI.ScrollWindow.

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

18 years ago2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 15 May 2006 20:30:00 +0000 (20:30 -0000)]
2006-05-15  Atsushi Enomoto  <atsushi@ximian.com>

* Graphics.cs : (FillRectangles/FillRectanglesI): when argument
  array is empty, don't invoke GDI+. Fixed bug #78408.

* TestGraphics.cs : added test for bug #78408 (FillRectangles).

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

18 years ago2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Mon, 15 May 2006 20:29:04 +0000 (20:29 -0000)]
2006-05-15  Peter Dennis Bartok  <pbartok@novell.com>

* TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)

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

18 years ago2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Mon, 15 May 2006 19:54:43 +0000 (19:54 -0000)]
2006-05-15  Peter Dennis Bartok  <pbartok@novell.com>

* Makefile, System.Windows.Forms.dll.resources: Added NWSE and NESW
  cursors

2006-05-15  Peter Dennis Bartok  <pbartok@novell.com>

* NWSE.cur, NESW.cur: Added

2006-05-15  Peter Dennis Bartok  <pbartok@novell.com>

* Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  file since there are no equivalent X11 cursors

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

18 years ago2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 15 May 2006 19:22:23 +0000 (19:22 -0000)]
2006-05-15  Atsushi Enomoto  <atsushi@ximian.com>

* MonthCalendar.cs : DateTimePicker should reflect selected date
  on mouse*up*, not mouse*down*. Fixed originally reported part of
  bug #76474.

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

18 years ago2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 15 May 2006 19:18:40 +0000 (19:18 -0000)]
2006-05-15  Atsushi Enomoto  <atsushi@ximian.com>

* When argument index is equal or more than tab count, just ignore.
  Fixed bug #78395.

* TabControlTest.cs : added test for bug #78395.

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

18 years ago * keyboards.resx:
Jackson Harper [Mon, 15 May 2006 18:39:59 +0000 (18:39 -0000)]
    * keyboards.resx:
        * create_keyboards.cs: Changes to the abnt_qwerty mapping patch
        * by
        MaurĂ­cio de Lemos Rodrigues Collares Neto.

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

18 years ago2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Mon, 15 May 2006 18:10:58 +0000 (18:10 -0000)]
2006-05-15  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs: Dispose all child controls when control is diposed (#78394)

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

18 years ago2006-05-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 15 May 2006 18:05:27 +0000 (18:05 -0000)]
2006-05-15  Zoltan Varga  <vargaz@gmail.com>

* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.

* object-internals.h (MonoReflectionResource): Sync with managed version.

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

18 years ago2006-05-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 15 May 2006 18:04:18 +0000 (18:04 -0000)]
2006-05-15  Zoltan Varga  <vargaz@gmail.com>

* Environment.cs: Bump corlib version.

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

18 years ago2006-05-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 15 May 2006 18:03:39 +0000 (18:03 -0000)]
2006-05-15  Zoltan Varga  <vargaz@gmail.com>

* AssemblyBuilder.cs (MonoResource): Add a 'stream' field.

* ModuleBuilder.cs (DefineManifestResource): Add new net 2.0 method.

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

18 years ago* XmlCodeExporterTests.cs: Added tests for arrays. Fixed usage of
Gert Driesen [Mon, 15 May 2006 15:53:35 +0000 (15:53 -0000)]
* XmlCodeExporterTests.cs: Added tests for arrays. Fixed usage of
XmlRootAttribute in tests.
* XmlCodeExporter.cs: Added bool argument to GenerateClass and
GenerateEnum methods that specifies whether we're dealing with a type
for a top-level element. In GenerateClass, do not always add Namespace
argument for XmlRootAttribute if isTopLevel is false, and do not
emit XmlRootAttribute if isTopLevel is false and no arguments have been
added.
* SoapCodeExporter.cs: Added bool argument to GenerateClass and
GenerateEnum methods.
* MapCodeGenerator.cs: Added bool argument to GenerateClass and
GenerateEnum methods.

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

18 years ago* dis-cil.c (disassemble_cil): Exception clauses can be unordered,
Ankit Jain [Mon, 15 May 2006 14:51:04 +0000 (14:51 -0000)]
* dis-cil.c (disassemble_cil): Exception clauses can be unordered,
handle that.

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

18 years agoremoved build console outputs
Vladimir Krasnov [Mon, 15 May 2006 08:25:05 +0000 (08:25 -0000)]
removed build console outputs

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

18 years agomerge -r 60690:60700
Boris Kirzner [Mon, 15 May 2006 08:08:37 +0000 (08:08 -0000)]
merge -r 60690:60700

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

18 years ago2006-05-14 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sun, 14 May 2006 18:58:57 +0000 (18:58 -0000)]
2006-05-14  Marek Safar  <marek.safar@seznam.cz>

* ecore.cs (Expression.ResolveAsTypeTerminal): Fixed type in the obsolete
error message.

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

18 years ago2006-05-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 14 May 2006 18:51:25 +0000 (18:51 -0000)]
2006-05-14  Zoltan Varga  <vargaz@gmail.com>

* ia64/ia64-codegen.h (ia64_fetchadd8_acq_hint_pred): Fix encoding of this
opcode.

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

18 years ago2006-05-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 14 May 2006 18:39:30 +0000 (18:39 -0000)]
2006-05-14  Zoltan Varga  <vargaz@gmail.com>

* DirectoryTest.cs: Ignore one of the tests which causes nunit to abort on
IA64 due to an exception handling bug.

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

18 years ago * ColorDialog.cs: Finally it is possible to select the color with
Alexander Olk [Sun, 14 May 2006 18:09:19 +0000 (18:09 -0000)]
* ColorDialog.cs: Finally it is possible to select the color with
  the text boxes

2006-05-14  Alexander Olk  <alex.olk@googlemail.com>

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

18 years ago2006-05-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 14 May 2006 17:08:20 +0000 (17:08 -0000)]
2006-05-14  Atsushi Enomoto  <atsushi@ximian.com>

        * ConfigurationManager.cs: since ConfigurationSystem is
        * different
          for web.config, cast from ConfigurationSection to runtime
object
          should be done at GetSection().
          This really fixed bug #78372.

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

18 years ago2006-05-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 14 May 2006 17:06:04 +0000 (17:06 -0000)]
2006-05-14  Atsushi Enomoto  <atsushi@ximian.com>

        * ConfigurationManagerTest.cs :
          duh, why I overwrote it before commit :( Fix the build.

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

18 years agoWebTest.cs redesigned to work with NunitWeb.
Andrew Skiba [Sun, 14 May 2006 15:13:04 +0000 (15:13 -0000)]
WebTest.cs redesigned to work with NunitWeb.

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

18 years agoremove unneeded resources from the project
Andrew Skiba [Sun, 14 May 2006 14:43:15 +0000 (14:43 -0000)]
remove unneeded resources from the project

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

18 years agoBlock VerifyRenderingInServerForm verification to make it possible to render dynamica...
Andrew Skiba [Sun, 14 May 2006 14:40:16 +0000 (14:40 -0000)]
Block VerifyRenderingInServerForm verification to make it possible to render dynamically created controls right after the creation.

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

18 years agofix typo
Andrew Skiba [Sun, 14 May 2006 14:32:27 +0000 (14:32 -0000)]
fix typo

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

18 years agosvn path=/trunk/mcs/; revision=60686
Yoni Klain [Sun, 14 May 2006 14:30:55 +0000 (14:30 -0000)]
svn path=/trunk/mcs/; revision=60686

18 years agoTest for setting the theme for nested controls together with a master page.
Andrew Skiba [Sun, 14 May 2006 14:29:35 +0000 (14:29 -0000)]
Test for setting the theme for nested controls together with a master page.

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

18 years ago * PrintDialog.cs: Fix typo
Alexander Olk [Sun, 14 May 2006 13:34:44 +0000 (13:34 -0000)]
* PrintDialog.cs: Fix typo

2006-05-14  Alexander Olk  <alex.olk@googlemail.com>

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

18 years ago2006-04-14 Jordi Mas i Hernandez <jordimash@gmail.com>
Jordi Mas i Hernandez [Sun, 14 May 2006 09:20:50 +0000 (09:20 -0000)]
2006-04-14 Jordi Mas i Hernandez <jordimash@gmail.com>

* PrintingServicesUnix.cs: Replace cupsGetPrinters deprecated API call

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

18 years ago2006-05-14 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Sun, 14 May 2006 08:40:41 +0000 (08:40 -0000)]
2006-05-14  Alexander Olk  <alex.olk@googlemail.com>

* PrintDialog.cs: PrintDialog is not resizable
* ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  color. Made some ToolBar drawing methods protected virtual.

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

18 years ago2006-05-13 Jordi Mas i Hernandez <jordimash@gmail.com>
Jordi Mas i Hernandez [Sat, 13 May 2006 18:28:39 +0000 (18:28 -0000)]
2006-05-13  Jordi Mas i Hernandez <jordimash@gmail.com>

* PrintDialog.cs: Implementation of the PrintDialog

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

18 years ago2006-04-13 Jordi Mas i Hernandez <jordimash@gmail.com>
Jordi Mas i Hernandez [Sat, 13 May 2006 18:18:36 +0000 (18:18 -0000)]
2006-04-13 Jordi Mas i Hernandez <jordimash@gmail.com>

* PrintingServicesUnix.cs: Checks if cups is installed
* PrinterSettings.cs: PrintToFile property and ToString method

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

18 years ago2006-05-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 13 May 2006 17:56:04 +0000 (17:56 -0000)]
2006-05-12  Atsushi Enomoto  <atsushi@ximian.com>

* ConfigurationSettings.cs : another System.Orgy insanity.

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

18 years agoSqlite's sqlite3_last_insert_rowid binding had the wrong return type (int vs long).
Joshua Tauberer [Sat, 13 May 2006 11:20:21 +0000 (11:20 -0000)]
Sqlite's sqlite3_last_insert_rowid binding had the wrong return type (int vs long).

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

18 years ago2006-05-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 13 May 2006 10:35:14 +0000 (10:35 -0000)]
2006-05-13  Atsushi Enomoto  <atsushi@ximian.com>

* Uri.cs : sometimes OriginalString was null. Fixed bug #78374.
  Actually this property is LAMESPEC. Never use it.

* UriTest3.cs : added tests for lame OriginalString property.

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

18 years ago2006-05-12 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sat, 13 May 2006 01:46:34 +0000 (01:46 -0000)]
2006-05-12  Chris Toshok  <toshok@ximian.com>

* ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
thumb, instead use MoveThumb.  This has the side effect of making
most of the other thumb moving machinery use MoveThumb as well.
(OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
need to actually invalidate the rectangle where the new thumb will
go.
(MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
We force an Update() after, so it's not as fast as it could be,
but at least there's zero flicker and no droppings.
(OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
(UpdateThumbPos): add another argument (dirty), which says whether
or not to calculate/add dirty regions which we later invalidate.
For cases where we know we're going to use MoveThumb, we pass
false for this.  Otherwise, pass true.

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

18 years ago * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
Jackson Harper [Fri, 12 May 2006 22:41:38 +0000 (22:41 -0000)]
    * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
        the status bar.

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

18 years ago (OnMouseUpSB): remove the call to refresh when releasing the
Chris Toshok [Fri, 12 May 2006 21:58:21 +0000 (21:58 -0000)]
(OnMouseUpSB): remove the call to refresh when releasing the
thumb.  We shouldn't need it.

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