mono.git
17 years agoAdd MONO_OPTIONS here
Miguel de Icaza [Tue, 15 Aug 2006 16:48:13 +0000 (16:48 -0000)]
Add MONO_OPTIONS here

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

17 years ago2006-08-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 15 Aug 2006 15:45:40 +0000 (15:45 -0000)]
2006-08-15  Sebastien Pouliot  <sebastien@ximian.com>

* FontFamilyTest.cs: Ignore test cases if we cannot get any font
family from GDI+.
* TestFont.cs: Ignore test cases if we cannot get any font family
from GDI+.

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

17 years ago2006-08-15 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 15 Aug 2006 15:45:07 +0000 (15:45 -0000)]
2006-08-15  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs (SetZOrder): Handle raising toplevel windows

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

17 years ago2006-08-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Aug 2006 15:11:54 +0000 (15:11 -0000)]
2006-08-15  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_init): Fix registration of idiv/imul opcodes which can throw
exceptions.

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

17 years ago2006-08-15 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 15 Aug 2006 14:31:43 +0000 (14:31 -0000)]
2006-08-15  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)

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

17 years ago2006-08-15 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 15 Aug 2006 14:16:59 +0000 (14:16 -0000)]
2006-08-15  Peter Dennis Bartok  <pbartok@novell.com>

* MessageBox.cs: Prevent potential NRE exception.
* TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889

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

17 years agoOnBubleEvent works properly - controls like Button, LinkButton nested into template...
Igor Zelmanovich [Tue, 15 Aug 2006 14:06:27 +0000 (14:06 -0000)]
OnBubleEvent works properly - controls like Button, LinkButton nested into template can raise MenuItemClick event

ViewState of Items saved and restored properly.

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

17 years agoGrasshopper now supports remoting.
Eyal Alalouf [Tue, 15 Aug 2006 13:43:19 +0000 (13:43 -0000)]
Grasshopper now supports remoting.

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

17 years agoTARGET_JVM: adding msbuild project files
Konstantin Triger [Tue, 15 Aug 2006 13:43:14 +0000 (13:43 -0000)]
TARGET_JVM: adding msbuild project files

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

17 years agoremove WindowsAuthentication related types as WindowsAuthentication is not supported
Konstantin Triger [Tue, 15 Aug 2006 13:29:58 +0000 (13:29 -0000)]
remove WindowsAuthentication related types as WindowsAuthentication is not supported

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

17 years agoNo support for Nullable<bool>.GetValueOrDefault() yet
Konstantin Triger [Tue, 15 Aug 2006 13:26:49 +0000 (13:26 -0000)]
No support for Nullable<bool>.GetValueOrDefault() yet

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

17 years agoremove XslCompiledTransform from compilation
Konstantin Triger [Tue, 15 Aug 2006 12:28:02 +0000 (12:28 -0000)]
remove XslCompiledTransform from compilation

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

17 years agoadding msbuild project file
Konstantin Triger [Tue, 15 Aug 2006 12:24:20 +0000 (12:24 -0000)]
adding msbuild project file

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

17 years agoupgrade to msbuild
Konstantin Triger [Tue, 15 Aug 2006 12:21:34 +0000 (12:21 -0000)]
upgrade to msbuild

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

17 years ago2006-08-15 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 15 Aug 2006 09:49:28 +0000 (09:49 -0000)]
2006-08-15  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * MakeDir.cs, Touch.cs, ReadLinesFromFile.cs, RemoveDir.cs, Delete.cs,
        Message.cs, FindUnderPath.cs, GenerateResource.cs, Copy.cs: Start to
        use generics.

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

17 years ago2006-08-15 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 15 Aug 2006 09:41:01 +0000 (09:41 -0000)]
2006-08-15  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * ReservedNameUtils.cs: Removed redundant function call.

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

17 years ago2006-08-15 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 15 Aug 2006 09:29:31 +0000 (09:29 -0000)]
2006-08-15  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildTask.cs, UsingTaskCollection.cs, ImportCollection.cs,
        Target.cs, TaskDatabase.cs, TaskEngine.cs, BuildItemGroup.cs,
        BuildChoose.cs, DirectoryScanner.cs, BuildPropertyGroup.cs,
        TargetCollection.cs, Engine.cs, Project.cs: Started to use generics.

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

17 years agonew tests were added
Igor Zelmanovich [Tue, 15 Aug 2006 09:08:42 +0000 (09:08 -0000)]
new tests were added

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

17 years agoremove SqlTypes and some 2.0 tests
Konstantin Triger [Tue, 15 Aug 2006 08:13:15 +0000 (08:13 -0000)]
remove SqlTypes and some 2.0 tests

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

17 years agosupport profile net_2_0
Andrew Skiba [Tue, 15 Aug 2006 07:50:20 +0000 (07:50 -0000)]
support profile net_2_0

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

17 years ago2006-08-14 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Mon, 14 Aug 2006 23:21:57 +0000 (23:21 -0000)]
2006-08-14  Peter Dennis Bartok  <pbartok@novell.com>

* MessageBox.cs: Calculate the owner of a messagebox, also make
  it topmost. Fixes #78753

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

17 years ago2006-08-14 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 14 Aug 2006 22:34:18 +0000 (22:34 -0000)]
2006-08-14  Chris Toshok  <toshok@ximian.com>

* XplatUIX11.cs: A couple of fixes so that metacity will let us
programmatically move windows.  first, set the PPosition hint as
well as the USPosition hint.  Second include some code from pdb
that sets the window type to NORMAL when we set the transient for
hint.  This is because, in the absence of a window type, metacity
thinks any window with TransientFor set is a dialog, and refuses
to let us move it programmatically.  fascists.

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

17 years ago2006-08-14 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Mon, 14 Aug 2006 22:22:16 +0000 (22:22 -0000)]
2006-08-14  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs: When setting normal hints, take into consideration
  an different hints previously set so we don't delete them (fixes #78866)

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

17 years ago2006-08-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 14 Aug 2006 18:32:24 +0000 (18:32 -0000)]
2006-08-14  Sebastien Pouliot  <sebastien@ximian.com>

* GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
struct like it's currently defined inside SD).

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

17 years agoPatch #37.
Martin Baulig [Mon, 14 Aug 2006 18:07:06 +0000 (18:07 -0000)]
Patch #37.

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

17 years agoPatch #35.
Martin Baulig [Mon, 14 Aug 2006 16:22:36 +0000 (16:22 -0000)]
Patch #35.

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

17 years ago2006-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 14 Aug 2006 16:19:33 +0000 (16:19 -0000)]
2006-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FormsAuthentication.cs: set the Secure attribute of the authentication
cookie when required.

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

17 years agouse ResolveClientUrl instead of ResolveUrl to be complient with MS.NET
Andrew Skiba [Mon, 14 Aug 2006 16:05:27 +0000 (16:05 -0000)]
use ResolveClientUrl instead of ResolveUrl to be complient with MS.NET

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

17 years agoremove writeline
Chris Toshok [Mon, 14 Aug 2006 15:58:12 +0000 (15:58 -0000)]
remove writeline

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

17 years ago2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Aug 2006 15:54:23 +0000 (15:54 -0000)]
2006-08-14  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReader.cs : When a whitespace node comes after a text
  declaration in XML external entity (i.e. .ctor() with
  XmlNodeType.Element), it contained extra value character ('<').

* XmlTextReaderTests.cs : added test for whitespace node value which
  comes after a text declaration in XML external entity (i.e. .ctor()
  with XmlNodeType.Element).

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

17 years ago2006-08-14 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 14 Aug 2006 15:37:59 +0000 (15:37 -0000)]
2006-08-14  Chris Toshok  <toshok@ximian.com>

* SerialPort.cs: the paths returned by Directory.GetFiles have the
directory at the beginning of the string.

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

17 years ago2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Aug 2006 14:38:42 +0000 (14:38 -0000)]
2006-08-14  Atsushi Enomoto  <atsushi@ximian.com>

* mono.1 : MONO_LOCAL_EVENTLOG_PATH -> MONO_EVENTLOG_PATH.

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

17 years ago2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Aug 2006 14:38:21 +0000 (14:38 -0000)]
2006-08-14  Atsushi Enomoto  <atsushi@ximian.com>

* LocalFileEventLog.cs : change lengthy environment variable name.
  MONO_LOCAL_EVENTLOG_PATH -> MONO_EVENTLOG_PATH.

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

17 years agoimplemented specialized CopyTo() method
Konstantin Triger [Mon, 14 Aug 2006 13:56:09 +0000 (13:56 -0000)]
implemented specialized CopyTo() method

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

17 years agoPatch #34.
Martin Baulig [Mon, 14 Aug 2006 13:49:24 +0000 (13:49 -0000)]
Patch #34.

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

17 years ago* IDataSourceFieldSchema.cs: New. Used by dll in #79012 testcase.
Raja R Harinath [Mon, 14 Aug 2006 13:40:18 +0000 (13:40 -0000)]
* IDataSourceFieldSchema.cs: New.  Used by dll in #79012 testcase.

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

17 years agoPatch #33.
Martin Baulig [Mon, 14 Aug 2006 13:22:31 +0000 (13:22 -0000)]
Patch #33.

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

17 years ago* IRaiseItemChangedEvents.cs: Add. Mentioned in #79012.
Raja R Harinath [Mon, 14 Aug 2006 12:55:27 +0000 (12:55 -0000)]
* IRaiseItemChangedEvents.cs: Add.  Mentioned in #79012.

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

17 years agoFix part of #79012
Raja R Harinath [Mon, 14 Aug 2006 12:37:59 +0000 (12:37 -0000)]
Fix part of #79012
* metadata.c (do_mono_metadata_parse_generic_class): Don't SEGV if
mono_metadata_parse_type returns NULL.

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

17 years agoIn gmcs:
Raja R Harinath [Mon, 14 Aug 2006 11:57:42 +0000 (11:57 -0000)]
In gmcs:
Fix #79067
* cs-tokenizer.cs (parse_less_than): Allow '*' to appear in a type
parameter too.  This only avoids a parse error -- the semantic
error is caught elsewhere.

In errors:
* gcs0306.cs: New test based on #79067.

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

17 years agosupport net_2_0 PROFILE
Andrew Skiba [Mon, 14 Aug 2006 11:48:37 +0000 (11:48 -0000)]
support net_2_0 PROFILE

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

17 years agoIn System:
Raja R Harinath [Mon, 14 Aug 2006 08:59:56 +0000 (08:59 -0000)]
In System:
Fix #78943
* Activator.cs (CreateInstance): Throw ArgumentException on open
generic types.

In Test/System:
* ActivatorTest.cs (GenericType_Open1): New test based on #78943.
(GenericType_Open2, GenericTypes_Closed): Likewise.

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

17 years agorevert the ChangeLog massacre ;-)
Atsushi Eno [Mon, 14 Aug 2006 08:21:20 +0000 (08:21 -0000)]
revert the ChangeLog massacre ;-)

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

17 years agoTARGET_JVM: adding msbuild project files
Konstantin Triger [Mon, 14 Aug 2006 08:11:33 +0000 (08:11 -0000)]
TARGET_JVM: adding msbuild project files

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

17 years agofixed data binding feature:
Igor Zelmanovich [Mon, 14 Aug 2006 07:48:02 +0000 (07:48 -0000)]
fixed data binding feature:
ensure that items initialization occurs only once

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

17 years agoAdd comment
Miguel de Icaza [Mon, 14 Aug 2006 07:21:49 +0000 (07:21 -0000)]
Add comment

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

17 years agoMore 2.0 support for the registry, add support for expanding strings
Miguel de Icaza [Mon, 14 Aug 2006 07:20:46 +0000 (07:20 -0000)]
More 2.0 support for the registry, add support for expanding strings
and add support for type verification and explicit types in Setvalue.

The tests from the docs work now.

2006-08-14  Miguel de Icaza  <miguel@novell.com>

* RegistryValueKind.cs: Make this public in 2.0, and rename from
previous version.

* Win32RegistryApi.cs: Include version to check for version;
Eliminate old internal enum, and instead use the new 2.0 enum.

* UnixRegistryApi.cs: Add support for typed versions of values.

Add support for ExpandString.

* Registry.cs (SetValue): implement version with type arguments.

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

17 years agoAnother build fix, sorry
Miguel de Icaza [Mon, 14 Aug 2006 06:20:33 +0000 (06:20 -0000)]
Another build fix, sorry

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

17 years ago2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Aug 2006 06:19:09 +0000 (06:19 -0000)]
2006-08-14  Atsushi Enomoto  <atsushi@ximian.com>

* mono.1 : description on MONO_LOCAL_EVENTLOG_PATH.

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

17 years ago2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Aug 2006 06:10:01 +0000 (06:10 -0000)]
2006-08-14  Atsushi Enomoto  <atsushi@ximian.com>

* System.dll.sources : added LocalFileEventLog.cs and NullEventLog.cs.

* EventLogImpl.cs, EventLogEntryCollection.cs, EventLog.cs :
  some rework to support actual event log implementations.
* NullEventLog.cs, LocalFileEventLog.cs :
  new files. The former (default) implementation does nothing for
  any event log features. The latter implements local file based
  event logs.

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

17 years ago2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Aug 2006 06:00:46 +0000 (06:00 -0000)]
2006-08-14  Atsushi Enomoto  <atsushi@ximian.com>

* UnixEventLog.cs, EventLogEntry.cs, EventSourceCreationData.cs,
  EventLogImpl.cs, Win32EventLog.cs, EventLogEntryCollection.cs,
  EventLog.cs:
  Reverted previous two changes that does not work at all.

* System.dll.sources : reverted all recent changes on EventLogs.
  It does not work at all.

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

17 years ago2006-08-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 14 Aug 2006 05:32:31 +0000 (05:32 -0000)]
2006-08-14  Miguel de Icaza  <miguel@novell.com>

* MonoType.cs: Do the argument testinf for SetField later,
otherwise the implicit (and not documented, but already considered
side effect of checking SetProperty) did not work.

Bug fix #79023

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

17 years agoBuild fix
Miguel de Icaza [Mon, 14 Aug 2006 05:30:14 +0000 (05:30 -0000)]
Build fix

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

17 years ago2006-08-13 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 14 Aug 2006 03:49:08 +0000 (03:49 -0000)]
2006-08-13  Miguel de Icaza  <miguel@novell.com>

* Registry.cs (SetValue, GetValue): implement.

* UnixRegistryApi.cs (KeyHandler.LoadKey, KeyHandler.Save): Add
support for qwords.

(KeyHandler.Save): Do not save the entries if they have been
deleted/dropped.   Fixes a crash.

(UnixRegistryApi.DeleteKey): bug fix, call ToUnix on the keyname.

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

17 years ago2006-08-13 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 14 Aug 2006 03:31:44 +0000 (03:31 -0000)]
2006-08-13  Miguel de Icaza  <miguel@novell.com>

* assign.cs: Catch attempts to assign to a method groups in += and
report as 1656

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

17 years agoCondition when we reset
Miguel de Icaza [Mon, 14 Aug 2006 01:52:12 +0000 (01:52 -0000)]
Condition when we reset

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

17 years ago2006-08-13 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 14 Aug 2006 01:46:11 +0000 (01:46 -0000)]
2006-08-13  Miguel de Icaza  <miguel@novell.com>

* SerialPort.cs (ReadTo): Implemented.
Add a couple of missing checks.

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

17 years agoUpdate
Miguel de Icaza [Mon, 14 Aug 2006 01:37:59 +0000 (01:37 -0000)]
Update

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

17 years ago2006-08-13 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 14 Aug 2006 01:18:03 +0000 (01:18 -0000)]
2006-08-13  Miguel de Icaza  <miguel@novell.com>

* SerialPort.cs: Also handle ttyUSB for Chris.

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

17 years agoA few more DefaultValueAttributes
Miguel de Icaza [Mon, 14 Aug 2006 01:09:17 +0000 (01:09 -0000)]
A few more DefaultValueAttributes

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

17 years agoFix namespace
Miguel de Icaza [Mon, 14 Aug 2006 01:08:57 +0000 (01:08 -0000)]
Fix namespace

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

17 years ago2006-08-13 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 13 Aug 2006 22:13:18 +0000 (22:13 -0000)]
2006-08-13  Miguel de Icaza  <miguel@novell.com>

* SerialPortStream.cs (BytesToRead, BytesToWrite): Implement.

* SerialPort.cs (ReadByte): Go directly to the stream, no need to
call the wrapper code.

(ReadChar): implement.

(ReadLine): implement.

Add DefaultValueAttributes to various methods.

* SerialPortStream.cs, WinSerialStream.cs: Use the same checking
we use elsewhere for parameters.

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

17 years ago2006-08-13 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 13 Aug 2006 21:09:48 +0000 (21:09 -0000)]
2006-08-13  Miguel de Icaza  <miguel@novell.com>

* serial.c (get_bytes_in_buffer): Change the signature, we do not
return any meaningful error other than -1.

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

17 years ago2006-08-12 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 13 Aug 2006 20:27:54 +0000 (20:27 -0000)]
2006-08-12  Miguel de Icaza  <miguel@novell.com>

* Socket.cs (NoDelay): Implement.

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

17 years agoTARGET_JVM: put the conditionless sectio to the head to let running msbuild from...
Konstantin Triger [Sun, 13 Aug 2006 15:06:18 +0000 (15:06 -0000)]
TARGET_JVM: put the conditionless sectio to the head to let running msbuild from command line

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

17 years ago2006-08-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 13 Aug 2006 13:52:12 +0000 (13:52 -0000)]
2006-08-13  Atsushi Enomoto  <atsushi@ximian.com>

* corlib.dll.sources : added NormalizationTableUtil.cs and
  Normalization.cs which are in Mono.Globalization.Unicode.

* String.cs : Normalize() and IsNormalized() implementation.

checkin by miguel's request.

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

17 years ago2006-08-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 13 Aug 2006 13:51:02 +0000 (13:51 -0000)]
2006-08-13  Atsushi Enomoto  <atsushi@ximian.com>

* normalization-tables.h : new file for string normalization data.
* locales.c, locales.h, icall.c :
  added load_normalization_resource() for string normalization,
  and icall as well.
* Makefile.am : added normalization-tables.h to the sources.

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

17 years ago2006-08-13 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sun, 13 Aug 2006 13:50:20 +0000 (13:50 -0000)]
2006-08-13  Marek Safar  <marek.safar@seznam.cz>

A fix for #79056
* cs-parser.jay: Don't destroy current array type by typeof of array's.

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

17 years ago2006-08-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 13 Aug 2006 08:49:22 +0000 (08:49 -0000)]
2006-08-13  Zoltan Varga  <vargaz@gmail.com>

* marshal.c: Add more helper functions to reduce code duplication and use them
everywhere.

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

17 years agoCompile test only in NET_2_0 profile
Raja R Harinath [Sun, 13 Aug 2006 03:31:21 +0000 (03:31 -0000)]
Compile test only in NET_2_0 profile

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

17 years ago * ToolBarButton.cs: make Layout return a boolean, if something to
Chris Toshok [Sat, 12 Aug 2006 22:10:14 +0000 (22:10 -0000)]
* ToolBarButton.cs: make Layout return a boolean, if something to
do with the button's layout changed.

* ToolBar.cs:
- add another parameter to Redraw, @force, which all existing
  calls set to true.
- make the Layout function return a boolean which is true if the
  layout has actually changed.  Redraw now uses this (and @force)
  to determine when to invalidate.  At present the only place
  where @force can be false is the call from OnResize, when
  background_image == null.  So, resizing a toolbar when the
  layout doesn't change results in no drawing.

2006-08-12  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-08-12 Duncan Mak <duncan@novell.com>
Duncan Mak [Sat, 12 Aug 2006 22:08:57 +0000 (22:08 -0000)]
2006-08-12  Duncan Mak  <duncan@novell.com>

* GDIPlusTest.cs: Removed all the local PInvoke methods.
(DrawingOperations): New test for various draw and fill operations
in Graphics.

2006-08-12  Duncan Mak  <duncan@novell.com>

* GDIPlusTest.csproj: New MSBuild project file for building
GDIPlusTest on Windows.

* System.Drawing_test.dll.sources: Add gdipEnums.cs,
gdipFunctions.cs and gdipStructs.cs.

* Makefile (TEST_MCS_FLAGS): Add new #define 'TEST'. This is used
to exclude parts of gdipFunctions so that it could be reused as
part of the NUnit tests.

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

17 years ago * ThemeWin32Classic.cs: fix the bottom right corner painting. had
Chris Toshok [Sat, 12 Aug 2006 21:19:18 +0000 (21:19 -0000)]
* ThemeWin32Classic.cs: fix the bottom right corner painting.  had
the VScrollBar and HScrollbar reversed.  oops.

* DataGrid.cs: fix the logic that assigns sizes to the implicit
scrollbars.  we were assigning them twice (once in
Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
therefore causing two scrollbar resizes (and redraws?) to happen
per grid resize.

2006-08-12  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-08-12 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sat, 12 Aug 2006 19:08:31 +0000 (19:08 -0000)]
2006-08-12  Chris Toshok  <toshok@ximian.com>

* ToolBarButton.cs: redraw the entire button if the theme tells us
to.

* Theme.cs: add ToolBarInvalidateEntireButton.

* ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
buttons, just the border.

* ThemeNice.cs: redraw the entire toolbar button since we need to
draw the highlight image.

* ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
we need to redraw the entire button (not just the border).

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

17 years ago2006-08-12 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 12 Aug 2006 18:50:43 +0000 (18:50 -0000)]
2006-08-12  Marek Safar  <marek.safar@seznam.cz>

* cs-parser.jay: Check whether a constraint clause has already been
specified for type parameter.
* generic.cs (Constraints): Exposed location.

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

17 years ago2006-08-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 12 Aug 2006 17:14:03 +0000 (17:14 -0000)]
2006-08-12  Zoltan Varga  <vargaz@gmail.com>

* marshal.c: Fix non-x86 stdcall warnings.

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

17 years ago2006-08-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 12 Aug 2006 16:42:27 +0000 (16:42 -0000)]
2006-08-12  Zoltan Varga  <vargaz@gmail.com>

* marshal.c marshal.h: Add some helper functions to emit/patch branches, and use
them everywhere.

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

17 years ago2006-08-12 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 12 Aug 2006 13:29:24 +0000 (13:29 -0000)]
2006-08-12  Marek Safar  <marek.safar@seznam.cz>

* class.cs (Method.Define): Issue a warning when generic method looks like
an entry point.
* decl.cs (MemberCore.GetSignatureForError): Print member type arguments
as well.
* report.cs: New warning number.

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

17 years ago* Registry.cs: Fixed copy/paste bug.
Gert Driesen [Sat, 12 Aug 2006 12:47:33 +0000 (12:47 -0000)]
* Registry.cs: Fixed copy/paste bug.

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

17 years agoPatch #3 from Cologne.
Martin Baulig [Fri, 11 Aug 2006 22:40:35 +0000 (22:40 -0000)]
Patch #3 from Cologne.

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

17 years ago2006-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 11 Aug 2006 20:54:17 +0000 (20:54 -0000)]
2006-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* gdipFunctions.cs: return -1 when stream.Length throws.

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

17 years ago2006-08-11 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 11 Aug 2006 20:31:21 +0000 (20:31 -0000)]
2006-08-11  Jonathan Chambers  <joncham@gmail.com>

* class.c (mono_bounded_array_class_get): Fix if statement that caused incorrect
type check on multi-dimensional arrays. Fixes #79000.

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

17 years ago2006-08-11 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 11 Aug 2006 20:28:27 +0000 (20:28 -0000)]
2006-08-11  Peter Dennis Bartok  <pbartok@novell.com>

* TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  for vertical bars. Fixes the mismatches shown by #78513

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

17 years ago2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 11 Aug 2006 19:15:26 +0000 (19:15 -0000)]
2006-08-11  Sebastien Pouliot  <sebastien@ximian.com>

* Font.cs: Remove the, now unrequired, FaceNameOffset field and
use the object size instead of the structure size when copying.

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

17 years ago2006-08-11 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Fri, 11 Aug 2006 18:38:46 +0000 (18:38 -0000)]
2006-08-11  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs: If a saved/remembered path doesn't exist
  anymore, fall back to "Desktop".

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

17 years ago2006-08-11 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 11 Aug 2006 18:28:53 +0000 (18:28 -0000)]
2006-08-11  Peter Dennis Bartok  <pbartok@novell.com>

* Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  parent. It's apparently legal to not have one
* XplatUIX11.cs:
  - SetZOrder: Don't try to set Z-Order on an unmapped window
  - CreateWindow: 0,0 are legal coordinates for a window. don't move
    it unless the coordinates are negative

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

17 years ago2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 11 Aug 2006 17:25:16 +0000 (17:25 -0000)]
2006-08-11  Sebastien Pouliot  <sebastien@ximian.com>
* TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
executes under Windows (GDI+);

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

17 years ago2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 11 Aug 2006 14:15:06 +0000 (14:15 -0000)]
2006-08-11  Sebastien Pouliot  <sebastien@ximian.com>

* GDIPlusTest.cs: Added one more case for GdipGetLogFont.
* TestFont.cs: Added more test cases for ToLogFont including one that
shows that LOGFONT only works properly when it's a class (not a struct)

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

17 years ago2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 11 Aug 2006 14:12:59 +0000 (14:12 -0000)]
2006-08-11  Sebastien Pouliot  <sebastien@ximian.com>

* Font.cs: Added more checks to ToLogFont and fixed it's behaviour
to match MS boundary between GDI+ and SD.

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

17 years agoremoved executable prop
Gonzalo Paniagua Javier [Fri, 11 Aug 2006 13:10:36 +0000 (13:10 -0000)]
removed executable prop

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

17 years ago2006-08-11 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 11 Aug 2006 12:11:44 +0000 (12:11 -0000)]
2006-08-11  Dick Porter  <dick@ximian.com>

        * processes.c (_wapi_process_reap): Avoid a deadlock by setting
        process termination details in an outer loop, not the
        _wapi_search_handle() one.

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

17 years agoPatch #2 from Cologne.
Martin Baulig [Fri, 11 Aug 2006 11:48:52 +0000 (11:48 -0000)]
Patch #2 from Cologne.

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

17 years agoPatch #1 from Cologne.
Martin Baulig [Fri, 11 Aug 2006 11:48:36 +0000 (11:48 -0000)]
Patch #1 from Cologne.

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

17 years ago* EventLog.cs: For now, use null implementation.
Gert Driesen [Fri, 11 Aug 2006 10:41:19 +0000 (10:41 -0000)]
* EventLog.cs: For now, use null implementation.

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

17 years ago* EventLogTest.cs: new test, currently not enabled due to UnixRegistry
Gert Driesen [Fri, 11 Aug 2006 10:32:58 +0000 (10:32 -0000)]
* EventLogTest.cs: new test, currently not enabled due to UnixRegistry
bug which still needs to be tracked, and which would cause temporary
registry entries to be left behind by running tests.
* EventLogEntry.cs: Added InstanceId property (2.0 only). Moved
Obsolete attribute to correct property.
* EventSourceCreationData.cs: Updated copyright. For internal ctor,
set log name to "Application" if value is null or zero-length string.
* EventLogImpl.cs: EventImpl now acts as base class for event log
implemenations. Added NullEventLog implementation, which is not used
at the moment.
* EventLog.cs: EventLog implementation that uses registry for
keeping track of logs and sources to match .NET (and Windows). When
running on Windows NT (and higher), event entries are written to
the native win32 event log.  Reading event entries is not yet working
for Windows. On linux, we use a local file store (based on patch by
Atsushi).
* UnixEventLog.cs: Event log implementation for linux which uses a
local file store.
* Win32EventLog.cs: Event log implementation for Windows NT and
higher which uses the Win32 native event log.
* EventLogEntryCollection.cs: Delegate implementation to event log
implemenation. Use lazy init for enumerating entries.
* System.dll.sources: Added UnixEventLog.cs and Win32EventLog.cs.
* System_test.dll.sources: Added EventLogTest.cs.

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

17 years ago* UnixRegistryApi.cs: Consider HKLM\SYSTEM\CurrentControlSet\Services\
Gert Driesen [Fri, 11 Aug 2006 09:59:06 +0000 (09:59 -0000)]
* UnixRegistryApi.cs: Consider HKLM\SYSTEM\CurrentControlSet\Services\
EventLog a wellknown key. Required for new EventLog implementation.
Added RegistryStore property.

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

17 years ago2006-08-10 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 11 Aug 2006 02:28:50 +0000 (02:28 -0000)]
2006-08-10  Jonathan Chambers  <joncham@gmail.com>

* ComInteropProxy.cs: Fix default constructor being always
being called.
* Marshal.cs: Implement GetIDispatchForObject.
* __ComObject.cs: Added defintion of IDispatch interface, and
property. Get CLSID of supertype for creation if class not
ComImport attributed (allows for inheritance of RCW).
* MonoType.cs: Implement IsCOMObjectImpl.

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

17 years ago2006-08-10 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 11 Aug 2006 02:26:15 +0000 (02:26 -0000)]
2006-08-10  Jonathan Chambers  <joncham@gmail.com>

* class.c (mono_class_setup_parent): setup is_com_object during class initialization.
* object.c (mono_remote_class_vtable/mono_object_new_specific): Changed checks
to use is_com_object instead of MONO_CLASS_IS_IMPORT() macro.
* class-internals.h: add is_com_object to class structure.
* marshal.c: Fixed marshalling for IDispatch and IUnknown, added
null checks to COM object marshalling. Fix .ctor call on RCW.
* icall.c: Added icall implementation for MonoType.IsCOMObjectImpl.
* mini.c: Don't verify COM proxy invoke calls

All code is contributed under the MIT/X11 license.

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

17 years ago2006-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 10 Aug 2006 22:06:30 +0000 (22:06 -0000)]
2006-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.Hosting/BareApplicationHost.cs:
* System.Web.Hosting/ApplicationManager.cs: remove unloaded domains.

* System.Web.Compilation/ClientBuildManager.cs: handle domain shutdown
and unload. Implemented some properties. Commented.

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

17 years ago2006-08-10 Mike Kestner <mkestner@novell.com>
Mike Kestner [Thu, 10 Aug 2006 20:50:15 +0000 (20:50 -0000)]
2006-08-10  Mike Kestner  <mkestner@novell.com>

* ListControl.cs: allow null for DataSource.  Clear DisplayMember
when setting to null per msdn docs.  Fixes #78854.

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