mono.git
20 years ago* ast.cs: Added InLoop and InSwitch.
César Natarén [Mon, 21 Jun 2004 00:45:16 +0000 (00:45 -0000)]
* ast.cs: Added InLoop and InSwitch.

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

20 years ago * Statement.cs: class If.Emit, call fall_true instead of fall_false so we don't
César Natarén [Mon, 21 Jun 2004 00:44:52 +0000 (00:44 -0000)]
 * Statement.cs: class If.Emit, call fall_true instead of fall_false so we don't
        need to jump if the expression evaluates to true. Continue class,
        replaced ParentIsItrStm with InLoop, emit jump to correct
        place. Break class, implemented Resolve; deleted
        ParentIsCorrect. DoWhile, While classes, set LoopBegin and
        LoopEnd. While class, set LoopBegin and LoopEnd.

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

20 years ago* CodeGenerator.cs: Added LoopBegin and LoopEnd to EmitContext, they are used by
César Natarén [Mon, 21 Jun 2004 00:44:16 +0000 (00:44 -0000)]
* CodeGenerator.cs: Added LoopBegin and LoopEnd to EmitContext, they are used by
        break and continue in order to jump to the desired place. Added
        check for converting to boolean if we encounter an identifier (at need_convert_to_boolean).

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

20 years ago2004-06-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Jun 2004 00:37:56 +0000 (00:37 -0000)]
2004-06-21  Martin Baulig  <martin@ximian.com>

* mono-debug-debugger.c (write_class): Cleaned this up a bit and
added interface support.

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

20 years ago * dis-cil.c: Handle switch statements with no labels.
Jackson Harper [Sun, 20 Jun 2004 23:23:38 +0000 (23:23 -0000)]
    * dis-cil.c: Handle switch statements with no labels.

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

20 years ago * SwitchInstr.cs: Allow switches with no labels.
Jackson Harper [Sun, 20 Jun 2004 23:12:12 +0000 (23:12 -0000)]
    * SwitchInstr.cs: Allow switches with no labels.

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

20 years ago * InstrTable.cs: Add .u8 opcodes for ldind and ldelem these are
Jackson Harper [Sun, 20 Jun 2004 22:38:27 +0000 (22:38 -0000)]
    * InstrTable.cs: Add .u8 opcodes for ldind and ldelem these are
just aliases to their .i8 equivelents.

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

20 years ago2004-06-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 20 Jun 2004 22:29:00 +0000 (22:29 -0000)]
2004-06-21  Martin Baulig  <martin@ximian.com>

* class.c (mono_vtable_get_static_field_data): New public method.

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

20 years ago2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 20 Jun 2004 21:30:31 +0000 (21:30 -0000)]
2004-06-20  Atsushi Enomoto  <atsushi@ximian.com>

* filewatcher.c : Windows build fix to be compliant with API changes.

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

20 years ago2004-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 20 Jun 2004 19:00:11 +0000 (19:00 -0000)]
2004-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: fixed Accept for non-blocking sockets.

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

20 years ago2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 20 Jun 2004 18:52:23 +0000 (18:52 -0000)]
2004-06-20  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDataInferenceLoader.cs : Kindly reject xml schema document as a
  inference target. For bug #60470. (MS does not support schema
  document inference and results in unconsistent dataset structure.)

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

20 years ago2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 20 Jun 2004 17:35:14 +0000 (17:35 -0000)]
2004-06-20  Atsushi Enomoto  <atsushi@ximian.com>

* DataTableCollection.cs : reset the table's DataSet to null when
  removing a table from this collection.
* DataTable.cs : When Namespace is not specified explicitly, its
  Namespace property reflects DataSet's Namespace if exist.
  This fixes bug #60469.

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

20 years ago2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 20 Jun 2004 17:34:40 +0000 (17:34 -0000)]
2004-06-20  Atsushi Enomoto <atsushi@ximian.com>

* DataTableCollectionTest.cs : Added test for DataSet and Namespace
  adjustment.

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

20 years agoadded missing wrappers
Jordi Mas i Hernandez [Sun, 20 Jun 2004 14:44:35 +0000 (14:44 -0000)]
added missing wrappers

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

20 years ago * monodis.1: Document --blob
Jackson Harper [Sun, 20 Jun 2004 01:50:13 +0000 (01:50 -0000)]
    * monodis.1: Document --blob

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

20 years ago * dump.c/h: New function to dump the contents of the blob
Jackson Harper [Sun, 20 Jun 2004 01:46:44 +0000 (01:46 -0000)]
    * dump.c/h: New function to dump the contents of the blob
stream. I found it useful for debugging so I will share.
* main.c: Add --blob switch to dump the blob stream.

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

20 years ago * get.c/h: New function to stringify function pointers.
Jackson Harper [Sun, 20 Jun 2004 01:40:32 +0000 (01:40 -0000)]
    * get.c/h: New function to stringify function pointers.

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

20 years ago * get.c: New function to stringify function pointers.
Jackson Harper [Sun, 20 Jun 2004 01:36:36 +0000 (01:36 -0000)]
    * get.c: New function to stringify function pointers.

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

20 years ago * get.c: Fix name escaping so we dont escape everything in the
Jackson Harper [Sun, 20 Jun 2004 01:13:56 +0000 (01:13 -0000)]
    * get.c: Fix name escaping so we dont escape everything in the
world anymore.

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

20 years ago * ILParser.jay: Resolve method pointers that are being treated as
Jackson Harper [Sat, 19 Jun 2004 23:25:52 +0000 (23:25 -0000)]
    * ILParser.jay: Resolve method pointers that are being treated as
typerefs.

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

20 years ago * ilasm.exe.sources: Add MethodPointerTypeRef.cs to the build.
Jackson Harper [Sat, 19 Jun 2004 23:23:09 +0000 (23:23 -0000)]
    * ilasm.exe.sources: Add MethodPointerTypeRef.cs to the build.

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

20 years ago * MethodPointerTypeRef.cs: New File - represents a method pointer
Jackson Harper [Sat, 19 Jun 2004 23:21:31 +0000 (23:21 -0000)]
    * MethodPointerTypeRef.cs: New File - represents a method pointer
that is being treated as a typeref. For example method void*() in
the statement castclass method void*().

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

20 years ago * PEAPI.cs: Make sure the sentinel is placed properly for vararg
Jackson Harper [Sat, 19 Jun 2004 23:12:20 +0000 (23:12 -0000)]
    * PEAPI.cs: Make sure the sentinel is placed properly for vararg
method pointers.

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

20 years agoGive a little love
Jackson Harper [Sat, 19 Jun 2004 22:30:13 +0000 (22:30 -0000)]
Give a little love

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

20 years ago * PEAPI.cs: Allow MethPtrTypes to be created from a signature
Jackson Harper [Sat, 19 Jun 2004 21:14:45 +0000 (21:14 -0000)]
    * PEAPI.cs: Allow MethPtrTypes to be created from a signature
instead of from a method reference because it really doesn't make
sense to do it that way ;-).

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

20 years ago Add instructions on setting multiple mask values.
Jackson Harper [Sat, 19 Jun 2004 17:34:26 +0000 (17:34 -0000)]
    Add instructions on setting multiple mask values.

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

20 years ago * InstrTable.cs: Add undocumented brnull opcode. This is really
Jackson Harper [Sat, 19 Jun 2004 17:21:57 +0000 (17:21 -0000)]
    * InstrTable.cs: Add undocumented brnull opcode. This is really
just an alias for brfalse.

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

20 years ago * ILParser.jay: Resolve other modules global 'type'.
Jackson Harper [Sat, 19 Jun 2004 16:43:00 +0000 (16:43 -0000)]
    * ILParser.jay: Resolve other modules global 'type'.

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

20 years agoFloush
Miguel de Icaza [Sat, 19 Jun 2004 16:29:08 +0000 (16:29 -0000)]
Floush

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

20 years agoSat Jun 19 19:04:50 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 19 Jun 2004 16:17:04 +0000 (16:17 -0000)]
Sat Jun 19 19:04:50 CEST 2004 Paolo Molaro <lupus@ximian.com>

* class.h, class.c: more accessors.
* metadata.h, metadata.c: prepare for hiding MonoType and
MonoMethodSignature: people should use the accessors from now on
outside of the tree.

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

20 years ago * MethodDef.cs: Add a method to create vararg signatures from a
Jackson Harper [Sat, 19 Jun 2004 16:12:47 +0000 (16:12 -0000)]
    * MethodDef.cs: Add a method to create vararg signatures from a
list of typerefs that matches the algorithm for creating vararg
signatures from paramdefs. This is used when creating methodref
signatures.
* MethodRef.cs: Use the new CreateVarargSignature method to create
the methods signature if it is a vararg method.

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

20 years agoTest with metadata-related API sample usage.
Paolo Molaro [Sat, 19 Jun 2004 15:10:45 +0000 (15:10 -0000)]
Test with metadata-related API sample usage.

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

20 years agoSat Jun 19 17:56:50 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 19 Jun 2004 15:08:58 +0000 (15:08 -0000)]
Sat Jun 19 17:56:50 CEST 2004 Paolo Molaro <lupus@ximian.com>

* *.c, *.h: more API cleanups.

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

20 years ago2004-06-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 19 Jun 2004 13:11:50 +0000 (13:11 -0000)]
2004-06-19  Atsushi Enomoto  <atsushi@ximian.com>

* FloatingPointFormatter.cs : Literal string should be kept in the
  output.

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

20 years ago2004-06-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 19 Jun 2004 13:11:23 +0000 (13:11 -0000)]
2004-06-19  Atsushi Enomoto  <atsushi@ximian.com>

* FloatingPointFormatterTest.cs : Format literal (i.e. '...') in
  format string should be kept as is.

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

20 years agoChanged some public constructors to private to match MS' implementation
Jochen Wezel [Sat, 19 Jun 2004 11:03:42 +0000 (11:03 -0000)]
Changed some public constructors to private to match MS' implementation

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

20 years ago* Consts.cs: Added
Gert Driesen [Sat, 19 Jun 2004 10:42:34 +0000 (10:42 -0000)]
* Consts.cs: Added

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

20 years ago2004-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 19 Jun 2004 10:24:16 +0000 (10:24 -0000)]
2004-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TemplateControlCompiler.cs: for system colors, use SystemColors class
instead of Color. Fixes bug #60249.

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

20 years agoDocument function remapping, too.
Paolo Molaro [Sat, 19 Jun 2004 09:42:23 +0000 (09:42 -0000)]
Document function remapping, too.

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

20 years ago2004-06-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 19 Jun 2004 07:29:22 +0000 (07:29 -0000)]
2004-06-19  Atsushi Enomoto <atsushi@ximian.com>

* mono-api-diff.cs : tiny fix on warning output.

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

20 years ago2004-06-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 19 Jun 2004 01:26:02 +0000 (01:26 -0000)]
2004-06-19  Martin Baulig  <martin@ximian.com>

* MonoSymbolTable.cs
(SourceFileTable.Namespaces): New public property.

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

20 years ago * man/mono.1: Add MONO_LOG_LEVEL and MONO_LOG_MASK
Jackson Harper [Fri, 18 Jun 2004 23:35:58 +0000 (23:35 -0000)]
    * man/mono.1: Add MONO_LOG_LEVEL and MONO_LOG_MASK

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

20 years ago * assembly.c: Trace loading assemblies.
Jackson Harper [Fri, 18 Jun 2004 22:06:53 +0000 (22:06 -0000)]
    * assembly.c: Trace loading assemblies.
* loader.c: Trace loading native libraries.
* mono-config.c: Trace loading config files.

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

20 years ago * mono-logger.c/h: Add a trace mask option for tracing loading
Jackson Harper [Fri, 18 Jun 2004 22:03:10 +0000 (22:03 -0000)]
    * mono-logger.c/h: Add a trace mask option for tracing loading
config files. A little white space love.

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

20 years ago2004-06-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 18 Jun 2004 21:07:55 +0000 (21:07 -0000)]
2004-06-18  Martin Baulig  <martin@ximian.com>

* generics.cs (GenericMethod.ctor): Don't take an Attributes
argument.  Fixes #60441.

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

20 years agoEnable FC2
Duncan Mak [Fri, 18 Jun 2004 21:03:35 +0000 (21:03 -0000)]
Enable FC2

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

20 years agoFix broken ABI for stack parameters
Neale Ferguson [Fri, 18 Jun 2004 20:03:01 +0000 (20:03 -0000)]
Fix broken ABI for stack parameters

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

20 years agoFix
Miguel de Icaza [Fri, 18 Jun 2004 19:30:24 +0000 (19:30 -0000)]
Fix

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

20 years ago2004-06-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 18 Jun 2004 19:12:03 +0000 (19:12 -0000)]
2004-06-18  Sebastien Pouliot  <sebastien@ximian.com>

* ReturnMessage.cs: Added IMessage interface to class definition.

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

20 years ago2004-06-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 18 Jun 2004 19:08:04 +0000 (19:08 -0000)]
2004-06-18  Sebastien Pouliot  <sebastien@ximian.com>

* StrongNameMembershipCondition.cs: Added missing [Serializable]
attribute.
* ZoneMembershipCondition.cs: Added missing [Serializable] attribute.

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

20 years agomore v2 classes some workarounds are here for gmcs bugs
Ben Maurer [Fri, 18 Jun 2004 18:32:31 +0000 (18:32 -0000)]
more v2 classes some workarounds are here for gmcs bugs

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

20 years ago2004-06-18 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 18 Jun 2004 18:15:56 +0000 (18:15 -0000)]
2004-06-18  Dick Porter  <dick@ximian.com>

* event-private.h:
* events.c: Auto-reset events need to release one thread for each
time SetEvent() is called.  Fixes bug 41292.

* threads.h:
* mutex-private.h:
* mutexes.c: Scan for mutexes that are still locked by a thread
when it exits.  Fixes the MS demo app linked by bug 41292.

* wait.c (test_and_own): Make sure a handle is signalled before it
is owned.

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

20 years ago2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 18 Jun 2004 17:48:27 +0000 (17:48 -0000)]
2004-06-18  Atsushi Enomoto  <atsushi@ximian.com>

* DateTime.cs : Concatenating whitespace removal was not working fine.
  Modified FormatException message (1 cent kindness).

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

20 years agoThread exiting behaviour
Dick Porter [Fri, 18 Jun 2004 17:29:27 +0000 (17:29 -0000)]
Thread exiting behaviour

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

20 years ago* IStateRuntime.cs: added missing marshalling attributes
Gert Driesen [Fri, 18 Jun 2004 17:24:05 +0000 (17:24 -0000)]
* IStateRuntime.cs: added missing marshalling attributes

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

20 years ago* IAppDomainFactory.cs: added missing marshalling attributes
Gert Driesen [Fri, 18 Jun 2004 17:22:44 +0000 (17:22 -0000)]
* IAppDomainFactory.cs: added missing marshalling attributes
* IISAPIRuntime.cs: added missing marshalling attributes

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

20 years ago2004-06-18 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Fri, 18 Jun 2004 17:18:10 +0000 (17:18 -0000)]
2004-06-18  Ben Maurer  <bmaurer@ximian.com>

* Action.cs, ArraySegment.cs, Comparison.cs, Converter.cs, Predicate.cs:
new generics classes
* IComparable.cs: add the new <T> version.
* EventHandler.cs: new <T> version.

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

20 years agoFix windows build.
Paolo Molaro [Fri, 18 Jun 2004 17:16:14 +0000 (17:16 -0000)]
Fix windows build.

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

20 years ago* IComManagedImportUtil.cs: added missing marshalling attributes
Gert Driesen [Fri, 18 Jun 2004 17:08:49 +0000 (17:08 -0000)]
* IComManagedImportUtil.cs: added missing marshalling attributes
* IComSoapIISVRoot.cs: added missing marshalling attributes
* IComSoapMetadata.cs: added missing marshalling attributes
* IComSoapPublisher.cs: added missing marshalling attributes
* IServerWebConfig.cs: added missing marshalling attributes
* ISoapClientImport.cs: added missing marshalling attributes
* ISoapServerTlb.cs: added missing marshalling attributes
* ISoapServerVRoot.cs: added missing marshalling attributes
* ISoapUtility.cs: added missing marshalling attributes

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

20 years ago* Compensator.cs: fixed return value of CommitRecord method
Gert Driesen [Fri, 18 Jun 2004 17:01:51 +0000 (17:01 -0000)]
* Compensator.cs: fixed return value of CommitRecord method

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

20 years ago* AuthenticationOption.cs: fixed enum field values to match MS.NET
Gert Driesen [Fri, 18 Jun 2004 16:59:14 +0000 (16:59 -0000)]
* AuthenticationOption.cs: fixed enum field values to match MS.NET
* IProcessInitializer.cs: added missing marshalling attributes
* IRegistrationHelper.cs: added missing marshalling attributes
* ImpersonationLevelOption: fixed enum field values to match MS.NET
* InstallationFlags: fixed enum field values to match MS.NET
* PropertyLockMode: fixed enum field values to match MS.NET
* PropertyReleaseMode: fixed enum field values to match MS.NET
* RegistrationHelper: added missing marshalling attributes
* RegistrationHelperTx: added missing marshalling attributes
* SynchronizationOption: fixed enum field values to match MS.NET
* TransactionIsolationLevel: fixed enum field values to match MS.NET
* TransactionVote: fixed enum field values to match MS.NET

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

20 years agoFri Jun 18 19:39:09 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 18 Jun 2004 16:49:57 +0000 (16:49 -0000)]
Fri Jun 18 19:39:09 CEST 2004 Paolo Molaro <lupus@ximian.com>

* Makefile.am: process data before runtime, so the config file is
installed and gacutil has a chance to work (finding symlink).

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

20 years ago* SqlNullValueException.cs: fixed serialization
Gert Driesen [Fri, 18 Jun 2004 15:40:47 +0000 (15:40 -0000)]
* SqlNullValueException.cs: fixed serialization
* SqlTruncateException.cs: fixed serialization
* SqlTypeException.cs: fixed serialization

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

20 years ago* OleDbError.cs: fixed serialization compatibility with MS.NET
Gert Driesen [Fri, 18 Jun 2004 15:38:10 +0000 (15:38 -0000)]
* OleDbError.cs: fixed serialization compatibility with MS.NET
* OleDbErrorCollection.cs: fixed serialization compatibility with
MS.NET

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

20 years ago* OdbcError.cs: fixed serialization compatibility with MS.NET
Gert Driesen [Fri, 18 Jun 2004 15:37:16 +0000 (15:37 -0000)]
* OdbcError.cs: fixed serialization compatibility with MS.NET
* OdbcErrorCollection.cs: fixed serialization compatibility with
MS.NET
* OdbcException.cs: fixed serialization compatibility with MS.NET

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

20 years agoFri Jun 18 18:24:28 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 18 Jun 2004 15:34:57 +0000 (15:34 -0000)]
Fri Jun 18 18:24:28 CEST 2004 Paolo Molaro <lupus@ximian.com>

* mini.c, mini.h, mini-ppc.c: handle varargs methods with a special
case until bug #59509 is fixed (shows up in #60332).

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

20 years ago* DBConcurrentcyException.cs: CRLF to LF
Gert Driesen [Fri, 18 Jun 2004 15:34:23 +0000 (15:34 -0000)]
* DBConcurrentcyException.cs: CRLF to LF
* DataViewSetting.cs: CRLF to LF

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

20 years ago*** empty log message ***
Gert Driesen [Fri, 18 Jun 2004 15:29:34 +0000 (15:29 -0000)]
*** empty log message ***

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

20 years agoCorrecting some errors of last checkin.
Ravindra [Fri, 18 Jun 2004 15:12:34 +0000 (15:12 -0000)]
Correcting some errors of last checkin.

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

20 years ago * FontConverter.cs: Implemented the missing functions.
Ravindra [Fri, 18 Jun 2004 14:56:07 +0000 (14:56 -0000)]
* FontConverter.cs: Implemented the missing functions.
* Font.cs: Added some notes.

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

20 years ago * mono-logger.c: Change default logging level to ERROR. Make sure
Jackson Harper [Fri, 18 Jun 2004 14:46:40 +0000 (14:46 -0000)]
    * mono-logger.c: Change default logging level to ERROR. Make sure
that mono_trace_init is called if mono_tracev is our first trace
statement is mono_tracev. Little indentation fix.

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

20 years ago2004-06-18 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 18 Jun 2004 13:53:19 +0000 (13:53 -0000)]
2004-06-18  Dick Porter  <dick@ximian.com>

* String.cs: The icall can cope with embedded \0 now.

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

20 years ago2004-06-18 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 18 Jun 2004 13:52:57 +0000 (13:52 -0000)]
2004-06-18  Dick Porter  <dick@ximian.com>

* locales.c: Tell ICU the lengths of strings, it can cope with
embedded \0 then.  Fixes bug 59274, and doesn't break bug 55822.

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

20 years ago2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 18 Jun 2004 12:32:14 +0000 (12:32 -0000)]
2004-06-18  Atsushi Enomoto <atsushi@ximian.com>

* XmlDataDocumentTest2.cs : When line ending is LF, CR is preserved.
  To reproduce on windows too, set NewLine as LF.

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

20 years ago2004-06-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 18 Jun 2004 12:27:03 +0000 (12:27 -0000)]
2004-06-18  Marek Safar <marek.safar@seznam.cz>

* test-274.cs: New test for #60219

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

20 years ago2004-06-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 18 Jun 2004 12:23:29 +0000 (12:23 -0000)]
2004-06-18  Marek Safar  <marek.safar@seznam.cz>

Fix bug #60219
  * class.cs (ConstructorInitializer.GetOverloadedConstructor):
  Don't throw exception but return null (it's sufficient now).

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

20 years ago* runtime/Makefile.am ($(monoone_DATA) $(monotwo_DATA) $(monobins_DATA)):
Raja R Harinath [Fri, 18 Jun 2004 12:07:45 +0000 (12:07 -0000)]
* runtime/Makefile.am ($(monoone_DATA) $(monotwo_DATA) $(monobins_DATA)):
Test if files exist in the mcs/ tree before creating symlinks.
Remove symlinks before creating them again.
* runtime/net_1_1/Makefile.am (mscorlib.dll $(gac_assemblies)): Likewise.
* runtime/net_2_0/Makefile.am (mscorlib.dll $(gac_assemblies)): Likewise.

Make real bug more explicit.

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

20 years ago2004-06-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 18 Jun 2004 12:00:32 +0000 (12:00 -0000)]
2004-06-18  Marek Safar  <marek.safar@seznam.cz>

  * typemanager.cs (GetArgumentTypes): Faster implementation.

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

20 years ago2004-06-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 18 Jun 2004 11:31:25 +0000 (11:31 -0000)]
2004-06-18  Marek Safar <marek.safar@seznam.cz>

* test-273.cs: New test for #55971

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

20 years agoFri Jun 18 13:46:05 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 18 Jun 2004 10:55:21 +0000 (10:55 -0000)]
Fri Jun 18 13:46:05 CEST 2004 Paolo Molaro <lupus@ximian.com>

* mono-jni.c: updates for the API cleanups.

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

20 years ago2004-06-18 Umadevi S <sumadevi@novell.com>
Umadevi S [Fri, 18 Jun 2004 10:33:17 +0000 (10:33 -0000)]
2004-06-18 Umadevi S <sumadevi@novell.com>
        * DataContainer.cs - CheckedforNull before calling the relavant setmethods in each of the
                SetItemForDataRecord method for all the classes.

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

20 years ago2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 18 Jun 2004 09:50:34 +0000 (09:50 -0000)]
2004-06-18  Atsushi Enomoto  <atsushi@ximian.com>

* CodeIdentifier.cs, CodeIdentifiers.cs, MapCodeGenerator.cs,
  SerializationCodeGenerator.cs, SerializationSource.cs,
  TypeTranslator.cs, XmlAttributeOverrides.cs, XmlCustomFormatter.cs,
  XmlSerializationReader.cs, XmlSerializationWriter.cs,
  XmlSerializer.cs, XmlTypeMapMemberElement.cs, XmlTypeMapping.cs
  : Globalization fixes.
    In XmlCustomFormatter.GenerateToXmlString() time was not
    generated correctly.
    Replaced all CRLF XmlAttributeOverrides.cs into LF.

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

20 years agoInteraction.cs: Shell method implemented
Anirban Bhattacharjee [Fri, 18 Jun 2004 09:32:18 +0000 (09:32 -0000)]
Interaction.cs: Shell method implemented

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

20 years ago2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 18 Jun 2004 09:11:48 +0000 (09:11 -0000)]
2004-06-18  Atsushi Enomoto  <atsushi@ximian.com>

* DateTime.cs :
  - Added new common pattern "yyyy/M/dZ"
  - empty string should not be compared in _ParseEnum()
  - Use culture independent string comparison in _ParseString()
  - Whitespace removal should be checked after '..' token check (some
    pattern such like es-ES LongDatePattern contains spaces in '..').
  - formats null check should be done (to throw ArgumentNullException)
    in ParseExact().
  - When specified one character format, dates are incorrectly regarded
    as to use invariant culture.

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

20 years agoFri Jun 18 11:59:57 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 18 Jun 2004 09:09:37 +0000 (09:09 -0000)]
Fri Jun 18 11:59:57 CEST 2004 Paolo Molaro <lupus@ximian.com>

* image.c: swapped name/filename;

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

20 years ago2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 18 Jun 2004 09:04:39 +0000 (09:04 -0000)]
2004-06-18  Atsushi Enomoto  <atsushi@ximian.com>

* DateTimeTest.cs : Improved CultureIndependentTests(). Error message
  contains specific locale and error location. Verified by run-test-
  ondotnet and commented out X509-like pattern.(not all culture passes)

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

20 years agoSome formatting and cleanup.
Ravindra [Fri, 18 Jun 2004 08:39:39 +0000 (08:39 -0000)]
Some formatting and cleanup.

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

20 years ago(REWRITE): New. Common rewriting 'sed' command.
Raja R Harinath [Fri, 18 Jun 2004 08:36:21 +0000 (08:36 -0000)]
(REWRITE): New.  Common rewriting 'sed' command.
(bin_SCRIPTS): Unify all the script generating rules into one.

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

20 years agofix line-delete-o.
Raja R Harinath [Fri, 18 Jun 2004 07:53:04 +0000 (07:53 -0000)]
fix line-delete-o.

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

20 years agoFix breaking build (see tests/test-272.cs). Since corlib is a
Raja R Harinath [Fri, 18 Jun 2004 07:45:21 +0000 (07:45 -0000)]
Fix breaking build (see tests/test-272.cs).  Since corlib is a
bootstrap library, we have to keep this fix even if the in-tree
mcs compiler is fixed.
* UCOMIEnumConnections.cs: Replace '(UnmanagedType) 80' in
attribute field initialization with Consts.UnmanagedType_80.
* UCOMIEnumMoniker.cs: Likewise.
* UCOMIEnumString.cs: Likewise.
* UCOMIStream.cs: Likewise.
* UCOMITypeInfo.cs: Likewise.
* UCOMITypeLib.cs: Likewise.

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

20 years ago(UnmanagedType_80): New constant. Used to workaround
Raja R Harinath [Fri, 18 Jun 2004 07:44:55 +0000 (07:44 -0000)]
(UnmanagedType_80): New constant.  Used to workaround
problems like in tests/test-272.cs.

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

20 years agoNew test case for the breaking build.
Raja R Harinath [Fri, 18 Jun 2004 07:39:32 +0000 (07:39 -0000)]
New test case for the breaking build.

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

20 years ago* ArgIterator.cs: changed layout to Auto
Gert Driesen [Fri, 18 Jun 2004 06:33:49 +0000 (06:33 -0000)]
* ArgIterator.cs: changed layout to Auto
* DateTime.cs: changed layout to Auto

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

20 years ago* DateTime.cs: CRLF to LF
Gert Driesen [Fri, 18 Jun 2004 06:30:40 +0000 (06:30 -0000)]
* DateTime.cs: CRLF to LF

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

20 years agoFixed bugs in Val(string)
Sachin Kumar [Fri, 18 Jun 2004 06:21:09 +0000 (06:21 -0000)]
Fixed bugs in Val(string)

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

20 years ago2004-06-18 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Fri, 18 Jun 2004 06:08:10 +0000 (06:08 -0000)]
2004-06-18 Anirban Bhattacharjee <banirban@novell.com>
        * Interaction.cs: Few methods implemented - Contribution by Jambunathan and Anirban

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

20 years ago2004-06-18 Umadevi S <sumadevi@novell.com>
Umadevi S [Fri, 18 Jun 2004 06:01:40 +0000 (06:01 -0000)]
2004-06-18 Umadevi S <sumadevi@novell.com>
        * SqlCommand.cs - ExecuteNonQuery returns -1 in all cases except
                insert,update or delete.

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

20 years ago* BINDPTR.cs: have layout and charset match MS.NET
Gert Driesen [Fri, 18 Jun 2004 05:53:26 +0000 (05:53 -0000)]
* BINDPTR.cs: have layout and charset match MS.NET
* CONNECTDATA.cs: have layout and charset match MS.NET
* DISPPARAMS.cs: have layout and charset match MS.NET
* ELEMDESC.cs: have layout and charset match MS.NET
* EXCEPINFO.cs: have layout and charset match MS.NET
* IDLDESC.cs: have layout and charset match MS.NET
* PARAMDESC.cs: have layout and charset match MS.NET
* STATSTG.cs: have layout and charset match MS.NET
* TYPEATTR.cs: have layout and charset match MS.NET
* TYPEDESC.cs: have layout and charset match MS.NET
* TYPELIBATTR.cs: have layout and charset match MS.NET
* VARDESC.cs: have layout and charset match MS.NET

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

20 years ago* ArrayWithOffset.cs: fixed GetOffset to return int instead of
Gert Driesen [Fri, 18 Jun 2004 05:17:25 +0000 (05:17 -0000)]
* ArrayWithOffset.cs: fixed GetOffset to return int instead of
object
* CONNECTDATA.cs: added missing MarshalAs attribute
* EXCEPINFO.cs: added missing MarshalAs attributes
* ITypeLibConverter.cs: added missing MarshalAs attributes
* ITypeLibImporterNotifySink.cs: added missing MarshalAs attributes
* Marshal.cs: added missing MarshalAs attributues, and missing
Out attributes
* TypeLibConverter.cs: added missing MarshalAs attributes
* UCOMIBindCtx.cs: added missing MarshalAs attributes
* UCOMIConnectionPoint.cs: added missing MarshalAs attributes
* UCOMIEnumConnectionPoints.cs: added missing MarshalAs attributes
* UCOMIEnumConnections.cs: added missing PreserveSig attributes,
added missing MarshalAs attributes
* UCOMIEnumMoniker.cs: added missing PreserveSig attributes,
added missing MarshalAs attributes
* UCOMIEnumString.cs: added missing PreserveSig attributes,
added missing MarshalAs attributes
* UCOMIMoniker.cs: added missing MarshalAs attributes
* UCOMIPersistFile.cs: added missing PreserveSig attribute,
added missing MarshalAs attributes
* UCOMIRunningObjectTable.cs: added missing MarshalAs attributes
* UCOMIStream.cs: added missing MarshalAs attributes
* UCOMITypeComp.cs: added missing MarshalAs attributes
* UCOMITypeInfo.cs: added missing MarshalAs attributes
* UCOMITypeLib.cs: added missing PreserveSig attributes, added
missing MarshalAs attributes

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

20 years ago2004-06-18 Umadevi S <sumadevi@novell.com>
Umadevi S [Fri, 18 Jun 2004 04:23:08 +0000 (04:23 -0000)]
2004-06-18 Umadevi S <sumadevi@novell.com>
        * SqlConnection.cs - handled null being passed as a connectionstring
          - checked for minimal set of parameters in connectionstring.
          - handled unrecogonized keywords similar to MS.NET

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