mono.git
22 years ago2002-06-02 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Sun, 2 Jun 2002 13:47:04 +0000 (13:47 -0000)]
2002-06-02  Rodrigo Moya <rodrigo@ximian.com>

* OleDbTransaction.cs (Connection, IsolationLevel, Begin,
Commit, Rollback): implemented.
(GdaConnection): added new internal property.

* OleDbParameter.cs:
* OleDbParameterCollection.cs: implemented some methods and
properties.

* libgda.cs: added yet more libgda API functions.

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

22 years ago2002-06-02 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sun, 2 Jun 2002 12:10:47 +0000 (12:10 -0000)]
2002-06-02  Duncan Mak  <duncan@ximian.com>

* Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
cast from an int so that we throw OverFlowException correctly.

(ToInt64): Use a new 64bit version of ConvertToBase.

(ConvertToBase): Add checks for overflow (checks Int32.MinValue
and Int32.MaxValue).

(ConvertFromBase64): New 64-bit version of ConvertFromBase.

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

22 years agoMore try-catch blocks to find the bugs.
Nick Drochak [Sun, 2 Jun 2002 10:24:04 +0000 (10:24 -0000)]
More try-catch blocks to find the bugs.

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

22 years ago2002-06-02 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 2 Jun 2002 10:20:16 +0000 (10:20 -0000)]
2002-06-02  Nick Drochak  <ndrochak@gol.com>

* Convert.cs (ToSByte): Check for special value.
* Single.cs (Parse):
* UInt16.cs (Parse):
* UInt32.cs (Parse): Throw OverflowException if negative

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

22 years ago2002-06-02 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sun, 2 Jun 2002 01:58:04 +0000 (01:58 -0000)]
2002-06-02  Duncan Mak  <duncan@ximian.com>

* Convert.cs (DBNull): Point it to DBNull.Value.
(IsDBNull): Instead of checking typecodes, just check to see if
it's the same as the DBNull field.

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

22 years ago2002-06-02 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 2 Jun 2002 01:09:56 +0000 (01:09 -0000)]
2002-06-02  Nick Drochak  <ndrochak@gol.com>

* ConvertTest.cs: Use en-US culture since that's all we support in our
corlib right now. Change constants accordingly.  Also added a bunch of
try-catch blocks to show which Assert is failing.

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

22 years ago2002-06-02 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 2 Jun 2002 01:03:58 +0000 (01:03 -0000)]
2002-06-02  Nick Drochak  <ndrochak@gol.com>

* Convert.cs (ConvertFromBase): Detect bad digits correctly.

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

22 years ago2002-06-02 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sun, 2 Jun 2002 00:55:12 +0000 (00:55 -0000)]
2002-06-02  Duncan Mak  <duncan@ximian.com>

 Char.cs (Parse): Simplify the Exception handling.

* Convert.cs (ToDecimal): Remove call to Math.Round () when
converting from a float.

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

22 years ago2002-06-02 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sun, 2 Jun 2002 00:38:05 +0000 (00:38 -0000)]
2002-06-02  Duncan Mak  <duncan@ximian.com>

* ConvertTest.cs (TestToDecimal): Fixed typo in case #H11.

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

22 years ago2002-06-01 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Sat, 1 Jun 2002 21:32:56 +0000 (21:32 -0000)]
2002-06-01  Rodrigo Moya <rodrigo@ximian.com>

* libgda.cs: added new libgda API functions.

* OleDbConnection.cs (Provider): implemented.
(BeginTransaction): made it overload IDbConnection methods.
(ChangeDatabase): new stub, needs some work on libgda for being
implemented.
(Clone): new stub.
(Close): implemented.
(CreateCommand): implemented.
(GetOleDbSchemaTable): new stub, until I understand what to do here.
(Open): implemented basic stuff, which is just supporting connection
strings that represent a GDA data source name. More to come.
(InfoMessage, StateChange): added events.

* TestOleDb.cs: test program for System.Data.OleDb.

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

22 years ago2002-06-01 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sat, 1 Jun 2002 10:11:28 +0000 (10:11 -0000)]
2002-06-01  Nick Drochak  <ndrochak@gol.com>

* corlib_test.build: Change the order of the builds.  Just makes it a
bit faster for my testing since I need the linux dll.

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

22 years ago2002-06-01 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sat, 1 Jun 2002 10:03:08 +0000 (10:03 -0000)]
2002-06-01  Nick Drochak  <ndrochak@gol.com>

* BugTest.cs: Remove, bug fixed.  Yay!
* AllTests.cs: Remove BugTest from suite.

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

22 years agoSat Jun 1 14:26:45 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 1 Jun 2002 08:40:37 +0000 (08:40 -0000)]
Sat Jun 1 14:26:45 CEST 2002 Paolo Molaro <lupus@ximian.com>

* sysmath.c: workaround systems missing NAN and/or HUGE_VAL.

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

22 years agoSat Jun 1 14:10:23 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 1 Jun 2002 08:27:27 +0000 (08:27 -0000)]
Sat Jun 1 14:10:23 CEST 2002 Paolo Molaro <lupus@ximian.com>

* monobitset.c: fix my screwup pointed out by Lawrence Pit
(loz@cable.a2000.nl).

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

22 years agoSat Jun 1 13:57:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 1 Jun 2002 08:12:22 +0000 (08:12 -0000)]
Sat Jun 1 13:57:17 CEST 2002 Paolo Molaro <lupus@ximian.com>

* main.c: print byte values correctly.

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

22 years agoKill warning.
Paolo Molaro [Sat, 1 Jun 2002 08:08:34 +0000 (08:08 -0000)]
Kill warning.

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

22 years agoSat Jun 1 13:54:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 1 Jun 2002 08:08:03 +0000 (08:08 -0000)]
Sat Jun 1 13:54:29 CEST 2002 Paolo Molaro <lupus@ximian.com>

* shmdel.c: use return instead of exit in main().

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

22 years agoSat Jun 1 13:46:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 1 Jun 2002 08:04:04 +0000 (08:04 -0000)]
Sat Jun 1 13:46:54 CEST 2002 Paolo Molaro <lupus@ximian.com>

* pedump.c, appdomain.c, appdomain.h, assembly.c, domain.c,
gc.c, icall.c, image.c, mono-config.c, reflection.c: killed
warnings and compilation fixes from Dennis Haney (davh@davh.dk)
and myself.

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

22 years agoSat Jun 1 13:27:11 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 1 Jun 2002 07:41:08 +0000 (07:41 -0000)]
Sat Jun 1 13:27:11 CEST 2002 Paolo Molaro <lupus@ximian.com>

* atomic.h: inline asm fixes from Dennis Haney (davh@davh.dk).

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

22 years agoSat Jun 1 13:24:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 1 Jun 2002 07:37:43 +0000 (07:37 -0000)]
Sat Jun 1 13:24:01 CEST 2002 Paolo Molaro <lupus@ximian.com>

* message.c, emit-x86.c: kill warnings.

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

22 years agoFix NullRef
Miguel de Icaza [Fri, 31 May 2002 21:20:11 +0000 (21:20 -0000)]
Fix NullRef

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

22 years ago2002-5-31 DennisHayes <dennish@raytek.com>
Dennis Hayes [Fri, 31 May 2002 21:02:11 +0000 (21:02 -0000)]
2002-5-31 DennisHayes <dennish@raytek.com>
* ColumnClickEventArgs.cs
* Fully implmented.

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

22 years ago2002-5-31 DennisHayes <dennish@raytek.com>
Dennis Hayes [Fri, 31 May 2002 20:58:10 +0000 (20:58 -0000)]
2002-5-31 DennisHayes <dennish@raytek.com>
Check in for Paul Osman <paul.osman@sympatico.ca>
* MonthCalendar.cs
* MonthCalendar.HitTestInfo.cs
* MouseEventArgs.cs
* NativeWindow.cs
* Removed trash byte

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

22 years ago2002-5-27 DennisHayes <dennish@raytek.com>
Dennis Hayes [Fri, 31 May 2002 20:52:45 +0000 (20:52 -0000)]
2002-5-27 DennisHayes <dennish@raytek.com>
Check in for Paul Osman <paul.osman@sympatico.ca>
* Panel.cs
* New class, Stubbed and commented out

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

22 years agoReport line where the new fails
Miguel de Icaza [Fri, 31 May 2002 20:38:49 +0000 (20:38 -0000)]
Report line where the new fails

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

22 years ago2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Fri, 31 May 2002 17:10:44 +0000 (17:10 -0000)]
2002-05-31  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* class Mono.MonoBASIC.Tokenizer now handles
- all valid line-terminators (CR, LF, CRLF, LS and PS)
- escaped identifiers (like [Integer])
- old-fashioned comments syntax (REM Blah-Blah)

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

22 years agoFlush
Miguel de Icaza [Fri, 31 May 2002 16:39:31 +0000 (16:39 -0000)]
Flush

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

22 years agohousekeeping
Rafael Teixeira [Fri, 31 May 2002 14:42:09 +0000 (14:42 -0000)]
housekeeping

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

22 years ago`head -n2 mbas\changelog`
Rafael Teixeira [Fri, 31 May 2002 14:02:54 +0000 (14:02 -0000)]
`head -n2 mbas\changelog`

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

22 years agohousekeeping
Rafael Teixeira [Fri, 31 May 2002 11:37:25 +0000 (11:37 -0000)]
housekeeping

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

22 years ago2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Fri, 31 May 2002 11:30:34 +0000 (11:30 -0000)]
2002-05-31  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* squashed some reduce/reduce conflicts out of mb-parser.jay

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

22 years agoFri May 31 16:58:36 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 31 May 2002 11:12:38 +0000 (11:12 -0000)]
Fri May 31 16:58:36 CEST 2002 Paolo Molaro <lupus@ximian.com>

* debug-symfile.c, sysmath.c: yet more compilation fixes.

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

22 years ago2002-05-31 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 31 May 2002 10:58:19 +0000 (10:58 -0000)]
2002-05-31  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg: buf fix in REMOTE_STIND_OBJ
(mono_ldvirtftn): impl.
(mono_ldintftn): impl.
(mono_ldftn): impl.

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

22 years agoCompilation fixes.
Paolo Molaro [Fri, 31 May 2002 10:55:37 +0000 (10:55 -0000)]
Compilation fixes.

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

22 years agoFri May 31 16:35:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 31 May 2002 10:49:42 +0000 (10:49 -0000)]
Fri May 31 16:35:56 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c, socket-io.c: more compilation fixes.

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

22 years agoFri May 31 16:21:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 31 May 2002 10:41:30 +0000 (10:41 -0000)]
Fri May 31 16:21:54 CEST 2002 Paolo Molaro <lupus@ximian.com>

* daemon.c, handles.c: rename "sun" local var since it's apparently
a #define on Solaris.

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

22 years ago2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Fri, 31 May 2002 10:34:58 +0000 (10:34 -0000)]
2002-05-31  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* merged codegen.cs from mcs
* altered Driver.cs to work with new codegen.cs

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

22 years agoFri May 31 16:17:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 31 May 2002 10:31:09 +0000 (10:31 -0000)]
Fri May 31 16:17:20 CEST 2002 Paolo Molaro <lupus@ximian.com>

* interp.c, hacks.h: compiler compatibility fixes.

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

22 years agoFri May 31 15:58:22 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 31 May 2002 10:14:31 +0000 (10:14 -0000)]
Fri May 31 15:58:22 CEST 2002 Paolo Molaro <lupus@ximian.com>

* appdomain.c, class.c, class.h, debug-symfile.c, decimal.c,
domain.c, loader.c, object.c, object.h, reflection.c, string-icalls.h,
unicode.c: warning and compiler compatibility fixes.

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

22 years agoFri May 31 15:40:14 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 31 May 2002 09:54:14 +0000 (09:54 -0000)]
Fri May 31 15:40:14 CEST 2002 Paolo Molaro <lupus@ximian.com>

* daemon-messages.c: work-around MSG_NOSIGNAL missing on some
platforms.

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

22 years agoFri May 31 15:36:53 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 31 May 2002 09:50:46 +0000 (09:50 -0000)]
Fri May 31 15:36:53 CEST 2002 Paolo Molaro <lupus@ximian.com>

* class.h, metadata.c: fixed warnings/compilation errors.

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

22 years agoFri May 31 15:34:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 31 May 2002 09:47:59 +0000 (09:47 -0000)]
Fri May 31 15:34:18 CEST 2002 Paolo Molaro <lupus@ximian.com>

* monobitset.c, monobitset.h: fixes. added mono_bitset_foreach().

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

22 years agoAdd dll-mapping config file.
Paolo Molaro [Fri, 31 May 2002 07:51:40 +0000 (07:51 -0000)]
Add dll-mapping config file.

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

22 years agoFri May 31 13:26:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 31 May 2002 07:42:01 +0000 (07:42 -0000)]
Fri May 31 13:26:56 CEST 2002 Paolo Molaro <lupus@ximian.com>

* mono.c: added --config command line option.

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

22 years agoFri May 31 13:25:57 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 31 May 2002 07:39:32 +0000 (07:39 -0000)]
Fri May 31 13:25:57 CEST 2002 Paolo Molaro <lupus@ximian.com>

* interp.c, mint.1: added --config command line option.

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

22 years agoFri May 31 13:08:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 31 May 2002 07:24:33 +0000 (07:24 -0000)]
Fri May 31 13:08:25 CEST 2002 Paolo Molaro <lupus@ximian.com>

* Makefile.am, mono-config.c, mono-config.h: configuration file
support routines.
* loader.c, loader.h: make Dll mapping configurable at runtime in the
config file. Export methods to insert and lookup mappings.

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

22 years agoFri May 31 12:45:38 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 31 May 2002 06:59:27 +0000 (06:59 -0000)]
Fri May 31 12:45:38 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c: handle types and boxed objects in custom attr
constructors.

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

22 years agoFri May 31 12:34:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 31 May 2002 06:48:48 +0000 (06:48 -0000)]
Fri May 31 12:34:52 CEST 2002 Paolo Molaro <lupus@ximian.com>

* jit.c, jit.h: collect statistics about the number of basic blocks.

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

22 years ago2002-05-31 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 30 May 2002 19:54:57 +0000 (19:54 -0000)]
2002-05-31  Martin Baulig  <martin@gnome.org>

* debug.c (mono_debug_address_from_il_offset): New public function.
(mono_debug_add_method): Improved local variable info: correctly handle
variables in registers and their start/end scopes.

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

22 years agoCorrectly handle structs.
Martin Baulig [Thu, 30 May 2002 19:52:50 +0000 (19:52 -0000)]
Correctly handle structs.

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

22 years ago2002-05-30 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 30 May 2002 17:45:24 +0000 (17:45 -0000)]
2002-05-30  Martin Baulig  <martin@gnome.org>

* codegen.cs (InitMonoSymbolWriter): Added `string[] args' argument
to take command line arguments.  Use reflection to call the new
custom `Initialize' function on the symbol writer and pass it the
command line arguments.

* driver.cs (--debug-args): New command line argument to pass command
line arguments to the symbol writer.

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

22 years ago2002-05-30 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 30 May 2002 17:42:50 +0000 (17:42 -0000)]
2002-05-30  Martin Baulig  <martin@gnome.org>

* IMonoSymbolWriter (IMonoSymbolWriter): Added custom `Initialize' method.

* MonoSymbolWriter.cs (Initialize): The ISymbolWriter's `Initialize' method
is no longer supported and throws an exception.
(Initialize (string, string[])): New custom initialization function.

* MonoDwarfFileWriter.cs (DwarfFileWriter): Added `string[] args' argument
to the constructor to pass command line arguments.

* gdb-csharp-support.patch: Updated for GDB 5.2.

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

22 years agoOooops ...
Martin Baulig [Thu, 30 May 2002 17:39:58 +0000 (17:39 -0000)]
Oooops ...

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

22 years ago2002-05-30 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 30 May 2002 17:38:33 +0000 (17:38 -0000)]
2002-05-30  Martin Baulig  <martin@gnome.org>

* MonoType.cs (GetInterface): Implemented.

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

22 years agoReverted this, no longer needed:
Martin Baulig [Thu, 30 May 2002 15:19:49 +0000 (15:19 -0000)]
Reverted this, no longer needed:
2002-05-22  Martin Baulig  <martin@gnome.org>

* reflection.h (MonoArrayList): New typedef.
(MonoReflectionAssemblyBuilder): Added `table_indexes' and `methods'.

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

22 years ago2002-05-30 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 30 May 2002 15:19:04 +0000 (15:19 -0000)]
2002-05-30  Martin Baulig  <martin@gnome.org>

* debug-symfile.c
(ves_icall_Debugger_MonoSymbolWriter_method_builder_from_token): Removed.

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

22 years ago2002-05-30 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 30 May 2002 15:15:25 +0000 (15:15 -0000)]
2002-05-30  Martin Baulig  <martin@gnome.org>

* ModuleBuilder.cs (ModuleBuilder): The constructor now get's the AssemblyBuilder's
`methods' array as third argument.
(OpenMethod): Use this array to get the method builder rather than using an
interncall for it.
(get_method_builder): Removed this interncall.

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

22 years ago2002-05-30 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 30 May 2002 15:14:00 +0000 (15:14 -0000)]
2002-05-30  Martin Baulig  <martin@gnome.org>

* AssemblyBuilder.cs (methods): Made this internal and don't
initialize it.  It will be initialized by the ModuleBuilder's
GetSymbolWriter() method.
(get_next_table_index): Only store the method in the `methods'
array if it's not null.

* ModuleBuilder.cs (GetSymbolWriter): Initialize the AssemblyBuilder's
`methods' field if necessary and pass it as third argument to the
symbol writer's constructor.

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

22 years ago2002-05-30 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 30 May 2002 14:30:13 +0000 (14:30 -0000)]
2002-05-30  Martin Baulig  <martin@gnome.org>

* debug-dwarf2.c (dwarf2_write_string): Use "0x%lx" as fprintf() format,
not "%p" which seems to be broken on Windows/mingw32.

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

22 years agosyncing
Rafael Teixeira [Thu, 30 May 2002 13:28:05 +0000 (13:28 -0000)]
syncing

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

22 years ago2002-05-31 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 30 May 2002 12:45:30 +0000 (12:45 -0000)]
2002-05-31  Nick Drochak  <ndrochak@gol.com>

* BugTest.cs: Small file to show NullReferenceException bug
* AllTests.cs: Include BugTest.cs in the suite.

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

22 years agos/MonoValueKind/MonoVarType/
Dietmar Maurer [Thu, 30 May 2002 11:25:03 +0000 (11:25 -0000)]
s/MonoValueKind/MonoVarType/

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

22 years ago2002-05-30 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 30 May 2002 11:04:53 +0000 (11:04 -0000)]
2002-05-30  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg (reg): bug fix in LOCALLOC

* mono.c (main): new switch --nointrinsic to disable memcpy opt.

* x86.brg: added block copy/init optimizations from
Serge (serge@wildwestsoftware.com)

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

22 years ago2002-05-30 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Thu, 30 May 2002 10:16:22 +0000 (10:16 -0000)]
2002-05-30  Daniel Morgan <danmorg@sc.rr.com>

* doc/ado-net: update the ado-net web page on go-mono.com
input parameters support, beginnings of Mono.Data.MySQL
and System.Data.OleDb, updated the sample source code,
and output from a PostgresTest

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

22 years ago2002-05-30 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Thu, 30 May 2002 09:07:01 +0000 (09:07 -0000)]
2002-05-30  Daniel Morgan <danmorg@sc.rr.com>

* System.Data.SqlClient/SqlConnection.cs: modifed -
start to implement the interfaces properly and
properly doing a Close(), Dispose(), and
releasing resources

* Test/SqlSharpCli.cs: modified -
add support for MySQL in Mono.Data.MySql
and OleDb support in System.Data.OleDb.  However,
the OleDb support is commented right now.
When the program starts up, a shorter help menu should
display the most important commands: help and quit

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

22 years ago2002-05-30 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Thu, 30 May 2002 08:40:35 +0000 (08:40 -0000)]
2002-05-30  Daniel Morgan <danmorg@sc.rr.com>

* Mono.Data.MySql.build: modified
need to copy Mono.Data.MySql.dll to mcs/class/System.Data/Test
so the SqlSharpCli test program can use MySql too

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

22 years agoAdded some questions and answers. Sent a file to Miguel containing those.
Jaime Anguiano Olarra [Thu, 30 May 2002 08:37:18 +0000 (08:37 -0000)]
Added some questions and answers. Sent a file to Miguel containing those.

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

22 years agoThu May 30 14:13:12 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 30 May 2002 08:33:27 +0000 (08:33 -0000)]
Thu May 30 14:13:12 CEST 2002 Paolo Molaro <lupus@ximian.com>

* invoke.cs: lookup P/Invoke method address only when needed.

Thu May 30 14:14:16 CEST 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: lookup P/Invoke method addr only when needed.

Thu May 30 14:15:02 CEST 2002 Paolo Molaro <lupus@ximian.com>

* metadata.c, metadata.h: added mono_metadata_implmap_from_method()
to lookup the implmap row for a P/Invoke method.
* loader.c: added mono_lookup_pinvoke_call(): we only lookup a
P/Invoke method from the runtime on an as needed basis.

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

22 years ago*** empty log message ***
Daniel Morgan [Thu, 30 May 2002 08:01:11 +0000 (08:01 -0000)]
*** empty log message ***

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

22 years ago2002-05-30 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Thu, 30 May 2002 07:57:20 +0000 (07:57 -0000)]
2002-05-30  Daniel Morgan <danmorg@sc.rr.com>

* Test/TestMySqlInsert.cs: added test
to do an SQL INSERT to insert a row into table.
Works on cygwin compiled using mcs and mono and
runs on mint, but it fails running on mono.

* Mono.Data.MySql/MySqlCommand.cs
* Mono.Data.MySql/TODOAttribute.cs
* Mono.Data.MySql/MySqlConnection.cs: added

* list: added
so can build with mcs/mono on linux
I only tested it on Cygwin though.
To work on linux, the library name in the pinvokes
in MySql.cs will need to be changed.

* Mono.Data.MySql.build: modified
exclude files from build.  also copy Mono.Data.MySql.dll
to Mono.Data.MySql so you can build and run Test.cs

* Mono.Data.MySql/MySql.cs: modified
tweaks to compile under mcs/mono and run under mint or mono.
Runs under mint, but not mono. Had to comment out
mysql_thread_begin/mysql_thread_end functions because they refused
to load in mono.  Until this is fixed, a memory leak will occur.
Can not retrieve field data from MySQL because the PtrToStructure()
needs to be implemented in System.Runtime.InteropServices.Marshal class.
However, this will be very complicated to do.  So, we connect to
MySQL and execute SQL Commands, but we can not do Queries yet.

* Mono.Data.MySql/Test.cs: modified
tweaks to test C# bindings with compiling mcs/mono and
running on mint and mono.  Runs on mint, but not mono.

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

22 years agos/+=/=/
Dietmar Maurer [Thu, 30 May 2002 01:43:17 +0000 (01:43 -0000)]
s/+=/=/

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

22 years agoback out the indexer change until I can figure it out
Miguel de Icaza [Wed, 29 May 2002 23:37:57 +0000 (23:37 -0000)]
back out the indexer change until I can figure it out

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

22 years agoAdd documentation regarding MONO_TRACE.
Jonathan Pryor [Wed, 29 May 2002 21:00:42 +0000 (21:00 -0000)]
Add documentation regarding MONO_TRACE.

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

22 years agoImplement MONO_TRACE support.
Jonathan Pryor [Wed, 29 May 2002 20:59:48 +0000 (20:59 -0000)]
Implement MONO_TRACE support.

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

22 years ago2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Wed, 29 May 2002 18:48:37 +0000 (18:48 -0000)]
2002-05-29  Rodrigo Moya <rodrigo@ximian.com>

* libgda.cs: added static constructor.
(GdaClient): new static property to get the underlying GdaClient
object.

* OleDbConnection.cs: removed GDA initialization, which belongs to
the static 'libgda' class.

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

22 years ago2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Wed, 29 May 2002 17:46:32 +0000 (17:46 -0000)]
2002-05-29  Rodrigo Moya <rodrigo@ximian.com>

* libgda.cs: static class for libgda API calls.

* OleDbConnection.cs: implemented constructors.
(ConnectionString, Connectiontimeout, Database, State):
implemented class properties.
(BeginTransaction): implemented.

* OleDbTransaction.cs: implemented protected constructors.

* TestGDA.cs: simple test for libgda API.

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

22 years agoupdated docs
Miguel de Icaza [Wed, 29 May 2002 12:38:16 +0000 (12:38 -0000)]
updated docs

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

22 years agoTODO
Miguel de Icaza [Wed, 29 May 2002 12:37:43 +0000 (12:37 -0000)]
TODO

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

22 years ago2002-05-28 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 29 May 2002 12:23:45 +0000 (12:23 -0000)]
2002-05-28  Miguel de Icaza  <miguel@ximian.com>

* assign.cs (DoResolve): Forgot to do the implicit conversion to
the target type for indexers and properties.  Thanks to Joe for
catching this.

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

22 years ago*** empty log message ***
Dietmar Maurer [Wed, 29 May 2002 11:50:49 +0000 (11:50 -0000)]
*** empty log message ***

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

22 years ago2002-05-29 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 29 May 2002 11:49:57 +0000 (11:49 -0000)]
2002-05-29  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg: bug fix in REMOTE_STIND_OBJ

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

22 years ago2002-05-29 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 29 May 2002 10:21:11 +0000 (10:21 -0000)]
2002-05-29  Nick Drochak  <ndrochak@gol.com>

* DecimalTest.cs: Use AssertEquals to get nice error report, and mark
each one with a unique message string so we know which one failed.

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

22 years ago2002-05-29 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 29 May 2002 09:53:30 +0000 (09:53 -0000)]
2002-05-29  Dietmar Maurer  <dietmar@ximian.com>

* invoke.c (arch_create_native_wrapper): handle pointers to value types

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

22 years ago2002-05-29 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 29 May 2002 07:12:57 +0000 (07:12 -0000)]
2002-05-29  Dietmar Maurer  <dietmar@ximian.com>

* helpers.h: use mono_ prefix for all functions

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

22 years ago2002-05-29 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 29 May 2002 07:08:01 +0000 (07:08 -0000)]
2002-05-29  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (mono_analyze_stack): fixed SIZEOF

* x86.brg: impl. LOCALLOC, INITBLK

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

22 years ago2002-5-27 DennisHayes <dennish@raytek.com>
Dennis Hayes [Tue, 28 May 2002 20:31:16 +0000 (20:31 -0000)]
2002-5-27 DennisHayes <dennish@raytek.com>
Check in for Paul Osman <paul.osman@sympatico.ca>
* Menu.cs
* Menu.MenuItemCollection.cs
* MenuItem.cs
* MessageBox.cs
* MonthCalendar.cs
* Stubbed and commented out
* MonthCalendar.cs has bad extra byte from old skeleton, need new corrected version.
* MonthCalendar.HitTestInfo.cs needs to be incorporated into MonthCalendar.
* Menu.MenuItemCollection.cs needs to be incorporated into Menu.cs.

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

22 years ago2002-5-27 DennisHayes <dennish@raytek.com>
Dennis Hayes [Tue, 28 May 2002 19:55:35 +0000 (19:55 -0000)]
2002-5-27 DennisHayes <dennish@raytek.com>
Check in for Paul Osman <paul.osman@sympatico.ca>
* NumericUpDown.cs
* OpacityConverter.cs
* OpenFileDialog.cs
* OSFeature.cs
* PageSetupDialog.cs
* PaintEventArgs.cs
* MonthCalendar.HitTestInfo.cs
* MouseEventArgs.cs
* NativeWindow.cs
* Stubbed and commented out
* NativeWindow.cs, MonthCalendar.HitTestInfo.cs, MouseEventArgs.cs,
* have bad extra byte from old skeleton, need new corrected version.
* MonthCalendar.HitTestInfo.cs needs to be incorporated into MonthCalendar.

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

22 years agoDennisHayes <dennish@raytek.com>
Dennis Hayes [Tue, 28 May 2002 19:31:49 +0000 (19:31 -0000)]
DennisHayes <dennish@raytek.com>
2002-5-27
Added delegates. All delegates in System.Windows.Forms done
* ColumnClickEventHandler.cs
* ContentsResizedEventHandler.cs
* ControlEventHandler.cs
* ConvertEventHandler.cs
* DateRangeEventHandler.cs
* DragEventHandler.cs
* DrawItemEventHandler.cs
* GiveFeedbackEventHandler.cs
* HelpEventHandler.cs
* InputLanguageChangedEventHandler.cs
* InputLanguageChangingEventHandler.cs
* InvalidateEventHandler.cs
* ItemChangedEventHandler.cs
* ItemCheckEventHandler.cs
* ItemDragEventHandler.cs
* KeyEventHandler.cs
* LabelEditEventHandler.cs
* LayoutEventHandler.cs
* LinkClickedEventHandler.cs
* LinkLabelLinkClickedEventHandler.cs

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

22 years agoDennisHayes <dennish@raytek.com>
Dennis Hayes [Tue, 28 May 2002 19:20:26 +0000 (19:20 -0000)]
DennisHayes <dennish@raytek.com>
2002-5-27
Added structs. All structs in System.Windows.Forms done
* BindingMemberInfo.cs
* DataGridCell.cs
* LinkArea.cs
* Message.cs
* Complete execpt for Message.cs GetLParam
* and
* BindingMemberInfo needs constructor.
* All need verification of hashcodes.

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

22 years ago2002-05-27 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Tue, 28 May 2002 19:13:30 +0000 (19:13 -0000)]
2002-05-27  Rodrigo Moya <rodrigo@ximian.com>

Started System.Data.OleDb provider, based on libgda.

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

22 years ago2002-05-28 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Tue, 28 May 2002 19:12:41 +0000 (19:12 -0000)]
2002-05-28  Rodrigo Moya <rodrigo@ximian.com>

* System.Data.build: exclude System.Data.OleDb files.

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

22 years ago * DateTimeTest.cs: Added tests M01 to M03 to TestParseExact,
Lawrence Pit [Tue, 28 May 2002 19:04:23 +0000 (19:04 -0000)]
* DateTimeTest.cs: Added tests M01 to M03 to TestParseExact,
passing typeof this class as arg in property Suite.

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

22 years ago * MonoHttpDate.cs: added
Lawrence Pit [Tue, 28 May 2002 18:36:53 +0000 (18:36 -0000)]
* MonoHttpDate.cs: added
* HttpWebRequest.cs: using MonoHttpDate
* HttpWebResponse.cs: using MonoHttpDate
* DnsPermission.cs: correct XML output
* SocketPermission.cs: correct XML output

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

22 years ago2002-05-28 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 28 May 2002 12:23:00 +0000 (12:23 -0000)]
2002-05-28  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg: impl. CKFINITE

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

22 years agoTue May 28 16:10:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 28 May 2002 10:24:55 +0000 (10:24 -0000)]
Tue May 28 16:10:49 CEST 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: fixed SIZEOF to work with typedef/typeref.

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

22 years agoUpdates and a test for structs with the .pack directive.
Paolo Molaro [Tue, 28 May 2002 10:23:29 +0000 (10:23 -0000)]
Updates and a test for structs with the .pack directive.

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

22 years agoTue May 28 16:02:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 28 May 2002 10:16:33 +0000 (10:16 -0000)]
Tue May 28 16:02:29 CEST 2002 Paolo Molaro <lupus@ximian.com>

* class.c: handle .pack directive.

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

22 years agoadded new test from Sergey
Dietmar Maurer [Tue, 28 May 2002 10:15:28 +0000 (10:15 -0000)]
added new test from Sergey

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

22 years ago2002-05-28 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Tue, 28 May 2002 10:07:13 +0000 (10:07 -0000)]
2002-05-28  Daniel Morgan <danmorg@sc.rr.com>

* Mono.Data.MySql
* Mono.Data.MySql/Mono.Data.MySql: add directories
for the Mono.Data.MySql assembly and namespace.  This
will contain the MySql .NET Data Provider which will use
C# bindings to libMySQL

* Mono.Data.MySql/Test.cs: added file to
test the C# bindings to MySQL

* Mono.Data.MySql/MySql.cs
* Mono.Data.MySql/Field.cs: added files
for the beginnings of C# bindings to MySQL

* Mono.Data.MySql/makefile: added file
to build the MySQL C# bindings on csc/Microsoft.NET

These C# bindings to the MySQL libMySQL.dll were created by
Brad Merrill <zbrad@cybercom.net>
and can be downloaded from
http://www.cybercom.net/~zbrad/DotNet/MySql/
and put into the Mono Class Library under the X11/MIT License
with Brad Merril's permission.

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

22 years ago2002-05-28 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 28 May 2002 08:54:55 +0000 (08:54 -0000)]
2002-05-28  Dietmar Maurer  <dietmar@ximian.com>

* metadata.c (mono_metadata_parse_signature): impl.

* jit.c (mono_analyze_stack): impl. CEE_CALLI

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