mono.git
17 years ago2006-11-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 16 Nov 2006 05:49:19 +0000 (05:49 -0000)]
2006-11-16  Atsushi Enomoto  <atsushi@ximian.com>

* HttpServerProtocol.cs : removed old code.
* SoapServerProtocol.cs, ServerProtocol.cs : removed as well, and
  added up-to-date ones.
* SoapHeaderHandling.cs, SoapHeaderMapping.cs,
  ServerProtocolFactory.cs, SoapServerType.cs,
  SoapServerProtocolFactory.cs, ServerType.cs,
  SoapServerProtocol.cs, ServerProtocol.cs,
  SoapServerMethod.cs :
  Added stubs for 2.0 server protocol model. For now I don't spend
  time on these ones but rather fill more important bits like
  SOAP 1.2 support.

* System.Web.Services.dll.sources : added/removed/replaced 2.0 server
  protocol classes in S.W.S.Protocols.

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

17 years ago2006-11-16 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 16 Nov 2006 05:45:58 +0000 (05:45 -0000)]
2006-11-16  Chris Toshok  <toshok@ximian.com>

* XplatUIX11.cs: nasty, nasty, nasty changes required because of
the broken multithreaded event handling we have in here.  File
this entry under "Why we should move to the new X11 backend".

Any thread can make it into UpdateMessageQueue, which gets events
from the X socket - some of which could belong to hwnds being
managed by a different thread.  We can also have multiple threads
in UpdateMessageQueue at the same time, with each one reading from
the X socket.  This leads to many problems, with the following
solutions:

We can't use hwnd.Queue.Enqueue anywhere in here and must use
EnqueueLocked.

The MotionNotify compression we do can't work across threads
(without locking the entire queue, perhaps) since we call
hwnd.Queue.Peek, so we just punt and don't compress motion events
unless the owning thread is the one which got the X event.

ConfigureNotify is another fun one, since it modifies the hwnd's
bounds and then enqueues the event.  We add a lock to Hwnd which
is held when setting configure_pending to true (and enqueuing the
event).

There is a race wrt the wake socket.  we need to make sure that
only 1 thread is waiting on that socket, or else a thread could
sleep waiting for data that never comes.  It's difficult (but not
impossible) to make happen, because it seems to require something
like the following:

    1. Thread 1 polls on wake_receive

    2. poll returns saying there's data to be read on
       wake_receive.

    3. Thread 2 polls on wake_receive and immediately returns
       saying there's data to be read.

    4. Thread 2 reads the wakeup byte from wake_receive

    5. Thread 1 attempts to read the wakeup byte from
       wake_receive.

    6. Thread 2 exits (due to a form closing, perhaps).

    7. Thread 1 blocks forever.

Fun, eh?

Fixing the Expose handling isn't done yet, and the races inherent
in that piece of code are responsible for the drawing mistakes you
see when generating expose events in a MT app (like NPlot).  This
one is the likely to be the hardest to bandaid, and it doesn't
appear to cause anything but drawing problems.  The other issues
caused apps to exit or hang.

* XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
called from a different thread than the one that should be calling
these functions.

* Hwnd.cs: add some locks to be used by the XplatUIX11 code.

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

17 years ago * Application.cs: null out the context's MainForm when we exit
Chris Toshok [Thu, 16 Nov 2006 01:54:29 +0000 (01:54 -0000)]
* Application.cs: null out the context's MainForm when we exit
RunLoop.  Fixes a newly checked in unit test as well as the last
ODE from bug #79933.

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

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

17 years agoadd ApplicationTest.cs and ApplicationContextTest.cs
Chris Toshok [Thu, 16 Nov 2006 01:52:52 +0000 (01:52 -0000)]
add ApplicationTest.cs and ApplicationContextTest.cs

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

17 years agoApplication unit tests
Chris Toshok [Thu, 16 Nov 2006 01:52:37 +0000 (01:52 -0000)]
Application unit tests

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

17 years agoChanges to the App_Code compiler
Marek Habersack [Thu, 16 Nov 2006 01:11:49 +0000 (01:11 -0000)]
Changes to the App_Code compiler

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

17 years ago2006-11-15 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 16 Nov 2006 00:53:11 +0000 (00:53 -0000)]
2006-11-15  Chris Toshok  <toshok@ximian.com>

* Form.cs (set_Owner): allow a null value so we can clear the
form's owner.
(Dispose): set all our owned_form's Owner properties to null, and
clear the owned_forms collection.
(WM_CLOSE): clean up this a little bit.. still not right though.

* ApplicationContext.cs: OnMainFormClosed should only call
ExitThreadCore if the main form isn't recreating.  Fixes unit
test.

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

17 years agoadd some HandleDestroyed tests (to see if it's generated from RecreateHandle), and...
Chris Toshok [Thu, 16 Nov 2006 00:51:58 +0000 (00:51 -0000)]
add some HandleDestroyed tests (to see if it's generated from RecreateHandle), and another check for disposing of a form's owner.

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

17 years agoadd a unit test dealing with disposing of a form's owner
Chris Toshok [Thu, 16 Nov 2006 00:37:36 +0000 (00:37 -0000)]
add a unit test dealing with disposing of a form's owner

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

17 years agoadd some tests for Form/ApplicationContext interaction
Chris Toshok [Thu, 16 Nov 2006 00:36:51 +0000 (00:36 -0000)]
add some tests for Form/ApplicationContext interaction

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

17 years agoA fix for a compilation problem. Thanks to Chris Toshok for showing me the light :)
Marek Habersack [Thu, 16 Nov 2006 00:31:54 +0000 (00:31 -0000)]
A fix for a compilation problem. Thanks to Chris Toshok for showing me the light :)

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

17 years agoReimplementation of the CodeDomConfigurationHandler class as a ConfigurationSection...
Marek Habersack [Thu, 16 Nov 2006 00:13:33 +0000 (00:13 -0000)]
Reimplementation of the CodeDomConfigurationHandler class as a ConfigurationSection. It now provides default compiler entries a'la MS.NET

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

17 years ago2006-11-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 15 Nov 2006 21:26:04 +0000 (21:26 -0000)]
2006-11-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebHeaderCollectionTest.cs: the Indexers test only compiles on 1.x

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

17 years ago2006-11-15 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 15 Nov 2006 21:16:34 +0000 (21:16 -0000)]
2006-11-15  Jonathan Pobst  <monkey@jpobst.com>

[Fixes 78346]

* ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.

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

17 years ago2006-11-15 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 15 Nov 2006 20:46:29 +0000 (20:46 -0000)]
2006-11-15  Jonathan Pobst  <monkey@jpobst.com>

[Fixes 79433]

* Hwnd.cs: Add a flag to show a window, but not activate it, to
keep popup window types from stealing focus from the main form
on Windows.

* XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.

* MenuAPI.cs: Set above flag to true.

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

17 years ago2006-11-15 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 15 Nov 2006 19:21:00 +0000 (19:21 -0000)]
2006-11-15  Chris Toshok  <toshok@ximian.com>

* XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
the button being released is not in wParam.

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

17 years ago2006-11-15 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 15 Nov 2006 19:17:59 +0000 (19:17 -0000)]
2006-11-15  Jonathan Pobst  <monkey@jpobst.com>

* Form.cs: Add the released button to MouseEventArgs.Button
for the OnMouseUp call to the MenuTracker.  Fixes menu clicking
on Win32.

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

17 years ago * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
Chris Toshok [Wed, 15 Nov 2006 18:15:53 +0000 (18:15 -0000)]
* XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
GetText().  untested because it's unused in our implementation.
Control.Text always caches the text, even if
ControlStyles.CacheText is not set.

fixes bug #79939.

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

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

17 years ago [ fixes #79933 ]
Chris Toshok [Wed, 15 Nov 2006 17:44:19 +0000 (17:44 -0000)]
[ fixes #79933 ]

* Form.cs: in Close() don't do anything after we send the WM_CLOSE
message.  no hiding, no disposing.

in the WM_CLOSE handler, hide the form if it's modal.

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

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

17 years ago * XplatUIX11.cs: use AddExpose instead of sending a message.
Chris Toshok [Wed, 15 Nov 2006 17:20:39 +0000 (17:20 -0000)]
* XplatUIX11.cs: use AddExpose instead of sending a message.
fixes textbox border drawing.

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

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

17 years agoWed Nov 15 18:45:47 GMT 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 15 Nov 2006 17:00:21 +0000 (17:00 -0000)]
Wed Nov 15 18:45:47 GMT 2006 Paolo Molaro <lupus@ximian.com>

* mini-arm.c, inssel-arm.brg: ABI fix for longs and doubles
that are passed half on the stack and half in registers.

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

17 years ago2006-11-15 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 15 Nov 2006 16:31:21 +0000 (16:31 -0000)]
2006-11-15  Chris Toshok  <toshok@ximian.com>

* PropertyGridView.cs: keep from crashing on mouse move/down when
the property grid is empty.

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

17 years agocommit the stripped down XplatUIX11.cs here for now.
Chris Toshok [Wed, 15 Nov 2006 16:28:28 +0000 (16:28 -0000)]
commit the stripped down XplatUIX11.cs here for now.

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

17 years agoexclude stuff for TARGET_JVM
Andrew Skiba [Wed, 15 Nov 2006 16:27:54 +0000 (16:27 -0000)]
exclude stuff for TARGET_JVM

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

17 years agomore blurbs about hwnd expose stuff
Chris Toshok [Wed, 15 Nov 2006 16:27:45 +0000 (16:27 -0000)]
more blurbs about hwnd expose stuff

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

17 years agoexclude stuff for TARGET_JVM
Andrew Skiba [Wed, 15 Nov 2006 16:26:52 +0000 (16:26 -0000)]
exclude stuff for TARGET_JVM

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

17 years agomore stuff
Chris Toshok [Wed, 15 Nov 2006 16:20:42 +0000 (16:20 -0000)]
more stuff

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

17 years ago * map.c: Flush (removes warnings due to _cnm_return_val_if_overflow()).
Jonathan Pryor [Wed, 15 Nov 2006 16:03:37 +0000 (16:03 -0000)]
* map.c: Flush (removes warnings due to _cnm_return_val_if_overflow()).

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

17 years agomips configure support.
Paolo Molaro [Wed, 15 Nov 2006 16:02:51 +0000 (16:02 -0000)]
mips configure support.

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

17 years agoWed Nov 15 17:00:27 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 15 Nov 2006 16:02:14 +0000 (16:02 -0000)]
Wed Nov 15 17:00:27 CET 2006 Paolo Molaro <lupus@ximian.com>

* mini-ops.h, mini-arch.h, helpers.c, Makefile.am:
more mips integration work from Mark E Mason
<mark.e.mason@broadcom.com>.

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

17 years agoWed Nov 15 16:56:53 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 15 Nov 2006 16:00:09 +0000 (16:00 -0000)]
Wed Nov 15 16:56:53 CET 2006 Paolo Molaro <lupus@ximian.com>

* mips/*: fixes by Mark E Mason <mark.e.mason@broadcom.com>.

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

17 years agoMore tests.
Paolo Molaro [Wed, 15 Nov 2006 15:49:26 +0000 (15:49 -0000)]
More tests.

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

17 years agoWed Nov 15 16:34:03 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 15 Nov 2006 15:37:15 +0000 (15:37 -0000)]
Wed Nov 15 16:34:03 CET 2006 Paolo Molaro <lupus@ximian.com>

* exceptions-mips.c, inssel-mips.brg, mini-mips.h,
cpu-mips.md, inssel-long32-mips.brg, mini-mips.c,
tramp-mips.c: added sources for the mips port, not
integrated in the build yet. Contributed by
Mark E Mason <mark.e.mason@broadcom.com>.

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

17 years agoTARGET_JVM to workaround CopyTo limitations
Andrew Skiba [Wed, 15 Nov 2006 14:44:13 +0000 (14:44 -0000)]
TARGET_JVM to workaround CopyTo limitations

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

17 years agoadd stubs for new 2.0 indexers
Andrew Skiba [Wed, 15 Nov 2006 14:34:35 +0000 (14:34 -0000)]
add stubs for new 2.0 indexers

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

17 years ago2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 15 Nov 2006 14:25:28 +0000 (14:25 -0000)]
2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>

* SqlMembershipProvider.cs: fixed: name is used for ReturnValue parameter.

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

17 years agoUpgrade Java project file with recent changes
Konstantin Triger [Wed, 15 Nov 2006 14:23:30 +0000 (14:23 -0000)]
Upgrade Java project file with recent changes

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

17 years agoUpgrade Java project file with recent changes
Konstantin Triger [Wed, 15 Nov 2006 13:47:34 +0000 (13:47 -0000)]
Upgrade Java project file with recent changes

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

17 years agoadd TARGET_JVM ifdef
Konstantin Triger [Wed, 15 Nov 2006 13:17:43 +0000 (13:17 -0000)]
add TARGET_JVM ifdef

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

17 years agosvn path=/trunk/mcs/; revision=67918
Vladislav Spivak [Wed, 15 Nov 2006 13:12:24 +0000 (13:12 -0000)]
svn path=/trunk/mcs/; revision=67918

17 years agosvn path=/trunk/mcs/; revision=67917
Vladislav Spivak [Wed, 15 Nov 2006 13:12:13 +0000 (13:12 -0000)]
svn path=/trunk/mcs/; revision=67917

17 years agosvn path=/trunk/mcs/; revision=67916
Vladislav Spivak [Wed, 15 Nov 2006 13:12:06 +0000 (13:12 -0000)]
svn path=/trunk/mcs/; revision=67916

17 years agosvn path=/trunk/mcs/; revision=67915
Vladislav Spivak [Wed, 15 Nov 2006 13:11:54 +0000 (13:11 -0000)]
svn path=/trunk/mcs/; revision=67915

17 years agosvn path=/trunk/mcs/; revision=67914
Vladislav Spivak [Wed, 15 Nov 2006 13:11:44 +0000 (13:11 -0000)]
svn path=/trunk/mcs/; revision=67914

17 years agosvn path=/trunk/mcs/; revision=67913
Vladislav Spivak [Wed, 15 Nov 2006 13:11:32 +0000 (13:11 -0000)]
svn path=/trunk/mcs/; revision=67913

17 years agosvn path=/trunk/mcs/; revision=67912
Vladislav Spivak [Wed, 15 Nov 2006 13:11:23 +0000 (13:11 -0000)]
svn path=/trunk/mcs/; revision=67912

17 years agosvn path=/trunk/mcs/; revision=67911
Vladislav Spivak [Wed, 15 Nov 2006 13:11:16 +0000 (13:11 -0000)]
svn path=/trunk/mcs/; revision=67911

17 years agosvn path=/trunk/mcs/; revision=67910
Vladislav Spivak [Wed, 15 Nov 2006 13:11:04 +0000 (13:11 -0000)]
svn path=/trunk/mcs/; revision=67910

17 years agosvn path=/trunk/mcs/; revision=67909
Vladislav Spivak [Wed, 15 Nov 2006 13:10:55 +0000 (13:10 -0000)]
svn path=/trunk/mcs/; revision=67909

17 years agosvn path=/trunk/mcs/; revision=67908
Vladislav Spivak [Wed, 15 Nov 2006 13:10:42 +0000 (13:10 -0000)]
svn path=/trunk/mcs/; revision=67908

17 years ago2006-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 15 Nov 2006 12:40:39 +0000 (12:40 -0000)]
2006-11-15  Atsushi Enomoto  <atsushi@ximian.com>

* WebReference.cs : added missing .ctor().

* WebReferenceTest.cs : added new test (so minor).

* System.Web.Services_test.dll.sources : added WebReferenceTest.cs.

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

17 years ago2006-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 15 Nov 2006 12:38:09 +0000 (12:38 -0000)]
2006-11-15  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSerializationReader.cs : implement ToByteArray[Base64|Hex]().
  removed extra ReadSerializable().
* XmlTypeMapping.cs : added XsdTypeName and XsdTypeNamespace.

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

17 years ago2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 15 Nov 2006 12:35:34 +0000 (12:35 -0000)]
2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>

* ListControl.cs: fixed: DataBinding for 2.0, for 1.x - refactoring only.

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

17 years ago2006-11-15 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 15 Nov 2006 12:15:24 +0000 (12:15 -0000)]
2006-11-15  Nagappan A  <anagappan@novell.com>

* DataTableTest.cs (NewRowAddedTest): Checks for the DataTable
TableNewRow added event raise.
(ClearTest): Checks for the table clearning event fired on
clearing a table.
(OnTableClearing, OnTableNewRowAdded): Implemented new event
handler functions.
(TestWriteXmlSchema1): Test WriteXmlSchema on a DataTable without
associating a DataSet.
(TestWriteXmlSchema2): Test WriteXmlSchema on a DataTable after
associating a DataSet, but without hierarchy.
(TestWriteXmlSchema3): Test WriteXmlSchema on a DataTable after
associating a DataSet, with hierarchy.
(TableInitializedEventTest[1234]): Tests different TableInitialized
event generation.
* BinarySerializationTest.cs: Added new file to test
BinarySerialization implementation.

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

17 years ago2006-11-15 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 15 Nov 2006 12:14:04 +0000 (12:14 -0000)]
2006-11-15  Nagappan A  <anagappan@novell.com>

* DataTable.cs (RemotingFormat): Set the default value attribute
as SerializationFormat.Xml.
(OnTableNewRow, NewRowAdded): Implemented new function to raise an
event when a new row is added to the table.
(DataTableInitialized, OnTableInitialized): Implemented new
function to raise an event when a table is initialized.
(IsInitialized): Implemented public function to check whether a
table is initialized or not.
(OnTableClearing): Raise an event before the table is cleared.
(GetObjectData): Modified to public for .NET 2.0 implementation.
(Load): Implemented missing API to call the registered delegate
function on load exception.
(WriteXmlSchema): Implemented overloaded function to write the
hierarchy with XML Schema.

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

17 years ago2006-11-15 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 15 Nov 2006 12:13:18 +0000 (12:13 -0000)]
2006-11-15  Nagappan A  <anagappan@novell.com>

* DbDataAdapter.cs (FillFromReader): Implemented missing API to
handle FillErrorEventHandler
(DataAdapter): Implemented missing .NET 2.0 function
(GetDeleteCommand): Returns DbDataAdapter deleteCommand internal
variable.
(GetInsertCommand): Returns DbDataAdapter insertCommand internal
variable.
(GetUpdateCommand): Returns DbDataAdapter updateCommand internal
variable.

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

17 years agosanitizing MonoTODOs.
Atsushi Eno [Wed, 15 Nov 2006 11:31:25 +0000 (11:31 -0000)]
sanitizing MonoTODOs.

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

17 years agoUPdate
Miguel de Icaza [Wed, 15 Nov 2006 10:40:50 +0000 (10:40 -0000)]
UPdate

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

17 years ago2006-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 15 Nov 2006 10:39:36 +0000 (10:39 -0000)]
2006-11-15  Atsushi Enomoto  <atsushi@ximian.com>

* MonoWSDL.cs : handle multiple URLs. This fixes bug #79636.

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

17 years agoGH project fix
Andrew Skiba [Wed, 15 Nov 2006 10:27:31 +0000 (10:27 -0000)]
GH project fix

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

17 years agoFix build 1.x profile
Konstantin Triger [Wed, 15 Nov 2006 09:53:17 +0000 (09:53 -0000)]
Fix build 1.x profile

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

17 years agoRefactoring
Konstantin Triger [Wed, 15 Nov 2006 09:27:15 +0000 (09:27 -0000)]
Refactoring

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

17 years agoremoved "using System.Web.UI.WebControls.WebParts"
Igor Zelmanovich [Wed, 15 Nov 2006 09:09:07 +0000 (09:09 -0000)]
removed "using System.Web.UI.WebControls.WebParts"

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

17 years agoRemoved unnecessary reference
Igor Zelmanovich [Wed, 15 Nov 2006 09:06:20 +0000 (09:06 -0000)]
Removed unnecessary reference

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

17 years ago2006-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 15 Nov 2006 08:45:38 +0000 (08:45 -0000)]
2006-11-15  Atsushi Enomoto  <atsushi@ximian.com>

* WebReferenceOptionsSerializer.cs :
  (#if NET_2_0) oops, I did it again :-(

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

17 years ago* DataTable.cs: Fixed LoadDataRow scenarios.
Konstantin Triger [Wed, 15 Nov 2006 07:39:33 +0000 (07:39 -0000)]
* DataTable.cs: Fixed LoadDataRow scenarios.
* DataRowCollection.cs: Added override for AddInternal taking DataRowAction parameter.

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

17 years ago2006-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 15 Nov 2006 07:32:07 +0000 (07:32 -0000)]
2006-11-15  Atsushi Enomoto  <atsushi@ximian.com>

* web-reference.genxs : fixed <reader> -> <writer>.
* WebReferenceOptionsSerializer.cs : regenerated.

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

17 years agoadd a TODO
Chris Toshok [Wed, 15 Nov 2006 06:15:52 +0000 (06:15 -0000)]
add a TODO

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

17 years agostart of refactoring work on X backend. this is nowhere near usable yet.
Chris Toshok [Wed, 15 Nov 2006 06:14:42 +0000 (06:14 -0000)]
start of refactoring work on X backend.  this is nowhere near usable yet.

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

17 years ago * map.c: Flush (fixes FilePermissions conversion, allowing Syscall.stat() to
Jonathan Pryor [Wed, 15 Nov 2006 04:47:32 +0000 (04:47 -0000)]
* map.c: Flush (fixes FilePermissions conversion, allowing Syscall.stat() to
  work as expected).

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

17 years ago * MapAttribute.cs: Update (changes SuppressFlags to a string holding mask).
Jonathan Pryor [Wed, 15 Nov 2006 04:44:47 +0000 (04:44 -0000)]
* MapAttribute.cs: Update (changes SuppressFlags to a string holding mask).
* Syscall.cs: Specify the mask value for non-bitmask values in
  FilePermissions.

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

17 years ago2006-11-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 15 Nov 2006 02:37:11 +0000 (02:37 -0000)]
2006-11-15  Atsushi Enomoto  <atsushi@ximian.com>

* WebService.cs: minor API fixes (attributes).

* ServiceDescriptionImporter.cs : API fix. Now we can use new
  WebReferenceOptions.

* DiscoveryReference.cs: FilenameFromUrl() is public.

* SoapHeaderException.cs, SoapException.cs, SoapFaultSubcode.cs,
  Soap12FaultCodes.cs : API fixes, mostly for SoapFaultSubCode.

* MonoWSDL2.cs : 2.0 API fixes (use WebReferenceOptions)

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

17 years agoFixes #79835, implements PrinterSettings.IsValid, throws proper
Andreia Gaita [Tue, 14 Nov 2006 23:03:43 +0000 (23:03 -0000)]
Fixes #79835, implements PrinterSettings.IsValid, throws proper
InvalidPrinterException with differentiated messages.

* PrintingServices.cs: Declares IsPrinterValid to enable easy checking
if printer name is a valid printer

* PrintingServicesWin32.cs: Implements IsPrinterValid, caches
last assigned printer name and if it is valid to speed up next calls.

* PrintingServicesUnix.cs: Implements IsPrinterValid, caches
last assigned printer name and if it is valid to speed up next calls.

* PageSettings.cs:
- throw InvalidPrinterException in the properties,
according to the docs: Color, Landscape, PaperSize, PaperSource,
PrinterResolution
- change the private fields above to internal, so that in the
constructor we can access them without triggering the exceptions
if there are no printers installed

* PrinterSettings.cs: Implement IsValid to call IsPrinterValid
implemented above

* PreviewPrintController.cs: throw InvalidPrinterException on
StartPrint() if there's no valid printer configured

* InvalidPrinterException.cs: New private GetMessage() to customize
printer error message, used by constructor

2006-11-14 Andreia Gaita <avidigal@novell.com>

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

17 years ago2006-11-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 14 Nov 2006 21:30:15 +0000 (21:30 -0000)]
2006-11-14  Miguel de Icaza  <miguel@novell.com>

        * Array.cs: TODOs will from now on be used to flag information
        that will be developer-visible, not to flag internal information
        that none of us reads or bothers about.

        For those, use "FIXME" strings in the source code instead.

        * AppDomain.cs: Update to be more useful.

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

17 years ago * TextBoxBase.cs: When we set the text property position the
Jackson Harper [Tue, 14 Nov 2006 19:34:08 +0000 (19:34 -0000)]
    * TextBoxBase.cs: When we set the text property position the
        cursor at the beginning of the document.

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

17 years ago * TextControl.cs: Make PageUp and PageDown more like the
Jackson Harper [Tue, 14 Nov 2006 19:07:59 +0000 (19:07 -0000)]
  * TextControl.cs: Make PageUp and PageDown more like the
        MS versions.

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

17 years ago2006-11-14 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Tue, 14 Nov 2006 18:13:05 +0000 (18:13 -0000)]
2006-11-14  Rolf Bjarne Kvinge  <RKvinge@novell.com>

        * Form.cs: if a mdi child's WindowState has changed
        before it's creation, it would display wrong control
        buttons.

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

17 years ago2006-11-14 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Tue, 14 Nov 2006 18:09:16 +0000 (18:09 -0000)]
2006-11-14  Alexander Olk  <alex.olk@googlemail.com>

* TreeView.cs: De-uglify TreeView checkbox checkmarks.
  (Fixes bug #79927)

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

17 years ago2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Nov 2006 17:52:58 +0000 (17:52 -0000)]
2006-11-14  Atsushi Enomoto  <atsushi@ximian.com>

* WebReferenceOptionsSerializer.cs : oops, surrounding #if NET_2_0
  is required when it is regenerated.

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

17 years ago2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Nov 2006 17:51:15 +0000 (17:51 -0000)]
2006-11-14  Atsushi Enomoto  <atsushi@ximian.com>

* WebReferenceOptions.cs : actually Read() raises invalid operation
  when it raises an error.

* WebReferenceOptionsTest.cs :
  Read() actually causes invalid operation.

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

17 years ago2006-11-14 Marek Habersack <grendel@caudium.net>
Gonzalo Paniagua Javier [Tue, 14 Nov 2006 17:44:00 +0000 (17:44 -0000)]
2006-11-14 Marek Habersack <grendel@caudium.net>

* Cache.cs:
* CacheDependency.cs:
* AggregateCacheDependency.cs: implement this one.

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

17 years ago2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Nov 2006 17:43:32 +0000 (17:43 -0000)]
2006-11-14  Atsushi Enomoto  <atsushi@ximian.com>

* web-reference.xsd : fixed namespace URI.
* web-reference.genxs : genxs file.
* WebReferenceOptionsSerializer.cs : new file, generated by genxs.
* WebReferenceOptions.cs : implemented Read().

* WebReferenceOptionsTest.cs :
  added test for Read(). Fixed namespace URI.

* System.Web.Services.dll.sources :
  added WebReferenceOptionsSerializer.cs.

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

17 years ago2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Nov 2006 17:39:20 +0000 (17:39 -0000)]
2006-11-14  Atsushi Enomoto  <atsushi@ximian.com>

* genxs.1 : introduced <baseSerializer> and <implementation>
  elements. See also sgen.

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

17 years ago2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Nov 2006 17:38:19 +0000 (17:38 -0000)]
2006-11-14  Atsushi Enomoto  <atsushi@ximian.com>

* README: introduced <baseSerializer> and <implementation> elements
  for 2.0 stuff.

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

17 years ago* mini-s390[x].c (is_regsize_var): Support PTR/FNPTR too.
Neale Ferguson [Tue, 14 Nov 2006 17:37:52 +0000 (17:37 -0000)]
* mini-s390[x].c (is_regsize_var): Support PTR/FNPTR too.

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

17 years ago2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Nov 2006 17:36:49 +0000 (17:36 -0000)]
2006-11-14  Atsushi Enomoto  <atsushi@ximian.com>

* SerializationCodeGenerator.cs,
  SerializationCodeGeneratorConfiguration.cs :
  make "XmlSerializerContract" and "BaseXmlSerializer" customizible.
  (or it is impossible to use genxs more than twice in an assembly.)

* XmlSerializerImplementationTests.cs :
  another custom implementation case.

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

17 years ago2006-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 14 Nov 2006 17:35:27 +0000 (17:35 -0000)]
2006-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CacheDependency.cs:
* AggregateCacheDependency.cs: implement this one.

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

17 years ago2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 14 Nov 2006 17:18:01 +0000 (17:18 -0000)]
2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>

* GridView.cs: fixed: Rows property, DataBinding flow.
* DataBoundControl.cs:
* BaseDataBoundControl.cs:

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

17 years ago* mini-s390[x].c (is_regsize_var): Support PTR/FNPTR too.
Neale Ferguson [Tue, 14 Nov 2006 16:37:05 +0000 (16:37 -0000)]
* mini-s390[x].c (is_regsize_var): Support PTR/FNPTR too.

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

17 years ago2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Nov 2006 15:10:23 +0000 (15:10 -0000)]
2006-11-14  Atsushi Enomoto  <atsushi@ximian.com>

* System.Web.Services.dll.sources : added WebReferenceOptions.cs.
* System.Web.Services_test.dll.sources :
  added WebReferenceOptionsTest.cs.
* Makefile: added web-reference.xsd to resources and dist files.

* ServiceDescriptionImportStyle.cs : added XmlEnum attributes in
  2.0 profile.
* WebReferenceOptions.cs : new 2.0 class.
* web-reference.xsd : new resource for WebReferenceOptions.Schema.

* WebReferenceOptionsTest.cs : new test.

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

17 years agoTue Nov 14 16:06:37 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 14 Nov 2006 15:08:15 +0000 (15:08 -0000)]
Tue Nov 14 16:06:37 CET 2006 Paolo Molaro <lupus@ximian.com>

* Makefile.am, inssel-float.brg, inssel-softfloat.brg:
put the soft-float rules in its own file since it seems to
break s390 compilation.

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

17 years ago2006-11-14 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Tue, 14 Nov 2006 15:01:23 +0000 (15:01 -0000)]
2006-11-14  Rolf Bjarne Kvinge <RKvinge@novell.com>

        * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
        the window gets to paint its borders even if the window is
        getting smaller.

        * Form.cs: on a WM_NCPAINT invalidate the entire menu,
        otherwise the old control buttons would still be painted
        if the window gets bigger.

        * PaintEventArgs.cs: add an internal method so that the clip
        rectangle can be changed.

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

17 years agoDIST_ONLY_SUBDIRS as well.
Atsushi Eno [Tue, 14 Nov 2006 14:45:04 +0000 (14:45 -0000)]
DIST_ONLY_SUBDIRS as well.

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

17 years ago2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Nov 2006 14:02:51 +0000 (14:02 -0000)]
2006-11-14  Atsushi Enomoto  <atsushi@ximian.com>

* sgen.cs : some fixes.
  - catch Assembly.LoadFrom() errors.
  - command line options were working only with /, not with --.
  - --type (/t) are to limit target types, so skip non-target types.

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

17 years ago2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Nov 2006 13:57:58 +0000 (13:57 -0000)]
2006-11-14  Atsushi Enomoto  <atsushi@ximian.com>

* sgen.1, Makefile: revised a bit, to not mislead as if the output
  were sources. It indeed generates an assembly.

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

17 years ago2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 14 Nov 2006 13:57:06 +0000 (13:57 -0000)]
2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>

* CompositeDataBoundControl.cs: fixed:
DataBind call Controls.Clear().

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

17 years ago2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Nov 2006 13:26:50 +0000 (13:26 -0000)]
2006-11-14  Atsushi Enomoto  <atsushi@ximian.com>

in man:
* sgen.1, Makefile: added manpage for sgen.

in scripts:
* Makefile.am : added sgen.

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

17 years ago2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Nov 2006 13:24:24 +0000 (13:24 -0000)]
2006-11-14  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile: added sgen to net_2_0_SUBDIRS.

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

17 years ago* AssemblyTest.cs (bug79872): New test for #79872.
Raja R Harinath [Tue, 14 Nov 2006 12:23:20 +0000 (12:23 -0000)]
* AssemblyTest.cs (bug79872): New test for #79872.

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

17 years ago2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Nov 2006 10:40:06 +0000 (10:40 -0000)]
2006-11-14  Atsushi Enomoto  <atsushi@ximian.com>

* MonoWSDL2.cs : 2.0 API fixes (WsiClaims -> WsiProfiles)

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