mono.git
22 years ago2002-04-28 Duncan Mak <duncan@ximian.com>;
Duncan Mak [Sun, 28 Apr 2002 19:38:48 +0000 (19:38 -0000)]
2002-04-28  Duncan Mak  <duncan@ximian.com>;

* XmlSignificantWhitespace.cs (Value):
* XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
block. Added new private method, IsValidWhitespaceChar, for
checking.

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

22 years agoCommit TODO
Miguel de Icaza [Sun, 28 Apr 2002 17:28:09 +0000 (17:28 -0000)]
Commit TODO

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

22 years ago2002-04-28 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 28 Apr 2002 15:55:06 +0000 (15:55 -0000)]
2002-04-28  Miguel de Icaza  <miguel@ximian.com>

* test-108.cs: Improve test

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

22 years ago2002-04-28 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 28 Apr 2002 15:54:18 +0000 (15:54 -0000)]
2002-04-28  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (Statement.Warning_DeadCodeFound): Factorize code.
(While): Report dead code here too.

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

22 years agoAdd new test for dead code elimination
Miguel de Icaza [Sun, 28 Apr 2002 15:51:31 +0000 (15:51 -0000)]
Add new test for dead code elimination

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

22 years ago2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 28 Apr 2002 15:51:25 +0000 (15:51 -0000)]
2002-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* configure.in: fix for conditional "THREADS_PTHREAD" was never
defined problem under cygwin with latest version of automake and
autoconf. Patch from Jeroen Janssen <japj@darius.demon.nl>.

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

22 years agoImplement Loop inversion for While statements and dead code elimination.
Miguel de Icaza [Sun, 28 Apr 2002 15:49:04 +0000 (15:49 -0000)]
Implement Loop inversion for While statements and dead code elimination.

2002-04-28  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (Statement): Added Resolve virtual method to allow
for resolution split from the emit code.

2002-04-26  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (EmitBoolExpression): No longer try to resolve the
expression here.
(MakeBoolean): New utility function that resolve, implicitly
converts to boolean and tags the expression.

(If, Do): Implement dead code elimination.
(While): Implement loop inversion

(Do, While, For, If): Resolve the expression prior to calling our
code generation.

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

22 years ago(FixedSize): Fixed typo.
Duncan Mak [Sun, 28 Apr 2002 15:37:12 +0000 (15:37 -0000)]
(FixedSize): Fixed typo.

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

22 years ago2002-04-28 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sun, 28 Apr 2002 15:34:40 +0000 (15:34 -0000)]
2002-04-28  Duncan Mak  <duncan@ximian.com>

* CollectionChangeAction.cs: Changed enum layout to fit the MS
implementation. Please use EnumCheck!

* UnauthorizedAccessException.cs: Added the missing
          Serializable attribute.

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

22 years ago2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Sun, 28 Apr 2002 15:31:30 +0000 (15:31 -0000)]
2002-04-28  Rodrigo Moya <rodrigo@ximian.com>

* System.Data/DataViewSetting.cs: new class.

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

22 years ago2002-04-28 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sun, 28 Apr 2002 15:29:07 +0000 (15:29 -0000)]
2002-04-28  Duncan Mak  <duncan@ximian.com>

* ArrayList.cs (ReadOnly):
(IList.ReadOnly): Implemented.

(Synchronized):
(IList.Synchronized): Implemented.

(ixedSize):
(IList.FixedSize): Implemented.

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

22 years agoExcluded files
Rodrigo Moya [Sun, 28 Apr 2002 15:23:23 +0000 (15:23 -0000)]
Excluded files

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

22 years agoExcluded files
Rodrigo Moya [Sun, 28 Apr 2002 15:22:14 +0000 (15:22 -0000)]
Excluded files

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

22 years ago2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Sun, 28 Apr 2002 15:02:31 +0000 (15:02 -0000)]
2002-04-28  Rodrigo Moya <rodrigo@ximian.com>

* System.Data/DataViewManager.cs: new class.

* System.Data.SqlTypes/INullable.cs: properties for interfaces
don't have implementation.

* System.Data.SqlTypes/SqlInt32.cs:
* System.Data.SqlTypes/SqlString.cs:
* System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
these are strctures.

* System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
missing 'using's.

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

22 years ago2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Sun, 28 Apr 2002 13:31:38 +0000 (13:31 -0000)]
2002-04-28  Rodrigo Moya <rodrigo@ximian.com>

* CollectionChangeAction.cs: new enumeration.

* CategoryAttribute.cs: moved the 'return' keyword to the
end of the method, to avoid compilation errors on Linux for
all CategoryAttribute properties.

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

22 years ago2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Sun, 28 Apr 2002 13:11:25 +0000 (13:11 -0000)]
2002-04-28  Rodrigo Moya <rodrigo@ximian.com>

* IListSource.cs:
* ISupportInitialize.cs:
* MarshalByValueComponent.cs: new stubs, needed for System.Data
compilation.

* PropertyChangedEventArgs.cs:
* CollectionChangeEventHandler.cs:
* CollectionChangeEventArgs.cs: implemented.

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

22 years ago2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Sun, 28 Apr 2002 13:07:55 +0000 (13:07 -0000)]
2002-04-28  Rodrigo Moya <rodrigo@ximian.com>

* System.Data/DataTableRelationCollection.cs: use 'new' keyword
for correctly hiding parent class' members.
(AddRange): use 'override' keyword on overriden method.
(Clear): likewise.
(Contains): likewise.
(IndexOf): likewise.
(OnCollectionChanged): likewise.
(OnCollectionChanging): likewise.
(RemoveCore): likewise.

* System.Data/DataColumnCollection.cs: use 'new' keyword.

* System.Data/DataSet.cs: added missing 'using's.

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

22 years ago2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Sun, 28 Apr 2002 12:12:06 +0000 (12:12 -0000)]
2002-04-28  Rodrigo Moya <rodrigo@ximian.com>

* System.Data/DataSet.cs:
* System.Data/DataTableCollection.cs:
* System.Data/DataView.cs: compilation fixes on Linux.

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

22 years ago2002-04-28 Patrik Torstensson <patrik.torstensson@intel.com>
Patrik Torstensson [Sun, 28 Apr 2002 11:34:51 +0000 (11:34 -0000)]
2002-04-28 Patrik Torstensson <patrik.torstensson@intel.com>

* reflection.c (mono_reflection_setup_internal_class): remove g_assert_not_reached() to allow
mcs selfhosting again (build breaker) and did move the check to class instead. parent is
allowed to be null when it's System.Object class setup.

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

22 years agoSocket permission stuff, not yet used by Socket itself.
Lawrence Pit [Sun, 28 Apr 2002 09:12:58 +0000 (09:12 -0000)]
Socket permission stuff, not yet used by Socket itself.

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

22 years ago2002-04-28 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 28 Apr 2002 08:55:13 +0000 (08:55 -0000)]
2002-04-28  Nick Drochak  <ndrochak@gol.com>

* makefile: Make NAnt.exe dependant on all the *.cs in src and each sub
dir.  Since we don't remove it on a 'make clean' it doesn't get rebuilt
when a new file is added or an existing one changed.

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

22 years ago2002-04-28 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 28 Apr 2002 08:45:26 +0000 (08:45 -0000)]
2002-04-28  Nick Drochak  <ndrochak@gol.com>

* StringTest.cs: Mark Assert() messages with unique identifiers.
* DecimalTest.cs: Write out more info in the Report method.  Need this
to determine why op_Subtraction() is failing in the next line.
* MathTest.cs:
* DoubleTest.cs:
* UInt32Test.cs: Add try-catch blocks to find out where the test is
failing.

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

22 years ago2002-04-28 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Sun, 28 Apr 2002 03:59:01 +0000 (03:59 -0000)]
2002-04-28  Daniel Morgan <danmorg@sc.rr.com>

* System.Data/DataRelation.cs
* System.Data/ForeignKeyConstraint.cs
* System.Data/UniqueConstraint.cs: added more stubs

* System.Data/DataTableRelationCollection.cs: added back to cvs
and modified for compile errors.  DataRelationCollection is an
abstract class and there must be a class that implements for
DataTable/DataSet.  DataTableRelationCollection was changed
to an internal class.

* System.Data.build: modified - new files added
also wanted to include files/classes in the build
so we can get a compilable forward read only result set.
It compiles now using csc/nant with warnings, but this
is a start for adding functionality for the result set.
Classes associated with/and DataSet are still excluded.

* TODO: modified - updated to do list for System.Data

* System.Data/Constraint.cs
* System.Data/ConstraintCollection.cs
* System.Data/DataRelationCollection.cs
* System.Data/DataRow.cs
* System.Data/DataRowChangeEventArgs.cs
* System.Data/DataRowCollection.cs
* System.Data/DataTable.cs
* System.Data/DataTableCollection.cs
* System.Data/InternalDataCollectionBase.cs
* System.Data/PropertyCollection.cs: modified -
changes to compile SqlDataReader/DataTable and
dependencies

* System.Data/IDbCommand.cs
* System.Data.SqlClient/SqlCommand.cs: modified -
un-commented overloaded methods ExecuteReader
which returns a SqlDataReader

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

22 years ago2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 27 Apr 2002 21:40:43 +0000 (21:40 -0000)]
2002-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Math.cs: fix Floor () and Round (). Closes #23960.

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

22 years ago2002-04-27 Patrik Torstensson <patrik.torstensson@intel.com>
Patrik Torstensson [Sat, 27 Apr 2002 19:42:40 +0000 (19:42 -0000)]
2002-04-27 Patrik Torstensson <patrik.torstensson@intel.com>

* x86.brg: fixed bug in CONV_I8 (invalid stack correction)

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

22 years agoadded error code for Dns.c
Lawrence Pit [Sat, 27 Apr 2002 18:52:58 +0000 (18:52 -0000)]
added error code for Dns.c

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

22 years ago2002-04-27 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 27 Apr 2002 17:02:35 +0000 (17:02 -0000)]
2002-04-27  Martin Baulig  <martin@gnome.org>

* jit.h (MonoFlowGrap): Renamed `epilogue_begin' to `epilogue_end',
there's already `epilog' so we don't need `epilogue_begin'.

* debug.c (mono_debug_add_method): Use `cfg->epilogue_end' to get the
size of the method's code.

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

22 years ago2002-04-27 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 27 Apr 2002 12:45:34 +0000 (12:45 -0000)]
2002-04-27  Martin Baulig  <martin@gnome.org>

* reflection.c (mono_reflection_setup_internal_class): g_assert_not_reached()
if `tb->parent == NULL' rather than crashing.

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

22 years ago2002-04-28 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sat, 27 Apr 2002 11:43:06 +0000 (11:43 -0000)]
2002-04-28  Nick Drochak  <ndrochak@gol.com>

* sysmath.c (ves_icall_System_Math_Asin): Fix copy-paste error.  Was
calling acos() where asin() should have been called.

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

22 years ago2002-04-28 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sat, 27 Apr 2002 11:26:08 +0000 (11:26 -0000)]
2002-04-28  Nick Drochak  <ndrochak@gol.com>

* ArrayTest.cs (TestIList_IndexOf): Display exception details if we get
an unexpected one.

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

22 years ago2002-04-27 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 27 Apr 2002 11:23:36 +0000 (11:23 -0000)]
2002-04-27  Martin Baulig  <martin@gnome.org>

* corlib.build: Added new "mcs-build" target to compile corlib
with mcs. This doesn't work yet - it's just to test mcs to find
and fix the remaining bugs.

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

22 years agoFlush
Nick Drochak [Sat, 27 Apr 2002 11:18:30 +0000 (11:18 -0000)]
Flush

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

22 years ago2002-04-27 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sat, 27 Apr 2002 11:12:10 +0000 (11:12 -0000)]
2002-04-27  Nick Drochak  <ndrochak@gol.com>

* Array.cs (IList.Contains): Should throw a RankException if this is
called on a Rank > 1 array. Not in the docs, but this is what the
MS.NET does.

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

22 years agoremoved CookieContainerTest
Lawrence Pit [Sat, 27 Apr 2002 11:10:06 +0000 (11:10 -0000)]
removed CookieContainerTest

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

22 years agoSecurityElement fixed and several methods implemented, added test unit
Lawrence Pit [Sat, 27 Apr 2002 10:49:32 +0000 (10:49 -0000)]
SecurityElement fixed and several methods implemented, added test unit

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

22 years ago2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Sat, 27 Apr 2002 10:14:23 +0000 (10:14 -0000)]
2002-04-28  Rodrigo Moya <rodrigo@ximian.com>

* System.Data/DataTableCollection.cs: more implementation.
(Count): added 'override' keyword, as pointer out by Martin.

* System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
only call Array.Copy when there is really stuff to be copied.
(CopyTo): don't create the temporary array, it's not needed.

* System.Data.build: excluded newly added file from build.

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

22 years agoExclude newly added file from build
Rodrigo Moya [Sat, 27 Apr 2002 09:55:13 +0000 (09:55 -0000)]
Exclude newly added file from build

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

22 years ago2002-04-27 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Sat, 27 Apr 2002 08:47:16 +0000 (08:47 -0000)]
2002-04-27  Rodrigo Moya <rodrigo@ximian.com>

* System.Data/DataTableRelationCollection.cs: removed, it's not
on MS SDK documentation.

* System.Data/DataTableCollection.cs: new class.

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

22 years agoXimian is new copyright holder now.
Christian Meyer [Sat, 27 Apr 2002 07:43:53 +0000 (07:43 -0000)]
Ximian is new copyright holder now.

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

22 years agoXimian is new copyright holder now.
Christian Meyer [Sat, 27 Apr 2002 07:34:21 +0000 (07:34 -0000)]
Ximian is new copyright holder now.

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

22 years ago2002-04-27 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Sat, 27 Apr 2002 05:23:49 +0000 (05:23 -0000)]
2002-04-27  Daniel Morgan <danmorg@sc.rr.com>

* System.Data/DataRowChangeEventArgs.cs
* System.Data/DataRowCollection.cs
* System.Data/DataView.cs
* System.Data/PropertyCollection.cs: added new stubs

* System.Data.build: modified - added new files to exclude
from build

* TODO: modified - removed files from TODO list
that were stubbed above

* System.Data/DataColumn.cs
* System.Data/DataRow.cs: modified - various tweaks
and added internal method SetTable to set the reference
to a DataTable

* System.Data/DataSet.cs: modified - class was not
completely stubbed.

* System.Data/DataTable.cs: modified - temporarily commented
DataSet and DataView references - trying to compile a SqlDataReader,
DataTable, and dependencies for a forward read-only result set.
SqlDataAdapter, DataSet, and DataView will come later once we can get
a forward read only result set working.

* System.Data/IDataRecord.cs: modified - source code lines should
not be > 80

* System.Data/InternalDataCollectionBase.cs: modified - started
implementing this base class for collection of data rows,
columns, tables, relations, and constraints

* System.Data.SqlClient/SqlException.cs: modified -
call base(message) so a unhandled exception displays
the message of a SQL error instead of the
default SystemException message

* Test/TestSqlException.cs: modified -
handle the rollback properly for a SqlException on a
failure to connect

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

22 years agoFlush
Duncan Mak [Fri, 26 Apr 2002 22:30:17 +0000 (22:30 -0000)]
Flush

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

22 years ago2002-04-26 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 26 Apr 2002 22:19:18 +0000 (22:19 -0000)]
2002-04-26  Duncan Mak  <duncan@ximian.com>

* MissingMemberException.cs: Made the message variable 'protected'
instead of 'private', so that we can see it in
MissingMethodException and MissingFieldException.

* MissingFieldException.cs:
* MissingMethodException.cs: Added missing (string, string)
constructor, and also the Message property.

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

22 years agoPatch from Lawrence to catch correct entry points:
Miguel de Icaza [Fri, 26 Apr 2002 22:00:13 +0000 (22:00 -0000)]
Patch from Lawrence to catch correct entry points:

2002-04-22  Lawrence Pit <loz@cable.a2000.nl>

* class.cs:
  - added method Report28 (warning: program has more than one entry point)
  - added method IsEntryPoint, implements paragraph 10.1 of the spec
  - modified method Method.Define, the part at the end of the method

* rootcontext.cs: added static public Location EntryPointLocation;

* ../errors/cs0028.cs : Add test case for the above warning.

* typemanager.cs:
  - modified method CSharpName to allow arrays of primitive type to
    be printed nicely (e.g. instead of System.Int32[][] it now prints
    int[][])
  - added method CSharpSignature: returns the signature of a method
    in string format to be used in reporting errors, warnings, etc.

* support.cs: InternalParameters.ParameterDesc variable tmp initialized
with String.Empty.

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

22 years ago2002-04-26 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 26 Apr 2002 21:39:13 +0000 (21:39 -0000)]
2002-04-26  Duncan Mak  <duncan@ximian.com>

* ValidationHandler.cs: New file.

* XmlSchemaInfo.cs: New file.

* *.cs: More updates from Ajay.

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

22 years agoCookie test units
Lawrence Pit [Fri, 26 Apr 2002 20:40:08 +0000 (20:40 -0000)]
Cookie test units

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

22 years agoCookie support
Lawrence Pit [Fri, 26 Apr 2002 20:30:25 +0000 (20:30 -0000)]
Cookie support

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

22 years ago2002-04-26 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Fri, 26 Apr 2002 20:22:54 +0000 (20:22 -0000)]
2002-04-26  Ravi Pratap  <ravi@ximian.com>

* delegate.cs (Define): Fix extremely silly bug where I was
setting the type of the 'object' parameter of the BeginInvoke
method to System.IAsyncResult instead of System.Object ;-)

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

22 years ago2002-04-26 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Fri, 26 Apr 2002 20:21:26 +0000 (20:21 -0000)]
2002-04-26  Ravi Pratap  <ravi@ximian.com>

* test-105.cs, test-106.cs, test-107.cs : Add.

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

22 years ago2002-04-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 26 Apr 2002 19:33:52 +0000 (19:33 -0000)]
2002-04-26  Miguel de Icaza  <miguel@ximian.com>

* class.cs (ConstructorInitializer.Resolve): Also use DeclaredOnly
here.

(Constructor.Emit): return if we fail to initialize the
constructor.  Another door closed!

* expression.cs (New.DoResolve): Improve error message (from -6 to
1501).  Use DeclaredOnly lookup to find the exact constructor.

* typemanager.cs (MemberLookup): If DeclaredOnly is set, do not
loop.  This is useful.

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

22 years agoAdd more test cases
Miguel de Icaza [Fri, 26 Apr 2002 19:33:03 +0000 (19:33 -0000)]
Add more test cases

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

22 years ago2002-04-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 26 Apr 2002 18:54:15 +0000 (18:54 -0000)]
2002-04-26  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: Adjust the default parameters so that destructors
have the proper signature.

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

22 years ago2002-04-26 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 26 Apr 2002 17:41:04 +0000 (17:41 -0000)]
2002-04-26  Martin Baulig  <martin@gnome.org>

* driver.cs (LoadAssembly): If `assembly' contains any characters
which are only valid in path names and not in assembly names
(currently slash, backslash and point), use Assembly.LoadFrom ()
instead of Assembly.Load () on the `assembly' (before iteration
over the link_paths).

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

22 years ago2002-04-26 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 26 Apr 2002 16:33:35 +0000 (16:33 -0000)]
2002-04-26  Martin Baulig  <martin@gnome.org>

* cs-tokenizer.cs (is_hex): Correctly handle lowercase chars.

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

22 years ago2002-04-26 Joe Shaw <joe@ximian.com>
Joe Shaw [Fri, 26 Apr 2002 16:11:53 +0000 (16:11 -0000)]
2002-04-26  Joe Shaw  <joe@ximian.com>

* Marshal.cs (StructureToPtr): stub this out.

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

22 years ago2002-04-26 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 26 Apr 2002 15:51:09 +0000 (15:51 -0000)]
2002-04-26  Martin Baulig  <martin@gnome.org>

* CompilerBase.cs (WriteOption): New virtual method.  The default
implementation writes CSC-style command line options, but it can
be overridden in derived class to write mcs-style command line
arguments.
(ExecuteTask): Use the new virtual `WriteOption' method to write
options.

* CscTask.cs (WriteOptions): Use the new `WriteOption' method.

* McsTask.cs: New file.

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

22 years agoMail interfaces, not yet sending out mails though
Lawrence Pit [Fri, 26 Apr 2002 15:02:02 +0000 (15:02 -0000)]
Mail interfaces, not yet sending out mails though

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

22 years agoAdded mono-contributing-howto
Jaime Anguiano Olarra [Fri, 26 Apr 2002 15:01:05 +0000 (15:01 -0000)]
Added mono-contributing-howto

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

22 years agoAdded a link to the mono-doc-contributing-howto
Jaime Anguiano Olarra [Fri, 26 Apr 2002 14:52:44 +0000 (14:52 -0000)]
Added a link to the mono-doc-contributing-howto

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

22 years ago2002-04-26 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 26 Apr 2002 13:49:51 +0000 (13:49 -0000)]
2002-04-26  Martin Baulig  <martin@gnome.org>

* assembly.c (default_assembly_name_resolver): Use G_FILE_TEST_IS_REGULAR
instead of G_FILE_TEST_EXISTS - if you're in mcs/class/corlib/System/Test,
there's a subdirectory called `System', but we don't want to read that
subdirectory as an assembly.

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

22 years ago2002-04-26 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 26 Apr 2002 13:47:27 +0000 (13:47 -0000)]
2002-04-26  Martin Baulig  <martin@gnome.org>

* gdb-csharp-support.patch: A patch for GDB (against the latest CVS version)
to implement C# support.

* csharp-lang.c, csharp-lang.h, csharp-mono-lang.c: Copy these into your GDB
source directory after applying the patch.

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

22 years ago2002-04-26 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 26 Apr 2002 13:46:04 +0000 (13:46 -0000)]
2002-04-26  Martin Baulig  <martin@gnome.org>

* MonoDwarfFileWriter.cs (DieInternalString): Removed.

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

22 years ago2002-04-26 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 26 Apr 2002 13:42:35 +0000 (13:42 -0000)]
2002-04-26  Martin Baulig  <martin@gnome.org>

* ModuleBuilder.cs (DefineDocument): Implemented.

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

22 years ago2002-04-26 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 26 Apr 2002 13:40:00 +0000 (13:40 -0000)]
2002-04-26  Martin Baulig  <martin@gnome.org>

* Enum.cs: Implemented the IConvertible methods.

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

22 years agoAdd links to binary packages
Miguel de Icaza [Fri, 26 Apr 2002 12:18:36 +0000 (12:18 -0000)]
Add links to binary packages

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

22 years agoCouple of fixes
Miguel de Icaza [Fri, 26 Apr 2002 12:16:03 +0000 (12:16 -0000)]
Couple of fixes

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

22 years ago2002-04-25 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 25 Apr 2002 17:55:39 +0000 (17:55 -0000)]
2002-04-25  Miguel de Icaza  <miguel@ximian.com>

* class.cs (Property): use the new typemanager.MemberLookup

(TypeContainer.MemberLookup): Implement using the
TypeManager.MemberLookup now.

* typemanager.cs: Make MemberLookup a function of the TypeManager,
and return MemberInfos, so that these can be used without an
EmitContext (what we had before).

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

22 years ago2002-04-25 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 25 Apr 2002 15:43:29 +0000 (15:43 -0000)]
2002-04-25  Martin Baulig  <martin@gnome.org>

* debug-dwarf2.c (dwarf2_write_string_type): Reflect latest MonoString
changes.

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

22 years ago2002-04-25 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 25 Apr 2002 15:34:47 +0000 (15:34 -0000)]
2002-04-25  Martin Baulig  <martin@gnome.org>

* debug-symfile.c: Reflect latest MonoString changes.

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

22 years ago2002-04-25 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 25 Apr 2002 15:33:57 +0000 (15:33 -0000)]
2002-04-25  Martin Baulig  <martin@gnome.org>

* MonoDwarfFileWriterCs: Reflect latest MonoString changes.

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

22 years ago2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 25 Apr 2002 12:24:36 +0000 (12:24 -0000)]
2002-04-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SByte.cs: little change in Parse (string) to avoid incorrect
OverflowException thrown (reported by nickd).

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

22 years agoAdded reference to the mono-contribution-howto
Jaime Anguiano Olarra [Thu, 25 Apr 2002 11:01:55 +0000 (11:01 -0000)]
Added reference to the mono-contribution-howto

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

22 years agoAdded the mono-contribution-howto.
Jaime Anguiano Olarra [Thu, 25 Apr 2002 11:01:03 +0000 (11:01 -0000)]
Added the mono-contribution-howto.

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

22 years agoThu Apr 25 16:38:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 25 Apr 2002 10:53:43 +0000 (10:53 -0000)]
Thu Apr 25 16:38:01 CEST 2002 Paolo Molaro <lupus@ximian.com>

* rand.c, rand.h: instance method icalls need to have an explicit
this pointer as first argument in the C implementation.

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

22 years ago2002-04-25 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 25 Apr 2002 10:35:04 +0000 (10:35 -0000)]
2002-04-25  Nick Drochak <ndrochak@gol.com>

        * icall.c: Fix typo in map for GetNonZeroBytes

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

22 years agonew test
Dietmar Maurer [Thu, 25 Apr 2002 09:45:31 +0000 (09:45 -0000)]
new test

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

22 years ago2002-04-25 Dan Lewis <dihlewis@yahoo.co.uk>
Dan Lewis [Thu, 25 Apr 2002 06:54:04 +0000 (06:54 -0000)]
2002-04-25  Dan Lewis  <dihlewis@yahoo.co.uk>

* io.c: unitialized pointer in GetCurrentDirectory.

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

22 years ago2002-04-25 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 25 Apr 2002 04:21:07 +0000 (04:21 -0000)]
2002-04-25  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg: enable stmt: STIND_I4 (addr, coni4) again,
added CONV_OVF_I4 (fix bug #23808)

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

22 years agoUpdated docs
Miguel de Icaza [Wed, 24 Apr 2002 22:37:08 +0000 (22:37 -0000)]
Updated docs

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

22 years agoPrepare for 0.11 release, fix makefile
Miguel de Icaza [Wed, 24 Apr 2002 22:27:11 +0000 (22:27 -0000)]
Prepare for 0.11 release, fix makefile

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

22 years agoUpdate ChangeLog
Miguel de Icaza [Wed, 24 Apr 2002 22:18:01 +0000 (22:18 -0000)]
Update ChangeLog

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

22 years agoImprove test
Miguel de Icaza [Wed, 24 Apr 2002 22:17:23 +0000 (22:17 -0000)]
Improve test

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

22 years agoFlush
Miguel de Icaza [Wed, 24 Apr 2002 22:16:41 +0000 (22:16 -0000)]
Flush

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

22 years ago2002-04-24 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 24 Apr 2002 22:02:15 +0000 (22:02 -0000)]
2002-04-24  Miguel de Icaza  <miguel@ximian.com>

* expression.cs: Fix the case where the argument to params if the
type of the params.  I omitted handling this before.   Fixed

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

22 years ago2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
Patrik Torstensson [Wed, 24 Apr 2002 19:20:29 +0000 (19:20 -0000)]
2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>

* string-icalls.c : String does now passes unit tests without any
errors, the following changes has been made:

Implemented replace methods.
Renaming of methods to (try) follow the standard.
Fixed compare ordinal
Made all memory allocated directly to function instead of via icall function.
Small performance fix in is_in_array function

 (2002-04-23) Changes from Duncan Mak <duncan@ximian.com>

c (mono_string_Internal_ctor_charp_int_int):
(mono_string_Internal_ctor_sbytep_int_int):  Removed check for
sindex < 0, throw ArgumentOutOfRangeException instead of
ArgumentNullException.

Added new check for length == 0, however
I need to make it return String.Empty from the C code.

(mono_string_Internal_ctor_sbytep): Use mono_string_new, and let
that calculate the length for us here.

(mono_string_Internal_ctor_sbytep_int_int): Replaced
mono_string_new_utf16 with mono_string_new, since value is utf8.

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

22 years ago2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
Patrik Torstensson [Wed, 24 Apr 2002 17:36:50 +0000 (17:36 -0000)]
2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>

* AppDomain.cs (GetValue): usage of the correct icall (bug)

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

22 years agoWed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 24 Apr 2002 15:27:21 +0000 (15:27 -0000)]
Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>

* GC.cs: implement most of the methods as icalls.

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

22 years agoWed Apr 24 18:43:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 24 Apr 2002 12:57:25 +0000 (12:57 -0000)]
Wed Apr 24 18:43:29 CEST 2002 Paolo Molaro <lupus@ximian.com>

* object.c: register the object for finalization if needed.
Allocate one more char in the string for the terminating 0 char.

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

22 years agoForgot file.
Paolo Molaro [Wed, 24 Apr 2002 12:40:42 +0000 (12:40 -0000)]
Forgot file.

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

22 years agoWed Apr 24 18:22:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 24 Apr 2002 12:38:43 +0000 (12:38 -0000)]
Wed Apr 24 18:22:27 CEST 2002 Paolo Molaro <lupus@ximian.com>

* class.c, class.h, image.c: check if a type implemenst a destructor.
Use the proper key for array class lookups.
* icall.c: register the icalls in the System.GC class.
* gc.c, gc.h: GC-related functions and icalls.

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

22 years agoOne-liner in the comments of decimal2string ()
Gonzalo Paniagua Javier [Wed, 24 Apr 2002 11:20:29 +0000 (11:20 -0000)]
One-liner in the comments of decimal2string ()

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

22 years ago2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 24 Apr 2002 11:17:34 +0000 (11:17 -0000)]
2002-04-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DecimalFormatter.cs (ToString): return correct value when the
decimal number is 0.

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

22 years ago2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 24 Apr 2002 10:30:12 +0000 (10:30 -0000)]
2002-04-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* icall.c:
* socket-io.c:
* unicode.c: free some strings gotten from mono_string_to_utf8 and
changed a couple of free () by g_free ().

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

22 years agoRemoved stuff I'm working on
Rodrigo Moya [Wed, 24 Apr 2002 10:22:15 +0000 (10:22 -0000)]
Removed stuff I'm working on

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

22 years ago2002-04-24 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 24 Apr 2002 08:39:24 +0000 (08:39 -0000)]
2002-04-24  Dick Porter  <dick@ximian.com>

* Socket.cs (Poll): Give correct argument to Select(), as spotted
by Jaroslaw Kowalski <jarek@atm.com.pl>

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

22 years ago2002-04-24 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 24 Apr 2002 08:39:05 +0000 (08:39 -0000)]
2002-04-24  Nick Drochak  <ndrochak@gol.com>

* IPAddressTest.cs: Make test conform to MS behavior. Also, if wrong
exception is thrown, let eveyone know which one.

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

22 years ago2002/04/24 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 24 Apr 2002 01:39:48 +0000 (01:39 -0000)]
2002/04/24  Nick Drochak <ndrochak@gol.com>

* IntegerFormatterTest.cs: Remove Console.WriteLines and use
AssertEquals() instead.

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

22 years ago*** empty log message ***
Dennis Hayes [Tue, 23 Apr 2002 23:42:39 +0000 (23:42 -0000)]
*** empty log message ***

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

22 years ago* Added all classes from F to H. Stubbed and commented out. *
Dennis Hayes [Tue, 23 Apr 2002 23:40:56 +0000 (23:40 -0000)]
* Added all classes from F to H. Stubbed and commented out. *

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

22 years ago* Added enums delagtes interfaces and stubbed out classes. *
Dennis Hayes [Tue, 23 Apr 2002 23:31:03 +0000 (23:31 -0000)]
* Added enums delagtes interfaces and stubbed out classes. *
* Most of the enums have correct values. *
*At least one enum has incorrect valuesI Will correct all by 5/1/2002. *

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