Dietmar Maurer [Fri, 28 Jun 2002 08:24:15 +0000 (08:24 -0000)]
marshal tests
svn path=/trunk/mono/; revision=5486
Gonzalo Paniagua Javier [Thu, 27 Jun 2002 19:46:13 +0000 (19:46 -0000)]
2002-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* statement.cs: fixed build-breaker. All tests passed ok.
svn path=/trunk/mcs/; revision=5485
Duncan Mak [Thu, 27 Jun 2002 19:21:51 +0000 (19:21 -0000)]
Merged in patches from Jesus Suarez (gsus@brujula.net).
svn path=/trunk/mcs/; revision=5484
Martin Baulig [Thu, 27 Jun 2002 18:14:19 +0000 (18:14 -0000)]
2002-06-27 Martin Baulig <martin@gnome.org>
* typemanager.cs (TypeManager.VerifyUnManaged): Added explicit check
for System.Decimal when compiling corlib.
svn path=/trunk/mcs/; revision=5483
Martin Baulig [Thu, 27 Jun 2002 18:07:30 +0000 (18:07 -0000)]
2002-06-27 Martin Baulig <martin@gnome.org>
* statement.cs (Switch.TableSwitchEmit): Make this work with empty
switch blocks which contain nothing but a default clause.
svn path=/trunk/mcs/; revision=5482
Martin Baulig [Thu, 27 Jun 2002 17:14:16 +0000 (17:14 -0000)]
2002-06-27 Martin Baulig <martin@gnome.org>
* ConstructorBuilder.cs (GetParameters): Implemented.
svn path=/trunk/mcs/; revision=5481
Ravi Pratap M [Thu, 27 Jun 2002 16:37:52 +0000 (16:37 -0000)]
Apply patches from Andrew
svn path=/trunk/mcs/; revision=5480
Dick Porter [Thu, 27 Jun 2002 16:04:34 +0000 (16:04 -0000)]
2002-06-27 Dick Porter <dick@ximian.com>
* threads.c: Store the handle in both the parent thread and in the
subthread, to minimise the time between starting a new thread and
storing its ID.
svn path=/trunk/mono/; revision=5479
Ajay kumar Dwivedi [Thu, 27 Jun 2002 10:36:28 +0000 (10:36 -0000)]
2002-06-27 Ajay kumar Dwivedi <adwiv@yahoo.com>
* XmlSerializer: Serialize() method Partially Implemented.
svn path=/trunk/mcs/; revision=5478
John Barnette [Thu, 27 Jun 2002 01:08:04 +0000 (01:08 -0000)]
Further adventures in XML serialization. W00t!
svn path=/trunk/mcs/; revision=5477
Martin Baulig [Wed, 26 Jun 2002 20:26:38 +0000 (20:26 -0000)]
2002-06-27 Martin Baulig <martin@gnome.org>
* ecore.cs (PropertyExpr.PropertyExpr): Call
TypeManager.TypeToCoreType() on the `pi.PropertyType'.
* typemanager.cs (TypeManager.TypeToCoreType): Return if the type
is already a TypeBuilder.
svn path=/trunk/mcs/; revision=5476
Martin Baulig [Wed, 26 Jun 2002 20:22:12 +0000 (20:22 -0000)]
2002-06-27 Martin Baulig <martin@gnome.org>
* makefile (test-compiler-mono): New target to compile and run
the tests with mcs and the mono jit.
svn path=/trunk/mcs/; revision=5475
Martin Baulig [Wed, 26 Jun 2002 20:20:05 +0000 (20:20 -0000)]
2002-06-27 Martin Baulig <martin@gnome.org>
* UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
constructor argument. [FIXME: The implicit conversion to an
unsigned integer doesn't work with mcs.]
svn path=/trunk/mcs/; revision=5474
Martin Baulig [Wed, 26 Jun 2002 18:56:27 +0000 (18:56 -0000)]
2002-06-27 Martin Baulig <martin@gnome.org>
* ecore.cs (Expression.SimpleNameResolve): If the expression is a
non-static PropertyExpr, set its InstanceExpression. This makes
the `ICollection.Count' property work in System/Array.cs.
svn path=/trunk/mcs/; revision=5473
Martin Baulig [Wed, 26 Jun 2002 18:26:00 +0000 (18:26 -0000)]
2002-06-27 Martin Baulig <martin@gnome.org>
* ecore.cs (Expression.SimpleNameResolve): If the expression is a
non-static PropertyExpr, set its InstanceExpression. This makes
the `ICollection.Count' property work in System/Array.cs.
svn path=/trunk/mcs/; revision=5472
Dick Porter [Wed, 26 Jun 2002 18:23:56 +0000 (18:23 -0000)]
2002-06-26 Dick Porter <dick@ximian.com>
* appdomain.c (mono_runtime_cleanup): Close the socket library
after all the threads have finished, not before
svn path=/trunk/mono/; revision=5471
Martin Baulig [Wed, 26 Jun 2002 17:46:19 +0000 (17:46 -0000)]
Ooops, forgot a NULL check in my last commit.
svn path=/trunk/mono/; revision=5470
Martin Baulig [Wed, 26 Jun 2002 17:37:39 +0000 (17:37 -0000)]
2002-06-26 Martin Baulig <martin@gnome.org>
* debug.c (mono_debug_source_location_from_address): Added
`guint32 *line_number' argument. If it's not NULL, store the line number
there and return the file name without the line number.
* exception.c (ves_icall_get_trace): Fill in `sf->filename' and `sf->line'.
(ves_icall_get_frame_info): Likewise.
svn path=/trunk/mono/; revision=5469
Martin Baulig [Wed, 26 Jun 2002 17:36:46 +0000 (17:36 -0000)]
2002-06-26 Martin Baulig <martin@gnome.org>
* debug-symfile.c (mono_debug_find_source_location): Added
`guint32 *line_number' argument. If it's not NULL, store the line number
there and return the file name without the line number.
svn path=/trunk/mono/; revision=5468
Martin Baulig [Wed, 26 Jun 2002 13:20:14 +0000 (13:20 -0000)]
2002-06-26 Martin Baulig <martin@gnome.org>
* DecimalFormatter.cs: Removed MSTEST stuff, use `System',
not `S = System'. This file now compiles with mcs.
* String.cs: Removed the already ifdef-outed __arglist Concat function
to make it compile with mcs.
svn path=/trunk/mcs/; revision=5466
Miguel de Icaza [Wed, 26 Jun 2002 12:20:55 +0000 (12:20 -0000)]
Add manual page for mono configuration
svn path=/trunk/mono/; revision=5464
Miguel de Icaza [Wed, 26 Jun 2002 12:20:41 +0000 (12:20 -0000)]
Updated
svn path=/trunk/mono/; revision=5463
Duncan Mak [Wed, 26 Jun 2002 01:13:05 +0000 (01:13 -0000)]
2002-06-26 Duncan Mak <duncan@ximian.com>
* XmlNodeReader.cs: Implementation of most of the properties, and
some of the related methods.
svn path=/trunk/mcs/; revision=5460
John Barnette [Tue, 25 Jun 2002 22:37:15 +0000 (22:37 -0000)]
The raw beginnings of XML serialization of Monodoc XML.
svn path=/trunk/mcs/; revision=5457
Gonzalo Paniagua Javier [Tue, 25 Jun 2002 20:54:16 +0000 (20:54 -0000)]
2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web/HttpApplication.cs:
* System.Web/HttpContext.cs: added System.Web.SessionState namespace.
* System.Web/HttpSessionState.cs: removed. It is under
System.Web.SessionState.
* System.Web.UI/Control.cs:
* System.Web.UI/Page.cs: first attemp to save view state.
* System.Web.UI.HtmlControls/HtmlForm.cs: don't render Action.
svn path=/trunk/mcs/; revision=5455
Ravi Pratap M [Tue, 25 Jun 2002 19:23:48 +0000 (19:23 -0000)]
Apply patch from Andrew
svn path=/trunk/mcs/; revision=5453
Ravi Pratap M [Tue, 25 Jun 2002 19:23:14 +0000 (19:23 -0000)]
Apply patches from Andrew
svn path=/trunk/mcs/; revision=5452
Dick Porter [Tue, 25 Jun 2002 13:00:25 +0000 (13:00 -0000)]
2002-06-25 Dick Porter <dick@ximian.com>
* Process.cs: Process forking and waiting, and some support functions
* ProcessStartInfo.cs: Implemented the bits needed for basic
Process forking
* ProcessModule.cs: Implemented
* ProcessModuleCollection.cs: Mostly implemented
* FileVersionInfo.cs: Implemented
svn path=/trunk/mcs/; revision=5451
Dick Porter [Tue, 25 Jun 2002 12:39:19 +0000 (12:39 -0000)]
2002-06-25 Dick Porter <dick@ximian.com>
* handles.c:
* handles-private.h:
* daemon-messages.h:
* daemon.c: Process forking and handle data management
* processes.h:
* process-private.h:
* processes.c: Process forking and other support functions
2002-06-25 Dick Porter <dick@ximian.com>
* icall.c:
* process.h:
* process.c: Process forking and other support functions
svn path=/trunk/mono/; revision=5450
Dick Porter [Tue, 25 Jun 2002 12:29:33 +0000 (12:29 -0000)]
2002-06-25 Dick Porter <dick@ximian.com>
* versioninfo.h: PE resource decoding
* unicode.c (_wapi_unicode_to_utf8): g_utf16_to_utf8 doesnt need
to be told the string length
* io.c: Removed the ACTUALLY_DO_UNICODE option. Fixed some leaks.
Moved _wapi_time_t_to_filetime and the WapiFileTime typedef to
timefuncs.c
2002-06-25 Dick Porter <dick@ximian.com>
* image.c (do_mono_image_open): Set ref_count to 1, so that bad
things dont happen when the image is closed.
(mono_image_lookup_resource): Walk the resource section looking
for a particular entry
* cil-coff.h: PE resource section decoding
svn path=/trunk/mono/; revision=5449
Dick Porter [Tue, 25 Jun 2002 12:28:50 +0000 (12:28 -0000)]
*** empty log message ***
svn path=/trunk/mono/; revision=5448
Jaime Anguiano Olarra [Tue, 25 Jun 2002 12:10:23 +0000 (12:10 -0000)]
Added several questions/answers and a new "Mono and ASP.NET" section.
svn path=/trunk/mono/; revision=5447
Dick Porter [Tue, 25 Jun 2002 12:09:31 +0000 (12:09 -0000)]
2002-06-25 Dick Porter <dick@ximian.com>
* assembly.h:
* assembly.c:
(mono_assembly_foreach): Accessor functions to walk the list of
loaded assemblies
(mono_assembly_set_main):
(mono_assembly_get_main): Process methods need to know which
assembly is the "main" one
* object.c (mono_runtime_run_main): Record the main assembly
* debug-helpers.c: Fix typo
2002-06-25 Dick Porter <dick@ximian.com>
* interp.c (ves_exec): Pass the assembly to mono_runtime_run_main
2002-06-25 Dick Porter <dick@ximian.com>
* jit.c (mono_jit_exec): Pass the assembly to mono_runtime_run_main
svn path=/trunk/mono/; revision=5446
Nick Drochak [Tue, 25 Jun 2002 10:54:34 +0000 (10:54 -0000)]
2002-06-25 Nick Drochak <ndrochak@gol.com>
* QueueTest.cs: Trap some unexpected exceptions and add a bit of
verbosity to some assert messages.
svn path=/trunk/mcs/; revision=5445
Nick Drochak [Tue, 25 Jun 2002 10:52:25 +0000 (10:52 -0000)]
2002-06-25 Nick Drochak <ndrochak@gol.com>
* Queue.cs (CopyTo): Fix logic for copying the circular array.
(Enqueue): Use actual length of array to determine when to grow
(QueueEnumerator) Fixed Current to use array length, not capacity, and
fixed off-by-one errror in MoveNext().
svn path=/trunk/mcs/; revision=5444
Duncan Mak [Mon, 24 Jun 2002 23:47:50 +0000 (23:47 -0000)]
Add news item for gtk# sample apps.
svn path=/trunk/mono/; revision=5441
Jason Diamond [Mon, 24 Jun 2002 22:52:29 +0000 (22:52 -0000)]
Removed my incomplete XPathScanner code.
svn path=/trunk/mcs/; revision=5439
Dennis Hayes [Mon, 24 Jun 2002 21:54:00 +0000 (21:54 -0000)]
2002-6-24 DennisHayes <dennish@raytek.com>
* BindingMemberInfo.cs
* CaptionButton.cs
* DataGridCell.cs
* Message.cs
* MessageBox.cs
* Fixed bugs preventing compile
svn path=/trunk/mcs/; revision=5436
Dennis Hayes [Mon, 24 Jun 2002 21:50:07 +0000 (21:50 -0000)]
2002-6-18 DennisHayes <dennish@raytek.com>
* Checked in for Jackson Harper (jackson@latitudegeo.com)
* ToolBar.cs
* TabControl.cs
* TabPage.cs
* Added sub classes
svn path=/trunk/mcs/; revision=5435
Gonzalo Paniagua Javier [Mon, 24 Jun 2002 20:59:53 +0000 (20:59 -0000)]
2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web.UI/Page.cs: implemented more properties using information
we already have in Context.
(OnFormRender):
(OnFormPostRender):
(VerifyRenderingInServerForm): implemented.
* System.Web.UI.HtmlControls/HtmlForm.cs:
(RenderChildren): use OnFormRender and OnFormPostRender.
* System.Web.UI.WebControls/WebControl.cs:
(AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
WebControl derived classes should be rendered inside a HtmlForm.
svn path=/trunk/mcs/; revision=5434
Gonzalo Paniagua Javier [Mon, 24 Jun 2002 15:14:30 +0000 (15:14 -0000)]
2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* IntegerFormatter.cs:
(FormatParse.FormatNumber): fixed custom format for negative numbers.
svn path=/trunk/mcs/; revision=5432
Dietmar Maurer [Mon, 24 Jun 2002 12:47:06 +0000 (12:47 -0000)]
2002-06-24 Dietmar Maurer <dietmar@ximian.com>
* icall.c (ves_icall_System_Runtime_InteropServices_Marshal_copy_to_unmanaged): impl.
(ves_icall_System_Runtime_InteropServices_Marshal_copy_from_unmanaged): impl.
svn path=/trunk/mono/; revision=5431
Dietmar Maurer [Mon, 24 Jun 2002 12:42:22 +0000 (12:42 -0000)]
* Marshal.cs: impl. Copy()
svn path=/trunk/mcs/; revision=5430
Gonzalo Paniagua Javier [Mon, 24 Jun 2002 11:34:14 +0000 (11:34 -0000)]
2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AllTests.cs: New file to make 'make test' work.
* ChangeLog: New file.
svn path=/trunk/mcs/; revision=5429
Dick Porter [Mon, 24 Jun 2002 10:55:37 +0000 (10:55 -0000)]
2002-06-24 Dick Porter <dick@ximian.com>
* XmlCaseOrder.cs: Fix namespace
svn path=/trunk/mcs/; revision=5428
Dick Porter [Mon, 24 Jun 2002 09:41:09 +0000 (09:41 -0000)]
2002-06-24 Dick Porter <dick@ximian.com>
* Socket.cs: Make SetSocketOption cope with boolean values (they
are passed as objects, not the ints the runtime was expecting)
svn path=/trunk/mcs/; revision=5427
Piers Haken [Mon, 24 Jun 2002 01:26:23 +0000 (01:26 -0000)]
2002-06-23 Piers Haken <piersh@friskit.com>
* DefaultContext.cs: implemented XPathFUnctionId
* Iterator.cs: new ArrayListIterator for id() support
svn path=/trunk/mcs/; revision=5426
Gonzalo Paniagua Javier [Sun, 23 Jun 2002 21:23:25 +0000 (21:23 -0000)]
2002-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TypeConverter.cs: flushed local changes.
svn path=/trunk/mcs/; revision=5425
Gonzalo Paniagua Javier [Sun, 23 Jun 2002 20:58:48 +0000 (20:58 -0000)]
2002-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpSessionState.cs: implemented more methods/properties.
* SessionDictionary.cs: New file.
svn path=/trunk/mcs/; revision=5424
Rafael Teixeira [Sun, 23 Jun 2002 18:41:23 +0000 (18:41 -0000)]
2002-06-23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* merged attribute.cs, class.cs, ecore.cs, rootcontext.cs, support.cs and typemanager.cs from mcs/mcs, to resync
* makefile makes csc reference a copy of Mono.GetOptions.dll (mbas.sln now compiles to mbas dir instead of mbas/bin/Debug)
svn path=/trunk/mcs/; revision=5422
Piers Haken [Sun, 23 Jun 2002 16:52:58 +0000 (16:52 -0000)]
2002-06-23 Piers Haken <piersh@friskit.com>
System.Xml:
* XmlDocumentNavigator.cs: implement Clone()
* XmlElement.cs: remove bogus unimplemented override of InnerText
* XmlNode.cs: implment SelectNodes/SelectSingleNode
* XmlNodeArrayList.cs: new support class for SelectNodes
System.Xml.Xsl:
* XsltContext.cs: added 'PreserveWhitespace' abstract method
System.Xml.XPath:
* XPathNavigator.cs: implement:
- Compile
- Evaluate
- Clone
- Select
- ToString
- some forwarding methods
* XPathNodeIterator: implement caching Count
* Tokenizer.cs: new XPath tokenizer
* Parser.jay: new XPath grammar
* Parser.cs: new precompiled XPath grammar
* Expression.cs: new XPath expression objects
* Iterator.cs: new XPath result/context objects
* DefaultContext.cs: new XPath function binding context
svn path=/trunk/mcs/; revision=5421
Miguel de Icaza [Sat, 22 Jun 2002 23:13:55 +0000 (23:13 -0000)]
Another test
svn path=/trunk/mcs/; revision=5419
Miguel de Icaza [Sat, 22 Jun 2002 19:47:13 +0000 (19:47 -0000)]
Remove debugging value
svn path=/trunk/mcs/; revision=5417
Miguel de Icaza [Sat, 22 Jun 2002 19:36:33 +0000 (19:36 -0000)]
2002-06-22 Miguel de Icaza <miguel@ximian.com>
* class.cs (TypeContainer.AddMethod, TypeContainer.AddIndexer,
TypeContainer.AddOperator): At the front of the list put the
explicit implementations, so they get resolved/defined first.
svn path=/trunk/mcs/; revision=5416
Miguel de Icaza [Sat, 22 Jun 2002 19:35:29 +0000 (19:35 -0000)]
New test
svn path=/trunk/mcs/; revision=5415
Gonzalo Paniagua Javier [Sat, 22 Jun 2002 15:06:08 +0000 (15:06 -0000)]
2002-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: changed InvokeEventMethod to use a GetMethod that works with
out runtime. Renamed Page_Init and Page_Load.
After this, we can load a dll and render HTML in linux.
svn path=/trunk/mcs/; revision=5414
Chris J. Breisch [Sat, 22 Jun 2002 10:15:34 +0000 (10:15 -0000)]
Added DateAndTime tests
svn path=/trunk/mcs/; revision=5412
Chris J. Breisch [Sat, 22 Jun 2002 10:13:20 +0000 (10:13 -0000)]
First real version
svn path=/trunk/mcs/; revision=5411
Paolo Molaro [Sat, 22 Jun 2002 06:14:13 +0000 (06:14 -0000)]
Test for bug#26264.
svn path=/trunk/mcs/; revision=5410
Paolo Molaro [Sat, 22 Jun 2002 05:55:44 +0000 (05:55 -0000)]
Comment out debug message.
svn path=/trunk/mcs/; revision=5409
Paolo Molaro [Sat, 22 Jun 2002 05:52:41 +0000 (05:52 -0000)]
Sat Jun 22 11:37:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
* icall.c: fix off-by-one in Assembly.GetTypes() reported by bob@karr.ath.cx.
svn path=/trunk/mono/; revision=5408
Miguel de Icaza [Sat, 22 Jun 2002 01:22:09 +0000 (01:22 -0000)]
2002-06-21 Miguel de Icaza <miguel@ximian.com>
* class.cs (TypeContainer.VerifyImplements): Verifies that a given
interface type is implemented by this TypeContainer. Used during
explicit interface implementation.
(Property.Define, Indexer.Define, Method.Define): Validate that
the given interface in the explicit implementation is one of the
base classes for the containing type.
Also if we are explicitly implementing an interface, but there is
no match in the pending implementation table, report an error.
svn path=/trunk/mcs/; revision=5407
Gonzalo Paniagua Javier [Fri, 21 Jun 2002 22:42:12 +0000 (22:42 -0000)]
Fixed typo.
svn path=/trunk/mcs/; revision=5406
Miguel de Icaza [Fri, 21 Jun 2002 21:41:42 +0000 (21:41 -0000)]
New errors handled
svn path=/trunk/mcs/; revision=5405
Miguel de Icaza [Fri, 21 Jun 2002 20:57:57 +0000 (20:57 -0000)]
2002-06-21 Miguel de Icaza <miguel@ximian.com>
* class.cs (Property.Define): Only define the property if we are
not explicitly implementing a property from an interface. Use the
correct name also for those properties (the same CSC uses,
although that is really not needed).
(Property.Emit): Do not emit attributes for explicitly implemented
properties, as there is no TypeBuilder.
(Indexer.Emit): ditto.
Hiding then means that we do not really *implement* a pending
implementation, which makes code fail.
svn path=/trunk/mcs/; revision=5403
Miguel de Icaza [Fri, 21 Jun 2002 19:48:04 +0000 (19:48 -0000)]
2002-06-21 Miguel de Icaza <miguel@ximian.com>
* image.c (do_mono_image_open): Initialize reference count,
otherwise we leak the MonoImage.
svn path=/trunk/mono/; revision=5399
Martin Baulig [Fri, 21 Jun 2002 19:01:14 +0000 (19:01 -0000)]
2002-06-22 Martin Baulig <martin@gnome.org>
* debug.c (mono_debug_source_location_from_address): Small fix, an
unsigned number can never be smaller than zero, make that check
actually work.
svn path=/trunk/mono/; revision=5398
Martin Baulig [Fri, 21 Jun 2002 19:00:28 +0000 (19:00 -0000)]
2002-06-22 Martin Baulig <martin@gnome.org>
* ecore.cs (Expression.Constantify): Call TypeManager.TypeToCoreType() on
the return value of Object.GetType(). [FIXME: we need to do this whenever
we get a type back from the reflection library].
svn path=/trunk/mcs/; revision=5397
Martin Baulig [Fri, 21 Jun 2002 18:59:56 +0000 (18:59 -0000)]
2002-06-21 Martin Baulig <martin@gnome.org>
* typemanager.cs (TypeManager.EnumToUnderlying): It's now safe to call this function
on System.Enum.
svn path=/trunk/mcs/; revision=5396
Miguel de Icaza [Fri, 21 Jun 2002 18:12:03 +0000 (18:12 -0000)]
Implement set for the BitVector
svn path=/trunk/mcs/; revision=5395
Paolo Molaro [Fri, 21 Jun 2002 13:31:17 +0000 (13:31 -0000)]
Fri Jun 21 19:16:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
* reflection.c: small tweak to handle self-hosting.
svn path=/trunk/mono/; revision=5393
Ajay kumar Dwivedi [Fri, 21 Jun 2002 12:58:58 +0000 (12:58 -0000)]
2002-06-21 Ajay kumar Dwivedi <adwiv@yahoo.com>
* XmlQualifiedName: Name and Namespaces are never null. If null is passed
to the constructor, set them to empty strings.
Fixed the Operators.
svn path=/trunk/mcs/; revision=5392
Paolo Molaro [Fri, 21 Jun 2002 11:04:59 +0000 (11:04 -0000)]
Added System.Xml.Serialization/*.
svn path=/trunk/mcs/; revision=5390
Paolo Molaro [Fri, 21 Jun 2002 11:03:26 +0000 (11:03 -0000)]
Added TypeConverterattribute.cs.
svn path=/trunk/mcs/; revision=5389
Gonzalo Paniagua Javier [Fri, 21 Jun 2002 10:02:24 +0000 (10:02 -0000)]
2002-06-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* StringBuilder.cs: implemented AppendFormat methods using
String.Format. Thanks Paolo!
This makes xsp generate correct C# output in linux :-). I still need
to do more testing, though.
svn path=/trunk/mcs/; revision=5388
Paolo Molaro [Fri, 21 Jun 2002 08:37:00 +0000 (08:37 -0000)]
Response file to use with mcs.
svn path=/trunk/mcs/; revision=5387
Paolo Molaro [Fri, 21 Jun 2002 07:53:27 +0000 (07:53 -0000)]
Fri Jun 21 13:37:57 CEST 2002 Paolo Molaro <lupus@ximian.com>
* typemanager.cs: make ExpandInterfaces() slip duplicated interfaces.
svn path=/trunk/mcs/; revision=5386
Rafael Teixeira [Fri, 21 Jun 2002 00:09:31 +0000 (00:09 -0000)]
2002-06-21 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* merged attribute.cs, class.cs, interface.cs, expression.cs, ecore.cs,
modifiers.cs, rootcontext.cs, statement.cs and typemanager.cs from mcs/mcs, to resync
* added pending.cs from mcs/mcs, to resync
svn path=/trunk/mcs/; revision=5384
Miguel de Icaza [Thu, 20 Jun 2002 21:00:54 +0000 (21:00 -0000)]
2002-06-20 Miguel de Icaza <miguel@ximian.com>
* attribute.cs: Return null if we can not look up the type.
svn path=/trunk/mcs/; revision=5383
Miguel de Icaza [Thu, 20 Jun 2002 20:56:34 +0000 (20:56 -0000)]
Add new test
svn path=/trunk/mcs/; revision=5382
Miguel de Icaza [Thu, 20 Jun 2002 20:56:24 +0000 (20:56 -0000)]
2002-06-20 Miguel de Icaza <miguel@ximian.com>
* class.cs (TypeContainer.GetClassBases): Use ExpandInterfaces on
the interface types found.
* interface.cs (Interface.GetInterfaceBases): Use ExpandInterfaces on the
interface types found.
* typemanager.cs (GetInterfaces): Make this routine returns alll
the interfaces and work around the lame differences between
System.Type and System.Reflection.Emit.TypeBuilder in the results
result for GetInterfaces.
(ExpandInterfaces): Given an array of interface types, expand and
eliminate repeated ocurrences of an interface. This expands in
context like: IA; IB : IA; IC : IA, IB; the interface "IC" to
be IA, IB, IC.
svn path=/trunk/mcs/; revision=5381
Martin Baulig [Thu, 20 Jun 2002 19:15:42 +0000 (19:15 -0000)]
Ooops, I forgot TypeCode.String in my last commit.
svn path=/trunk/mcs/; revision=5380
Martin Baulig [Thu, 20 Jun 2002 19:10:52 +0000 (19:10 -0000)]
2002-06-21 Martin Baulig <martin@gnome.org>
* typemanager.cs (TypeManager.TypeToCoreType): New function. When compiling corlib
and called with one of the core types, return the corresponding typebuilder for
that type.
* expression.cs (ArrayAccess.DoResolve): Call TypeManager.TypeToCoreType() on the
element type.
svn path=/trunk/mcs/; revision=5379
Martin Baulig [Thu, 20 Jun 2002 18:51:00 +0000 (18:51 -0000)]
2002-06-21 Martin Baulig <martin@gnome.org>
* Double.cs: Replace the private `enum State' with constants since this
will avoid some bigger headaches in mcs.
svn path=/trunk/mcs/; revision=5378
Martin Baulig [Thu, 20 Jun 2002 18:50:01 +0000 (18:50 -0000)]
2002-06-21 Martin Baulig <martin@gnome.org>
* ecore.cs (Expression.ExplicitReferenceConversionExists): Use
`target_type.IsArray' instead of `target_type.IsSubclassOf (TypeManager.array_type)'.
(Expression.ConvertReferenceExplicit): Likewise.
* expression.cs (ElementAccess.DoResolve): Likewise.
(ElementAccess.DoResolveLValue): Likewise.
svn path=/trunk/mcs/; revision=5377
Paolo Molaro [Thu, 20 Jun 2002 17:49:28 +0000 (17:49 -0000)]
Thu Jun 20 23:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
* reflection.c: fix type name parse code.
svn path=/trunk/mono/; revision=5376
Gonzalo Paniagua Javier [Thu, 20 Jun 2002 16:04:05 +0000 (16:04 -0000)]
2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* StringConverter.cs: stubbed out.
* TypeConverter.cs: stubbed the rest out and added some implementation.
Five errors left when compiling System.Web in linux.
svn path=/trunk/mcs/; revision=5375
Gonzalo Paniagua Javier [Thu, 20 Jun 2002 16:01:23 +0000 (16:01 -0000)]
2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* list: updated and reformatted.
svn path=/trunk/mcs/; revision=5374
Martin Baulig [Thu, 20 Jun 2002 15:46:40 +0000 (15:46 -0000)]
2002-06-20 Martin Baulig <martin@gnome.org>
* unix.args: New file. This is a mcs response file to compile
corlib on GNU/Linux (which doesn't work yet).
svn path=/trunk/mcs/; revision=5373
Martin Baulig [Thu, 20 Jun 2002 15:45:20 +0000 (15:45 -0000)]
2002-06-10 Martin Baulig <martin@gnome.org>
* interface.cs (Interface.PopulateIndexer): When creating the setter, we need to
add the "value" parameter to the parameter list.
* statement.cs (Fixed.Emit): Pass the return value of the child block's Emit()
to our caller.
svn path=/trunk/mcs/; revision=5372
Gonzalo Paniagua Javier [Thu, 20 Jun 2002 14:32:08 +0000 (14:32 -0000)]
2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System/System.build: removed System.Drawing.dll dependency.
* System/System.ComponentModel/TypeConverterAttribute.cs: attribute
sued by TypeDescriptor.Getconverter ().
* System/System.ComponentModel/TypeDescriptor.cs: implemented
GetConverter in the right way.
* System.Drawing/ChangeLog: new file.
* System.Drawing/System.Drawing.build: added System.dll dependency
* System.Drawing/System.Drawing/Color.cs: added TypeConverter attribute.
* System.Drawing/System.Drawing/ColorConverter.cs: added constructor.
svn path=/trunk/mcs/; revision=5371
Paolo Molaro [Thu, 20 Jun 2002 13:41:50 +0000 (13:41 -0000)]
Thu Jun 20 19:24:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
* reflection.c: break out of the loop.
* image.c: special case corlib.
svn path=/trunk/mono/; revision=5370
Miguel de Icaza [Thu, 20 Jun 2002 13:27:42 +0000 (13:27 -0000)]
Flush
svn path=/trunk/mono/; revision=5369
Miguel de Icaza [Thu, 20 Jun 2002 13:10:26 +0000 (13:10 -0000)]
Flush
svn path=/trunk/mono/; revision=5368
Johannes Roith [Thu, 20 Jun 2002 13:05:03 +0000 (13:05 -0000)]
cosmetically change - name prints out the path before "mono" on windows
svn path=/trunk/mono/; revision=5367
Miguel de Icaza [Thu, 20 Jun 2002 12:21:43 +0000 (12:21 -0000)]
2002-06-19 Miguel de Icaza <miguel@ximian.com>
* expression.cs (ArrayCreation.ExpressionToArrayArgument): Convert
the argument to an int, uint, long or ulong, per the spec. Also
catch negative constants in array creation.
svn path=/trunk/mcs/; revision=5366
Paolo Molaro [Thu, 20 Jun 2002 12:12:07 +0000 (12:12 -0000)]
Test error case.
svn path=/trunk/mcs/; revision=5365
Paolo Molaro [Thu, 20 Jun 2002 12:11:30 +0000 (12:11 -0000)]
Thu Jun 20 17:56:48 CEST 2002 Paolo Molaro <lupus@ximian.com>
* class.cs: do not allow the same interface to appear twice in
the definition list.
svn path=/trunk/mcs/; revision=5364
Ajay kumar Dwivedi [Thu, 20 Jun 2002 12:11:11 +0000 (12:11 -0000)]
2002-06-20 Ajay kumar Dwivedi <adwiv@yahoo.com>
* System.Xml.Serialization: Added to build target
2002-05-24 Miguel de Icaza <miguel@ximian.com>
svn path=/trunk/mcs/; revision=5363
Paolo Molaro [Thu, 20 Jun 2002 12:06:21 +0000 (12:06 -0000)]
Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
* TimeSpan.cs: do not pollute the namespace with the
System.Parser name.
svn path=/trunk/mcs/; revision=5362