mono.git
21 years agomore WIP
Radek Doulik [Fri, 2 Aug 2002 18:34:20 +0000 (18:34 -0000)]
more WIP

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

21 years agoFlush web page
Miguel de Icaza [Fri, 2 Aug 2002 18:32:28 +0000 (18:32 -0000)]
Flush web page

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

21 years ago2002-08-03 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 2 Aug 2002 18:30:58 +0000 (18:30 -0000)]
2002-08-03  Duncan Mak  <duncan@ximian.com>

* BinaryClientFormatterSink.cs:
* IClientChannelSink.cs: Fixed signature for AsyncProcessResponse.

* MethodCall.cs:
* MethodResponse.cs: More visibility fixes. Hopefully this is the
last of it.

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

21 years agomore surgery
Radek Doulik [Fri, 2 Aug 2002 18:13:59 +0000 (18:13 -0000)]
more surgery

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

21 years agodid quick surgery to update for Dietmar's new code
Radek Doulik [Fri, 2 Aug 2002 17:55:44 +0000 (17:55 -0000)]
did quick surgery to update for Dietmar's new code

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

21 years ago2002-08-02 Radek Doulik <rodo@ximian.com>
Radek Doulik [Fri, 2 Aug 2002 17:55:17 +0000 (17:55 -0000)]
2002-08-02  Radek Doulik  <rodo@ximian.com>

* marshal.c (mono_mb_add_data): convert ret value to LE, suggested
by Dietmar as quick fix
(mono_marshal_get_delegate_begin_invoke): use sig->param_count +
16 as stack size, used on more places as quick fix before Dietmar
will fix it properly

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

21 years ago2002-08-02 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 2 Aug 2002 16:28:09 +0000 (16:28 -0000)]
2002-08-02  Dick Porter  <dick@ximian.com>

* io.c (GetStdHandle): Add a handle reference when returning a
duplicate console handle.  This fixes the unref_handle errors in
NUnit.

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

21 years agoFri Aug 2 17:48:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 2 Aug 2002 15:49:32 +0000 (15:49 -0000)]
Fri Aug 2 17:48:17 CEST 2002 Paolo Molaro <lupus@ximian.com>

* object.h, object.c: added accessors for fields and properties.

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

21 years agoFri Aug 2 17:45:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 2 Aug 2002 15:46:55 +0000 (15:46 -0000)]
Fri Aug 2 17:45:15 CEST 2002 Paolo Molaro <lupus@ximian.com>

* class.c, class.h: made mono_class_get_field_from_name ()
loop on parent types.
Added mono_class_get_property_from_name ().

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

21 years agosome docu about LDFLD/STFLD for transparent proxies
Dietmar Maurer [Fri, 2 Aug 2002 15:27:26 +0000 (15:27 -0000)]
some docu about LDFLD/STFLD for transparent proxies

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

21 years ago2002-08-02 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 2 Aug 2002 14:16:21 +0000 (14:16 -0000)]
2002-08-02  Dietmar Maurer  <dietmar@ximian.com>

* interp.c (get_virtual_method): support proxies
(ves_exec_method): impl. LDFLD/STFLD for proxies.

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

21 years agoRemove duplicate property.
Paolo Molaro [Fri, 2 Aug 2002 11:34:44 +0000 (11:34 -0000)]
Remove duplicate property.

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

21 years agoFri Aug 2 13:00:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 2 Aug 2002 11:02:35 +0000 (11:02 -0000)]
Fri Aug 2 13:00:41 CEST 2002 Paolo Molaro <lupus@ximian.com>

* interp.c, interp.h: implemented exception trap for runtime_invoke
and handle exceptions across managed/unmanaged boundaries.

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

21 years agoFri Aug 2 11:40:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 2 Aug 2002 09:44:40 +0000 (09:44 -0000)]
Fri Aug 2 11:40:32 CEST 2002 Paolo Molaro <lupus@ximian.com>

* class.c, class.h: move the code to setup the type vtable in its own
function so that it can be reused also for types created at runtime.
Eliminate the "class" identifier from the header file.
* reflection.c: setup the vtable for enums so that we can create
objects for use in SetConstant ().

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

21 years agoFixes to the correct links in Mono Hispano - acs
Alvaro del Castillo [Fri, 2 Aug 2002 08:08:13 +0000 (08:08 -0000)]
Fixes to the correct links in Mono Hispano - acs

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

21 years ago2002-08-02 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 2 Aug 2002 07:13:54 +0000 (07:13 -0000)]
2002-08-02  Dietmar Maurer  <dietmar@ximian.com>

* marshal.c (mono_delegate_to_ftnptr): pass delegate->target
instead of the delegate itself as this pointer (bug #28383)

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

21 years ago2002/08/02 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Fri, 2 Aug 2002 01:54:42 +0000 (01:54 -0000)]
2002/08/02  Nick Drochak <ndrochak@gol.com>

* ConvertTest.cs (TestGetTypeCode): Find out which test is failing on
linux.

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

21 years agoUse GetByteCount instead of GetMaxByteCount (which doesn't seem to be implemented...
Jason Diamond [Fri, 2 Aug 2002 01:05:20 +0000 (01:05 -0000)]
Use GetByteCount instead of GetMaxByteCount (which doesn't seem to be implemented correctly for UnicodeEncoding and doesn't make sense anyways--wouldn't you want your byte array to be the correct length?) when converting chars to bytes. This was causing the System.XML tests to crash with an assertion on Linux.

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

21 years ago2002-08-02 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 2 Aug 2002 01:02:23 +0000 (01:02 -0000)]
2002-08-02  Martin Baulig  <martin@gnome.org>

* expression.cs (LocalVariableReferenc): Added constructor which
takes additional `VariableInfo vi' and `bool is_readonly' arguments.
(LocalVariableReference.IsReadOnly): New property.
(LocalVariableReference.DoResolveLValue): Report a CS1604 if the
variable is readonly, use our own readonly flag to do this; you can
use the new constructor to get a writable reference to a read-only
variable.

* cs-parser.jay (foreach_statement, using_statement): Get a writable
reference to the local variable.

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

21 years ago2002-08-01 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 1 Aug 2002 23:50:10 +0000 (23:50 -0000)]
2002-08-01  Miguel de Icaza  <miguel@ximian.com>

* rootcontext.cs (ResolveCore): Also include System.Exception

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

21 years ago2002-08-01 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 1 Aug 2002 23:37:24 +0000 (23:37 -0000)]
2002-08-01  Miguel de Icaza  <miguel@ximian.com>

* statement.cs
(Catch.DoResolve, Throw.DoResolve): Throwing the System.Exception
is also fine.

* expression.cs:  use brtrue/brfalse directly and avoid compares to null.

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

21 years ago2002-08-01 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 1 Aug 2002 23:01:09 +0000 (23:01 -0000)]
2002-08-01  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (Block.Emit): Do not emit the dead-code warnings if
we reach an EmptyStatement.

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

21 years ago2002-08-01 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 1 Aug 2002 22:55:35 +0000 (22:55 -0000)]
2002-08-01  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Binary.ResolveOperator): Check error result in
two places.

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

21 years ago2002-08-02 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 1 Aug 2002 22:46:01 +0000 (22:46 -0000)]
2002-08-02  Nick Drochak  <ndrochak@gol.com>

* BufferTest.cs (TestBlockCopy): BlockCopy uses the number of bytes,
so hard-code some of that info into the test since sizeof() is a very
unsafe thing to do.

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

21 years ago2002-08-02 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 1 Aug 2002 22:32:59 +0000 (22:32 -0000)]
2002-08-02  Martin Baulig  <martin@gnome.org>

* cs0155.cs, cs0155-2.cs: New tests.

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

21 years ago2002-08-02 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 1 Aug 2002 22:31:54 +0000 (22:31 -0000)]
2002-08-02  Martin Baulig  <martin@gnome.org>

* makefile: Moved test-66.cs to TEST_NOPASS since there's currently
a bug in the runtime which makes this crash.

* test-155.cs: New test.

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

21 years ago2002-08-02 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 1 Aug 2002 22:31:12 +0000 (22:31 -0000)]
2002-08-02  Martin Baulig  <martin@gnome.org>

* class.cs (TypeContainer.Define): Define all nested interfaces here.
Fixes bug #28407, added test-155.cs.

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

21 years ago2002-07-31 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Thu, 1 Aug 2002 22:18:54 +0000 (22:18 -0000)]
2002-07-31  Rodrigo Moya <rodrigo@ximian.com>

* unix.args: added new files from System.Runtime.Remoting.Channels.

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

21 years ago2002-08-01 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Thu, 1 Aug 2002 22:18:13 +0000 (22:18 -0000)]
2002-08-01  Rodrigo Moya <rodrigo@ximian.com>

* BinaryClientFormatterSink.cs:
* BaseChannelWithProperties.cs: new stubs.

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

21 years ago2002-8-1 DennisHayes <dennish@raytek.com>
Dennis Hayes [Thu, 1 Aug 2002 20:11:29 +0000 (20:11 -0000)]
2002-8-1  DennisHayes <dennish@raytek.com>
* Checked in for Ginandrea Terzi (gterzi@lario.com)

* KeyEventArgs.cs
* KeyPressEventArgs.cs
* LabelEditEventArgs.cs
* LayoutEventArgs.cs
* LinkClickedEventArgs.cs
* LinkLabelLinkClickedEventArgs.cs
* MeasureItemEventArgs.cs
* MouseEventArgs.cs
* NavigateEventArgs.cs
* NodeLabelEditEventArgs.cs
* PaintEventArgs.cs
* PropertyTabChangedEventArgs.cs
* PropertyValueChangedEventArgs.cs
* QueryAccessibilityHelpEventArgs.cs
* QueryContinueDragEventArgs.cs
* ScrollEventArgs.cs
* SelectedGridItemChangedEventArgs.cs
* SplitterEventArgs.cs
* StatusBarDrawItemEventArgs.cs
* StatusBarPanelClickEventArgs.cs
* ToolBarButtonClickEventArgs.cs
* TreeViewCancelEventArgs.cs
* UICuesEventArgs.cs
* UpDownEventArgs.cs
* Corrected, cleaned up/ completed some *args.cs classes.
* May break build, but should be easy to fix, will verifiy
*   tonight and check in any needed fixes.

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

21 years ago2002-8-1 DennisHayes <dennish@raytek.com>
Dennis Hayes [Thu, 1 Aug 2002 20:00:10 +0000 (20:00 -0000)]
2002-8-1  DennisHayes <dennish@raytek.com>
* MonthCalendar.cs
* ButtonBase.cs
* Form.cs
* MonthCalendar commented out, stubbs need work
* GTK references removed from Buttonbase and form, to make compile easier.
* Replace GTK references as soon as build works on Windows and Linux.
* With this, SWF should compile uder visual studio

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

21 years ago2002-08-01 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 1 Aug 2002 19:53:56 +0000 (19:53 -0000)]
2002-08-01  Martin Baulig  <martin@gnome.org>

* verify-3.cs: New test.

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

21 years ago2002-08-01 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 1 Aug 2002 19:51:35 +0000 (19:51 -0000)]
2002-08-01  Martin Baulig  <martin@gnome.org>

* class.cs (Event.EmitDefaultMethod): Make this work with static
events.  Fixes #28311, added verify-3.cs.

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

21 years ago2002-8-1 DennisHayes <dennish@raytek.com>
Dennis Hayes [Thu, 1 Aug 2002 19:47:08 +0000 (19:47 -0000)]
2002-8-1  DennisHayes <dennish@raytek.com>
* TODOAttribute.cs
* ComVisible.cs
* added so the namespace can compile, remove when replaced with mono equivalents.

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

21 years ago2002-8-1 DennisHayes <dennish@raytek.com>
Dennis Hayes [Thu, 1 Aug 2002 19:43:37 +0000 (19:43 -0000)]
2002-8-1  DennisHayes <dennish@raytek.com>
* System.Windows.Forms.csproj
* System.Windows.Forms.csproj.user
* System.Windows.Forms.sln
* AssemblyInfo.cs * Not sure if this file is needed. not a part of the namespace, just visual studio
* Added files to compile using visual Studio

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

21 years ago2002-08-01 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 1 Aug 2002 19:35:04 +0000 (19:35 -0000)]
2002-08-01  Martin Baulig  <martin@gnome.org>

* statement.cs (ForeachHelperMethods): Added `enumerator_type' and
`is_disposable' fields.
(Foreach.GetEnumeratorFilter): Set `hm.enumerator_type' and
`hm.is_disposable' if we're using the collection pattern.
(Foreach.EmitCollectionForeach): Use the correct type for the
enumerator's local variable, only emit the try/finally block if
necessary (fixes #27713).

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

21 years ago2002-8-1 DennisHayes <dennish@raytek.com>
Dennis Hayes [Thu, 1 Aug 2002 19:35:01 +0000 (19:35 -0000)]
2002-8-1  DennisHayes <dennish@raytek.com>
* Getopt.cs
* removed, file contained only trash, not needed.

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

21 years ago2002-08-01 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 1 Aug 2002 19:07:40 +0000 (19:07 -0000)]
2002-08-01  Martin Baulig  <martin@gnome.org>

* ecore.cs (Expression.report118): Renamed to Error118 and made
it public static.

* statement.cs (Throw.Resolve): Check whether the expression is of
the correct type (CS0118) and whether the type derives from
System.Exception (CS0155).
(Catch.Resolve): New method.  Do the type lookup here and check
whether it derives from System.Exception (CS0155).
(Catch.CatchType, Catch.IsGeneral): New public properties.

* typemanager.cs (TypeManager.exception_type): Added.

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

21 years agoMore visibility fixes, and revert my previous patch on ContextAttribute.
Duncan Mak [Thu, 1 Aug 2002 18:28:49 +0000 (18:28 -0000)]
More visibility fixes, and revert my previous patch on ContextAttribute.

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

21 years agoMore visibility fixes.
Duncan Mak [Thu, 1 Aug 2002 18:20:26 +0000 (18:20 -0000)]
More visibility fixes.

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

21 years ago2002-08-02 Duncan Mak <duncan@ximian.com>
Duncan Mak [Thu, 1 Aug 2002 18:06:30 +0000 (18:06 -0000)]
2002-08-02  Duncan Mak  <duncan@ximian.com>

* MethodCall.cs:
* MethodCallMessageWrapper.cs:
* MethodReturnMessageWrapper.cs: Various visibility fixes.

* RemotingSurrogateSelector.cs: Added, replaced RemoteSurrogateSelector.

* ActivatedClientTypeEntry.cs:
* ActivatedServiceTypeEntry.cs:
* WellKnownClientTypeEntry.cs:
* WellKnownServiceTypeEntry.cs: Various visibility fixes.

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

21 years agoFix compilation issues.
Duncan Mak [Thu, 1 Aug 2002 17:28:49 +0000 (17:28 -0000)]
Fix compilation issues.

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

21 years ago2002-08-02 Duncan Mak <duncan@ximian.com>
Duncan Mak [Thu, 1 Aug 2002 16:51:47 +0000 (16:51 -0000)]
2002-08-02  Duncan Mak  <duncan@ximian.com>

* IChannel.cs:
* IChannelReceiver.cs:
* IChannelReceiverHook.cs:
* IClientChannelSink.cs:
* IClientChannelSinkStack.cs:
* IServerChannelSink.cs:
* IServerChannelSinkProvider.cs:
* IServerChannelSinkStack.cs: Fixed various typos, cut-n-paste
errors.

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

21 years agoForgot to commit this for acs last night. sorry.
Duncan Mak [Thu, 1 Aug 2002 16:15:13 +0000 (16:15 -0000)]
Forgot to commit this for acs last night. sorry.

2002-08-01  Duncan Mak  <duncan@ximian.com>

* IChannel.cs:
(Parse): Added.

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

21 years agoAdd new file
Miguel de Icaza [Thu, 1 Aug 2002 16:10:58 +0000 (16:10 -0000)]
Add new file

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

21 years agoAdd embedded API document
Miguel de Icaza [Thu, 1 Aug 2002 16:07:04 +0000 (16:07 -0000)]
Add embedded API document

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

21 years agoMono Hackers Hall Of Fame.
Paolo Molaro [Thu, 1 Aug 2002 15:59:54 +0000 (15:59 -0000)]
Mono Hackers Hall Of Fame.

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

21 years agoremoved some debugging output
Dietmar Maurer [Thu, 1 Aug 2002 15:54:32 +0000 (15:54 -0000)]
removed some debugging output

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

21 years ago2002-08-01 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 1 Aug 2002 15:31:45 +0000 (15:31 -0000)]
2002-08-01  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (mono_analyze_stack): impl. CEE_MONO_RETOBJ

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

21 years agoupdate index
Miguel de Icaza [Thu, 1 Aug 2002 15:20:30 +0000 (15:20 -0000)]
update index

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

21 years agobug fix
Dietmar Maurer [Thu, 1 Aug 2002 14:23:23 +0000 (14:23 -0000)]
bug fix

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

21 years ago2002-08-01 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 1 Aug 2002 14:17:18 +0000 (14:17 -0000)]
2002-08-01  Dietmar Maurer  <dietmar@ximian.com>

* x86/tramp.c (mono_create_trampoline): also push the value type pointer for
methods returning value types.
(mono_create_method_pointer): support valuetype returns.

* interp.c (ves_pinvoke_method): do not call stackval_from_data if the result
is a value type.

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

21 years ago2002-08-01 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 1 Aug 2002 12:15:41 +0000 (12:15 -0000)]
2002-08-01  Dick Porter  <dick@ximian.com>

* threads.c: Use atomic spinlocks in TLS functions

* mono-spinlock.h:
* Makefile.am: Added mono-spinlock.h

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

21 years ago2002-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 1 Aug 2002 10:50:32 +0000 (10:50 -0000)]
2002-08-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* String.cs:
(FormatSpecifier): allow white space between the comman and the width
specifier.

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

21 years ago2002-08-01 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 1 Aug 2002 06:40:11 +0000 (06:40 -0000)]
2002-08-01  Dietmar Maurer  <dietmar@ximian.com>

* interp.c (stackval_from_data): add pinvoke argument
(stackval_to_data): add pinvoke argument. We need consider the
fact that unmanages structures may have different sizes.

* x86/tramp.c (mono_create_method_pointer): allocate space for
value types.

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

21 years ago2002-07-31 Piers Haken <piersh@friskit.com>
Piers Haken [Thu, 1 Aug 2002 00:40:15 +0000 (00:40 -0000)]
2002-07-31  Piers Haken <piersh@friskit.com>

* XPathDocument.cs: simple, XmlDocument-based implementation

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

21 years ago2002-07-31 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 31 Jul 2002 23:27:45 +0000 (23:27 -0000)]
2002-07-31  Miguel de Icaza  <miguel@ximian.com>

* driver.cs: Updated About function.

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

21 years ago2002-07-31 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Wed, 31 Jul 2002 22:56:49 +0000 (22:56 -0000)]
2002-07-31  Rodrigo Moya <rodrigo@ximian.com>

* unix.args: added new files from System.Runtime.Remoting.Channels.

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

21 years ago2002-07-31 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Wed, 31 Jul 2002 22:56:29 +0000 (22:56 -0000)]
2002-07-31  Rodrigo Moya <rodrigo@ximian.com>

* BaseChannelSinkWithProperties.cs:
* BaseChannelObjectWithProperties.cs: new stubs.

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

21 years ago2002-07-31 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Wed, 31 Jul 2002 22:49:36 +0000 (22:49 -0000)]
2002-07-31  Rodrigo Moya <rodrigo@ximian.com>

* unix.args: added new files from System.Runtime.Remoting.Channels.

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

21 years ago2002-07-31 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Wed, 31 Jul 2002 22:48:18 +0000 (22:48 -0000)]
2002-07-31  Rodrigo Moya <rodrigo@ximian.com>

* BaseChannelObjectWithProperties.cs: new stubs.

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

21 years agoAdded myself as author of this file :-)
Martin Baulig [Wed, 31 Jul 2002 19:34:42 +0000 (19:34 -0000)]
Added myself as author of this file :-)

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

21 years agoCommitting fix for Juli.
Duncan Mak [Wed, 31 Jul 2002 16:41:39 +0000 (16:41 -0000)]
Committing fix for Juli.

2002-07-30  Juli Mallett  <jmallett@FreeBSD.org>

* regex.cs: Fixed bug where the expression would not be
re-evaluated for grouping purposes when factory caches were
used, resulting in no groups being recognised after one call
with a given pattern and no change in options.

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

21 years ago2002-08-01 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 31 Jul 2002 16:23:42 +0000 (16:23 -0000)]
2002-08-01  Duncan Mak  <duncan@ximian.com>

* BinaryServerFormatterSink.cs:
* SoapServerFormatterSink.cs: Fixed typo.

* IServerChannelSink.cs:
(ProcessMessage): Fixed definition.

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

21 years agoMore compilation fixes, sigh.
Duncan Mak [Wed, 31 Jul 2002 16:16:33 +0000 (16:16 -0000)]
More compilation fixes, sigh.

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

21 years agoSmall fix.
Martin Baulig [Wed, 31 Jul 2002 16:12:39 +0000 (16:12 -0000)]
Small fix.

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

21 years agoMake it compile with csc.
Martin Baulig [Wed, 31 Jul 2002 16:10:29 +0000 (16:10 -0000)]
Make it compile with csc.

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

21 years agoVarious compilation fixes.
Duncan Mak [Wed, 31 Jul 2002 16:06:49 +0000 (16:06 -0000)]
Various compilation fixes.

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

21 years ago2002-07-31 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 31 Jul 2002 15:58:34 +0000 (15:58 -0000)]
2002-07-31  Duncan Mak  <duncan@ximian.com>

* BinaryServerFormatterSink.cs:
* SoapServerFormatterSink.cs: Added.

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

21 years ago2002-07-31 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 31 Jul 2002 15:54:56 +0000 (15:54 -0000)]
2002-07-31  Martin Baulig  <martin@gnome.org>

* test-154.cs: New test for the flow analysis code.

* error-1.cs: Each method in this test must produce a compiler
error message.

* makefile (test-unsafe-mono): New target to compile and run all
the --unsafe tests wich MCS and the Mono runtime.

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

21 years ago2002-07-31 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 31 Jul 2002 15:51:25 +0000 (15:51 -0000)]
2002-07-31  Martin Baulig  <martin@gnome.org>

Implemented Control Flow Analysis.

* codegen.cs (EmitContext.DoFlowAnalysis): New public variable.
(EmitContext.CurrentBranching): Added.
(EmitContext.StartFlowBranching): Added.
(EmitContext.EndFlowBranching): Added.
(EmitContext.KillFlowBranching): Added.
(EmitContext.IsVariableAssigned): Added.
(EmitContext.SetVariableAssigned): Added.
(EmitContext.IsParameterAssigned): Added.
(EmitContext.SetParameterAssigned): Added.
(EmitContext.EmitTopBlock): Added `InternalParameters ip' argument.
Added control flow analysis stuff here.

* expression.cs (Unary.DoResolve): If the operator is Oper.AddressOf,
resolve the expression as lvalue.
(LocalVariableReference.DoResolve): Check whether the variable has
already been assigned.
(ParameterReference.DoResolveLValue): Override lvalue resolve to mark
the parameter as assigned here.
(ParameterReference.DoResolve): Check whether the parameter has already
been assigned.
(Argument.Resolve): If it's a `ref' or `out' argument, resolve the
expression as lvalue.

* statement.cs (FlowBranching): New class for the flow analysis code.
(Goto): Resolve the label in Resolve, not in Emit; added flow analysis.
(LabeledStatement.IsDefined): New public property.
(LabeledStatement.AddUsageVector): New public method to tell flow
analyis that the label may be reached via a forward jump.
(GotoCase): Lookup and resolve the label in Resolve, not in Emit; added
flow analysis.
(VariableInfo.Number): New public field.  This is used by flow analysis
to number all locals of a block.
(Block.CountVariables): New public property.  This is the number of
local variables in this block (including the locals from all parent
blocks).
(Block.EmitMeta): Number all the variables.

* statement.cs: Added flow analysis support to all classes.

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

21 years agoWed Jul 31 17:47:11 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 31 Jul 2002 15:49:31 +0000 (15:49 -0000)]
Wed Jul 31 17:47:11 CEST 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: simplified some more branch code.

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

21 years ago2002-07-31 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 31 Jul 2002 15:32:44 +0000 (15:32 -0000)]
2002-07-31  Martin Baulig  <martin@gnome.org>

* driver.cs: Added "--mcs-debug" argument if MCS_DEBUG is defined.
To get debugging messages, compile mcs with /define:MCS_DEBUG and
then use this argument.

* report.cs (Report.Debug): Renamed to conditional to "MCS_DEBUG".

* makefile.gnu (MCS_FLAGS): Include $(MCS_DEFINES), the user may
use this to specify /define options.

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

21 years ago2002-07-31 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 31 Jul 2002 15:13:50 +0000 (15:13 -0000)]
2002-07-31  Duncan Mak  <duncan@ximian.com>

* BinaryServerFormatterSink.Protocol.cs:
* SoapServerFormatterSink.Protocol.cs: Added.

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

21 years agoWed Jul 31 16:50:42 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 31 Jul 2002 14:53:29 +0000 (14:53 -0000)]
Wed Jul 31 16:50:42 CEST 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: fixed indentation, simplified some code.

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

21 years agoWed Jul 31 16:49:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 31 Jul 2002 14:51:36 +0000 (14:51 -0000)]
Wed Jul 31 16:49:29 CEST 2002 Paolo Molaro <lupus@ximian.com>

* loader.c: don't set the pinvoke bit on icalls.

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

21 years ago2002-07-31 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 31 Jul 2002 14:28:54 +0000 (14:28 -0000)]
2002-07-31  Duncan Mak  <duncan@ximian.com>

* IChannelReceiverHook.cs:
* IClientFormatterSink.cs: Various compilation fixes.

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

21 years ago2002-07-31 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 31 Jul 2002 14:23:55 +0000 (14:23 -0000)]
2002-07-31  Duncan Mak  <duncan@ximian.com>

* unix.args: Added interfaces and enumerations from
System.Runtime.Remoting.Channels.

* *.cs: Added all the interfaces in this namespace.

* ServerProcessing.cs: Added.

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

21 years agoWed Jul 31 14:29:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 31 Jul 2002 12:32:39 +0000 (12:32 -0000)]
Wed Jul 31 14:29:43 CEST 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: fix so that mint can at least get to executing Main().

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

21 years ago2002-07-31 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 31 Jul 2002 11:58:25 +0000 (11:58 -0000)]
2002-07-31  Duncan Mak  <duncan@ximian.com>

* MethodCallMessageWrapper.cs:
* MethodReturnMessageWrapper.cs: Revert the last patch and made it
work. Thanks to Gonzalo for reminding me to chain the constructors.

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

21 years ago*** empty log message ***
Dietmar Maurer [Wed, 31 Jul 2002 11:54:37 +0000 (11:54 -0000)]
*** empty log message ***

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

21 years ago2002-07-31 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 31 Jul 2002 11:53:19 +0000 (11:53 -0000)]
2002-07-31  Dietmar Maurer  <dietmar@ximian.com>

* x86/tramp.c: (mono_create_method_pointer): return method->addr for pinvoke methods

* interp.c (ves_exec_method): bug fix - directly jump to handle_exception.

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

21 years ago2002-07-31 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 31 Jul 2002 11:11:54 +0000 (11:11 -0000)]
2002-07-31  Duncan Mak  <duncan@ximian.com>

* StreamReader.cs:
(Dispose): Added and implmented.

* StreamWriter.cs:
(Dispose): Fixed visibility.
(Initialize): Fixed visibility, made internal.

* BinaryReader.cs:
(Dispose): Fixed visibility.

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

21 years ago2002-07-31 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 31 Jul 2002 11:00:53 +0000 (11:00 -0000)]
2002-07-31  Dietmar Maurer  <dietmar@ximian.com>

* interp.c: use the new marshaling code. better delegate/remoting
support.

* debug-helpers.c (mono_method_full_name): only print a number to
indicate wrapper type (so that the output is more readable in traces).

* x86/tramp.c: remove code to handle PInvoke because this is no
longer needed.

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

21 years ago2002-07-31 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 31 Jul 2002 10:54:19 +0000 (10:54 -0000)]
2002-07-31  Duncan Mak  <duncan@ximian.com>

* MethodCallMessageWrapper.cs:
* MethodReturnMessageWrapper.cs: Remove reference to
InternalMessageWrapper. It's probably an MS private class, even
though it's visible in the documentation.

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

21 years ago2002-07-31 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 31 Jul 2002 10:40:33 +0000 (10:40 -0000)]
2002-07-31  Duncan Mak  <duncan@ximian.com>

* unix.args: Added new classes in
System.Runtime.Remoting.Contexts.

* InternalMessageWrapper.cs:
* MessageSurrogateFilter.cs:
* MethodCall.cs:
* MethodCallMessageWrapper.cs:
* MethodResponse.cs:
* MethodReturnMessageWrapper.cs:
* RemoteSurrogateSelector.cs: Added to CVS.

* MonoMethodMessage.cs:
* ReturnMessage.cs: Add set in the Uri property.

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

21 years ago2002-07-31 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 31 Jul 2002 07:51:18 +0000 (07:51 -0000)]
2002-07-31  Duncan Mak  <duncan@ximian.com>

* unix.args: Added new classes in
System.Runtime.Remoting.Contexts.

* SynchronizationAttribute.cs: Added more interfaces, it
implements them (via CorCompare), but they're not listed in the docs.

* ContextProperty.cs:
* CrossContextDelegate.cs: Added to CVS.

* ContextAttribute.cs: Added missing constructor.

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

21 years ago*** empty log message ***
Dennis Hayes [Wed, 31 Jul 2002 02:02:28 +0000 (02:02 -0000)]
*** empty log message ***

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

21 years ago2002-7-22 DennisHayes <dennish@raytek.com>
Dennis Hayes [Wed, 31 Jul 2002 02:01:05 +0000 (02:01 -0000)]
2002-7-22  DennisHayes <dennish@raytek.com>

* AccessibleNavigation.cs
* AccessibleObject.cs
* AccessibleSelection.cs
* AmbientProperties.cs
* Application.cs
* ApplicationContext.cs
* AxHost.cs
* BaseCollection.cs
* Binding.cs
* BindingContext.cs
* BindingManagerBase.cs
* BindingMemberInfo.cs
* BindingsCollection.cs
* Button.cs
* ButtonBase.cs
* CaptionButton.cs
* CharacterCasing.cs
* CheckBox.cs
* CheckedListBox.cs
* CheckState.cs
* Clipboard.cs
* ColorDialog.cs
* ColumnClickEventArgs.cs
* ColumnClickEventHandler.cs
* ColumnHeader.cs
* ComboBox.cs
* CommonDialog.cs
* ContainerControl.cs
* ContentsResizedEventHandler.cs
* ContextMenu.cs
* Control.cs
* ControlBindingsCollection.cs
* ControlEventArgs.cs
* ControlEventHandler.cs
* ControlPaint.cs
* ConvertEventHandler.cs
* CreateParams.cs
* CurrencyManager.cs
* Cursor.cs
* CursorConverter.cs
* Cursors.cs
* DataFormats.cs
* DataGrid.cs
* DataGridBoolColumn.cs
* DataGridCell.cs
* DataGridColumnStyle.cs
* DataGridParentRowsLabelStyle.cs
* DataGridPreferredColumnWidthTypeConverter.cs
* DataGridTableStyle.cs
* DataGridTextBox.cs
* DataGridTextBoxColumn.cs
* DataObject.cs
* DateBoldEventArgs.cs
* DateRangeEventArgs.cs
* DateRangeEventHandler.cs
* DateTimePicker.cs
* DialogResult.cs
* DockStyle.cs
* DomainUpDown.cs
* DragAction.cs
* DragDropEffects.cs
* DragEventArgs.cs
* DragEventHandler.cs
* DrawItemEventArgs.cs
* DrawItemEventHandler.cs
* DrawItemState.cs
* DrawMode.cs
* ErrorBlinkStyle.cs
* ErrorIconAlignment.cs
* ErrorProvider.cs
* FeatureSupport.cs
* FileDialog.cs
* FlatStyle.cs
* FontDialog.cs
* Form.cs
* FormBorderStyle.cs
* FormStartPosition.cs
* FormWindowState.cs
* FrameStyle.cs
* GiveFeedbackEventHandler.cs
* GridColumnStylesCollection.cs
* GridItemCollection.cs
* GridTableStylesCollection.cs
* GroupBox.cs
* Help.cs
* HelpEventHandler.cs
* HelpProvider.cs
* HScrollBar.cs
* ImageIndexConverter.cs
* ImageList.cs
* ImageListStreamer.cs
* InputLanguage.cs
* InputLanguageChangedEventHandler.cs
* InputLanguageChangingEventHandler.cs
* InputLanguageCollection.cs
* InvalidateEventHandler.cs
* ItemChangedEventArgs.cs
* ItemChangedEventHandler.cs
* ItemCheckEventHandler.cs
* ItemDragEventHandler.cs
* KeyEventHandler.cs
* KeyPressEventArgs.cs
* KeyPressEventHandler.cs
* KeysConverter.cs
* Label.cs
* LabelEditEventHandler.cs
* LayoutEventHandler.cs
* LinkArea.cs
* LinkClickedEventHandler.cs
* LinkLabel.cs
* LinkLabelLinkClickedEventHandler.cs
* ListBindingConverter.cs
* ListBox.cs
* ListControl.cs
* ListView.cs
* ListViewItem.cs
* ListViewItemConverter.cs
* logfile.txt
* MainMenu.cs
* MeasureItemEventHandler.cs
* Menu.cs
* MenuItem.cs
* Message.cs
* MessageBox.cs
* MethodInvoker.cs
* MonthCalendar.cs
* MouseEventHandler.cs
* NativeWindow.cs
* NavigateEventHandler.cs
* NodeLabelEditEventHandler.cs
* NotifyIcon.cs
* NumericUpDown.cs
* OpacityConverter.cs
* OpenFileDialog.cs
* OSFeature.cs
* PageSetupDialog.cs
* PaintEventArgs.cs
* PaintEventHandler.cs
* Panel.cs
* PrintControllerWithStatusDialog.cs
* PrintDialog.cs
* PrintPreviewControl.cs
* PrintPreviewDialog.cs
* ProgressBar.cs
* PropertyGrid.cs
* PropertyManager.cs
* PropertyTabChangedEventArgs.cs
* PropertyTabChangedEventHandler.cs
* PropertyValueChangedEventHandler.cs
* QueryAccessibilityHelpEventHandler.cs
* QueryContinueDragEventHandler.cs
* RadioButton.cs
* RichTextBox.cs
* SaveFileDialog.cs
* Screen.cs
* ScrollableControl.cs
* ScrollBar.cs
* ScrollEventArgs.cs
* ScrollEventHandler.cs
* SelectedGridItemChangedEventHandler.cs
* SelectionRange.cs
* SelectionRangeConverter.cs
* SendKeys.cs
* Splitter.cs
* SplitterEventHandler.cs
* StatusBar.cs
* StatusBarDrawItemEventArgs.cs
* StatusBarDrawItemEventHandler.cs
* StatusBarPanel.cs
* StatusBarPanelClickEventArgs.cs
* StatusBarPanelClickEventHandler.cs
* StatusBarPanelCollection.cs
* SystemInformation.cs
* TabControl.cs
* TabPage.cs
* TextBox.cs
* TextBoxBase.cs
* ThreadExceptionDialog.cs
* Timer.cs
* ToolBar.cs
* ToolBarButton.cs
* ToolBarButtonClickEventHandler.cs
* ToolTip.cs
* TrackBar.cs
* TreeNode.cs
* TreeNodeCollection.cs
* TreeNodeConverter.cs
* TreeView.cs
* TreeViewCancelEventHandler.cs
* TreeViewEventHandler.cs
* TreeViewImageIndexConverter.cs
* UICuesEventArgs.cs
* UICuesEventHandler.cs
* UpDownBase.cs
* UpDownEventHandler.cs
* UserControl.cs
* VScrollBar.cs
* Fixed errors reported by verify.exe, mostly attribute errors.
* Added my name to author's list to files I edited in the last two weeks

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

21 years ago2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 31 Jul 2002 00:08:15 +0000 (00:08 -0000)]
2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Xml.cs: implemented document/transform load.

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

21 years ago2002-07-30 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Tue, 30 Jul 2002 23:21:29 +0000 (23:21 -0000)]
2002-07-30  Rodrigo Moya <rodrigo@ximian.com>

* OleDbDataReader.cs (FieldCount): implemented.
(IsClosed, Item, RecordsAffected): implemented some properties.

* libgda.cs: added GdaDataModel methods.

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

21 years ago2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 30 Jul 2002 23:10:53 +0000 (23:10 -0000)]
2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Calendar.cs: added myself to the list of authors.
* DropDownList.cs: fixed a few properties.
* ListControl.cs: fixed SelectedIndex.

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

21 years ago2002-07-31 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 30 Jul 2002 19:05:13 +0000 (19:05 -0000)]
2002-07-31  Duncan Mak  <duncan@ximian.com>

* unix.args: Added new Exceptions, Interfaces and various
TypeEntries from System.Runtime.Remoting.

* TypeEntry.cs:
* ActivatedClientTypeEntry.cs:
* ActivatedServiceTypeEntry.cs:
* WellKnownClientTypeEntry.cs:
* WellKnownServiceTypeEntry.cs: Added all the classes derived from TypeEntry.

* RemotingException.cs:
* RemotingTimeoutException.cs:
* ServerException.cs: Added missing exceptions.

* IChannelInfo.cs:
* IEnvoyInfo.cs:
* IRemotingTypeInfo.cs: Added missing interfaces.

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

21 years ago * x86.brg: LOCALLOC fix for Windows
Sergey Chaban [Tue, 30 Jul 2002 17:55:12 +0000 (17:55 -0000)]
 * x86.brg: LOCALLOC fix for Windows

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

21 years ago2002-07-30 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 30 Jul 2002 17:38:51 +0000 (17:38 -0000)]
2002-07-30  Dietmar Maurer  <dietmar@ximian.com>

* class.c (mono_class_init): include method override patch from Paolo

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

21 years ago2002-07-31 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 30 Jul 2002 17:25:29 +0000 (17:25 -0000)]
2002-07-31  Nick Drochak  <ndrochak@gol.com>

* BufferTest.cs: Fixed noisy compiler warnings about unused vars.

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

21 years agoTue Jul 30 15:20:08 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 30 Jul 2002 13:22:10 +0000 (13:22 -0000)]
Tue Jul 30 15:20:08 CEST 2002 Paolo Molaro <lupus@ximian.com>

* icall.c: fixed GetTypeCode().

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

21 years ago2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 30 Jul 2002 09:34:59 +0000 (09:34 -0000)]
2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.UI/Page.cs: request to render postback script can be
after form started rendering.

* System.Web.UI.WebControls/Calendar.cs: lots of fixes. Render days.
Still left to persist selected days when changing month.

* System.Web.UI.WebControls/Unit.cs: fixed Percentage and Pixel.

* System.Web.UI.WebControls/WebControl.cs: a few properties are now
using ControlStyle instead of ViewState to persist.

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

21 years agoo Added Discovery classes to list
Dave Bettin [Tue, 30 Jul 2002 04:49:53 +0000 (04:49 -0000)]
o Added Discovery classes to list
o Added Mono.System.Web.Services Visual Studio Project
o Added .cvsignore file

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

21 years agoo Added stubs for Discovery namespace
Dave Bettin [Tue, 30 Jul 2002 04:45:27 +0000 (04:45 -0000)]
o Added stubs for Discovery namespace

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