mono.git
17 years ago2006-08-12 Duncan Mak <duncan@novell.com>
Duncan Mak [Sat, 12 Aug 2006 22:08:57 +0000 (22:08 -0000)]
2006-08-12  Duncan Mak  <duncan@novell.com>

* GDIPlusTest.cs: Removed all the local PInvoke methods.
(DrawingOperations): New test for various draw and fill operations
in Graphics.

2006-08-12  Duncan Mak  <duncan@novell.com>

* GDIPlusTest.csproj: New MSBuild project file for building
GDIPlusTest on Windows.

* System.Drawing_test.dll.sources: Add gdipEnums.cs,
gdipFunctions.cs and gdipStructs.cs.

* Makefile (TEST_MCS_FLAGS): Add new #define 'TEST'. This is used
to exclude parts of gdipFunctions so that it could be reused as
part of the NUnit tests.

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

17 years ago * ThemeWin32Classic.cs: fix the bottom right corner painting. had
Chris Toshok [Sat, 12 Aug 2006 21:19:18 +0000 (21:19 -0000)]
* ThemeWin32Classic.cs: fix the bottom right corner painting.  had
the VScrollBar and HScrollbar reversed.  oops.

* DataGrid.cs: fix the logic that assigns sizes to the implicit
scrollbars.  we were assigning them twice (once in
Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
therefore causing two scrollbar resizes (and redraws?) to happen
per grid resize.

2006-08-12  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-08-12 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sat, 12 Aug 2006 19:08:31 +0000 (19:08 -0000)]
2006-08-12  Chris Toshok  <toshok@ximian.com>

* ToolBarButton.cs: redraw the entire button if the theme tells us
to.

* Theme.cs: add ToolBarInvalidateEntireButton.

* ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
buttons, just the border.

* ThemeNice.cs: redraw the entire toolbar button since we need to
draw the highlight image.

* ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
we need to redraw the entire button (not just the border).

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

17 years ago2006-08-12 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 12 Aug 2006 18:50:43 +0000 (18:50 -0000)]
2006-08-12  Marek Safar  <marek.safar@seznam.cz>

* cs-parser.jay: Check whether a constraint clause has already been
specified for type parameter.
* generic.cs (Constraints): Exposed location.

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

17 years ago2006-08-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 12 Aug 2006 17:14:03 +0000 (17:14 -0000)]
2006-08-12  Zoltan Varga  <vargaz@gmail.com>

* marshal.c: Fix non-x86 stdcall warnings.

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

17 years ago2006-08-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 12 Aug 2006 16:42:27 +0000 (16:42 -0000)]
2006-08-12  Zoltan Varga  <vargaz@gmail.com>

* marshal.c marshal.h: Add some helper functions to emit/patch branches, and use
them everywhere.

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

17 years ago2006-08-12 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 12 Aug 2006 13:29:24 +0000 (13:29 -0000)]
2006-08-12  Marek Safar  <marek.safar@seznam.cz>

* class.cs (Method.Define): Issue a warning when generic method looks like
an entry point.
* decl.cs (MemberCore.GetSignatureForError): Print member type arguments
as well.
* report.cs: New warning number.

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

17 years ago* Registry.cs: Fixed copy/paste bug.
Gert Driesen [Sat, 12 Aug 2006 12:47:33 +0000 (12:47 -0000)]
* Registry.cs: Fixed copy/paste bug.

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

17 years agoPatch #3 from Cologne.
Martin Baulig [Fri, 11 Aug 2006 22:40:35 +0000 (22:40 -0000)]
Patch #3 from Cologne.

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

17 years ago2006-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 11 Aug 2006 20:54:17 +0000 (20:54 -0000)]
2006-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* gdipFunctions.cs: return -1 when stream.Length throws.

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

17 years ago2006-08-11 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 11 Aug 2006 20:31:21 +0000 (20:31 -0000)]
2006-08-11  Jonathan Chambers  <joncham@gmail.com>

* class.c (mono_bounded_array_class_get): Fix if statement that caused incorrect
type check on multi-dimensional arrays. Fixes #79000.

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

17 years ago2006-08-11 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 11 Aug 2006 20:28:27 +0000 (20:28 -0000)]
2006-08-11  Peter Dennis Bartok  <pbartok@novell.com>

* TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  for vertical bars. Fixes the mismatches shown by #78513

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

17 years ago2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 11 Aug 2006 19:15:26 +0000 (19:15 -0000)]
2006-08-11  Sebastien Pouliot  <sebastien@ximian.com>

* Font.cs: Remove the, now unrequired, FaceNameOffset field and
use the object size instead of the structure size when copying.

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

17 years ago2006-08-11 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Fri, 11 Aug 2006 18:38:46 +0000 (18:38 -0000)]
2006-08-11  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs: If a saved/remembered path doesn't exist
  anymore, fall back to "Desktop".

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

17 years ago2006-08-11 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 11 Aug 2006 18:28:53 +0000 (18:28 -0000)]
2006-08-11  Peter Dennis Bartok  <pbartok@novell.com>

* Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  parent. It's apparently legal to not have one
* XplatUIX11.cs:
  - SetZOrder: Don't try to set Z-Order on an unmapped window
  - CreateWindow: 0,0 are legal coordinates for a window. don't move
    it unless the coordinates are negative

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

17 years ago2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 11 Aug 2006 17:25:16 +0000 (17:25 -0000)]
2006-08-11  Sebastien Pouliot  <sebastien@ximian.com>
* TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
executes under Windows (GDI+);

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

17 years ago2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 11 Aug 2006 14:15:06 +0000 (14:15 -0000)]
2006-08-11  Sebastien Pouliot  <sebastien@ximian.com>

* GDIPlusTest.cs: Added one more case for GdipGetLogFont.
* TestFont.cs: Added more test cases for ToLogFont including one that
shows that LOGFONT only works properly when it's a class (not a struct)

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

17 years ago2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 11 Aug 2006 14:12:59 +0000 (14:12 -0000)]
2006-08-11  Sebastien Pouliot  <sebastien@ximian.com>

* Font.cs: Added more checks to ToLogFont and fixed it's behaviour
to match MS boundary between GDI+ and SD.

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

17 years agoremoved executable prop
Gonzalo Paniagua Javier [Fri, 11 Aug 2006 13:10:36 +0000 (13:10 -0000)]
removed executable prop

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

17 years ago2006-08-11 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 11 Aug 2006 12:11:44 +0000 (12:11 -0000)]
2006-08-11  Dick Porter  <dick@ximian.com>

        * processes.c (_wapi_process_reap): Avoid a deadlock by setting
        process termination details in an outer loop, not the
        _wapi_search_handle() one.

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

17 years agoPatch #2 from Cologne.
Martin Baulig [Fri, 11 Aug 2006 11:48:52 +0000 (11:48 -0000)]
Patch #2 from Cologne.

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

17 years agoPatch #1 from Cologne.
Martin Baulig [Fri, 11 Aug 2006 11:48:36 +0000 (11:48 -0000)]
Patch #1 from Cologne.

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

17 years ago* EventLog.cs: For now, use null implementation.
Gert Driesen [Fri, 11 Aug 2006 10:41:19 +0000 (10:41 -0000)]
* EventLog.cs: For now, use null implementation.

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

17 years ago* EventLogTest.cs: new test, currently not enabled due to UnixRegistry
Gert Driesen [Fri, 11 Aug 2006 10:32:58 +0000 (10:32 -0000)]
* EventLogTest.cs: new test, currently not enabled due to UnixRegistry
bug which still needs to be tracked, and which would cause temporary
registry entries to be left behind by running tests.
* EventLogEntry.cs: Added InstanceId property (2.0 only). Moved
Obsolete attribute to correct property.
* EventSourceCreationData.cs: Updated copyright. For internal ctor,
set log name to "Application" if value is null or zero-length string.
* EventLogImpl.cs: EventImpl now acts as base class for event log
implemenations. Added NullEventLog implementation, which is not used
at the moment.
* EventLog.cs: EventLog implementation that uses registry for
keeping track of logs and sources to match .NET (and Windows). When
running on Windows NT (and higher), event entries are written to
the native win32 event log.  Reading event entries is not yet working
for Windows. On linux, we use a local file store (based on patch by
Atsushi).
* UnixEventLog.cs: Event log implementation for linux which uses a
local file store.
* Win32EventLog.cs: Event log implementation for Windows NT and
higher which uses the Win32 native event log.
* EventLogEntryCollection.cs: Delegate implementation to event log
implemenation. Use lazy init for enumerating entries.
* System.dll.sources: Added UnixEventLog.cs and Win32EventLog.cs.
* System_test.dll.sources: Added EventLogTest.cs.

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

17 years ago* UnixRegistryApi.cs: Consider HKLM\SYSTEM\CurrentControlSet\Services\
Gert Driesen [Fri, 11 Aug 2006 09:59:06 +0000 (09:59 -0000)]
* UnixRegistryApi.cs: Consider HKLM\SYSTEM\CurrentControlSet\Services\
EventLog a wellknown key. Required for new EventLog implementation.
Added RegistryStore property.

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

17 years ago2006-08-10 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 11 Aug 2006 02:28:50 +0000 (02:28 -0000)]
2006-08-10  Jonathan Chambers  <joncham@gmail.com>

* ComInteropProxy.cs: Fix default constructor being always
being called.
* Marshal.cs: Implement GetIDispatchForObject.
* __ComObject.cs: Added defintion of IDispatch interface, and
property. Get CLSID of supertype for creation if class not
ComImport attributed (allows for inheritance of RCW).
* MonoType.cs: Implement IsCOMObjectImpl.

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

17 years ago2006-08-10 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 11 Aug 2006 02:26:15 +0000 (02:26 -0000)]
2006-08-10  Jonathan Chambers  <joncham@gmail.com>

* class.c (mono_class_setup_parent): setup is_com_object during class initialization.
* object.c (mono_remote_class_vtable/mono_object_new_specific): Changed checks
to use is_com_object instead of MONO_CLASS_IS_IMPORT() macro.
* class-internals.h: add is_com_object to class structure.
* marshal.c: Fixed marshalling for IDispatch and IUnknown, added
null checks to COM object marshalling. Fix .ctor call on RCW.
* icall.c: Added icall implementation for MonoType.IsCOMObjectImpl.
* mini.c: Don't verify COM proxy invoke calls

All code is contributed under the MIT/X11 license.

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

17 years ago2006-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 10 Aug 2006 22:06:30 +0000 (22:06 -0000)]
2006-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.Hosting/BareApplicationHost.cs:
* System.Web.Hosting/ApplicationManager.cs: remove unloaded domains.

* System.Web.Compilation/ClientBuildManager.cs: handle domain shutdown
and unload. Implemented some properties. Commented.

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

17 years ago2006-08-10 Mike Kestner <mkestner@novell.com>
Mike Kestner [Thu, 10 Aug 2006 20:50:15 +0000 (20:50 -0000)]
2006-08-10  Mike Kestner  <mkestner@novell.com>

* ListControl.cs: allow null for DataSource.  Clear DisplayMember
when setting to null per msdn docs.  Fixes #78854.

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

17 years agowarnings
Gonzalo Paniagua Javier [Thu, 10 Aug 2006 20:37:09 +0000 (20:37 -0000)]
warnings

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

17 years ago2006-08-10 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 10 Aug 2006 20:18:24 +0000 (20:18 -0000)]
2006-08-10  Chris Toshok  <toshok@ximian.com>

* Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
flickering by setting a clip rectangle on the Graphics when we
need to redraw just a particular menuitem.  Also, rename "OnClick"
to "OnMouseDown" to reflect what it actually is.

* Form.cs: track the OnMouseDown change.

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

17 years ago2006-08-10 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 10 Aug 2006 19:24:45 +0000 (19:24 -0000)]
2006-08-10  Peter Dennis Bartok  <pbartok@novell.com>

* CommonDialog.cs: Properly inherit the CreateParams from the form
  and only change what we need. Fixes #78865

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

17 years ago2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 10 Aug 2006 19:17:07 +0000 (19:17 -0000)]
2006-08-10  Sebastien Pouliot  <sebastien@ximian.com>

* GDIPlusTest.cs: Add more test cases for GraphicsPath and
PathGradientBrush to fix unit tests under Windows.
* RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
fail when using MS GDI+ (e.g. Mono on Windows).

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

17 years ago2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 10 Aug 2006 19:16:47 +0000 (19:16 -0000)]
2006-08-10  Sebastien Pouliot  <sebastien@ximian.com>
* PathGradientBrush.cs: Fix unit tests when running under Windows.

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

17 years ago2006-08-10 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 10 Aug 2006 18:18:21 +0000 (18:18 -0000)]
2006-08-10  Chris Toshok  <toshok@ximian.com>

* ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
flickering in flat mode (and most of the flickering in general) by
only invalidating the button border (and not the entire rectangle)
when the state changes.  A couple of cases still flicker:
ToggleButtons, and the dropdown arrow case when the user mouse
ups.

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

17 years ago2006-08-10 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 10 Aug 2006 16:55:37 +0000 (16:55 -0000)]
2006-08-10  Dick Porter  <dick@ximian.com>

        * threads.c (_wapi_thread_queue_apc)
        (_wapi_thread_dispatch_apc_queue): Use a process-local mutex here
        instead of the cross process semaphore.  We already check that
        access to the APC queue is within the owning process so there's no
        need to protect from other processes.  Avoids a global deadlock
        when a thread is aborted while it holds the handle semaphore
        locked.
        (_wapi_thread_apc_pending): Hide an annoying message which can
        happen if a thread handle has been blown away at process shutdown
        while it is in an alertable wait.

        Both problems seen while shutting down monodevelop.

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

17 years ago2006-08-09 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 10 Aug 2006 16:53:46 +0000 (16:53 -0000)]
2006-08-09  Dick Porter  <dick@ximian.com>

        * monitor.c (mono_monitor_cleanup): mono_monitor_cleanup() is
        racing mono_monitor_allocator_lock() somewhere, so don't delete
        the critical section for now.  Found by running and exiting
        monodevelop.

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

17 years ago2006-08-10 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 10 Aug 2006 16:53:02 +0000 (16:53 -0000)]
2006-08-10  Dick Porter  <dick@ximian.com>

        * wapihandles.c (mini_wapi_seminfo): More info, to help track down
        which process is holding semaphores locked.

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

17 years ago2006-08-10 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Thu, 10 Aug 2006 16:15:11 +0000 (16:15 -0000)]
2006-08-10  Alexander Olk  <alex.olk@googlemail.com>

* X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  for german keyboards. Numlock state shouldn't affect the behaviour
  of the Del key. Fixes bug #78291.

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

17 years ago2006-08-10 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 10 Aug 2006 15:29:45 +0000 (15:29 -0000)]
2006-08-10  Chris Toshok  <toshok@ximian.com>

* ListControl.cs: remove the items.Clear line from BindDataItems,
as this is the first thing done by both subclasses in their
SetItemsCore overrides.  Also, add a ItemChanged handler, and when
passed -1, refresh the list.  This gets databinding working when
the datasource is set on the list before the datasource is
populated (as in wf-apps/ReportBuilder.)

* ComboBox.cs: remove the argument to BindDataItems.  This call
should really go away, and be initiated by the ListControl code.

* ListBox.cs: same.

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

17 years ago2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 10 Aug 2006 15:11:20 +0000 (15:11 -0000)]
2006-08-10  Sebastien Pouliot  <sebastien@ximian.com>

* GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
Widen) and some new tests for Matrix related GDI+ functions.

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

17 years ago2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 10 Aug 2006 15:09:26 +0000 (15:09 -0000)]
2006-08-10  Sebastien Pouliot  <sebastien@ximian.com>

* GraphicsPath.cs: Fix unit tests wrt libgdiplus return value change.

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

17 years agoAdd new test CallBackTest.cs and 2 new resources for this test CallbackTest1.aspx...
Yoni Klain [Thu, 10 Aug 2006 14:09:04 +0000 (14:09 -0000)]
Add new test CallBackTest.cs and 2 new resources for this test CallbackTest1.aspx and CallbackTest2.aspx

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

17 years agoTARGET_JVM: add msbuild project
Konstantin Triger [Thu, 10 Aug 2006 12:55:03 +0000 (12:55 -0000)]
TARGET_JVM: add msbuild project

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

17 years agosvn path=/trunk/mcs/; revision=63585
dimitar [Thu, 10 Aug 2006 12:36:34 +0000 (12:36 -0000)]
svn path=/trunk/mcs/; revision=63585

17 years ago2006-08-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 10 Aug 2006 12:32:37 +0000 (12:32 -0000)]
2006-08-10  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (cominterop_get_native_wrapper): Fix a warning.
(ves_icall_System_ComObject_FindInterface): Ditto.
(ves_icall_System_ComObject_CacheInterface): Ditto.

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

17 years agoAdded Tests: ImageMapTest.cs , HotSpotCollectionTest.cs, HotSpotTest.cs, CircleHotSpo...
Hagit Yidov [Thu, 10 Aug 2006 12:19:07 +0000 (12:19 -0000)]
Added Tests: ImageMapTest.cs , HotSpotCollectionTest.cs, HotSpotTest.cs, CircleHotSpotTest.cs, RectangleHotSpotTest.cs, PolygonHotSpotTest.cs

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

17 years agosvn path=/trunk/mcs/; revision=63582
dimitar [Thu, 10 Aug 2006 12:17:46 +0000 (12:17 -0000)]
svn path=/trunk/mcs/; revision=63582

17 years ago2006-08-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 10 Aug 2006 12:08:57 +0000 (12:08 -0000)]
2006-08-10  Zoltan Varga  <vargaz@gmail.com>

* metadata.c (do_mono_metadata_type_equal): Applied patch from Roberto Costa
(roberto.costa@st.com). Add support for MONO_TYPE_FNPTR.

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

17 years agofixed databinding feature
Igor Zelmanovich [Thu, 10 Aug 2006 11:33:41 +0000 (11:33 -0000)]
fixed databinding feature

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

17 years ago*EditorPart.cs: implementation added
dimitar [Thu, 10 Aug 2006 11:17:16 +0000 (11:17 -0000)]
*EditorPart.cs:                 implementation added
*Part.cs:                       implementation of Controls
*WebPartConnectionEventArgs.cs: replaced Connection with WebPartConnection
*WebPartDisplayMode.cs:         added behavior according to documentation
*WebPartVerb.cs:                update constructors according to documentation
*WebPart.cs                 added implementation for properties
*ConnectionPoint.cs             added CallbackMethod

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

17 years ago2006-08-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 10 Aug 2006 10:35:01 +0000 (10:35 -0000)]
2006-08-10  Zoltan Varga  <vargaz@gmail.com>

* mono-compiler.h: Fix TLS definitions so libmono can be loaded dynamically as a
module. Fixes #78767.

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

17 years agoTARGET_JVM: Java platform does not support file notifications
Konstantin Triger [Thu, 10 Aug 2006 09:49:03 +0000 (09:49 -0000)]
TARGET_JVM: Java platform does not support file notifications

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

17 years agorender CSS path as a virtual path
Andrew Skiba [Thu, 10 Aug 2006 08:32:56 +0000 (08:32 -0000)]
render CSS path as a virtual path

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

17 years agonew TODO item
Andrew Skiba [Thu, 10 Aug 2006 06:20:36 +0000 (06:20 -0000)]
new TODO item

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

17 years ago2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 10 Aug 2006 05:56:02 +0000 (05:56 -0000)]
2006-08-10  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextWriter2.cs : more indentation fixes. Now I believe it is
  almost MS compat, but it won't help poor Mike.

* XmlTextWriterTests.cs : more indentation tests.

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

17 years ago2006-08-08 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 10 Aug 2006 00:18:47 +0000 (00:18 -0000)]
2006-08-08  Peter Dennis Bartok  <pbartok@novell.com>

* TextControl.cs (Document.ctor): Initialize caret so we don't crash
  if no data is in the document when the control is displayed

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

17 years ago2006-08-08 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 9 Aug 2006 23:33:34 +0000 (23:33 -0000)]
2006-08-08  Peter Dennis Bartok  <pbartok@novell.com>

* TextBoxBase.cs: Don't try moving the caret if we don't have a window
  yes (fixes #78806)
* TextControl.cs:
  - PositionCaret: Allow positioning of caret but don't call methods
    requiring a handle if the window isn't created yet
  - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  - owner_HandleCreated: Don't position the caret, just update it's
    location. User might have already set a different position

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

17 years ago2006-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 9 Aug 2006 21:20:35 +0000 (21:20 -0000)]
2006-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Process.cs: reset the 'start' time if we wait for stdout reading to
be completed.

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

17 years ago2006-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 9 Aug 2006 21:13:11 +0000 (21:13 -0000)]
2006-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* mcs/class/System/System.Diagnostics/Process.cs: add support for 2.0
asynchronous reads on stdout and stderr.

* mono/mono/metadata/threadpool.c: treat pipes from process
asynchronous reads as sockets when reading from them, so we get
select/poll or epoll to wait for data.

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

17 years ago2006-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 9 Aug 2006 21:13:11 +0000 (21:13 -0000)]
2006-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* mcs/class/System/System.Diagnostics/Process.cs: add support for 2.0
asynchronous reads on stdout and stderr.

* mono/mono/metadata/threadpool.c: treat pipes from process
asynchronous reads as sockets when reading from them, so we get
select/poll or epoll to wait for data.

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

17 years ago2006-08-09 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 9 Aug 2006 21:11:38 +0000 (21:11 -0000)]
2006-08-09  Marek Safar  <marek.safar@seznam.cz>

* anonymous.cs(AnonymousDelegate.Emit): Uses Constructor filter when
looking for ctor.
* decl.cs (MemberCache.FindMembers): When container is interface we need to
search all base interfaces as a member can be ambiguous.
* delegate.cs (Delegate.FindMembers): Fixed to return valid data for
Constructor member type filter.
(Delegate.ResolveConstructorMethod) Uses Constructor filter.
* ecore.cs: (Expression.MemberLookup): Implemented ambiguity error/warning
reporting for returned memberinfos.
* report.cs: Updated.
* typemanager.cs (TypeManager.LookupBaseInterfacesCache): Uses TypeManager
version to work on all runtimes.
(TypeManager.RealMemberLookup): Removed members filtering.

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

17 years ago2006-08-08 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 9 Aug 2006 20:40:38 +0000 (20:40 -0000)]
2006-08-08  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  windows. Screws up the returned coordinates for child windows.
  Fixes #78825. I'm hoping this doesn't break something, since the
  code was explicitly put in 8 months ago, but no bug was attached.
  Menus still seem to work properly.

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

17 years agoAdd more tests.
Marek Safar [Wed, 9 Aug 2006 20:27:45 +0000 (20:27 -0000)]
Add more tests.

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

17 years ago* added NET_2_0 solution files for VS2005
Vladimir Krasnov [Wed, 9 Aug 2006 16:58:15 +0000 (16:58 -0000)]
* added NET_2_0 solution files for VS2005

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

17 years agofixing references hints
Konstantin Triger [Wed, 9 Aug 2006 16:30:51 +0000 (16:30 -0000)]
fixing references hints

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

17 years ago* added NET_2_0 projects files for VS2005
Vladimir Krasnov [Wed, 9 Aug 2006 16:26:58 +0000 (16:26 -0000)]
* added NET_2_0 projects files for VS2005

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

17 years agofixing references hints
Konstantin Triger [Wed, 9 Aug 2006 16:26:15 +0000 (16:26 -0000)]
fixing references hints

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

17 years agofixing references hints
Konstantin Triger [Wed, 9 Aug 2006 16:22:19 +0000 (16:22 -0000)]
fixing references hints

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

17 years agofixing references hints
Konstantin Triger [Wed, 9 Aug 2006 16:18:35 +0000 (16:18 -0000)]
fixing references hints

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

17 years agoadd TARGET_JVM ifdef
Konstantin Triger [Wed, 9 Aug 2006 16:02:36 +0000 (16:02 -0000)]
add TARGET_JVM ifdef

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

17 years agoadded SqlClientFactory implementation
Konstantin Triger [Wed, 9 Aug 2006 15:56:45 +0000 (15:56 -0000)]
added SqlClientFactory implementation

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

17 years agoimplemented SqlClientFactory.CreateConnection ()
Konstantin Triger [Wed, 9 Aug 2006 15:50:19 +0000 (15:50 -0000)]
implemented SqlClientFactory.CreateConnection ()

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

17 years agoremove CodeDom dependancy
Konstantin Triger [Wed, 9 Aug 2006 14:52:49 +0000 (14:52 -0000)]
remove CodeDom dependancy

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

17 years agofix resource embedding
Konstantin Triger [Wed, 9 Aug 2006 14:08:17 +0000 (14:08 -0000)]
fix resource embedding

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

17 years ago2006-08-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 9 Aug 2006 13:45:04 +0000 (13:45 -0000)]
2006-08-09  Atsushi Enomoto  <atsushi@ximian.com>

* DateTime.cs : fixed X509Certificate() case that regressed only
  under NET_2_0.

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

17 years ago2006-08-09 Robert Jordan <robertj@gmx.net>
Robert Jordan [Wed, 9 Aug 2006 13:17:11 +0000 (13:17 -0000)]
2006-08-09  Robert Jordan  <robertj@gmx.net>

* DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
replace ResolveUrl with ResolveClientUrl to match MS.NET's
behaviour. Fixes bug #77539.

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

17 years ago2006-08-09 Robert Jordan <robertj@gmx.net>
Robert Jordan [Wed, 9 Aug 2006 13:01:40 +0000 (13:01 -0000)]
2006-08-09  Robert Jordan  <robertj@gmx.net>

* Control.cs: add the 2.0 ResolveClientUrl method.
Expose ResolveClientUrl as internal for the 1.1 profile.
Fixes bug #77539.

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

17 years agoadd System.Configuration reference
Konstantin Triger [Wed, 9 Aug 2006 12:31:20 +0000 (12:31 -0000)]
add System.Configuration reference

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

17 years agomove to correct name
Konstantin Triger [Wed, 9 Aug 2006 12:21:50 +0000 (12:21 -0000)]
move to correct name

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

17 years agoremoving irrelevant items; correcting references
Konstantin Triger [Wed, 9 Aug 2006 12:20:25 +0000 (12:20 -0000)]
removing irrelevant items; correcting references

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

17 years ago* System_test.dll.souces: Added EventSourceCreationDataTest.cs.
Gert Driesen [Wed, 9 Aug 2006 11:10:41 +0000 (11:10 -0000)]
* System_test.dll.souces: Added EventSourceCreationDataTest.cs.
* EventSourceCreationDataTest.cs: new test.
* EventSourceCreationData.cs: Marked ctor internal, and removed ctor.
Throw ArgumentOutOfRangeException if negative value for CategoryCount
is set.

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

17 years agofixed DataBind flow in HierarchicalDataBoundControl
Igor Zelmanovich [Wed, 9 Aug 2006 09:36:36 +0000 (09:36 -0000)]
fixed DataBind flow in HierarchicalDataBoundControl

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

17 years agomove to System.Configuration20.vmwcsproj
Konstantin Triger [Wed, 9 Aug 2006 09:28:15 +0000 (09:28 -0000)]
move to System.Configuration20.vmwcsproj

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

17 years agofix HintPath
Konstantin Triger [Wed, 9 Aug 2006 09:27:18 +0000 (09:27 -0000)]
fix HintPath

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

17 years agoPatch #24
Martin Baulig [Wed, 9 Aug 2006 09:11:16 +0000 (09:11 -0000)]
Patch #24

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

17 years agoTARGET_JVM ifdef
Andrew Skiba [Wed, 9 Aug 2006 09:02:44 +0000 (09:02 -0000)]
TARGET_JVM ifdef

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

17 years ago* EventInstance.cs: Added 2.0 class.
Gert Driesen [Wed, 9 Aug 2006 09:02:00 +0000 (09:02 -0000)]
* EventInstance.cs: Added 2.0 class.
* EventSourceCreationData.cs: Added 2.0 class.
* OverflowAction.cs: Added 2.0 enum.
* System.dll.sources: Added EventInstance.cs, OverflowAction.cs,
EventSourceCreationData.cs.

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

17 years ago2006-08-09 Alp Toker <alp@atoker.com>
Alp Toker [Wed, 9 Aug 2006 08:48:42 +0000 (08:48 -0000)]
2006-08-09  Alp Toker  <alp@atoker.com>

  * dis-cil.c:
  * dis-cil.h:
  * main.c:
  * monodis.1:
  * push-pop.h:
  * util.c: Typofix 'dissasemble' to 'disassemble'.

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

17 years ago2006-08-09 Duncan Mak <duncan@novell.com>
Duncan Mak [Wed, 9 Aug 2006 08:38:15 +0000 (08:38 -0000)]
2006-08-09  Duncan Mak  <duncan@novell.com>

* IPromotableSinglePhaseNotification.cs (Promote): Removed because
it now extends from ITransactionPromoter. Fixes #79037.

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

17 years agoRevert r63517
Raja R Harinath [Wed, 9 Aug 2006 08:23:47 +0000 (08:23 -0000)]
Revert r63517

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

17 years agoremove bogus svn:executable flags
Raja R Harinath [Wed, 9 Aug 2006 08:22:02 +0000 (08:22 -0000)]
remove bogus svn:executable flags

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

17 years ago2006-08-09 Duncan Mak <duncan@novell.com>
Duncan Mak [Wed, 9 Aug 2006 05:57:19 +0000 (05:57 -0000)]
2006-08-09  Duncan Mak  <duncan@novell.com>

* IPromotableSinglePhaseNotification.cs (Promote): Removed, as
pointed out in bug 79037.

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

17 years ago2006-08-08 Duncan Mak <duncan@novell.com>
Duncan Mak [Wed, 9 Aug 2006 04:37:51 +0000 (04:37 -0000)]
2006-08-08  Duncan Mak  <duncan@novell.com>

* ReadOnlyCollectionBase.cs (Count): Mark as virtual in
NET_2_0. Fixes #79033.

* ReadOnlyCollectionBaseTest.cs (TestZeroCountOnNew): Add test for
overriding Count in NET_2_0 for #79033.

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

17 years ago2006-08-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 9 Aug 2006 01:06:30 +0000 (01:06 -0000)]
2006-08-08  Sebastien Pouliot  <sebastien@ximian.com>

* TestRegion.cs: Add test case for excluding a rectangle from an
infinite region.

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

17 years ago * DataGrid.cs: make BeginInit/EndInit actually do what they're
Chris Toshok [Tue, 8 Aug 2006 22:54:16 +0000 (22:54 -0000)]
* DataGrid.cs: make BeginInit/EndInit actually do what they're
supposed to do - delay data binding until the EndInit call.  Also,
make the table style collection's CollectionChangeAction.Refresh
work properly.

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

17 years ago * GridTableStylesCollection.cs: raise a CollectionChangeEvent
Chris Toshok [Tue, 8 Aug 2006 22:36:45 +0000 (22:36 -0000)]
* GridTableStylesCollection.cs: raise a CollectionChangeEvent
(with action = Refresh) when a consituent table's MappingName is
changed.

2006-08-08  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-08-08 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 8 Aug 2006 22:35:35 +0000 (22:35 -0000)]
2006-08-08  Chris Toshok  <toshok@ximian.com>

* GridTableStylesCollectionTest.cs: make this fixture public so
it's actually included, and add a test for changing the
MappingName of a constituent TableStyle.

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

17 years ago2006-08-08 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 8 Aug 2006 21:51:15 +0000 (21:51 -0000)]
2006-08-08  Chris Toshok  <toshok@ximian.com>

* ToolBarButton.cs: in set_Text, call Parent.Redraw, not
Invalidate, since changing the text can change the size of the all
toolbar buttons.

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

17 years ago2006-08-08 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 8 Aug 2006 21:00:10 +0000 (21:00 -0000)]
2006-08-08  Peter Dennis Bartok  <pbartok@novell.com>

* Form.cs (AddOwnedForm): Still need to add the form to our listif
  we don't have it yet

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