mono.git
21 years agoadded stubs to compile SWF
Alexandre Pigolkine [Sat, 1 Mar 2003 20:49:10 +0000 (20:49 -0000)]
added stubs to compile SWF

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

21 years agothe cvsroot's been changed to 'mono'
Gonzalo Paniagua Javier [Sat, 1 Mar 2003 19:41:41 +0000 (19:41 -0000)]
the cvsroot's been changed to 'mono'

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

21 years agoFix from Gonz
Miguel de Icaza [Sat, 1 Mar 2003 19:40:35 +0000 (19:40 -0000)]
Fix from Gonz

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

21 years ago* Image.cs: Write Metadata root
Jackson Harper [Sat, 1 Mar 2003 19:27:35 +0000 (19:27 -0000)]
* Image.cs: Write Metadata root

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

21 years ago* MDStream.cs: Add methods to write metadata streams
Jackson Harper [Sat, 1 Mar 2003 19:21:03 +0000 (19:21 -0000)]
* MDStream.cs: Add methods to write metadata streams

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

21 years ago2003-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 1 Mar 2003 19:19:58 +0000 (19:19 -0000)]
2003-03-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* appdomain.c:
(get_info_from_assembly_name): don't leak value.

* icall.c:
(ves_icall_System_Reflection_Assembly_GetFilesInternal): initialize
result.

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

21 years agoPatch from Aleksey Ryabchuk <ryabchuk@yahoo.com>
Miguel de Icaza [Sat, 1 Mar 2003 19:13:08 +0000 (19:13 -0000)]
Patch from Aleksey Ryabchuk <ryabchuk@yahoo.com>

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

21 years ago2003-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 1 Mar 2003 18:57:54 +0000 (18:57 -0000)]
2003-03-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* unix.args: added ModuleResolveEventHandler.cs

* System.Reflection/Assembly.cs: added missing stuff. Only ModuleResolve
event is left out to avoid changing MonoReflectionAssembly by now.
* System.Reflection/ModuleResolveEventHandler.cs: delegate.

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

21 years ago* MetaDataRoot.cs: Add method to write Metadata
Jackson Harper [Sat, 1 Mar 2003 18:54:54 +0000 (18:54 -0000)]
* MetaDataRoot.cs: Add method to write Metadata

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

21 years ago2003-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 1 Mar 2003 17:32:30 +0000 (17:32 -0000)]
2003-03-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Directory.cs: fixed bugs #38939 and #38940. No need for separate
unix/windows/unc shares code paths.

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

21 years agodocumented MONO_CFG_DIR environment variable
Gonzalo Paniagua Javier [Sat, 1 Mar 2003 16:02:36 +0000 (16:02 -0000)]
documented MONO_CFG_DIR environment variable

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

21 years agoSat Mar 1 15:32:56 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 1 Mar 2003 14:38:59 +0000 (14:38 -0000)]
Sat Mar 1 15:32:56 CET 2003 Paolo Molaro <lupus@ximian.com>

* assembly.c: export mono_image_load_references ().
* class.c: handle function pointers. mono_class_from_name() now
supports nested type names directly.

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

21 years agoSat Mar 1 12:36:45 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 1 Mar 2003 11:40:46 +0000 (11:40 -0000)]
Sat Mar 1 12:36:45 CET 2003 Paolo Molaro <lupus@ximian.com>

* jit.c: remove unnecessary assert when inlining.

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

21 years agoFlush
Miguel de Icaza [Fri, 28 Feb 2003 20:08:10 +0000 (20:08 -0000)]
Flush

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

21 years ago2003-02-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 Feb 2003 18:41:17 +0000 (18:41 -0000)]
2003-02-28  Zoltan Varga  <vargaz@freemail.hu>

* ILGenerator.cs (Emit): Add fixup for already created methods and
fields. Do not add fixup for types since their table index do not
change any more.

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

21 years ago2003-02-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 Feb 2003 18:36:47 +0000 (18:36 -0000)]
2003-02-28  Zoltan Varga  <vargaz@freemail.hu>

* reflection.h reflection.c: Encode already created dynamic methods
and fields correctly as a DEF instead of a REF.

* reflection.c: Get rid of the force_ref argument to
mono_image_typedef_or_ref since it was wrong in the first place.

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

21 years ago2003-02-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 Feb 2003 16:25:03 +0000 (16:25 -0000)]
2003-02-28  Zoltan Varga  <vargaz@freemail.hu>

* StringTest.cs: added String constructor tests.

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

21 years ago2003-02-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 Feb 2003 16:24:03 +0000 (16:24 -0000)]
2003-02-28  Zoltan Varga  <vargaz@freemail.hu>

* string-icalls.c: add error checking to string constructors according
to the MSDN docs.

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

21 years ago2003-02-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 Feb 2003 15:24:37 +0000 (15:24 -0000)]
2003-02-28  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c: Emit types in the order their TypeBuilders were
created. Previously, a new table index was assigned to each type before
the tables were emitted. This was wrong because the signature blob
might already refer to a type by its original table index.

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

21 years agoadded 3 missing assemblies for windows install target
Gonzalo Paniagua Javier [Fri, 28 Feb 2003 14:51:49 +0000 (14:51 -0000)]
added 3 missing assemblies for windows install target

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

21 years agoUpdated with a change to the parsing code. some servers
Per Arneng [Fri, 28 Feb 2003 10:55:57 +0000 (10:55 -0000)]
Updated with a change to the parsing code. some servers
send 200-xxxxx instead of 200 xxxxxx. Thnx Elan Feingold

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

21 years ago* Added several external functions to Win32funcs.cs
Reggie Burnett [Fri, 28 Feb 2003 08:43:13 +0000 (08:43 -0000)]
* Added several external functions to Win32funcs.cs
* Added necessary LoadLibrary to RichTextEdit to load common control library

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

21 years ago*** empty log message ***
Aleksey Demakov [Fri, 28 Feb 2003 08:39:18 +0000 (08:39 -0000)]
*** empty log message ***

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

21 years ago2003-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 28 Feb 2003 08:00:46 +0000 (08:00 -0000)]
2003-02-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: patch from Elan Feingold <efeingold@mn.rr.com>. Fixes
NullReferenceException when the callback is null.

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

21 years agoRemoved the unsafe dependencies from the driver.
Christopher Bockner [Fri, 28 Feb 2003 03:48:13 +0000 (03:48 -0000)]
Removed the unsafe dependencies from the driver.

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

21 years agoupdate release page
Miguel de Icaza [Thu, 27 Feb 2003 23:13:33 +0000 (23:13 -0000)]
update release page

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

21 years agobump
Miguel de Icaza [Thu, 27 Feb 2003 22:22:37 +0000 (22:22 -0000)]
bump

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

21 years agoBump
Miguel de Icaza [Thu, 27 Feb 2003 22:22:27 +0000 (22:22 -0000)]
Bump

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

21 years ago2003-02-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 27 Feb 2003 20:30:36 +0000 (20:30 -0000)]
2003-02-27  Zoltan Varga  <vargaz@freemail.hu>

* metadata.c (mono_metadata_nesting_typedef): fix bug in previous
change.

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

21 years ago2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Thu, 27 Feb 2003 20:29:14 +0000 (20:29 -0000)]
2003-02-28  Ville Palo <vi64pa@kolumbus.fi>

* DataColumnCollectionTest.cs: Added more tests.
* DataRowCollectionTest.cs: Added more tests.

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

21 years agooops. Thanks to danmorg for pointing this out.
Gonzalo Paniagua Javier [Thu, 27 Feb 2003 20:21:04 +0000 (20:21 -0000)]
oops. Thanks to danmorg for pointing this out.

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

21 years ago2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Thu, 27 Feb 2003 20:14:36 +0000 (20:14 -0000)]
2003-02-28  Ville Palo <vi64pa@kolumbus.fi>

* ExpressionElement.cs: More implementation.

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

21 years ago2003-02-28 Elan Feingold <efeingold@mn.rr.com>
Alan Tam [Thu, 27 Feb 2003 20:01:32 +0000 (20:01 -0000)]
2003-02-28  Elan Feingold  <efeingold@mn.rr.com>

* DateTime.cs: FileTime is expressed in Universal time, and as such must
be converted before subtracting the magic offset.
* DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
the timezone at the end) *must* be parsed by DateTime.Parse() for
compatibility with Microsoft.

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

21 years ago2003-02-27 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 27 Feb 2003 19:48:17 +0000 (19:48 -0000)]
2003-02-27  Miguel de Icaza  <miguel@ximian.com>

* driver.cs: handle the +/- options for -noconfig

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

21 years ago2003-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 27 Feb 2003 19:46:51 +0000 (19:46 -0000)]
2003-02-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Makefile.am: make assemblies dir have \ instead of / on windows.

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

21 years ago2003-02-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 27 Feb 2003 19:06:41 +0000 (19:06 -0000)]
2003-02-27  Zoltan Varga  <vargaz@freemail.hu>

* metadata.c metadata.h (mono_metadata_nesting_typedef): changed to
iterate over the NESTEDCLASS table using a linear search since the
table is not guaranteed to be sorted by the secondary key.

* class.c (mono_class_create_from_typedef): fixed up call to
mono_metadata_nesting_typedef.

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

21 years ago2003-02-27 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 27 Feb 2003 18:59:06 +0000 (18:59 -0000)]
2003-02-27  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (Unchecked.Resolve): Also track the state in the Resolve phase.

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

21 years agoFlush
Miguel de Icaza [Thu, 27 Feb 2003 17:41:42 +0000 (17:41 -0000)]
Flush

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

21 years ago2003-02-28 Alan Tam <Tam@SiuLung.com>
Alan Tam [Thu, 27 Feb 2003 17:18:05 +0000 (17:18 -0000)]
2003-02-28  Alan Tam <Tam@SiuLung.com>

        * DataSet.cs: Changed WriteTable so that it now calls the newly written
        WriteObjectXml to direct the call to the respective XmlConvert method.
        This fixes the wrong format written to XML files of bool, float,
        double, DateTime and TimeSpan types.

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

21 years ago2003-02-28 Alan Tam <Tam@SiuLung.com>
Alan Tam [Thu, 27 Feb 2003 17:11:41 +0000 (17:11 -0000)]
2003-02-28  Alan Tam <Tam@SiuLung.com>

        * XmlConvert.cs: fixed the most ToXXX(string) and ToString(XXX)
        methods to make them compatible with the XML Schema Spec from W3C
        ToString(TimeSpan) is still outstanding

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

21 years ago2003-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 27 Feb 2003 16:20:24 +0000 (16:20 -0000)]
2003-02-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* File.cs: fix by Elan Feingold <efeingold@mn.rr.com> for
SetCreationTime, SetLastAccessTime and SetLastWriteTime.

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

21 years ago2003-02-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 27 Feb 2003 14:21:50 +0000 (14:21 -0000)]
2003-02-27  Martin Baulig  <martin@ximian.com>

* ecore.cs (Expression.MemberLookup): Don't create a
MethodGroupExpr for something which is not a method.  Fixes #38291.

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

21 years agoadded class init test from zoltan
Dietmar Maurer [Thu, 27 Feb 2003 11:56:34 +0000 (11:56 -0000)]
added class init test from zoltan

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

21 years agonew test
Dietmar Maurer [Thu, 27 Feb 2003 11:52:55 +0000 (11:52 -0000)]
new test

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

21 years ago2003-02-27 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 27 Feb 2003 11:41:40 +0000 (11:41 -0000)]
2003-02-27  Dietmar Maurer  <dietmar@ximian.com>

* marshal.c (mono_string_to_byvalstr): clear the memory as
suggested by Jerome Laban <jlaban@wanadoo.fr>

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

21 years ago2003-02-26 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Thu, 27 Feb 2003 05:20:06 +0000 (05:20 -0000)]
2003-02-26  Tim Coleman <tim@timcoleman.com>
* System.Data.OracleClient/OracleConnection.cs:
Rollback transactions when connection closes if they
are open.
* System.Data.OracleClient/OracleDataReader.cs:
Implement GetOracleLob ()
* System.Data.OracleClient/OracleLob.cs:
Implement some of the details, like Read/Write/Seek
* System.Data.OracleClient.Oci/OciBindHandle.cs:
Remove debug message.
* System.Data.OracleClient.Oci/OciDefineHandle.cs:
Add LOB support.
* System.Data.OracleClient.Oci/OciEnvironmentHandle.cs:
Minor formatting changes
* System.Data.OracleClient.Oci/OciLobLocator.cs:
Huge amounts of code to make it work.  Lots of ugly
OCI P/Invoke code.
* Test/TestOracleClient.cs:
Improve the LOBTest.

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

21 years ago2003-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 27 Feb 2003 03:48:36 +0000 (03:48 -0000)]
2003-02-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AuthenticationConfigHandler.cs: 'name' is optional in <forms>.

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

21 years ago2003-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 27 Feb 2003 02:08:56 +0000 (02:08 -0000)]
2003-02-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CultureInfo.cs:
(NameToID): make it case insensitive and use a hashtable instead of
comparing all the strings.

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

21 years agoReverted last patch. It breaks configuration reading
Gonzalo Paniagua Javier [Thu, 27 Feb 2003 01:20:59 +0000 (01:20 -0000)]
Reverted last patch. It breaks configuration reading

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

21 years agoRemoved an old FIXME
Per Arneng [Thu, 27 Feb 2003 00:32:32 +0000 (00:32 -0000)]
Removed an old FIXME

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

21 years agoadded author comment
Per Arneng [Wed, 26 Feb 2003 23:47:19 +0000 (23:47 -0000)]
added author comment

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

21 years agoAdded the MailEncdoder class to be responsible for base64,UU encoding
Per Arneng [Wed, 26 Feb 2003 22:50:45 +0000 (22:50 -0000)]
Added the MailEncdoder class to be responsible for base64,UU encoding
The base64 method is now diff tested against uuencode

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

21 years agoFixed subject encoding.. does like ms now
Per Arneng [Wed, 26 Feb 2003 19:21:26 +0000 (19:21 -0000)]
Fixed subject encoding.. does like ms now

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

21 years ago2003-02-27 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Wed, 26 Feb 2003 19:11:46 +0000 (19:11 -0000)]
2003-02-27  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlDocument.cs: modified Load().
  Uri.Parse might not allow non-uri string.
* XmlInputStream.cs: patch by Gonzalo (CanSeek).
  added some constructors for convenience.
* XmlTextReader.cs: modified some constructors.

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

21 years ago2003-02-26 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 26 Feb 2003 16:03:29 +0000 (16:03 -0000)]
2003-02-26  Dick Porter  <dick@ximian.com>

* process.c: Cope with padding in .rsrc blocks

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

21 years ago2003-02-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 26 Feb 2003 14:40:21 +0000 (14:40 -0000)]
2003-02-26  Zoltan Varga  <vargaz@freemail.hu>

* TypeBuilder.cs (DefineInitializedData): Removed unnecessary assignments.

* ModuleBuilder.cs (DefineInitializedData): Do not call
TypeBuilder::DefineInitializedData since that would mean defining a
nested type of the global type, which is wrong. Instead define a
new public type as MS does.

* ModuleBuilder.cs (DefineUninitializedData): Ditto.

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

21 years ago2003-02-26 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 26 Feb 2003 11:29:53 +0000 (11:29 -0000)]
2003-02-26  Dietmar Maurer  <dietmar@ximian.com>

* metadata.h: reverted the filter_len change, it breaks reflection

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

21 years ago2003-02-26 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 26 Feb 2003 10:21:22 +0000 (10:21 -0000)]
2003-02-26  Dietmar Maurer  <dietmar@ximian.com>

* metadata.h: added a new field to store the filter_len

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

21 years ago2003/02/26 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 26 Feb 2003 09:37:18 +0000 (09:37 -0000)]
2003/02/26 Nick Drochak <ndrochak@gol.com>

* ActivatorTest.cs: Unregister the channel like it should.
* MarshalByRefTest.cs: Take out my hack.
  Both from Jean-Marc Andr [jean-marc.andre@polymtl.ca].

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

21 years ago* Form.Close now actually destroys the Window
Reggie Burnett [Wed, 26 Feb 2003 07:53:25 +0000 (07:53 -0000)]
* Form.Close now actually destroys the Window
* Application now closes when launching form is closed

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

21 years agoAdded myself :)
Per Arneng [Wed, 26 Feb 2003 06:23:13 +0000 (06:23 -0000)]
Added myself :)

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

21 years agoAdded a FIXME comment on boundaries
Per Arneng [Wed, 26 Feb 2003 06:04:11 +0000 (06:04 -0000)]
Added a FIXME comment on boundaries

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

21 years agoSmtpServer now defaults to localhost
Per Arneng [Wed, 26 Feb 2003 05:57:18 +0000 (05:57 -0000)]
SmtpServer now defaults to localhost

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

21 years agoapplication/octet-stream for attatchment mimetypes
Per Arneng [Wed, 26 Feb 2003 05:35:44 +0000 (05:35 -0000)]
application/octet-stream for attatchment mimetypes

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

21 years agoo Modified WebService to house a HttpContext member instead of HttpApplication
Dave Bettin [Wed, 26 Feb 2003 04:58:37 +0000 (04:58 -0000)]
o Modified WebService to house a HttpContext member instead of HttpApplication

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

21 years agoBody is now encoded with BodyEncoding.GetBytes
Per Arneng [Wed, 26 Feb 2003 04:58:25 +0000 (04:58 -0000)]
Body is now encoded with BodyEncoding.GetBytes

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

21 years agoo Moved tests to nunit2 guidelines
Dave Bettin [Wed, 26 Feb 2003 04:51:32 +0000 (04:51 -0000)]
o Moved tests to nunit2 guidelines
o Added build for linux test(s)

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

21 years agoSet the Content-Transfet-Encoding based on contents ASCII 7bit other 8bit
Per Arneng [Wed, 26 Feb 2003 04:36:00 +0000 (04:36 -0000)]
Set the Content-Transfet-Encoding based on contents ASCII 7bit other 8bit

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

21 years ago2003-02-25 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 26 Feb 2003 04:25:47 +0000 (04:25 -0000)]
2003-02-25  Miguel de Icaza  <miguel@ximian.com>

* class.cs (MemberBase.CheckParameters): Also check that the type
is unmanaged if it is a pointer.

* expression.cs (SizeOf.Resolve): Add location information.

* statement.cs (Block.EmitMeta): Flag error (208) if a pointer to
a managed type is declared.

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

21 years agoAdd new test
Miguel de Icaza [Wed, 26 Feb 2003 04:10:34 +0000 (04:10 -0000)]
Add new test

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

21 years agoContent-Type:..; charset= is now set to the correct value
Per Arneng [Wed, 26 Feb 2003 04:09:55 +0000 (04:09 -0000)]
Content-Type:..; charset=   is now set to the correct value

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

21 years ago2003-02-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 26 Feb 2003 03:40:35 +0000 (03:40 -0000)]
2003-02-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* MemoryStream.cs:
(ToArray): return only the portion of the buffer that contains
data, not the whole buffer. (note: this makes XmlDocument.Load work
again with documents that have a <?xml without the 'encoding'
attribute, which makes gtk-sharp generator work again).

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

21 years agoAdd new error
Miguel de Icaza [Wed, 26 Feb 2003 03:37:58 +0000 (03:37 -0000)]
Add new error

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

21 years ago2003-02-25 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 26 Feb 2003 03:13:08 +0000 (03:13 -0000)]
2003-02-25  Miguel de Icaza  <miguel@ximian.com>

* class.cs: Very sad.  Am backing out the speed up changes
introduced by the ArrayList -> Array in the TypeContainer, as they
were not actually that much faster, and introduced a bug (no error
reports on duplicated methods).

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

21 years agoImprove test
Miguel de Icaza [Wed, 26 Feb 2003 02:13:30 +0000 (02:13 -0000)]
Improve test

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

21 years agoTest the right variable, avoid a crash
Miguel de Icaza [Wed, 26 Feb 2003 02:13:07 +0000 (02:13 -0000)]
Test the right variable, avoid a crash

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

21 years ago Another change. Use target.Resolve instead of LValueResolve.
Miguel de Icaza [Wed, 26 Feb 2003 02:06:46 +0000 (02:06 -0000)]
Another change.  Use target.Resolve instead of LValueResolve.
Although we are resolving for LValues, we will let the Assign code
take care of that (it will be called again from Resolve).  This
basically allows code like this:

class X { X operator + (X x, object o) {} X this [int idx] { get; set; } }
class Y { void A (X x) { x [0] += o; }

The problem was that the indexer was trying to resolve for
set_Item (idx, object o) and never finding one.  The real set_Item
was set_Item (idx, X).  By delaying the process we get the right
semantics.

Fixes bug: 36505

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

21 years ago2003-02-25 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 25 Feb 2003 22:46:33 +0000 (22:46 -0000)]
2003-02-25  Miguel de Icaza  <miguel@ximian.com>

* assign.cs (CompoundAssign.DoLResolve): Resolve the original
source first, this will guarantee that we have a valid expression
before calling in lower levels functions that will require a
resolved object.  Then use this original_source in the
target.ResolveLValue instead of the original source that was
passed to us.

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

21 years agoAdd new test
Miguel de Icaza [Tue, 25 Feb 2003 22:45:04 +0000 (22:45 -0000)]
Add new test

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

21 years agoFix
Miguel de Icaza [Tue, 25 Feb 2003 22:29:35 +0000 (22:29 -0000)]
Fix

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

21 years ago2003-02-25 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 25 Feb 2003 22:25:38 +0000 (22:25 -0000)]
2003-02-25  Miguel de Icaza  <miguel@ximian.com>

* makefile (all): Make it so that doing `make' will run the
default tests depending on Windows/Linux.

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

21 years ago * BinaryFormatter.cs: Implemented support for binders.
Lluis Sanchez [Tue, 25 Feb 2003 20:31:53 +0000 (20:31 -0000)]
* BinaryFormatter.cs: Implemented support for binders.
    * MessageFormatter.cs: Implemented support for binders.
    * ObjectReader.cs: Implemented support for binders.

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

21 years agoupdate man page
Miguel de Icaza [Tue, 25 Feb 2003 17:34:19 +0000 (17:34 -0000)]
update man page

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

21 years ago2003-02-25 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 25 Feb 2003 17:26:54 +0000 (17:26 -0000)]
2003-02-25  Dick Porter  <dick@ximian.com>

* shared.c (_wapi_shm_attach): Return a failure code on system
call errors, rather than exiting.

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

21 years agoFlush
Miguel de Icaza [Tue, 25 Feb 2003 17:00:08 +0000 (17:00 -0000)]
Flush

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

21 years ago2003-02-25 Alan Tam <Tam@SiuLung.com>
Alan Tam [Tue, 25 Feb 2003 16:19:29 +0000 (16:19 -0000)]
2003-02-25  Alan Tam <Tam@SiuLung.com>

        * DbDataAdapter.cs: Added support for filling when schema is present.
        Fixed incorrect behavior when ColumnMapping is present
        when more than one fields have the same name. Implemented Dispose.
        Fixed error when there is no ColumnMapping at all.
        Still have some problems in finding the correct TableMapping
        because the SourceTable name is not present in BuildSchema

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

21 years agobits
Rafael Teixeira [Tue, 25 Feb 2003 15:52:06 +0000 (15:52 -0000)]
bits

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

21 years ago2003-02-25 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 25 Feb 2003 14:40:10 +0000 (14:40 -0000)]
2003-02-25  Nick Drochak <ndrochak@gol.com>

* File.cs (GetCreationTime): Throw proper execption when path is not
found.

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

21 years ago2003-02-25 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 25 Feb 2003 14:02:33 +0000 (14:02 -0000)]
2003-02-25  Nick Drochak <ndrochak@gol.com>

* TimeSpanTest.cs: Isolate test for Negate bug. Same as previous
'checked' bug in ByteTest?

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

21 years agoTue Feb 25 11:55:35 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 25 Feb 2003 11:00:02 +0000 (11:00 -0000)]
Tue Feb 25 11:55:35 CET 2003 Paolo Molaro <lupus@ximian.com>

* MemoryStream.cs: make it behave sanely when the stream is
incrementally expanded.

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

21 years agoTue Feb 25 10:56:16 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 25 Feb 2003 10:00:58 +0000 (10:00 -0000)]
Tue Feb 25 10:56:16 CET 2003 Paolo Molaro <lupus@ximian.com>

* reflection.c: handle custom attributes for types and members
created with Reflection.Emit (bug#38422).

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

21 years ago2003-02-25 Alan Tam <Tam@SiuLung.com>
Alan Tam [Tue, 25 Feb 2003 08:48:29 +0000 (08:48 -0000)]
2003-02-25  Alan Tam <Tam@SiuLung.com>

        * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
        * DataRelationCollection.cs: Implemented AddRange and Contains.
        Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
        Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
        Reimplemented most Add methods to eliminate duplicated checks.
        Centralized RelationName generation procedure in GetNextDefaultRelationName.

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

21 years ago2003-02-25 Alan Tam <Tam@SiuLung.com>
Alan Tam [Tue, 25 Feb 2003 07:25:05 +0000 (07:25 -0000)]
2003-02-25  Alan Tam <Tam@SiuLung.com>

        * DataColumn.cs: Fixed wrong storage representation of Expression
        (using empty string instead of null) so that ToString() returns nothing.
        * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
        auto column naming now works as expected. Reimplemented some Add methods
        to eliminate code duplication.

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

21 years agoAdd
Miguel de Icaza [Mon, 24 Feb 2003 22:13:22 +0000 (22:13 -0000)]
Add

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

21 years ago2003-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 24 Feb 2003 21:38:45 +0000 (21:38 -0000)]
2003-02-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Attribute.cs:
* MonoCustomAttrs.cs: fix for the regression test failure (see bug
#38238).

* IntPtr.cs: added serialization .ctor

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

21 years ago2003-02-24 Aleksey Demakov <avd@openlinksw.com>
Alan Tam [Mon, 24 Feb 2003 17:47:28 +0000 (17:47 -0000)]
2003-02-24  Aleksey Demakov <avd@openlinksw.com>

* DbDataAdapter.cs: The original code might pass a null DataTableMapping
value which is then used to create a RowUpdatingEventArgs
instance. So RowUpdatingEvent handler (for instance
CommandBuilder) could get null DataTableMapping which
might be unexpected. The patch makes sure that a non-null
DataTableMapping is passed.

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

21 years ago2003-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 24 Feb 2003 16:51:17 +0000 (16:51 -0000)]
2003-02-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* OracleMonthSpan.cs: fixed compilation.

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

21 years ago2003-02-23 Peter Williams <peterw@ximian.com>
Peter Williams [Mon, 24 Feb 2003 04:38:04 +0000 (04:38 -0000)]
2003-02-23  Peter Williams  <peterw@ximian.com>

* makefile.gnu (all): Take two.

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

21 years agoPatches from Daniel Campos
Miguel de Icaza [Mon, 24 Feb 2003 03:39:13 +0000 (03:39 -0000)]
Patches from Daniel Campos

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

21 years agotoo late
Miguel de Icaza [Mon, 24 Feb 2003 01:07:26 +0000 (01:07 -0000)]
too late

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