mono.git
21 years ago2003-01-26 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 26 Jan 2003 08:06:56 +0000 (08:06 -0000)]
2003-01-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlNode.cs : implemented ReplaceChild.
  removed DocElem checking at InsertBefore.
* XmlNodeReader.cs : fixed ReadString and Read for correct node info.
* XmlText.cs : implemented CloneNode and SplitText.

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

21 years ago2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 26 Jan 2003 07:43:03 +0000 (07:43 -0000)]
2003-01-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
CreateColumnSet. Set the owner of the column when auto generated.
In PrepareControlHierarchyForItem, fixed for loop bound.

* LinkButtonInternal.cs: fixed infinite recursion bug.

Fixes bug #37124.

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

21 years agoUpdate the links. Thanks for Andy Oliver for the report.
Duncan Mak [Sun, 26 Jan 2003 06:05:21 +0000 (06:05 -0000)]
Update the links. Thanks for Andy Oliver for the report.

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

21 years agoFlush
Miguel de Icaza [Sun, 26 Jan 2003 05:55:59 +0000 (05:55 -0000)]
Flush

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

21 years ago2003-01-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 25 Jan 2003 23:30:04 +0000 (23:30 -0000)]
2003-01-26  Martin Baulig  <martin@ximian.com>

* debug.c (mono_debug_init): Take a boolean argument which
specifies whether we're running in the Mono Debugger.

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

21 years ago2003-01-25 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 25 Jan 2003 21:19:35 +0000 (21:19 -0000)]
2003-01-25  Sebastien Pouliot  <spouliot@videotron.ca>

* CryptographicException.cs: Default HResult to CORSEC_E_CRYPTO
(0x80131430) as documented.
* CryptographicUnexpectedOperationException.cs: Default HResult
to CORSEC_E_CRYPTO_UNEX_OPER (0x80131431) as documented.

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

21 years ago2003-01-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 25 Jan 2003 19:43:45 +0000 (19:43 -0000)]
2003-01-25  Martin Baulig  <martin@ximian.com>

* threads.c (start_wrapper): Moved the initialization of
`start_func' above the mono_new_thread_init() call to which we
pass it as argument.

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

21 years agoSome structural changes to implement Prepared Statements (prepared statements won...
Christopher Bockner [Sat, 25 Jan 2003 19:10:13 +0000 (19:10 -0000)]
Some structural changes to implement Prepared Statements (prepared statements won't be done until I finish the parameter support though).
Added SQLNumParams and SQLDescribeParam to DB2ClientPrototypes.

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

21 years ago2003-01-25 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Sat, 25 Jan 2003 16:25:05 +0000 (16:25 -0000)]
2003-01-25 Gaurav Vaish <gvaish_mono AT lycos.com>

* ControlPager.cs        : Completed.
* ItemPager.cs           : Initial implementation.

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

21 years ago2003-01-24 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Sat, 25 Jan 2003 10:53:45 +0000 (10:53 -0000)]
2003-01-24 Gaurav Vaish <gvaish_mono AT lycos.com>

* ControlPager.cs        : PageCount { get; set; }   - Stubbed.
* MobileControl.cs       : EnablePagination { get; set; }
                                                     - Completed
                         : SetControlPageRecursive   - Stubbed.
* Panel.cs               : Completed.

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

21 years ago2003-01-24 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Fri, 24 Jan 2003 22:32:49 +0000 (22:32 -0000)]
2003-01-24  Daniel Morgan <danmorg@sc.rr.com>

* System.Data/DataColumn.cs: fixes to be like .NET -
when setting AllowDBNull to false, determine if there is
any data that has DBNull.Value, implement AutoIncrement, do not
allow changing the DataType of the column if data has already been
set, check if the DataType is supported,

* System.Data/DataColumnCollection.cs: handle default ColumnName
like .NET

* System.Data/DataRow.cs: fixes to be like .NET - a
data column gets initialized to all DBNull.Values not null,
implement AutoIncrement, when setting ItemArray if the item array being
set has less items than the number of columns in the table set those last
columns to DBNull.Value, after setting ItemArray values do an EndEdit(),
both a null and DBNull.Value get set to a DBNull.Value, only use DefaultValue
and AutoIncrement if the value is set to null while DBNull.Value only gets set
to DBNull.Value

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

21 years agoforgot this
Gonzalo Paniagua Javier [Fri, 24 Jan 2003 20:24:24 +0000 (20:24 -0000)]
forgot this

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

21 years ago2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 24 Jan 2003 19:09:28 +0000 (19:09 -0000)]
2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Path.cs: fixlet to ChangeExtension for the case when the path is
empty.

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

21 years ago2003-01-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 24 Jan 2003 16:54:52 +0000 (16:54 -0000)]
2003-01-24  Martin Baulig  <martin@ximian.com>

* threads.h (MonoThreadCallbacks): Pass the thread ID instead of
the MonoThread pointer.

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

21 years ago2003-01-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 24 Jan 2003 16:39:19 +0000 (16:39 -0000)]
2003-01-24  Martin Baulig  <martin@ximian.com>

* debug.c (mono_debug_io_layer): Disable this on Windows.

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

21 years ago2003-01-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 24 Jan 2003 16:36:29 +0000 (16:36 -0000)]
2003-01-24  Martin Baulig  <martin@ximian.com>

* ObjectReader.cs (ReadNextObject): Call
RaiseDeserializationEvent() on the ObjectManager when we're done
reading the whole graph.

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

21 years ago2003-01-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 24 Jan 2003 16:34:40 +0000 (16:34 -0000)]
2003-01-24  Martin Baulig  <martin@ximian.com>

* ObjectManager.cs (RaiseDeserializationEvent): Walk the object
list in the correct order.

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

21 years agoUpdate this
Miguel de Icaza [Fri, 24 Jan 2003 16:14:06 +0000 (16:14 -0000)]
Update this

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

21 years agooops, make this public
Miguel de Icaza [Fri, 24 Jan 2003 16:10:01 +0000 (16:10 -0000)]
oops, make this public

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

21 years ago2003-01-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 24 Jan 2003 15:37:35 +0000 (15:37 -0000)]
2003-01-21  Miguel de Icaza  <miguel@ximian.com>

* Math.cs: Remove Pow's implementation body as it was wrong.  The
C code does the right thing.  The code was trying to handle a
number of cases, and that was incorrect.

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

21 years ago2003-01-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 24 Jan 2003 15:35:11 +0000 (15:35 -0000)]
2003-01-21  Miguel de Icaza  <miguel@ximian.com>

* icall.c: Rename `PowImpl' to Pow.

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

21 years ago2003-01-24 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Fri, 24 Jan 2003 15:27:37 +0000 (15:27 -0000)]
2003-01-24  Ville Palo <vi64pa@koti.soon.fi>

* UniqueConstraint.cs: Do not set columns Unique property true
as a default.
* ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table

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

21 years ago2003-24-01 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Fri, 24 Jan 2003 13:31:51 +0000 (13:31 -0000)]
2003-24-01  Ville Palo <vi64pa@koti.soon.fi>

* UniqueConstraint.cs: More tests

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

21 years ago* unix.args: added System.Runtime.Remoting/TypeInfo.cs and
Lluis Sanchez [Fri, 24 Jan 2003 11:22:26 +0000 (11:22 -0000)]
* unix.args: added System.Runtime.Remoting/TypeInfo.cs and
System.Runtime.Serialization.Formatters.Binary/MessageFormatter.cs

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

21 years ago* ObjectWriter.cs, ObjectReader.cs: Added suport for headers.
Lluis Sanchez [Fri, 24 Jan 2003 11:21:30 +0000 (11:21 -0000)]
* ObjectWriter.cs, ObjectReader.cs: Added suport for headers.
Corrected encoding of primitive types. Corrected a bug about zero-length arrays.
* MessageFormatter.cs: Added. Implements serialization of messages.
* BinaryFormatter.cs: Added serialization of messages.
* BinaryCommon.cs: Added enum of codes of primitive types.

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

21 years agoRemotingServices.cs: Implemented some missing methods: IsMethodOverloaded,
Lluis Sanchez [Fri, 24 Jan 2003 11:19:39 +0000 (11:19 -0000)]
RemotingServices.cs: Implemented some missing methods: IsMethodOverloaded,
SetObjectUriForMarshal, IsOneWay, IsObjectOutOfAppDomain,
 IsObjectOutOfContext, GetObjRefForProxy, GetObjectData,
GetMethodBaseFromMethodMessage.

TypeInfo.cs: Added.

ObjRef.cs: Implemented serialization and added support
for IRemotingTypeInfo.

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

21 years ago2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 24 Jan 2003 06:30:54 +0000 (06:30 -0000)]
2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* XmlCharacterData.cs: added XPathNodeType property.

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

21 years ago2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 24 Jan 2003 06:29:49 +0000 (06:29 -0000)]
2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* XslTransform.cs: don't free the xml document used for the style sheet.
xmlFreeStylesheet already does it. Correctly close the element tag for
elements that don't have children. Added a couple of checks more.

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

21 years agooops
Gonzalo Paniagua Javier [Fri, 24 Jan 2003 03:13:49 +0000 (03:13 -0000)]
oops

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

21 years ago2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 24 Jan 2003 03:07:36 +0000 (03:07 -0000)]
2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CharEnumerator.cs: completed the prior patch.

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

21 years ago2003-01-23 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 24 Jan 2003 02:47:00 +0000 (02:47 -0000)]
2003-01-23  Sebastien Pouliot  <spouliot@videotron.ca>

* cert2spc.1: man page for cert2spc tool
* secutil.1: man page for secutil tool

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

21 years ago2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 24 Jan 2003 02:06:35 +0000 (02:06 -0000)]
2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspParser.cs: fixed bug #36929.

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

21 years ago2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 24 Jan 2003 01:16:48 +0000 (01:16 -0000)]
2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CharEnumerator.cs: fix to Current by crainaj@hotmail.com. Closes
bug #37113.

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

21 years ago2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 23 Jan 2003 23:59:51 +0000 (23:59 -0000)]
2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Enum.cs: added caching to GetInfo.

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

21 years agoEnums are supported and working
Marco Ridoni [Thu, 23 Jan 2003 23:07:09 +0000 (23:07 -0000)]
Enums are supported and working
Cast functions (CStr(), CBool(), etc) supported
ByRef parameters now work
A few fixes for optional parameters and structure declaration
String concatenation operator supported (to be debugged)

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

21 years ago2003-01-23 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Thu, 23 Jan 2003 18:17:29 +0000 (18:17 -0000)]
2003-01-23 Gaurav Vaish <gvaish_mono AT lycos.com>

* Command.cs             : Completed.
* Form.cs                : CurrentPage { get; set; } - Stubbed.

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

21 years ago2003-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 23 Jan 2003 18:14:27 +0000 (18:14 -0000)]
2003-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* XslTransform.cs: fixed a couple of Transform overloads and changed the
library name in DllImport to make it work on windows too.

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

21 years ago2003-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 23 Jan 2003 18:08:18 +0000 (18:08 -0000)]
2003-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Makefile.am:
* libtest.c:
* pinvoke12.cs: added new test for string [] marshaling.

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

21 years ago2003-01-23 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 23 Jan 2003 17:57:47 +0000 (17:57 -0000)]
2003-01-23  Dick Porter  <dick@ximian.com>

* Environment.cs (System): Implemented ExitCode

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

21 years agoRun all managed code in a subthread. Re-enable GC threaded finalisation.
Dick Porter [Thu, 23 Jan 2003 17:46:26 +0000 (17:46 -0000)]
Run all managed code in a subthread.  Re-enable GC threaded finalisation.
Fixes bugs 34263 and 31333.

(All tests still behave the same way - 4 fails)

2003-01-23  Dick Porter  <dick@ximian.com>

* threads.c (start_wrapper): Create a Thread object if needed, so
the Main() thread can do the class initialisation in a subthread
that has been set up to allow managed code execution.

Pass the thread ID instead of the MonoThread pointer to the thread
start and attach callbacks.  This change is required, because the
jit thread start callback must be called _before_ the Thread
object can be created.

(mono_thread_init): Removed much object creation code that is no
longer needed.  No managed code is called from here now.

* object.c (mono_runtime_exec_managed_code): Create a subthread
for Main, and call back to the runtime to use it.
Set the exit code when Main exits.

* gc.c: Make sure domain finalisation happens in a subthread.
Re-enable threaded GC, fixing bug 31333 (again).

* environment.c: System.Environment internall calls (so far just
ExitCode is here, the others are still in icall.c)

* appdomain.c (mono_runtime_cleanup): All threads running managed
code should have finished before mono_runtime_cleanup() is
reached, so no need to clean up threads.

2003-01-23  Dick Porter  <dick@ximian.com>

* mono.c: Use mono_runtime_exec_managed_code() to run all managed
code in a subthread.

* jit.c: Changed thread start and attach callbacks to pass the
thread ID, not the MonoThread pointer.  Arrange that managed code
execution will fail an assertion in the main thread, just to be
sure.

2003-01-23  Dick Porter  <dick@ximian.com>

* interp.c: Use mono_runtime_exec_managed_code() to run all
managed code in a subthread.

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

21 years ago2003-01-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 23 Jan 2003 15:40:23 +0000 (15:40 -0000)]
2003-01-23  Zoltan Varga  <vargaz@freemail.hu>

* Type.cs (IsInstanceOfType): fixed regression caused by the change
to IsSubclassOf().

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

21 years agouups
Ville Palo [Thu, 23 Jan 2003 15:30:21 +0000 (15:30 -0000)]
uups

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

21 years ago2003-23-01 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Thu, 23 Jan 2003 14:55:43 +0000 (14:55 -0000)]
2003-23-01  Ville Palo <vi64pa@koti.soon.fi>

* ForeignKeyConstraint.cs: More tests

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

21 years agoMonoBASIC Compiler 1.0.0.0 - (c)2002 Rafael Teixeira
Rafael Teixeira [Thu, 23 Jan 2003 14:25:50 +0000 (14:25 -0000)]
MonoBASIC Compiler  1.0.0.0 - (c)2002 Rafael Teixeira
This is a compiler for the MonoBASIC language,
which is a superset of Visual Basic.NET

Usage: mbas [options] SOURCE-FILES
Options:
  -? --help             Show this help list
     --about            About the MonoBASIC compiler
     --addmodule=PARAM  [NOT IMPLEMENTED YET]Reference metadata from specified module
     --baseaddress=PARAM [NOT IMPLEMENTED YET]The base address for a library or module (hex)
     --bugreport=PARAM  [NOT IMPLEMENTED YET]Create bug report file
     --checked          [Mono] Set default context to checked
  -d --define=PARAM     [NOT IMPLEMENTED YET]Declares global conditional compilation symbol(s). symbol list:name=value,...
     --debug            Emit debugging information
     --debug-args=PARAM [Mono] Debugger arguments
     --debug:full       Emit full debugging information (default)
     --debug:pdbonly    [IGNORED]Emit PDB file only
     --delaysign        [NOT IMPLEMENTED YET]Delay-sign the assembly using only the public portion of the strong name key
     --fatal            [Mono] Makes errors fatal
     --ignorewarn=PARAM [Mono] Ignores warning number PARAM
     --imports=PARAM    [NOT IMPLEMENTED YET]Declare global Imports for namespaces in referenced metadata files. import list:namespace,...
     --keycontainer=PARAM [NOT IMPLEMENTED YET]Specifies a strong name key container
     --keyfile=PARAM    [NOT IMPLEMENTED YET]Specifies a strong name key file
     --libpath=PARAM    [NOT IMPLEMENTED YET]List of directories to search for metada references (semi-colon delimited)
     --linkpaths=PARAM  [Mono] Adds path to the assembly link path
     --linkresource=PARAM [NOT IMPLEMENTED YET]Adds the specified file as an embedded assembly resource
  -m --main=PARAM       Specifies the Class or Module that contains Sub Main.It can also be a Class that inherits from System.Windows.Forms.Form.
     --noconfig         [Mono] Disables implicit references to assemblies
     --nologo           [NOT IMPLEMENTED YET]Do not display compiler copyright banner
     --nostdlib         [Mono] Don't assume the standard library
     --nowarn           Disable warnings
  -o --out=PARAM        Specifies the output file name
     --optimize         [NOT IMPLEMENTED YET]Enable optimizations
     --optioncompare:binary [NOT IMPLEMENTED YET]Specifies binary-style string comparisons. This is the default
     --optioncompare:text [NOT IMPLEMENTED YET]Specifies text-style string comparisons.
     --optionexplicit   [NOT IMPLEMENTED YET]Require explicit declaration of variables
     --optionstrict     [NOT IMPLEMENTED YET]Enforce strict language semantics
     --parse            [Mono] Only parses the source file (for debugging the tokenizer)
     --quiet            [NOT IMPLEMENTED YET]Quiet output mode
     --recurse=PARAM    [NOT IMPLEMENTED YET]Include all files in the current directory and subdirectories according to the wildcard
     --removeintchecks  [NOT IMPLEMENTED YET]Remove integer checks. Default off.
     --resource=PARAM   Adds the specified file as an embedded assembly resource
     --rootnamespace=PARAM [NOT IMPLEMENTED YET]Specifies de root namespace for all type declarations
  -r --reference=PARAM  References metadata from the specified assembly
     --stacktrace       [Mono] Shows stack trace at Error location
     --target=PARAM     Specifies the target type for the output file (exe [default], winexe, library, module)
     --timestamp        [Mono] Displays time stamps of various compiler events
     --tokenize         [Mono] Only tokenizes source files
     --unsafe           [Mono] Allows unsafe code
     --usage            Show usage syntax and exit
     --utf8output       [NOT IMPLEMENTED YET]Emit compiler output in UTF8 character encoding
  -v --verbose          Display verbose messages
     --warnaserror      Treat warnings as errors
     --win32icon=PARAM  [NOT IMPLEMENTED YET]Specifies a Win32 icon file (.ico) for the default Win32 resources
     --win32resource=PARAM [NOT IMPLEMENTED YET]Specifies a Win32 resource file (.res)
     --wlevel=PARAM     [Mono] Sets warning level (the highest is 4, the default)

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

21 years agoBuild Mono.Data.DB2Client with nant
Dick Porter [Thu, 23 Jan 2003 13:27:25 +0000 (13:27 -0000)]
Build Mono.Data.DB2Client with nant

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

21 years agoinstall dbg files only if they exist...
Nick Drochak [Thu, 23 Jan 2003 09:12:26 +0000 (09:12 -0000)]
install dbg files only if they exist...

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

21 years ago2003-01-23 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 23 Jan 2003 08:38:36 +0000 (08:38 -0000)]
2003-01-23  Nick Drochak <ndrochak@gol.com>

* makefile: install the .dbg files too so the debugger can use them.

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

21 years ago2003/01/23 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 23 Jan 2003 07:22:16 +0000 (07:22 -0000)]
2003/01/23  Nick Drochak <ndrochak@gol.com>

* ThreadTest.cs: Test for alternate possibilities

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

21 years ago2003-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 23 Jan 2003 05:30:47 +0000 (05:30 -0000)]
2003-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System/System.Net.Sockets/NetworkStream.cs: the check for disposed
should not be done in the finally clause.

* corlib/System.IO/BufferedStream.cs: don't try to write a 0 sized
array on when flushing the stream.

Fixes bug #37045.

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

21 years agoStructure declaration added to grammar. Seems to work fine.
Marco Ridoni [Wed, 22 Jan 2003 23:02:29 +0000 (23:02 -0000)]
Structure declaration added to grammar. Seems to work fine.

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

21 years ago2003-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 22 Jan 2003 20:59:25 +0000 (20:59 -0000)]
2003-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* driver.cs: use assembly.Location instead of Codebase (the latest
patch made mcs fail when using MS assemblies).

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

21 years ago2003-22-01 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Wed, 22 Jan 2003 19:08:00 +0000 (19:08 -0000)]
2003-22-01  Ville Palo <vi64pa@koti.soon.fi>

* DataRelationTest.cs: More tests and little clean up.

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

21 years agoauthor list correction
Rafael Teixeira [Wed, 22 Jan 2003 19:03:18 +0000 (19:03 -0000)]
author list correction

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

21 years agohouse cleaning
Rafael Teixeira [Wed, 22 Jan 2003 19:01:31 +0000 (19:01 -0000)]
house cleaning

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

21 years agoOoops, this was just for debugging.
Martin Baulig [Wed, 22 Jan 2003 12:41:13 +0000 (12:41 -0000)]
Ooops, this was just for debugging.

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

21 years ago2003-01-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 22 Jan 2003 12:16:53 +0000 (12:16 -0000)]
2003-01-22  Martin Baulig  <martin@ximian.com>

* debug.c: Reverted Gonzalo's last change since it is wrong.
We're also using the debugging code on Windows, for instance the
stabs stuff when running in gdb.  I hope this code still builds on
Windows; if not, we need to fix this.
Moved all the mono debugger support code into the debugger itself;
when debugging a managed application, the debugger new launches a
small unmanaged wrapper application which contains this stuff.

* debug.h (MonoDebuggerIOLayer): New public typedef; this is just
initialized to an array of function pointers to the io-layer
function; they don't seem to be public in the `libmono' library.
(mono_debugger_event): New public function.  Sends the debugger an
event if we're running in the Mono Debugger and does nothing otherwise.

* mono.c: Don't initialize the Mono Debugger here.

* jit.c (mono_debug_insert_breakpoint): Removed, this isn't used anymore.
(mono_thread_start_cb, mono_thread_attach_cb): Call
mono_debugger_event() to send the debugger a callback.

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

21 years ago2003-01-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 22 Jan 2003 12:11:00 +0000 (12:11 -0000)]
2003-01-22  Martin Baulig  <martin@ximian.com>

* appdomain.h (MonoThreadStartCB): Added `MonoThread *thread' and
`gpointer func' arguments.
(MonoThreadAttachCB): New typedef; like the old MonoThreadStartCB,
but added `MonoThread *thread' argument.
(mono_runtime_init): The last argument is now a MonoThreadAttachCB.

* threads.c (mono_new_thread_init): Added `gpointer func' argument
and pass it to the mono_thread_start_cb callback.
(mono_install_thread_callbacks): New public function to install a
set of callbacks which are set by the debugger.
(mono_thread_init): The last argument is now a MonoThreadAttachCB.

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

21 years ago2003-01-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 22 Jan 2003 12:06:27 +0000 (12:06 -0000)]
2003-01-22  Martin Baulig  <martin@ximian.com>

* Makefile.am: Install debug-mono-symfile.h.

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

21 years ago**** Reverted this ****
Martin Baulig [Wed, 22 Jan 2003 12:05:14 +0000 (12:05 -0000)]
**** Reverted this ****
2003-01-16  Martin Baulig  <martin@ximian.com>

Added special support for the Mono Debugger to send it a
notification each time a thread is created or exited.

* timed-thread.h (TimedThread): Added `pid' and `start_sem'.

* timed-thread.c (timed_thread_start_routine): If
`mono_debugger_threads_debug' is non-zero, set `thread->pid' and
post the `thread->start_sem'.
(_wapi_timed_thread_create): If `mono_debugger_threads_debug' is
non-zero, wait for the `thread->start_sem' before returning.

* threads.c (mono_debugger_threads_debug): New global variable
which is set by the Mono Debugger.
(mono_debugger_thread_info): New global variable.
(update_debugger_thread_info): When running inside the Mono
Debugger (`mono_debugger_threads_debug' is non-zero), update the
`mono_debugger_thread_info' array.  This function is called (while
owning the `thread_hash_mutex') each time the `thread_hash' is
modified.

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

21 years ago2003-01-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 22 Jan 2003 12:02:54 +0000 (12:02 -0000)]
2003-01-22  Martin Baulig  <martin@ximian.com>

* configure.in: Set version number to 0.19.1.

Heads up: I'm going to commit some changes to the debugger
which'll require you to use this new runtime, so if you update the
debugger from CVS, you also need this new runtime.

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

21 years agofixed CS0642s
Gonzalo Paniagua Javier [Wed, 22 Jan 2003 11:45:37 +0000 (11:45 -0000)]
fixed CS0642s

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

21 years ago2003-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 22 Jan 2003 11:35:49 +0000 (11:35 -0000)]
2003-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* XslTransform.cs: implemented all Load and Transform methods. It uses
libxml2 and libxslt. No more temp files. It's slow and memory consuming,
but, well, that's XSLT... ;-). Idea from Zdravko Tashev.

Now the Xsl web control works.

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

21 years ago2003-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 22 Jan 2003 11:31:28 +0000 (11:31 -0000)]
2003-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Xml/XmlTextWriter.cs: throw an exception if WriteEndDocument is
called without a prior call to WriteStartDocument.

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

21 years ago2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
Gonzalo Paniagua Javier [Wed, 22 Jan 2003 11:14:12 +0000 (11:14 -0000)]
2003-01-22  Zdravko Tashev <ztashev@openlinksw.co.uk>

* Xml.cs: a few fixes.

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

21 years ago2003/01/22 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 22 Jan 2003 06:08:51 +0000 (06:08 -0000)]
2003/01/22  Nick Drochak <ndrochak@gol.com>

* makefile: assume csc for makefile, and mcs for makfile.gnu.

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

21 years ago2003/01/22 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 22 Jan 2003 04:16:09 +0000 (04:16 -0000)]
2003/01/22  Nick Drochak <ndrochak@gol.com>

* makefile: Use csc compiler in here. makefile.gnu assumes mono/mcs

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

21 years agobinary serialization format.htm: Added to CVS
Lluis Sanchez [Wed, 22 Jan 2003 00:39:04 +0000 (00:39 -0000)]
binary serialization format.htm: Added to CVS

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

21 years agoInterface should work for methods and properties
Marco Ridoni [Tue, 21 Jan 2003 23:39:11 +0000 (23:39 -0000)]
Interface should work for methods and properties

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

21 years agoA few minor fixes
Marco Ridoni [Tue, 21 Jan 2003 21:20:39 +0000 (21:20 -0000)]
A few minor fixes

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

21 years ago2003-01-21 Aleksey Demakov <avd@openlinksw.com>
Gonzalo Paniagua Javier [Tue, 21 Jan 2003 21:07:02 +0000 (21:07 -0000)]
2003-01-21  Aleksey Demakov <avd@openlinksw.com>

* marshal.c: fixed copy_from_managed and copy_to_unmanaged for 0 length.

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

21 years agoA fix for return values in functions and another step towards
Marco Ridoni [Tue, 21 Jan 2003 19:42:23 +0000 (19:42 -0000)]
A fix for return values in functions and another step towards
implementation of Interfaces

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

21 years ago2003-01-22 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 21 Jan 2003 19:34:04 +0000 (19:34 -0000)]
2003-01-22  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

*  added recent tests below to System.XML_linux_test.args

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

21 years agofix typo
Johannes Roith [Tue, 21 Jan 2003 19:13:36 +0000 (19:13 -0000)]
fix typo

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

21 years ago2003-01-21 Tim Haynes <thaynes@openlinksw.com>
Gonzalo Paniagua Javier [Tue, 21 Jan 2003 19:01:48 +0000 (19:01 -0000)]
2003-01-21  Tim Haynes <thaynes@openlinksw.com>

* driver.cs: use DirectorySeparatorChar instead of a hardcoded "/" to
get the path to *corlib.dll.

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

21 years ago2003-01-21 Tim Haynes <thaynes@openlinksw.com>
Gonzalo Paniagua Javier [Tue, 21 Jan 2003 18:44:21 +0000 (18:44 -0000)]
2003-01-21  Tim Haynes <thaynes@openlinksw.com>

* AspGenerator.cs:
* BaseCompiler.cs:
* CachingCompiler.cs: changes to work around spaces and
        directory-separators in the local filesystem.

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

21 years agoremoved type-reflector from install
Gonzalo Paniagua Javier [Tue, 21 Jan 2003 18:21:21 +0000 (18:21 -0000)]
removed type-reflector from install

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

21 years agoTue Jan 21 17:29:53 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 21 Jan 2003 16:33:33 +0000 (16:33 -0000)]
Tue Jan 21 17:29:53 CET 2003 Paolo Molaro <lupus@ximian.com>

* ppc/ppc-codegen.h: completed ppc native code generation by
Taylor Christopher P <ct@cs.clemson.edu>.

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

21 years agoFlush from work
Miguel de Icaza [Tue, 21 Jan 2003 13:49:17 +0000 (13:49 -0000)]
Flush from work

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

21 years agoanother test
Dietmar Maurer [Tue, 21 Jan 2003 09:30:46 +0000 (09:30 -0000)]
another test

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

21 years ago2003-01-21 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 21 Jan 2003 09:27:40 +0000 (09:27 -0000)]
2003-01-21  Dietmar Maurer  <dietmar@ximian.com>

* added the following fix from Jackson Harper <jackson@latitudegeo.com>
* class.c (mono_ptr_class_get): correctly set access levels of pointers
(mono_array_class_get): correctly set access levels of arrays

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

21 years agoUpdate
Miguel de Icaza [Tue, 21 Jan 2003 06:32:50 +0000 (06:32 -0000)]
Update

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

21 years ago2003-01-21 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 21 Jan 2003 04:17:14 +0000 (04:17 -0000)]
2003-01-21  Nick Drochak <ndrochak@gol.com>

* cs-tokenizer.cs:
* pending.cs:
* typemanager.cs: Remove compiler warnings

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

21 years agosorry, forgot to add it.
Atsushi Eno [Tue, 21 Jan 2003 03:24:41 +0000 (03:24 -0000)]
sorry, forgot to add it.

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

21 years ago2003-01-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 21 Jan 2003 03:23:58 +0000 (03:23 -0000)]
2003-01-21  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

*  added XmlNodeReaderTests.cs file and added it to AllTests.cs

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

21 years ago2003-01-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 21 Jan 2003 03:22:54 +0000 (03:22 -0000)]
2003-01-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlNodeReader.cs : several fix to get more compatible with MS.NET.

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

21 years agoUpdate
Miguel de Icaza [Tue, 21 Jan 2003 02:46:06 +0000 (02:46 -0000)]
Update

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

21 years agoAdded a readme for the newcomers.
Jaime Anguiano Olarra [Tue, 21 Jan 2003 00:51:10 +0000 (00:51 -0000)]
Added a readme for the newcomers.

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

21 years ago2003-01-20 Patrik Torstensson
Patrik Torstensson [Mon, 20 Jan 2003 23:36:26 +0000 (23:36 -0000)]
2003-01-20 Patrik Torstensson

* image.h (MonoAssemblyName): changed major, minor, build, revision
from signed to unsigned.

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

21 years agoMore screenshots
Miguel de Icaza [Mon, 20 Jan 2003 23:33:40 +0000 (23:33 -0000)]
More screenshots

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

21 years agoAdd screenshots section.
Miguel de Icaza [Mon, 20 Jan 2003 23:25:58 +0000 (23:25 -0000)]
Add screenshots section.
Move screenshots from main page
Prepare for release.
Update JIT debug information

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

21 years ago2003-01-20 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 20 Jan 2003 23:17:15 +0000 (23:17 -0000)]
2003-01-20  Duncan Mak  <duncan@ximian.com>

* configure.in: Bump the release number to 0.19.

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

21 years ago2003-01-20 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Mon, 20 Jan 2003 23:14:46 +0000 (23:14 -0000)]
2003-01-20  Daniel Morgan <danmorg@sc.rr.com>

* README: updated notes on connection strings and providers
* SqlSharpCli.cs: fixes for other providers:
OracleClient, DB2Client, Npgsql, MySqlNet

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

21 years ago~head -4 ChangeLog~
Duncan Mak [Mon, 20 Jan 2003 23:10:53 +0000 (23:10 -0000)]
~head -4 ChangeLog~

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

21 years agoFinal touches
Miguel de Icaza [Mon, 20 Jan 2003 23:01:13 +0000 (23:01 -0000)]
Final touches

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

21 years ago2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 20 Jan 2003 23:01:09 +0000 (23:01 -0000)]
2003-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* debug.c: make all public symbols just dummy for windows.

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

21 years agotarget for windows build
Miguel de Icaza [Mon, 20 Jan 2003 22:55:05 +0000 (22:55 -0000)]
target for windows build

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

21 years agoMake mbas compile
Miguel de Icaza [Mon, 20 Jan 2003 22:50:11 +0000 (22:50 -0000)]
Make mbas compile

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

21 years agoRemove dependency
Miguel de Icaza [Mon, 20 Jan 2003 22:49:55 +0000 (22:49 -0000)]
Remove dependency

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

21 years agoPut back mbas
Miguel de Icaza [Mon, 20 Jan 2003 22:45:22 +0000 (22:45 -0000)]
Put back mbas

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

21 years agoAlso avoid SIGKILL for Windows
Miguel de Icaza [Mon, 20 Jan 2003 22:40:23 +0000 (22:40 -0000)]
Also avoid SIGKILL for Windows

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