mono.git
20 years ago2003-12-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 10 Dec 2003 20:44:11 +0000 (20:44 -0000)]
2003-12-10  Zoltan Varga  <vargaz@freemail.hu>

* gacutil.cs: Fix binding flags.

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

20 years ago2003-12-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 10 Dec 2003 20:37:01 +0000 (20:37 -0000)]
2003-12-10  Zoltan Varga  <vargaz@freemail.hu>

* gacutil.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
Use Environment.GacPath () instead of hardcoding the GAC path.

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

20 years ago2003-12-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 10 Dec 2003 20:28:57 +0000 (20:28 -0000)]
2003-12-10  Zoltan Varga  <vargaz@freemail.hu>

* Environment.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
Add new GacPath property + its associated icall.

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

20 years ago2003-12-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 10 Dec 2003 20:21:30 +0000 (20:21 -0000)]
2003-12-10  Zoltan Varga  <vargaz@freemail.hu>

* icall.c: Applied patch from Todd Berman (tbermann@gentoo.org). New
GetGacPath icall.

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

20 years agoUpdated and activated StringsTest.cs V0.00001
Jochen Wezel [Wed, 10 Dec 2003 19:41:39 +0000 (19:41 -0000)]
Updated and activated StringsTest.cs V0.00001

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

20 years ago * ILParser.jay: Use the extern table for all extern type
Jackson Harper [Wed, 10 Dec 2003 19:09:19 +0000 (19:09 -0000)]
    * ILParser.jay: Use the extern table for all extern type
creations.

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

20 years ago * ExternTable.cs: Add methods to update a types name.
Jackson Harper [Wed, 10 Dec 2003 19:07:46 +0000 (19:07 -0000)]
    * ExternTable.cs: Add methods to update a types name.
* ExternTypeRef.cs: When a types name is modified update it in the
table.

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

20 years agoVBCodeProviderTest now checks for compilation output
Jochen Wezel [Wed, 10 Dec 2003 18:54:39 +0000 (18:54 -0000)]
VBCodeProviderTest now checks for compilation output

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

20 years agoVBCodeProviderTest now checks for compilation output
Jochen Wezel [Wed, 10 Dec 2003 18:48:34 +0000 (18:48 -0000)]
VBCodeProviderTest now checks for compilation output

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

20 years agoFix
Miguel de Icaza [Wed, 10 Dec 2003 18:02:31 +0000 (18:02 -0000)]
Fix

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

20 years agoUpdate to new component names
Miguel de Icaza [Wed, 10 Dec 2003 17:59:26 +0000 (17:59 -0000)]
Update to new component names

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

20 years ago2003-12-10 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Wed, 10 Dec 2003 17:24:30 +0000 (17:24 -0000)]
2003-12-10  Bernie Solomon  <bernard@ugsolutions.com>

* process.c:  (ves_icall_System_Diagnostics_Process_GetWorkingSet_internal
ves_icall_System_Diagnostics_Process_SetWorkingSet_internal):
cope with sizeof(size_t) != sizeof(guint32).

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

20 years ago2003-12-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 10 Dec 2003 16:49:33 +0000 (16:49 -0000)]
2003-12-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Win32Exception.cs: use a switch instead of creating a hashtable when
mapping from an error code to a message.

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

20 years ago2003-12-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 10 Dec 2003 16:48:12 +0000 (16:48 -0000)]
2003-12-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Process.cs: if there's an error when starting the process, the 'pid'
field contains the GetLastError code. Use that for the Win32Exception.

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

20 years ago2003-12-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 10 Dec 2003 16:46:24 +0000 (16:46 -0000)]
2003-12-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* process.[ch]: the 'pid' field in MonoProcInfo stores GetLastError
in case of failure.

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

20 years agoSoapTypeAttribute.cs: Use full namespace name.
Lluis Sanchez [Wed, 10 Dec 2003 16:40:59 +0000 (16:40 -0000)]
SoapTypeAttribute.cs: Use full namespace name.

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

20 years ago * AsyncResult.cs: Call delegate on async call completion.
Lluis Sanchez [Wed, 10 Dec 2003 16:36:20 +0000 (16:36 -0000)]
* AsyncResult.cs: Call delegate on async call completion.
* CADMessages.cs: Removed TODO.

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

20 years ago* LifetimeServices.cs: Removed TODO.
Lluis Sanchez [Wed, 10 Dec 2003 16:34:18 +0000 (16:34 -0000)]
* LifetimeServices.cs: Removed TODO.

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

20 years agoChange the implementation of the properties HorizontalAlign and VerticalAlign.
Alon Gazit [Wed, 10 Dec 2003 16:21:10 +0000 (16:21 -0000)]
Change the implementation of the properties HorizontalAlign and  VerticalAlign.
The current implementation has no influence on the rendered Html.

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

20 years agoMonoWSDL.cs: Return error codes.
Lluis Sanchez [Wed, 10 Dec 2003 16:12:59 +0000 (16:12 -0000)]
MonoWSDL.cs: Return error codes.

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

20 years ago * MetaDataExporter.cs: Several fixes.
Lluis Sanchez [Wed, 10 Dec 2003 16:00:34 +0000 (16:00 -0000)]
* MetaDataExporter.cs: Several fixes.
* SdlChannelSink.cs: Implemented.
* SdlChannelSinkProvider.cs: Implemented.

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

20 years ago * HttpServer.cs: Allow the use of GET method (SdlServerSink supports it).
Lluis Sanchez [Wed, 10 Dec 2003 15:56:53 +0000 (15:56 -0000)]
* HttpServer.cs: Allow the use of GET method (SdlServerSink supports it).
Added some text constans for transport keys.
* HttpServerChannel.cs: Add SdlChannelSinkProvider to the default
sink provider chain. Removed unused ErrorMessage class.

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

20 years ago * BinaryServerFormatterSinkProvider.cs: Removed TODO.
Lluis Sanchez [Wed, 10 Dec 2003 15:56:23 +0000 (15:56 -0000)]
* BinaryServerFormatterSinkProvider.cs: Removed TODO.
* CommonTransportKeys.cs: Added some internal transport keys.

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

20 years agoVBCodeGeneartor.cs moved to mcs/class/System/Test/....
Jochen Wezel [Wed, 10 Dec 2003 14:24:06 +0000 (14:24 -0000)]
VBCodeGeneartor.cs moved to mcs/class/System/Test/....

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

20 years agoSome cleanup to the Win32 random number generator. Also removed the
Mark Crichton [Wed, 10 Dec 2003 14:15:12 +0000 (14:15 -0000)]
Some cleanup to the Win32 random number generator.  Also removed the
GetNonZeroBytes from the runtime.  That functionality is now performed in
managed code.

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

20 years agoGetNonZeroBytes is now done with managed code and not an icall.
Mark Crichton [Wed, 10 Dec 2003 14:14:01 +0000 (14:14 -0000)]
GetNonZeroBytes is now done with managed code and not an icall.

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

20 years agoups one more letter needed to be lower case
Martin Willemoes Hansen [Wed, 10 Dec 2003 12:59:19 +0000 (12:59 -0000)]
ups one more letter needed to be lower case

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

20 years ago * RemotingConfiguration.cs: fixed wrong attribute name
Martin Willemoes Hansen [Wed, 10 Dec 2003 12:54:36 +0000 (12:54 -0000)]
    * RemotingConfiguration.cs: fixed wrong attribute name
          sponsorshipTimeOut it should be sponsorshipTimeout

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

20 years agoAdd setting of The WRAP flag in the Wrap property's set method.
Alon Gazit [Wed, 10 Dec 2003 12:45:01 +0000 (12:45 -0000)]
Add setting of The WRAP flag in the Wrap property's set method.

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

20 years agoAdded workaround for Microsoft.VisualBasic.ChrW()
Jochen Wezel [Wed, 10 Dec 2003 12:15:20 +0000 (12:15 -0000)]
Added workaround for Microsoft.VisualBasic.ChrW()

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

20 years agocommenting LdapSchema since its not included in Novell.Directory.Ldap.dll.sources
Sunil Kumar [Wed, 10 Dec 2003 11:29:20 +0000 (11:29 -0000)]
commenting LdapSchema since its not included in Novell.Directory.Ldap.dll.sources

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

20 years agoAdded for schema support
Sunil Kumar [Wed, 10 Dec 2003 11:12:29 +0000 (11:12 -0000)]
Added for schema support

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

20 years agoAdded Support for Schema operation
Sunil Kumar [Wed, 10 Dec 2003 11:05:54 +0000 (11:05 -0000)]
Added Support for Schema operation

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

20 years ago * ILParser.jay: Add COMP_NAME token.
Jackson Harper [Wed, 10 Dec 2003 09:39:10 +0000 (09:39 -0000)]
    * ILParser.jay: Add COMP_NAME token.

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

20 years ago * ILTokenizer.cs: Handle dotted ids as a single token. This allows
Jackson Harper [Wed, 10 Dec 2003 09:36:51 +0000 (09:36 -0000)]
    * ILTokenizer.cs: Handle dotted ids as a single token. This allows
keywords at the end of a dotted name.

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

20 years ago * ILParser.jay: vtable fixups can be int32s
Jackson Harper [Wed, 10 Dec 2003 09:12:56 +0000 (09:12 -0000)]
   * ILParser.jay: vtable fixups can be int32s

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

20 years agoupdate
Miguel de Icaza [Wed, 10 Dec 2003 09:02:02 +0000 (09:02 -0000)]
update

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

20 years ago2003-12-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 10 Dec 2003 02:52:26 +0000 (02:52 -0000)]
2003-12-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* mini.c:
(mini_init): don't error out if someone already called g_thread_init.

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

20 years agoAdd link to Flat API
Miguel de Icaza [Tue, 9 Dec 2003 22:27:28 +0000 (22:27 -0000)]
Add link to Flat API

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

20 years ago * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
Jackson Harper [Tue, 9 Dec 2003 20:02:21 +0000 (20:02 -0000)]
    * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
Increment counter when moving to start. Fixes bug #51926.

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

20 years ago * GlobalizationConfigurationHander.cs: Make unicode encodings case
Jackson Harper [Tue, 9 Dec 2003 17:39:44 +0000 (17:39 -0000)]
    * GlobalizationConfigurationHander.cs: Make unicode encodings case
insensitive.

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

20 years agoNUMA, SMP, RCU support (just to get SCO go crazy). Typo fix.
Paolo Molaro [Tue, 9 Dec 2003 16:31:05 +0000 (16:31 -0000)]
NUMA, SMP, RCU support (just to get SCO go crazy). Typo fix.

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

20 years agoTue Dec 9 17:27:14 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Dec 2003 16:21:24 +0000 (16:21 -0000)]
Tue Dec 9 17:27:14 CET 2003 Paolo Molaro <lupus@ximian.com>

* exceptions-x86.c, exceptions-ppc.c: allow the exception object
to be any type per the spec. Fix abnormal memory usage when
the same object is repeatedly thrown.

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

20 years agoTue Dec 9 15:39:54 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Dec 2003 14:32:58 +0000 (14:32 -0000)]
Tue Dec 9 15:39:54 CET 2003 Paolo Molaro <lupus@ximian.com>

* mini.c: check for overruns in IL code.

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

20 years agoTue Dec 9 15:36:18 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Dec 2003 14:30:48 +0000 (14:30 -0000)]
Tue Dec 9 15:36:18 CET 2003 Paolo Molaro <lupus@ximian.com>

* class.h, class.c, icall.c, marshal.c, object.c: ignore fields
marked as deleted.

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

20 years ago2003-12-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 9 Dec 2003 13:24:56 +0000 (13:24 -0000)]
2003-12-09  Zoltan Varga  <vargaz@freemail.hu>

* TODO: Add/remove some todo entries.

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

20 years ago2003-12-09 Patrik Torstensson <p@rxc.se>
Patrik Torstensson [Tue, 9 Dec 2003 12:03:02 +0000 (12:03 -0000)]
2003-12-09  Patrik Torstensson  <p@rxc.se>

* CryptAPI.cs: Added stdcall callconv to all Win32
  calls, default in Mono is CDECL

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

20 years agoBug fix (41845, 51422)
Anirban Bhattacharjee [Tue, 9 Dec 2003 11:04:45 +0000 (11:04 -0000)]
Bug fix (41845, 51422)

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

20 years ago * ModifiableType.cs: Put modifier and class in the list in the
Jackson Harper [Tue, 9 Dec 2003 07:11:57 +0000 (07:11 -0000)]
    * ModifiableType.cs: Put modifier and class in the list in the
correct order.

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

20 years ago * main.cs: escape module names.
Jackson Harper [Tue, 9 Dec 2003 06:48:58 +0000 (06:48 -0000)]
    * main.cs: escape module names.

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

20 years ago * GlobalizationConfigurationHandler.cs: Handle creating some
Jackson Harper [Tue, 9 Dec 2003 06:17:48 +0000 (06:17 -0000)]
    * GlobalizationConfigurationHandler.cs: Handle creating some
the unicode encodings here so we can create ones without BOMs.

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

20 years ago2003-12-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Dec 2003 05:07:53 +0000 (05:07 -0000)]
2003-12-09  Martin Baulig  <martin@ximian.com>

* flowanalyis.cs (FlowBranching.Return, Goto, Throw): Removed;
call them directly on the UsageVector.

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

20 years ago2003-12-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Dec 2003 05:04:14 +0000 (05:04 -0000)]
2003-12-09  Martin Baulig  <martin@ximian.com>

* flowanalysis.cs (FlowBranching.MergeChild, MergeTopBlock):
Changed return type from `FlowReturns' to `Reachability'.

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

20 years ago2003-12-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Dec 2003 04:53:58 +0000 (04:53 -0000)]
2003-12-09  Martin Baulig  <martin@ximian.com>

* flowanalysis.cs (FlowBranching.Reachability): New sealed class.
(FlowBranching.MergeResult): Replaced the `Returns', `Breaks' and
`Reachable' fields with a single `Reachability' one.

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

20 years agoadd a profile target
Ben Maurer [Tue, 9 Dec 2003 04:32:22 +0000 (04:32 -0000)]
add a profile target

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

20 years ago2003-12-08 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 9 Dec 2003 03:55:46 +0000 (03:55 -0000)]
2003-12-08 Ben Maurer  <bmaurer@users.sourceforge.net>

* class.cs (FindMembers): Remove foreach's.

Bootstrap times:

BEFORE
Run 1:   8.74 seconds
Run 2:   8.71 seconds

AFTER
Run 1:   8.64 seconds
Run 2:   8.58 seconds

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

20 years ago2003-12-08 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 9 Dec 2003 03:53:16 +0000 (03:53 -0000)]
2003-12-08 Ben Maurer  <bmaurer@users.sourceforge.net>

* cs-parser.jay:
* gen-treedump.cs:
* statement.cs:
This patch does a few things:
1. EmptyStatement is now a singleton, so it is never reallocated.
2. All blah is EmptyStatement constructs have been changed to
   blah == EmptyStatement.Value, which is much faster and valid
   now that EmptyStatement is a singleton.
3. When resolving a block, rather than allocating a new array for
   the non-empty statements, empty statements are replaced with
   EmptyStatement.Value
4. Some recursive functions have been made non-recursive.
Mainly the performance impact is from (3), however (1) and (2) are needed for
this to work. (4) does not make a big difference in normal situations, however
it makes the profile look saner.

Bootstrap times:

BEFORE
9.25user 0.23system 0:10.28elapsed 92%CPU (0avgtext+0avgdata 0maxresident)k
9.34user 0.13system 0:10.23elapsed 92%CPU (0avgtext+0avgdata 0maxresident)k
Total memory allocated: 56397 KB

AFTER
9.13user 0.09system 0:09.64elapsed 95%CPU (0avgtext+0avgdata 0maxresident)k
8.96user 0.24system 0:10.13elapsed 90%CPU (0avgtext+0avgdata 0maxresident)k
Total memory allocated: 55666 KB

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

20 years ago2003-12-08 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 9 Dec 2003 03:48:44 +0000 (03:48 -0000)]
2003-12-08 Ben Maurer  <bmaurer@users.sourceforge.net>

* support.cs: Rewrite DoubleHash to use its own impl. Is faster
than the hashtable in a hashtable version

* decl.cs: Right now, whenever we try to lookup a type inside a namespace,
we always end up concating a string. This results in a huge perf
loss, because many strings have to be tracked by the GC. In this
patch, we first use a hashtable that works with two keys, so that
the strings do not need to be concat'ed.

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

20 years agoget corlib times in here
Ben Maurer [Tue, 9 Dec 2003 03:28:25 +0000 (03:28 -0000)]
get corlib times in here

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

20 years ago2003-12-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 8 Dec 2003 23:50:43 +0000 (23:50 -0000)]
2003-12-09  Zoltan Varga  <vargaz@freemail.hu>

* verify.c (check_corlib): Handle the case when the version field is
initialized by a static constructor.

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

20 years ago * PageParser.cs: Ignore the SmartNavigation attribute for now.
Jackson Harper [Mon, 8 Dec 2003 22:11:32 +0000 (22:11 -0000)]
    * PageParser.cs: Ignore the SmartNavigation attribute for now.

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

20 years ago2003-12-08 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 8 Dec 2003 22:11:25 +0000 (22:11 -0000)]
2003-12-08 Ben Maurer  <bmaurer@users.sourceforge.net>

* Makefile: Add a new target `do-time' that does a quick and simple
profile, leaving easy to parse output.

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

20 years ago2003-13-08 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Mon, 8 Dec 2003 22:08:41 +0000 (22:08 -0000)]
2003-13-08  Bernie Solomon  <bernard@ugsolutions.com>

* Makefile.am: make sure hppa_atomic.s is in distribution

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

20 years ago2003-12-08 Patrik Torstensson <p@rxc.se>
Patrik Torstensson [Mon, 8 Dec 2003 21:49:25 +0000 (21:49 -0000)]
2003-12-08  Patrik Torstensson  <p@rxc.se>

    * rand.c (InternalGetBytes): Implemented win32 version with cryptapi

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

20 years agoNew generics test.
Martin Baulig [Mon, 8 Dec 2003 20:16:24 +0000 (20:16 -0000)]
New generics test.

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

20 years ago2003-12-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 8 Dec 2003 20:06:13 +0000 (20:06 -0000)]
2003-12-08  Martin Baulig  <martin@ximian.com>

* generics.cs (Constraints.Types): Removed.
(Constraints.Resolve): Just resolve everything to TypeExpr's, not
to Type's.
(Constraints.ResolveTypes): New public method; resolves the
TypeExpr's to Type's.
(TypeParameter.Define): TypeBuilder.DefineGenericParameter() no
longer takes the constraints.
(TypeParameter.DefineMethod): Likewise.
(TypeParameter.DefineType): New public method.  Calls
`TypeBuilder/MethodBuilder.SetGenericParameterConstraints()' to set
the constraints.

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

20 years ago2003-12-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 8 Dec 2003 20:02:05 +0000 (20:02 -0000)]
2003-12-08  Martin Baulig  <martin@ximian.com>

* convert.cs (Convert.ImplicitConversionStandard): Use
`expr_type.Equals (target_type)' instead of `=='.

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

20 years ago2003-12-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 8 Dec 2003 20:00:30 +0000 (20:00 -0000)]
2003-12-08  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.GetReferenceType): Call
`Type.MakeByRefType ()'.

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

20 years ago2003-12-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 8 Dec 2003 19:59:08 +0000 (19:59 -0000)]
2003-12-08  Martin Baulig  <martin@ximian.com>

* cs-parser.jay, cs-tokenizer.cs: `where' is not a keyword, it
just has some special meaning in some situations.  For instance,
it is allowed to use `where' as the name of a variable etc.

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

20 years ago2003-12-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 8 Dec 2003 19:48:16 +0000 (19:48 -0000)]
2003-12-04  Martin Baulig  <martin@ximian.com>

* corlib.dll.sources: Added System.Collections.Generic.

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

20 years ago2003-12-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 8 Dec 2003 19:47:45 +0000 (19:47 -0000)]
2003-12-08  Martin Baulig  <martin@ximian.com>

* *.cs: require GENERICS.

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

20 years ago2003-12-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 8 Dec 2003 19:45:57 +0000 (19:45 -0000)]
2003-12-08  Martin Baulig  <martin@ximian.com>

* icall.c (ves_icall_TypeBuilder_define_generic_parameter): Return
a MonoReflectionGenericParameter, also take the parameter index
and name as arguments.
(ves_icall_MethodBuilder_define_generic_parameter): Likewise.
(ves_icall_MonoGenericParam_initialize): New interncall.
(ves_icall_Type_make_byref_type): New interncall.

* reflection.h (MonoReflectionGenericParam): Derive from
MonoReflectionType, not just from MonoObject.  Added `refobj' and
`index' fields.

* reflection.c (mono_reflection_define_generic_parameter): Create
and return a new MonoReflectionGenericParam; don't initialize the
constraints here.
(mono_reflection_initialize_generic_parameter): New public method;
initializes the constraints and creates the `param->pklass'.

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

20 years ago2003-12-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 8 Dec 2003 19:45:10 +0000 (19:45 -0000)]
2003-12-08  Martin Baulig  <martin@ximian.com>

* TypeBuilder.cs (TypeBuilder.MonoGenericParam): Removed; use the
new `MonoGenericParam' class instead (in S.R/MonoGenericInst.cs).

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

20 years ago2003-12-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 8 Dec 2003 19:44:14 +0000 (19:44 -0000)]
2003-12-08  Martin Baulig  <martin@ximian.com>

* MonoGenericInst.cs (MonoGenericParam): New internal class;
derives from MonoType.

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

20 years ago2003-12-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 8 Dec 2003 19:39:51 +0000 (19:39 -0000)]
2003-12-08  Martin Baulig  <martin@ximian.com>

* Type.cs (MakeByRefType): New public method.

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

20 years ago * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
Jackson Harper [Mon, 8 Dec 2003 19:19:23 +0000 (19:19 -0000)]
    * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
Benjamin Jemlich. Fixes bug #51823.

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

20 years agoflush
Rafael Teixeira [Mon, 8 Dec 2003 19:02:16 +0000 (19:02 -0000)]
flush

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

20 years ago2003-12-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 8 Dec 2003 17:04:15 +0000 (17:04 -0000)]
2003-12-08  Zoltan Varga  <vargaz@freemail.hu>

* codegen.cs (Init): Create the dynamic assembly with
AssemblyBuilderAccess.Save, to enable some optimizations in the runtime.

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

20 years ago2003-12-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 8 Dec 2003 16:35:11 +0000 (16:35 -0000)]
2003-12-08  Zoltan Varga  <vargaz@freemail.hu>

* reflection.h reflection.c: Use the new fields 'num_types',
'num_fields' and 'num_methods' to track the number of types etc.

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

20 years ago2003-12-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 8 Dec 2003 16:32:50 +0000 (16:32 -0000)]
2003-12-08  Zoltan Varga  <vargaz@freemail.hu>

* ModuleBuilder.cs: Double the size of the types array during insertion
do avoid excessive memory allocation and copying. Track the number of
types in a separate variable.

* TypeBuilder.cs: Same for the 'fields' and 'methods' arrays.

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

20 years ago2003-12-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 8 Dec 2003 16:29:41 +0000 (16:29 -0000)]
2003-12-08  Zoltan Varga  <vargaz@freemail.hu>

* driver.c (mono_main): Call mono_verify_corlib.

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

20 years ago2003-12-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 8 Dec 2003 16:28:41 +0000 (16:28 -0000)]
2003-12-08  Zoltan Varga  <vargaz@freemail.hu>

* verify.c (check_corlib): Check corlib version number.

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

20 years ago2003-12-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 8 Dec 2003 16:26:58 +0000 (16:26 -0000)]
2003-12-08  Zoltan Varga  <vargaz@freemail.hu>

* Environment.cs: Add a version number for the corlib-runtime interface
to make it easier to diagnose problems resulting from a mismatch
between the two.

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

20 years agoAnother good catch
Miguel de Icaza [Mon, 8 Dec 2003 15:30:08 +0000 (15:30 -0000)]
Another good catch

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

20 years agoUpdated
Miguel de Icaza [Mon, 8 Dec 2003 15:07:28 +0000 (15:07 -0000)]
Updated

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

20 years agoBen pointed this out
Miguel de Icaza [Mon, 8 Dec 2003 15:04:50 +0000 (15:04 -0000)]
Ben pointed this out

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

20 years ago2003-12-08 Patrik Torstensson <p@rxc.se>
Patrik Torstensson [Mon, 8 Dec 2003 14:47:16 +0000 (14:47 -0000)]
2003-12-08  Patrik Torstensson   <p@rxc.se>

* Type.cs (GetMethod): Check type arguments within array
* MonoType.cs (GetMethodImpl): Handle methods with a new slot
(same signature but different classes (derived level)

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

20 years ago2003-12-08 Atsushi Enomoto <atsushi@novell.com>
Atsushi Eno [Mon, 8 Dec 2003 14:43:36 +0000 (14:43 -0000)]
2003-12-08  Atsushi Enomoto  <atsushi@novell.com>

* UriTest2.cs : eliminating Console.WriteLine().

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

20 years ago2003-12-08 Patrik Torstensson <p@rxc.se>
Patrik Torstensson [Mon, 8 Dec 2003 14:43:14 +0000 (14:43 -0000)]
2003-12-08  Patrik Torstensson <p@rxc.se>

* Binder.cs: Added internal helpers to get derived level and select the
most derived methodbase (used in GetMethodImpl)

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

20 years ago2003-12-08 Patrik Torstensson <p@rxc.se>
Patrik Torstensson [Mon, 8 Dec 2003 14:37:11 +0000 (14:37 -0000)]
2003-12-08  Patrik Torstensson <p@rxc.se>

* TypeTest.cs: Added basic tests for GetMethodImpl and GetPropertyImpl

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

20 years ago2003-12-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 8 Dec 2003 14:36:32 +0000 (14:36 -0000)]
2003-12-08  Atsushi Enomoto  <atsushi@ximian.com>

* Uri.cs : more fixes. More presice UNC handling, opaque part
  handling for non-standard uri (e.g. urn:go-mono.com), ToString()
  fix (that returns AbsoluteUri, which is not escaped any more),
  and so on.

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

20 years ago2003-12-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 8 Dec 2003 14:36:00 +0000 (14:36 -0000)]
2003-12-08  Atsushi Enomoto  <atsushi@ximian.com>

* System_test.dll.sources : Added UriTest2.cs

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

20 years ago2003-12-08 Atsushi Enomoto <atsushi@novell.com>
Atsushi Eno [Mon, 8 Dec 2003 14:35:12 +0000 (14:35 -0000)]
2003-12-08  Atsushi Enomoto  <atsushi@novell.com>

* Added uri-test-generator.cs, test-uri-list.txt, test-uri-props.txt
  and UriTest2.cs. They are test generator files.

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

20 years ago * SoapReflectionImporter.cs, XmlMembersMapping.cs, XmlReflectionImporter.cs,
Lluis Sanchez [Mon, 8 Dec 2003 14:32:53 +0000 (14:32 -0000)]
* SoapReflectionImporter.cs, XmlMembersMapping.cs, XmlReflectionImporter.cs,
  XmlSchemaImporter.cs, XmlTypeMapElementInfo.cs, XmlTypeMapping.cs:
  When using rpc format on a web service, members don't need to have any
  specific namespace. Added a flag for turning namespace check on/off.

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

20 years agoAdded remarks.
Eran Domb [Mon, 8 Dec 2003 13:30:26 +0000 (13:30 -0000)]
Added remarks.

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

20 years ago* DataColumn.cs (Expression) : Validate the expression.
Eran Domb [Mon, 8 Dec 2003 13:27:43 +0000 (13:27 -0000)]
* DataColumn.cs (Expression) : Validate the expression.

* DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.

(Contains, IndexOf, this[], Add) : Call new IndexOf when needed.

* DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.

(RejectChanges) : Detach row when state was Added.

(CollectionChanged) : Fix a bug.

* ExpressionElement (ValidateExpression) : Fix a bug.

* ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
a parent row in the parent table.

(_validateColumns) : Fix bugs.

* MergeManager.cs (AdjustSchema) : Fix a bug.

* XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
between the tables.

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

20 years ago2003-12-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 8 Dec 2003 12:16:06 +0000 (12:16 -0000)]
2003-12-08  Zoltan Varga  <vargaz@freemail.hu>

* MonoSymbolWriter.cs: Create ArrayLists only when needed.

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

20 years agoAdd configure script
Miguel de Icaza [Mon, 8 Dec 2003 10:10:02 +0000 (10:10 -0000)]
Add configure script

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

20 years agoRevert the patches from Anirban
Miguel de Icaza [Mon, 8 Dec 2003 09:45:40 +0000 (09:45 -0000)]
Revert the patches from Anirban

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

20 years agoBugs fixed - 41845, 51422
Anirban Bhattacharjee [Mon, 8 Dec 2003 06:56:16 +0000 (06:56 -0000)]
Bugs fixed - 41845, 51422

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