Martin Baulig [Sat, 3 Aug 2002 18:05:05 +0000 (18:05 -0000)]
2002-08-03 Martin Baulig <martin@gnome.org>
* class.cs (Method.IsOperator): New public field.
(Method.CheckBase): Report CS0111 if there's already a method
with the same parameters in the current class. Report CS0508 when
attempting to change the return type of an inherited method.
(MethodData.Emit): Report CS0179 if a method doesn't have a body
and it's not marked abstract or extern.
(PropertyBase): New abstract base class for Property and Indexer.
(PropertyBase.CheckBase): Moved here from Property and made it work
for indexers.
(PropertyBase.Emit): Moved here from Property.Emit, Indexer.Emit is
the same so we can reuse it there.
(Property, Indexer): Derive from PropertyBase.
(MethodSignature.inheritable_property_signature_filter): New delegate
to find properties and indexers.
* decl.cs (MemberCore.CheckMethodAgainstBase): Added `string name'
argument and improved error reporting.
* parameter.cs (Parameters.GetEmptyReadOnlyParameters): Renamed to
EmptyReadOnlyParameters and made it a property.
* typemanager.cs (TypeManager.GetArgumentTypes): Added overloaded
version of this method which takes a `PropertyInfo indexer'.
(TypeManager.RegisterIndexer): New method.
* class.cs: Added myself as author of this file :-)
svn path=/trunk/mcs/; revision=6381
Tim Coleman [Sat, 3 Aug 2002 17:19:27 +0000 (17:19 -0000)]
2002-08-03 Tim Coleman <tim@timcoleman.com>
* ServiceDescriptionBaseCollection.cs:
Removed some NotImplementedException()'s so that
it runs.
svn path=/trunk/mcs/; revision=6380
Tim Coleman [Sat, 3 Aug 2002 17:17:05 +0000 (17:17 -0000)]
2002-08-03 Tim Coleman <tim@timcoleman.com>
* XmlNamespaceManager.cs:
.Net allows the empty namespace to be redefined
at a later point, but the current implementation
did not. This fixes a hashtable conflict.
svn path=/trunk/mcs/; revision=6379
Gonzalo Paniagua Javier [Sat, 3 Aug 2002 03:20:37 +0000 (03:20 -0000)]
2002-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* class.cs: fixed compilation on windoze.
svn path=/trunk/mcs/; revision=6378
Gonzalo Paniagua Javier [Sat, 3 Aug 2002 02:31:02 +0000 (02:31 -0000)]
2002-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ZoneIdentityPermission.cs: New file. Implemented.
svn path=/trunk/mcs/; revision=6377
Gonzalo Paniagua Javier [Sat, 3 Aug 2002 02:27:10 +0000 (02:27 -0000)]
2002-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* IBuiltInEvidence.cs: New file.
* Zone.cs: New file. Implemented.
svn path=/trunk/mcs/; revision=6376
Martin Baulig [Sat, 3 Aug 2002 02:23:22 +0000 (02:23 -0000)]
2002-08-03 Martin Baulig <martin@gnome.org>
* TypeBuilder.cs (TypeBuilder.DeclaringType): Implemented.
svn path=/trunk/mcs/; revision=6375
Martin Baulig [Sat, 3 Aug 2002 02:22:17 +0000 (02:22 -0000)]
2002-08-03 Martin Baulig <martin@gnome.org>
* test-156.cs, error-2.cs: New tests.
svn path=/trunk/mcs/; revision=6374
Martin Baulig [Sat, 3 Aug 2002 02:19:04 +0000 (02:19 -0000)]
Improved error handling when the accessibility checks fail.
svn path=/trunk/mcs/; revision=6373
Martin Baulig [Sat, 3 Aug 2002 01:40:29 +0000 (01:40 -0000)]
2002-08-03 Martin Baulig <martin@gnome.org>
* class.cs (TypeContainer.GetClassBases): Check whether base types
are at least as accessible than the current type.
(TypeContainer.AsAccessible): Implemented and made non-static.
(MemberBase.CheckParameters): Report a CS0051 if
TypeContainer.AsAccessible returns false.
* delegate.cs (Delegate.Delegate): The default visibility is
internal for top-level types and private for nested types.
* enum.cs (Enum.Enum): The default visibility is internal for
top-level types and private for nested types.
(Enum.DefineType): Compute the correct visibility.
* modifiers.cs (Modifiers.TypeAttr): Added a version of this
function which takes a `bool is_toplevel' instead of a TypeContainer.
* typemanager.cs (TypeManager.IsBuiltinType): `void' is also a
builtin type.
svn path=/trunk/mcs/; revision=6372
Martin Baulig [Sat, 3 Aug 2002 01:39:45 +0000 (01:39 -0000)]
Ooops.
svn path=/trunk/mcs/; revision=6371
Miguel de Icaza [Fri, 2 Aug 2002 21:21:10 +0000 (21:21 -0000)]
Update man page
svn path=/trunk/mono/; revision=6369
Miguel de Icaza [Fri, 2 Aug 2002 20:32:48 +0000 (20:32 -0000)]
Further updates
svn path=/trunk/mono/; revision=6368
Miguel de Icaza [Fri, 2 Aug 2002 20:31:03 +0000 (20:31 -0000)]
Update TODO to reflect all the new improvements
svn path=/trunk/mcs/; revision=6367
Dennis Hayes [Fri, 2 Aug 2002 20:04:18 +0000 (20:04 -0000)]
2002-8-2 DennisHayes <dennish@raytek.com>
* Checked in for Ginandrea Terzi (gterzi@lario.com)
* AssemblyInfo.cs
* ColumnClickEventArgs.cs
* ContentsResizedEventArgs.cs
* ControlEventArgs.cs
* ConvertEventArgs.cs
* DateBoldEventArgs.cs
* DateRangeEventArgs.cs
* DragEventArgs.cs
* DrawItemEventArgs.cs
* GiveFeedbackEventArgs.cs
* HelpEventArgs.cs
* InputLanguageChangedEventArgs.cs
* InputLanguageChangingEventArgs.cs
* InvalidateEventArgs.cs
* ItemChangedEventArgs.cs
* ItemCheckEventArgs.cs
* ItemDragEventArgs.cs
* KeyEventArgs.cs
* KeyPressEventArgs.cs
* LabelEditEventArgs.cs
* LayoutEventArgs.cs
* LinkClickedEventArgs.cs
* LinkLabelLinkClickedEventArgs.cs
* logfile.txt
* 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
* Improved ToString functions
* Completed the rest of the *.args classes
svn path=/trunk/mcs/; revision=6366
Paolo Molaro [Fri, 2 Aug 2002 19:18:45 +0000 (19:18 -0000)]
Fri Aug 2 21:15:42 CEST 2002 Paolo Molaro <lupus@ximian.com>
* reflection.c: fix encoding of named args for custom attrs to match
the ms implementation. Read them back when instantiating custom
attributes.
svn path=/trunk/mono/; revision=6365
Radek Doulik [Fri, 2 Aug 2002 18:49:12 +0000 (18:49 -0000)]
separated .il and .cs tests
svn path=/trunk/mono/; revision=6364
Radek Doulik [Fri, 2 Aug 2002 18:34:20 +0000 (18:34 -0000)]
more WIP
svn path=/trunk/mono/; revision=6363
Miguel de Icaza [Fri, 2 Aug 2002 18:32:28 +0000 (18:32 -0000)]
Flush web page
svn path=/trunk/mono/; revision=6362
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
Radek Doulik [Fri, 2 Aug 2002 18:13:59 +0000 (18:13 -0000)]
more surgery
svn path=/trunk/mono/; revision=6360
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
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
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
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
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
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
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
Paolo Molaro [Fri, 2 Aug 2002 11:34:44 +0000 (11:34 -0000)]
Remove duplicate property.
svn path=/trunk/mcs/; revision=6352
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Duncan Mak [Thu, 1 Aug 2002 18:20:26 +0000 (18:20 -0000)]
More visibility fixes.
svn path=/trunk/mcs/; revision=6324
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
Duncan Mak [Thu, 1 Aug 2002 17:28:49 +0000 (17:28 -0000)]
Fix compilation issues.
svn path=/trunk/mcs/; revision=6321
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
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
Miguel de Icaza [Thu, 1 Aug 2002 16:10:58 +0000 (16:10 -0000)]
Add new file
svn path=/trunk/mono/; revision=6318
Miguel de Icaza [Thu, 1 Aug 2002 16:07:04 +0000 (16:07 -0000)]
Add embedded API document
svn path=/trunk/mono/; revision=6317
Paolo Molaro [Thu, 1 Aug 2002 15:59:54 +0000 (15:59 -0000)]
Mono Hackers Hall Of Fame.
svn path=/trunk/mono/; revision=6316
Dietmar Maurer [Thu, 1 Aug 2002 15:54:32 +0000 (15:54 -0000)]
removed some debugging output
svn path=/trunk/mono/; revision=6315
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
Miguel de Icaza [Thu, 1 Aug 2002 15:20:30 +0000 (15:20 -0000)]
update index
svn path=/trunk/mono/; revision=6313
Dietmar Maurer [Thu, 1 Aug 2002 14:23:23 +0000 (14:23 -0000)]
bug fix
svn path=/trunk/mono/; revision=6312
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
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
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
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
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
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
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
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
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
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
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
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
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
Duncan Mak [Wed, 31 Jul 2002 16:16:33 +0000 (16:16 -0000)]
More compilation fixes, sigh.
svn path=/trunk/mcs/; revision=6297
Martin Baulig [Wed, 31 Jul 2002 16:12:39 +0000 (16:12 -0000)]
Small fix.
svn path=/trunk/mcs/; revision=6296
Martin Baulig [Wed, 31 Jul 2002 16:10:29 +0000 (16:10 -0000)]
Make it compile with csc.
svn path=/trunk/mcs/; revision=6295
Duncan Mak [Wed, 31 Jul 2002 16:06:49 +0000 (16:06 -0000)]
Various compilation fixes.
svn path=/trunk/mcs/; revision=6294
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
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
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
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
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
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
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
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
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
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
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
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
Dietmar Maurer [Wed, 31 Jul 2002 11:54:37 +0000 (11:54 -0000)]
*** empty log message ***
svn path=/trunk/mono/; revision=6281
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
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