Paolo Molaro [Mon, 29 Apr 2002 12:14:39 +0000 (12:14 -0000)]
Removed mono_string_new_wrapper().
svn path=/trunk/mono/; revision=4151
Nick Drochak [Mon, 29 Apr 2002 11:51:30 +0000 (11:51 -0000)]
2002-04-30 Nick Drochak <ndrochak@gol.com>
* UInt32Test.cs: More verbose on unexepected exception to eliminate
compiler warning.
svn path=/trunk/mcs/; revision=4150
Nick Drochak [Mon, 29 Apr 2002 11:49:50 +0000 (11:49 -0000)]
2002-04-30 Nick Drochak <ndrochak@gol.com>
* ArrayListTest.cs: Catch unexpected exception typs and report as
failures.
svn path=/trunk/mcs/; revision=4149
Nick Drochak [Mon, 29 Apr 2002 11:48:07 +0000 (11:48 -0000)]
2002-04-30 Nick Drochak <ndrochak@gol.com>
* IPAddressTest.cs: Remove unused code to eliminate compiler warnings.
svn path=/trunk/mcs/; revision=4148
Dietmar Maurer [Mon, 29 Apr 2002 10:56:09 +0000 (10:56 -0000)]
* x86.brg (LDLEN, UNBOX): removed unnecessary NULL check.
svn path=/trunk/mono/; revision=4147
Dietmar Maurer [Mon, 29 Apr 2002 10:19:16 +0000 (10:19 -0000)]
2002-04-29 Dietmar Maurer <dietmar@ximian.com>
* exception.c: included the Freebsd patch from Sandro Tolaini
<sandro@focuseek.com>
svn path=/trunk/mono/; revision=4146
Paolo Molaro [Mon, 29 Apr 2002 09:45:51 +0000 (09:45 -0000)]
Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
* Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
svn path=/trunk/mcs/; revision=4145
Paolo Molaro [Mon, 29 Apr 2002 09:45:44 +0000 (09:45 -0000)]
Mon Apr 29 15:33:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
* icall.c: support Environment.Exit, CommandLineArgs().
svn path=/trunk/mono/; revision=4144
Paolo Molaro [Mon, 29 Apr 2002 09:30:04 +0000 (09:30 -0000)]
Mon Apr 29 15:18:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
* mono.c, jit.c: use mono_runtime_run_main ().
svn path=/trunk/mono/; revision=4143
Paolo Molaro [Mon, 29 Apr 2002 09:28:49 +0000 (09:28 -0000)]
Mon Apr 29 15:15:57 CEST 2002 Paolo Molaro <lupus@ximian.com>
* object.c, object.h: added mono_runtime_run_main () and
mono_runtime_get_main_args () for use in System.Environment.
svn path=/trunk/mono/; revision=4142
Paolo Molaro [Mon, 29 Apr 2002 09:26:30 +0000 (09:26 -0000)]
Fix sample code so that it has a chance of running.
svn path=/trunk/mono/; revision=4141
Dietmar Maurer [Mon, 29 Apr 2002 09:03:04 +0000 (09:03 -0000)]
* jit.c (mono_analyze_stack): dont call methods on Object with
METHOD_ATTRIBUTE_FINAL directly because it breaks remoting.
svn path=/trunk/mono/; revision=4140
Dietmar Maurer [Mon, 29 Apr 2002 08:12:43 +0000 (08:12 -0000)]
x86.brg: added more CONV_U rules
svn path=/trunk/mono/; revision=4138
Paolo Molaro [Mon, 29 Apr 2002 07:57:22 +0000 (07:57 -0000)]
Mon Apr 29 13:45:11 CEST 2002 Paolo Molaro <lupus@ximian.com>
* gc.c: fix thinko, enable actual finalization since the jit is now
fixed.
svn path=/trunk/mono/; revision=4137
Dietmar Maurer [Mon, 29 Apr 2002 07:55:08 +0000 (07:55 -0000)]
(mono_analyze_stack): emit right CONV_UX opcodes: fixes bug 23547
svn path=/trunk/mono/; revision=4136
Paolo Molaro [Mon, 29 Apr 2002 07:00:47 +0000 (07:00 -0000)]
Small test updates.
svn path=/trunk/mono/; revision=4135
Paolo Molaro [Mon, 29 Apr 2002 07:00:19 +0000 (07:00 -0000)]
Mon Apr 29 12:47:36 CEST 2002 Paolo Molaro <lupus@ximian.com>
* gc.c, object.c: take into account that an object may be offset wrt the address
returned by GC_malloc().
svn path=/trunk/mono/; revision=4134
Dietmar Maurer [Mon, 29 Apr 2002 06:27:31 +0000 (06:27 -0000)]
2002-04-29 Dietmar Maurer <dietmar@ximian.com>
* jit.c (mono_analyze_stack): avoid recursive call of virtual
methods: fixes Bug #23778
svn path=/trunk/mono/; revision=4133
Paolo Molaro [Mon, 29 Apr 2002 06:27:09 +0000 (06:27 -0000)]
Mon Apr 29 12:14:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
* image.c: handle files without entries in the assembly table (modules).
svn path=/trunk/mono/; revision=4132
Paolo Molaro [Mon, 29 Apr 2002 06:25:28 +0000 (06:25 -0000)]
Mon Apr 29 12:12:35 CEST 2002 Paolo Molaro <lupus@ximian.com>
* dump.c, dump.h, main.c: support for dumping the manifest resource table.
svn path=/trunk/mono/; revision=4131
Dietmar Maurer [Mon, 29 Apr 2002 05:57:50 +0000 (05:57 -0000)]
2002-04-29 Dietmar Maurer <dietmar@ximian.com>
* exception.c (arch_handle_exception): only g_assert(cleanup) if
we really need it.
svn path=/trunk/mono/; revision=4130
Daniel Morgan [Mon, 29 Apr 2002 03:31:13 +0000 (03:31 -0000)]
2002-04-29 Daniel Morgan <danmorg@sc.rr.com>
* Test/ReadPostgresData.cs: added - Uses the
PostgresLibrary to retrieve a recordset.
This is not meant to be used in Production, but as a
learning aid in coding
class System.Data.SqlClient.SqlDataReader.
This sample does work.
* Test/TestSqlDataReader.cs: added - used
to test SqlDataReader (does not work yet)
Forgot to add to ChangeLog on last commit.
svn path=/trunk/mcs/; revision=4129
Daniel Morgan [Sun, 28 Apr 2002 21:45:51 +0000 (21:45 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=4128
Duncan Mak [Sun, 28 Apr 2002 21:41:21 +0000 (21:41 -0000)]
2002-04-28 Duncan Mak <duncan@ximian.com>
* ArrayList.cs (InsertRange):
(SetRange):
(Remove):
(TrimToSize): Throw exceptions where needed.
* DivideByZeroException.cs: Added missing serialization constructor.
svn path=/trunk/mcs/; revision=4127
Nick Drochak [Sun, 28 Apr 2002 21:27:54 +0000 (21:27 -0000)]
2002-04-29 Nick Drochak <ndrochak@gol.com>
* ArrayListTest.cs (TestBinarySearch): Catch the correct exception here.
svn path=/trunk/mcs/; revision=4126
Nick Drochak [Sun, 28 Apr 2002 20:13:57 +0000 (20:13 -0000)]
2002-04-29 Nick Drochak <ndrochak@gol.com>
* ArrayListTest.cs (): Remove test on unsorted array. Behavior is
undefined according to docs. Re-added test that was commented out.
svn path=/trunk/mcs/; revision=4125
Duncan Mak [Sun, 28 Apr 2002 19:50:58 +0000 (19:50 -0000)]
2002-04-28 Duncan Mak <duncan@ximian.com>
ArrayList.cs (InsertRange): Throw exceptions where needed.
svn path=/trunk/mcs/; revision=4124
Nick Drochak [Sun, 28 Apr 2002 19:42:42 +0000 (19:42 -0000)]
2002-04-29 Nick Drochak <ndrochak@gol.com>
* Hashtable.cs (CopyTo): Throw exceptions where needed.
svn path=/trunk/mcs/; revision=4123
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
Miguel de Icaza [Sun, 28 Apr 2002 17:28:09 +0000 (17:28 -0000)]
Commit TODO
svn path=/trunk/mcs/; revision=4121
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
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
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
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
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
Duncan Mak [Sun, 28 Apr 2002 15:37:12 +0000 (15:37 -0000)]
(FixedSize): Fixed typo.
svn path=/trunk/mcs/; revision=4115
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
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
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
Rodrigo Moya [Sun, 28 Apr 2002 15:23:23 +0000 (15:23 -0000)]
Excluded files
svn path=/trunk/mcs/; revision=4111
Rodrigo Moya [Sun, 28 Apr 2002 15:22:14 +0000 (15:22 -0000)]
Excluded files
svn path=/trunk/mcs/; revision=4110
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Nick Drochak [Sat, 27 Apr 2002 11:18:30 +0000 (11:18 -0000)]
Flush
svn path=/trunk/mcs/; revision=4088
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
Lawrence Pit [Sat, 27 Apr 2002 11:10:06 +0000 (11:10 -0000)]
removed CookieContainerTest
svn path=/trunk/mcs/; revision=4086
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
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
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
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
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
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
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
Duncan Mak [Fri, 26 Apr 2002 22:30:17 +0000 (22:30 -0000)]
Flush
svn path=/trunk/mcs/; revision=4078
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
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
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
Lawrence Pit [Fri, 26 Apr 2002 20:40:08 +0000 (20:40 -0000)]
Cookie test units
svn path=/trunk/mcs/; revision=4074
Lawrence Pit [Fri, 26 Apr 2002 20:30:25 +0000 (20:30 -0000)]
Cookie support
svn path=/trunk/mcs/; revision=4073
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
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
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
Miguel de Icaza [Fri, 26 Apr 2002 19:33:03 +0000 (19:33 -0000)]
Add more test cases
svn path=/trunk/mcs/; revision=4069
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
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
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
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
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
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
Jaime Anguiano Olarra [Fri, 26 Apr 2002 15:01:05 +0000 (15:01 -0000)]
Added mono-contributing-howto
svn path=/trunk/mono/; revision=4062
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
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
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
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
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
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
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
Miguel de Icaza [Fri, 26 Apr 2002 12:16:03 +0000 (12:16 -0000)]
Couple of fixes
svn path=/trunk/mono/; revision=4054
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
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
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
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
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
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