Miguel de Icaza [Tue, 15 Aug 2006 16:48:13 +0000 (16:48 -0000)]
Add MONO_OPTIONS here
svn path=/trunk/mono/; revision=63772
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
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
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
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
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
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
Eyal Alalouf [Tue, 15 Aug 2006 13:43:19 +0000 (13:43 -0000)]
Grasshopper now supports remoting.
svn path=/trunk/mcs/; revision=63760
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
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
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
Konstantin Triger [Tue, 15 Aug 2006 12:28:02 +0000 (12:28 -0000)]
remove XslCompiledTransform from compilation
svn path=/trunk/mcs/; revision=63755
Konstantin Triger [Tue, 15 Aug 2006 12:24:20 +0000 (12:24 -0000)]
adding msbuild project file
svn path=/trunk/mcs/; revision=63754
Konstantin Triger [Tue, 15 Aug 2006 12:21:34 +0000 (12:21 -0000)]
upgrade to msbuild
svn path=/trunk/mcs/; revision=63753
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
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
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
Igor Zelmanovich [Tue, 15 Aug 2006 09:08:42 +0000 (09:08 -0000)]
new tests were added
svn path=/trunk/mcs/; revision=63749
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
Andrew Skiba [Tue, 15 Aug 2006 07:50:20 +0000 (07:50 -0000)]
support profile net_2_0
svn path=/trunk/mcs/; revision=63747
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
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
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
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
Martin Baulig [Mon, 14 Aug 2006 18:07:06 +0000 (18:07 -0000)]
Patch #37.
svn path=/trunk/mcs/; revision=63732
Martin Baulig [Mon, 14 Aug 2006 16:22:36 +0000 (16:22 -0000)]
Patch #35.
svn path=/trunk/mcs/; revision=63730
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
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
Chris Toshok [Mon, 14 Aug 2006 15:58:12 +0000 (15:58 -0000)]
remove writeline
svn path=/trunk/mcs/; revision=63727
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
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
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
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
Konstantin Triger [Mon, 14 Aug 2006 13:56:09 +0000 (13:56 -0000)]
implemented specialized CopyTo() method
svn path=/trunk/mcs/; revision=63721
Martin Baulig [Mon, 14 Aug 2006 13:49:24 +0000 (13:49 -0000)]
Patch #34.
svn path=/trunk/mcs/; revision=63720
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
Martin Baulig [Mon, 14 Aug 2006 13:22:31 +0000 (13:22 -0000)]
Patch #33.
svn path=/trunk/mcs/; revision=63718
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
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
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
Andrew Skiba [Mon, 14 Aug 2006 11:48:37 +0000 (11:48 -0000)]
support net_2_0 PROFILE
svn path=/trunk/mcs/; revision=63714
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
Atsushi Eno [Mon, 14 Aug 2006 08:21:20 +0000 (08:21 -0000)]
revert the ChangeLog massacre ;-)
svn path=/trunk/mcs/; revision=63712
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
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
Miguel de Icaza [Mon, 14 Aug 2006 07:21:49 +0000 (07:21 -0000)]
Add comment
svn path=/trunk/mcs/; revision=63709
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
Miguel de Icaza [Mon, 14 Aug 2006 06:20:33 +0000 (06:20 -0000)]
Another build fix, sorry
svn path=/trunk/mcs/; revision=63707
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
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
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
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
Miguel de Icaza [Mon, 14 Aug 2006 05:30:14 +0000 (05:30 -0000)]
Build fix
svn path=/trunk/mcs/; revision=63702
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
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
Miguel de Icaza [Mon, 14 Aug 2006 01:52:12 +0000 (01:52 -0000)]
Condition when we reset
svn path=/trunk/mcs/; revision=63695
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
Miguel de Icaza [Mon, 14 Aug 2006 01:37:59 +0000 (01:37 -0000)]
Update
svn path=/trunk/mono/; revision=63693
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
Miguel de Icaza [Mon, 14 Aug 2006 01:09:17 +0000 (01:09 -0000)]
A few more DefaultValueAttributes
svn path=/trunk/mcs/; revision=63691
Miguel de Icaza [Mon, 14 Aug 2006 01:08:57 +0000 (01:08 -0000)]
Fix namespace
svn path=/trunk/mcs/; revision=63690
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Martin Baulig [Fri, 11 Aug 2006 22:40:35 +0000 (22:40 -0000)]
Patch #3 from Cologne.
svn path=/trunk/mcs/; revision=63663
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
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
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
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
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
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
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
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
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
Gonzalo Paniagua Javier [Fri, 11 Aug 2006 13:10:36 +0000 (13:10 -0000)]
removed executable prop
svn path=/trunk/mcs/; revision=63638
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
Martin Baulig [Fri, 11 Aug 2006 11:48:52 +0000 (11:48 -0000)]
Patch #2 from Cologne.
svn path=/trunk/mcs/; revision=63636
Martin Baulig [Fri, 11 Aug 2006 11:48:36 +0000 (11:48 -0000)]
Patch #1 from Cologne.
svn path=/trunk/mcs/; revision=63635
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
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
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
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
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
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
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