Dick Porter [Fri, 13 Apr 2007 16:09:07 +0000 (16:09 -0000)]
2007-04-13 Dick Porter <dick@ximian.com>
* shared.h:
* shared.c: Complete the reimplementation of disabling of shared
memory, by not allocating sysv semaphores when shm disabling has
been requested (either at compile time or run time.)
* processes.c (CreateProcess): Don't synchronize locking across
processes when forking, when shared memory has been disabled.
svn path=/trunk/mono/; revision=75681
Sebastien Pouliot [Fri, 13 Apr 2007 12:45:21 +0000 (12:45 -0000)]
2007-04-13 Sebastien Pouliot <sebastien@ximian.com>
* Brush.cs: Ensure we're zeroing the handle before calling
CheckStatus. Some clean up.
* Pen.cs: Ensure we're zeroing the handle before calling CheckStatus.
Use Locale.GetText for exceptions.
svn path=/trunk/mcs/; revision=75678
Sebastien Pouliot [Fri, 13 Apr 2007 12:26:28 +0000 (12:26 -0000)]
2007-04-13 Sebastien Pouliot <sebastien@ximian.com>
* Theme.cs: Update GetMethod to get the new definition for
KnownColors.Update (and fix theme color updates).
svn path=/trunk/mcs/; revision=75676
Marek Habersack [Fri, 13 Apr 2007 10:27:51 +0000 (10:27 -0000)]
2007-04-13 Marek Habersack <mhabersack@novell.com>
* ApplicationHost.cs: clear the dynamic base directory before
creating the host. Fixes bug #80635
svn path=/trunk/mcs/; revision=75675
Everaldo Canuto [Fri, 13 Apr 2007 10:04:15 +0000 (10:04 -0000)]
2007-04-12 Everaldo Canuto <everaldo@simios.org>
* MessageBox.cs: Fix some test and button position.
svn path=/trunk/mcs/; revision=75674
Marek Habersack [Fri, 13 Apr 2007 07:54:24 +0000 (07:54 -0000)]
2007-04-13 Marek Habersack <mhabersack@novell.com>
* SiteMap.cs: try to look up the current map node in providers
other than the current one. Patch from Mike Morano
<mmorano@mikeandwan.us>. Fixes bug #81366.
svn path=/trunk/mcs/; revision=75670
Carlos Alberto Cortez [Thu, 12 Apr 2007 22:35:03 +0000 (22:35 -0000)]
2007-04-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Form.cs: Consider the implicit controls in
GetRealChildAtPoint. We need it since this method
is called on Form when handling the some messages in
WndProc, and need to consider those implicit ones too.
Fixes #80385.
svn path=/trunk/mcs/; revision=75667
Jonathan Pobst [Thu, 12 Apr 2007 21:26:53 +0000 (21:26 -0000)]
2007-04-12 Jonathan Pobst <monkey@jpobst.com>
* ToolStripMenuItem.cs: Display the ShortcutKeyDisplayString even
if there are no ShortcutKeys set.
* ToolStripProfessionalRenderer.cs: If an item has had its BackColor
set, use it when painting.
svn path=/trunk/mcs/; revision=75665
Neale Ferguson [Thu, 12 Apr 2007 20:45:34 +0000 (20:45 -0000)]
* tramp.c: Add MONO_TYPE_PTR case.
svn path=/trunk/mono/; revision=75663
Sebastien Pouliot [Thu, 12 Apr 2007 20:26:51 +0000 (20:26 -0000)]
2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
* TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
if in particular case (it doesn't). Added Categoty("Valgrind") to a
test know to leak due to the API design.
svn path=/trunk/mcs/; revision=75662
Zoltan Varga [Thu, 12 Apr 2007 16:40:43 +0000 (16:40 -0000)]
2007-04-06 Andreas Faerber <andreas.faerber@web.de>
* mini-amd64.h: fix for assertion failure on Solaris/amd64
svn path=/trunk/mono/; revision=75652
Zoltan Varga [Thu, 12 Apr 2007 16:40:11 +0000 (16:40 -0000)]
2007-04-06 Andreas Faerber <andreas.faerber@web.de>
* configure.in: Added support for Solaris/amd64. Fixes bug #81325
svn path=/trunk/mono/; revision=75651
Miguel de Icaza [Thu, 12 Apr 2007 14:55:45 +0000 (14:55 -0000)]
Duncan was right
svn path=/trunk/mcs/; revision=75649
Konstantin Triger [Thu, 12 Apr 2007 14:21:08 +0000 (14:21 -0000)]
don't put null values
svn path=/trunk/mcs/; revision=75648
Marek Habersack [Thu, 12 Apr 2007 14:00:16 +0000 (14:00 -0000)]
2007-04-12 Marek Habersack <mhabersack@novell.com>
* RoleManagerModule.cs: do not try to decrypt encryption tickets
from cookies with empty values.
svn path=/trunk/mcs/; revision=75647
Igor Zelmanovich [Thu, 12 Apr 2007 13:19:23 +0000 (13:19 -0000)]
2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
* Menu.cs: popup menu is posed correctly if menu is placed within
container with position=relative
svn path=/trunk/mcs/; revision=75645
Sebastien Pouliot [Thu, 12 Apr 2007 13:07:36 +0000 (13:07 -0000)]
2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
* TestBitmap.cs: Split LockBitmap into several tests and do not modify
the data when using ImageLockMode.ReadOnly (this makes some results
random when using MS GDI+).
svn path=/trunk/mcs/; revision=75644
Vladimir Krasnov [Thu, 12 Apr 2007 13:04:48 +0000 (13:04 -0000)]
Copyright headers added
svn path=/trunk/mcs/; revision=75643
Sebastien Pouliot [Thu, 12 Apr 2007 13:04:40 +0000 (13:04 -0000)]
2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
* TestBmpCodec.cs: Reenable some NotWorking test case.
* TestJpegCodec.cs: Reenable some NotWorking test case.
* TiffCodecTest.cs: Reenable some NotWorking test case.
svn path=/trunk/mcs/; revision=75642
Vladimir Krasnov [Thu, 12 Apr 2007 12:40:05 +0000 (12:40 -0000)]
* System.Web20.csproj:
* System.Web.dll.sources: added HttpParamsCollection.cs
* HttpRequest.cs: fixed Params property to be lazy initialzation collection
svn path=/trunk/mcs/; revision=75640
Martin Baulig [Thu, 12 Apr 2007 12:34:44 +0000 (12:34 -0000)]
2007-04-12 Martin Baulig <martin@ximian.com>
* convert.cs (Convert.ImplicitReferenceConversion): Move the
`TypeManager.null_type' checks up to the top of the method.
svn path=/trunk/mcs/; revision=75639
Konstantin Triger [Thu, 12 Apr 2007 11:48:50 +0000 (11:48 -0000)]
Implement Font.GetHeight()
svn path=/trunk/mcs/; revision=75638
Miguel de Icaza [Thu, 12 Apr 2007 08:05:38 +0000 (08:05 -0000)]
Revert invalid patch from Duncan, 75632
svn path=/trunk/mcs/; revision=75636
Jackson Harper [Thu, 12 Apr 2007 06:41:35 +0000 (06:41 -0000)]
* TextControl.cs: Fix some off-by-one issues in line duplication
and insertion in the undo manager. Also, overwrite the first tag
of a line on insert, if it is just a zero lengthed tag. This
prevents us from getting an extra stranded tag at the beginning
of
the first line.
svn path=/trunk/mcs/; revision=75634
Duncan Mak [Thu, 12 Apr 2007 02:56:14 +0000 (02:56 -0000)]
2007-04-12 Duncan Mak <duncan@a-chinaman.com>
* cs-parser.jay (interface_method_declaration_body): Fixed typo.
svn path=/trunk/mcs/; revision=75632
Marek Habersack [Thu, 12 Apr 2007 00:13:30 +0000 (00:13 -0000)]
2007-04-12 Marek Habersack <mhabersack@novell.com>
* SectionGroupInfo.cs: a better fix for #81321
svn path=/trunk/mcs/; revision=75630
Marek Habersack [Wed, 11 Apr 2007 23:19:46 +0000 (23:19 -0000)]
2007-04-12 Marek Habersack <mhabersack@novell.com>
* LoginView.cs: do not call CreateChildControls directly from the
IsAuthenticated setter since that would destroy the controls the
user might've configured from their Page_PreRender method.
Do not use IsAuthenticated in CreateChildControls since that
prevents the _correct_ template from being instantiated before the
control is transferred to the user's OnPreRender handler. Fixes
bug #81344.
svn path=/trunk/mcs/; revision=75629
Everaldo Canuto [Wed, 11 Apr 2007 22:26:16 +0000 (22:26 -0000)]
2007-04-11 Everaldo Canuto <everaldo@simios.org>
* Label.cs: Remove check for handle created in CalcAutoSize, we need
to calculated proper size including when handle was not created yet.
svn path=/trunk/mcs/; revision=75626
Marek Safar [Wed, 11 Apr 2007 21:38:55 +0000 (21:38 -0000)]
New test.
svn path=/trunk/mcs/; revision=75625
Marek Safar [Wed, 11 Apr 2007 21:34:53 +0000 (21:34 -0000)]
2007-04-11 Marek Safar <marek.safar@gmail.com>
A fix for bug #81350
* class.cs, decl.cs, ecore.cs, namespace.cs: The optimization for private
extensions methods.
svn path=/trunk/mcs/; revision=75624
Marek Safar [Wed, 11 Apr 2007 20:51:25 +0000 (20:51 -0000)]
Fixed tests.
svn path=/trunk/mcs/; revision=75623
Carlos Alberto Cortez [Wed, 11 Apr 2007 19:19:25 +0000 (19:19 -0000)]
svn path=/trunk/mcs/; revision=75622
Gert Driesen [Wed, 11 Apr 2007 18:48:45 +0000 (18:48 -0000)]
Removed invalid eol-style property.
svn path=/trunk/mcs/; revision=75620
Gert Driesen [Wed, 11 Apr 2007 18:48:09 +0000 (18:48 -0000)]
* HttpCookieTest.cs: Added test for bug #81333.
svn path=/trunk/mcs/; revision=75619
Martin Baulig [Wed, 11 Apr 2007 18:23:02 +0000 (18:23 -0000)]
New test for #81259.
svn path=/trunk/mcs/; revision=75618
Martin Baulig [Wed, 11 Apr 2007 18:22:35 +0000 (18:22 -0000)]
2007-04-11 Martin Baulig <martin@ximian.com>
* mini.c (can_access_member): Fix handling of generic classes;
fixes #81259.
svn path=/trunk/mono/; revision=75617
Martin Baulig [Wed, 11 Apr 2007 16:31:13 +0000 (16:31 -0000)]
2007-04-11 Martin Baulig <martin@ximian.com>
* statement.cs (Foreach.CollectionForeach.ProbeCollectionType):
Use `TypeManager.GetInterfaces(t)' rather than `t.GetInterfaces()'
to make this work for generic classes; fixes #79561.
svn path=/trunk/mcs/; revision=75616
Martin Baulig [Wed, 11 Apr 2007 16:29:14 +0000 (16:29 -0000)]
2007-04-11 Martin Baulig <martin@ximian.com>
* expression.cs (As): Add support for nullable types; fixes #79371.
svn path=/trunk/mcs/; revision=75615
Vladimir Krasnov [Wed, 11 Apr 2007 16:06:54 +0000 (16:06 -0000)]
* webform.js: fixed WebForm_RestoreScrollPosition, old submit call should be from form
svn path=/trunk/mcs/; revision=75614
Sebastien Pouliot [Wed, 11 Apr 2007 14:34:03 +0000 (14:34 -0000)]
gdipFunctions.cs: Add mapping for Win32Error in CheckStatus. Add globalization support for CheckStatus and add the GDI+ status code in the error message.
svn path=/trunk/mcs/; revision=75613
Konstantin Triger [Wed, 11 Apr 2007 14:25:26 +0000 (14:25 -0000)]
Use HttpRequest.IsLocal to determine local request in 2.0 profile
svn path=/trunk/mcs/; revision=75612
Konstantin Triger [Wed, 11 Apr 2007 14:20:50 +0000 (14:20 -0000)]
HttpRequest.cs: IsLocal should return true for loopback addresses
svn path=/trunk/mcs/; revision=75611
Paolo Molaro [Wed, 11 Apr 2007 13:43:24 +0000 (13:43 -0000)]
Wed Apr 11 15:40:55 CEST 2007 Paolo Molaro <lupus@ximian.com>
* WinSerialStream.cs: fixed logic for signal value check (bug #81342).
svn path=/trunk/mcs/; revision=75610
Sebastien Pouliot [Wed, 11 Apr 2007 13:40:41 +0000 (13:40 -0000)]
System.Drawing_test.dll.sources: Add Locale to the unit tests (soon to be required)
svn path=/trunk/mcs/; revision=75609
Sebastien Pouliot [Wed, 11 Apr 2007 13:18:30 +0000 (13:18 -0000)]
Reenable some NotWorking test cases.
svn path=/trunk/mcs/; revision=75608
Sebastien Pouliot [Wed, 11 Apr 2007 13:05:30 +0000 (13:05 -0000)]
2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
* GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
(without unlocking it first).
svn path=/trunk/mcs/; revision=75607
Sebastien Pouliot [Wed, 11 Apr 2007 12:38:46 +0000 (12:38 -0000)]
SolidBrush.cs: Clean up and add comments about [un]named colors.
svn path=/trunk/mcs/; revision=75606
Sebastien Pouliot [Wed, 11 Apr 2007 12:34:32 +0000 (12:34 -0000)]
2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
* SolidBrushTest.cs: Add a test case to see if a cloned solid brush
returns a named color and a unnamed color.
* TestBitmap.cs: Renable four test cases depending on LockBits. Add
two additionnal test cases for LockBits, Double locks (exception) and
invalid ImageLockMode (no exception).
svn path=/trunk/mcs/; revision=75605
Sebastien Pouliot [Wed, 11 Apr 2007 12:24:51 +0000 (12:24 -0000)]
Bitmap.cs: Move LockBits validations into unmanaged code.
svn path=/trunk/mcs/; revision=75604
Martin Baulig [Wed, 11 Apr 2007 09:20:47 +0000 (09:20 -0000)]
2007-04-11 Martin Baulig <martin@ximian.com>
* doc.cs (DocUtil.GetSignatureForDoc): Don't crash if
`type.FullName' is null; fixes #80243.
svn path=/trunk/mcs/; revision=75601
Martin Baulig [Wed, 11 Apr 2007 09:10:15 +0000 (09:10 -0000)]
2007-04-11 Martin Baulig <martin@ximian.com>
* expression.cs (Invocation.IsApplicable): Don't modify the method
if type inference succeeded, but the method was not applicable.
Fixes #81250.
svn path=/trunk/mcs/; revision=75600
Rolf Bjarne Kvinge [Wed, 11 Apr 2007 08:35:34 +0000 (08:35 -0000)]
* MdiWindowManager.cs: When moving a form, allow the form to be moved
when the mouse is outside of it's parent's client rectangle. Fixes
#79982 (take 3, part 2).
svn path=/trunk/mcs/; revision=75599
Konstantin Triger [Wed, 11 Apr 2007 08:25:25 +0000 (08:25 -0000)]
add named colors initialization
svn path=/trunk/mcs/; revision=75598
Marek Habersack [Wed, 11 Apr 2007 07:51:40 +0000 (07:51 -0000)]
2007-04-11 Marek Habersack <mhabersack@novell.com>
* AppCodeCompiler.cs: move custom profile type check till after
the App_Code compilation is done. That way we can have custom
profile providers in there. Fixes bug #81307.
svn path=/trunk/mcs/; revision=75597
Marek Habersack [Tue, 10 Apr 2007 22:38:36 +0000 (22:38 -0000)]
forgot to commit the ChangeLog
svn path=/trunk/mcs/; revision=75595
Marek Habersack [Tue, 10 Apr 2007 22:38:06 +0000 (22:38 -0000)]
2007-04-11 Marek Habersack <mhabersack@novell.com>
* HtmlInputHidden.cs:
* HtmlSelect.cs:
* HtmlInputText.cs:
* HtmlSelect.cs:
* HtmlInputText.cs:
* HtmlInputImage.cs:
* HtmlInputFile.cs:
* HtmlInputCheckBox.cs:
* HtmlInputRadioButton.cs:
* HtmlInputImage.cs: do not register the control for post back
processing or if it's disabled.
2007-04-11 Marek Habersack <mhabersack@novell.com>
* ImageButton.cs: implement the Enable property and do not
register for post back if the control isn't enabled.
2007-04-11 Marek Habersack <mhabersack@novell.com>
* Page.cs: check whether control passed to
RegisterRequiresPostBack implements the IPostBackDataHandler
interface.
svn path=/trunk/mcs/; revision=75594
Sebastien Pouliot [Tue, 10 Apr 2007 21:05:32 +0000 (21:05 -0000)]
2007-04-10 Sebastien Pouliot <sebastien@ximian.com>
* GifCodecTest.cs: Fix Save* test cases to check 8bpp indexed for all
GIF saved. Added comments to why we're not getting the "right" Red.
svn path=/trunk/mcs/; revision=75591
Marek Habersack [Tue, 10 Apr 2007 20:47:46 +0000 (20:47 -0000)]
2007-04-10 Marek Habersack <mhabersack@novell.com>
* HttpListenerRequest.cs: do not include the query start marker
('?') in the first variable name stored in the QueryString
collection. There is no HTTP header 'Accept-Types' in the
standard, there's only the 'Accept' header that specifies the
accepted MIME types. Fixes bug #81317
svn path=/trunk/mcs/; revision=75590
Sebastien Pouliot [Tue, 10 Apr 2007 20:01:34 +0000 (20:01 -0000)]
2007-04-10 Sebastien Pouliot <sebastien@ximian.com>
* TestBmpCodec.cs: Remove "NotWorking" from Bitmap32bitPixels test
case. The file is a 32bpp RGB (no alpha).
svn path=/trunk/mcs/; revision=75586
Marek Habersack [Tue, 10 Apr 2007 19:36:29 +0000 (19:36 -0000)]
2007-04-10 Marek Habersack <mhabersack@novell.com>
* SectionGroupInfo.cs: make sure empty sections with the
short-circuit tag ends (<section/>) don't make the process loop
endlessly. Fixes bug #81321.
svn path=/trunk/mcs/; revision=75584
Marek Habersack [Tue, 10 Apr 2007 19:31:14 +0000 (19:31 -0000)]
fix a mistake in the previous patch
svn path=/trunk/mcs/; revision=75583
Marek Safar [Tue, 10 Apr 2007 17:50:52 +0000 (17:50 -0000)]
New test.
svn path=/trunk/mcs/; revision=75580
Marek Safar [Tue, 10 Apr 2007 17:50:19 +0000 (17:50 -0000)]
2007-04-10 Marek Safar <marek.safar@gmail.com>
A fix for bug #81324
* namespace.cs (Namespace.LookupExtensionMethod): Always inspect both
internal and external namespaces containers.
svn path=/trunk/mcs/; revision=75579
Rolf Bjarne Kvinge [Tue, 10 Apr 2007 17:08:00 +0000 (17:08 -0000)]
* X11Structs.cs: Add a few ToString() overrides.
* XplatUIX11.cs: Added GetTopLevelWindowLocation to try to calculate
the window location in a window-manager independent way. Reworked
FrameExtents, it now actually works. Reworked AddConfigureNotify
and ReparentNotify handling to use GetTopLevelWindowLocation
instead of the earlier, more hacky solution. Reworked SetWMStyles,
hopefully for the better: we now set _NET_WM_WINDOW_TYPE* for all
windows, DIALOG for modal windows, UTILITY for toolboxes and NORMAL
for all other windows (fixes #81281 part 1), a toolwindow is hidden
from the taskbar if it has a parent (fixes #81281 part 2 for kwin),
and generally refactored to do as few calculations as possible
inside the lock.
svn path=/trunk/mcs/; revision=75578
Martin Baulig [Tue, 10 Apr 2007 16:09:54 +0000 (16:09 -0000)]
2007-04-10 Martin Baulig <martin@ximian.com>
* delegate.cs (DelegateCreation.ResolveMethodGroupExpr): Use
TypeManager.DropGenericMethodArguments() so we also call
IMethodData.SetMemberIsUsed() for generic methods. Fixes #80357.
svn path=/trunk/mcs/; revision=75577
Martin Baulig [Tue, 10 Apr 2007 16:03:10 +0000 (16:03 -0000)]
2007-04-10 Martin Baulig <martin@ximian.com>
* iterators.cs (Iterator.CreateIterator): Don't crash if
`method.ReturnType' is null. This happens if something went wrong
while resolving that typ (we already reported an error in this case).
svn path=/trunk/mcs/; revision=75576
Martin Baulig [Tue, 10 Apr 2007 16:00:00 +0000 (16:00 -0000)]
2007-04-10 Martin Baulig <martin@ximian.com>
* expression.cs (New.DoResolve): Don't call CheckComImport() on
generic interfaces; report the CS0144 directly.
svn path=/trunk/mcs/; revision=75574
Martin Baulig [Tue, 10 Apr 2007 15:57:01 +0000 (15:57 -0000)]
2007-04-10 Martin Baulig <martin@ximian.com>
* ecore.cs (MemberExpr.ResolveMemberExpr): If `left' is a
`TypeExpr', call ResolveAsTypeTerminal() on it; fixes #81180.
svn path=/trunk/mcs/; revision=75573
Zoltan Varga [Tue, 10 Apr 2007 15:06:53 +0000 (15:06 -0000)]
2007-04-10 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_plt_resolve): Fix disabling of AOT. Fixes #81316.
svn path=/trunk/mono/; revision=75572
Martin Baulig [Tue, 10 Apr 2007 14:36:34 +0000 (14:36 -0000)]
2007-04-10 Martin Baulig <martin@ximian.com>
* expression.cs (New.DoEmitTypeParameter): Fix #81109.
svn path=/trunk/mcs/; revision=75571
Marek Habersack [Tue, 10 Apr 2007 13:56:20 +0000 (13:56 -0000)]
2007-04-10 Marek Habersack <mhabersack@novell.com>
* HttpCookie.cs: format the output of HttpCookie.Values.ToString()
in the same way MS.NET does. Fixes bug #81333. Patch from Mike
Morano <mmorano@mikeandwan.us>.
svn path=/trunk/mcs/; revision=75570
Marek Habersack [Tue, 10 Apr 2007 10:47:12 +0000 (10:47 -0000)]
2007-04-10 Marek Habersack <mhabersack@novell.com>
* AppResourceFilesCollection.cs: watch App_LocalResources for
changes.
svn path=/trunk/mcs/; revision=75569
Marek Habersack [Tue, 10 Apr 2007 10:42:02 +0000 (10:42 -0000)]
2007-04-10 Marek Habersack <mhabersack@novell.com>
* CacheDependency.cs: add the NotifyFilters.Size to the
watcher flags, so that we watch for modifications to a file when
using Linux inotify.
2007-04-10 Marek Habersack <mhabersack@novell.com>
* XmlSiteMapProvider.cs: add the NotifyFilters.Size to the
watcher flags, so that we watch for modifications to a file when
using Linux inotify.
* HttpApplicationFactory.cs: add the NotifyFilters.Size to the
watcher flags, so that we watch for modifications to a file when
using Linux inotify.
App_Code, App_Browsers and App_GlobalResources watchers must watch
for events with the '*' mask so that they can notice events
related to subdirectory creation/deletion.
Watch for subdirectory events with the App_Code watcher.
2007-04-10 Marek Habersack <mhabersack@novell.com>
* WebConfigurationSettings.cs: add NotifyFilter.Size to the
watcher notification filter to enable file modification events
with Linux inotify.
svn path=/trunk/mcs/; revision=75568
Noam Lampert [Tue, 10 Apr 2007 09:28:32 +0000 (09:28 -0000)]
Revert - switch back to using MemberwiseClone
svn path=/trunk/mcs/; revision=75567
Konstantin Triger [Tue, 10 Apr 2007 08:53:19 +0000 (08:53 -0000)]
remove Xml site map provider for security providers administration utility
svn path=/trunk/mono/; revision=75566
Adar Wesley [Tue, 10 Apr 2007 08:49:13 +0000 (08:49 -0000)]
2007-04-10 Adar Wesley <adarw@mainsoft.com>
* Removed use of SiteMap from Util.Master, Web.config and all dependent aspx files.
Replaced it with an equivalent ContentPlaceHolder for aspx pages to fill.
svn path=/trunk/mcs/; revision=75565
Konstantin Triger [Tue, 10 Apr 2007 08:42:46 +0000 (08:42 -0000)]
refactor SystemColors cache into KnownColors.jvm.cs, to comply with mono implementation
svn path=/trunk/mcs/; revision=75564
Konstantin Triger [Tue, 10 Apr 2007 08:33:42 +0000 (08:33 -0000)]
rename MemberwiseClone to clone - accroding to public interface
svn path=/trunk/mcs/; revision=75563
Igor Zelmanovich [Tue, 10 Apr 2007 07:33:16 +0000 (07:33 -0000)]
fix typo
svn path=/trunk/mono/; revision=75562
Atsushi Eno [Tue, 10 Apr 2007 07:01:11 +0000 (07:01 -0000)]
2007-04-10 Atsushi Enomoto <atsushi@ximian.com>
* TypeData.cs : forgot NET_2_0.
svn path=/trunk/mcs/; revision=75561
Atsushi Eno [Tue, 10 Apr 2007 05:09:01 +0000 (05:09 -0000)]
2007-04-10 Atsushi Enomoto <atsushi@ximian.com>
* TypeData.cs : in get_ListItemTypeData(), check generic ICollection
as well as non-generic one. Fixed bug #81341. Though the type check
looks like an aggregation of bugfix hacks and there should be some
kind of sane refactoring, to throw best-suited errors.
svn path=/trunk/mcs/; revision=75559
Sebastien Pouliot [Mon, 9 Apr 2007 21:45:36 +0000 (21:45 -0000)]
2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
* TestColor.cs: Add a few more test cases for ==, != and Equals
svn path=/trunk/mcs/; revision=75555
Sebastien Pouliot [Mon, 9 Apr 2007 21:44:49 +0000 (21:44 -0000)]
2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
* Color.cs: Remove duplicate check in == and add better comments
svn path=/trunk/mcs/; revision=75554
Sebastien Pouliot [Mon, 9 Apr 2007 21:15:35 +0000 (21:15 -0000)]
2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
* Theme.cs: Change "reflective-contract" between MWF and SD to
minimize # of calls, avoid Color serialization and avoid updating
every "known colors" each time a single one is updated.
svn path=/trunk/mcs/; revision=75552
Sebastien Pouliot [Mon, 9 Apr 2007 21:14:43 +0000 (21:14 -0000)]
2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
* ColorConverter.cs: Add test case with a null CultureInfo for
ConvertFrom.
* ColorTranslator.cs: Add test cases with known values for FromHtml
* TestColor.cs: Made some test clearer about what they do/check.
svn path=/trunk/mcs/; revision=75551
Sebastien Pouliot [Mon, 9 Apr 2007 21:11:42 +0000 (21:11 -0000)]
System.Drawing.dll.sources: Add internal KnownColors.
svn path=/trunk/mcs/; revision=75550
Sebastien Pouliot [Mon, 9 Apr 2007 21:10:38 +0000 (21:10 -0000)]
2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
* Color.cs: Remove hashtables and locks. All color properties are read
from KnownColors. Remove extra & 0xFF (typecast to byte is enough).
Keep track of the Name property once calculated. When possible (most
likely case) don't create the names (strings) in Equals, == and !=
* ColorTranslator.cs: Use the new KnownColors instead of the separate
NamedColors and SystemColors.
* ColorConverter.cs: Use the new KnownColors instead of the separate
NamedColors and SystemColors.
* gdipFunctions.cs: Moved GetSysColor p/invoke signature here as this
class is marked by [SuppressUnmanagedCodeSecurity].
* gdipStructs.cs: Moved Windows-specific GetSysColorIndex enum here.
* KnownColors.cs: New. Single source for all colors.
* SystemColors.cs: Vastly simplified. All color properties are read
from KnownColors.
svn path=/trunk/mcs/; revision=75549
Gert Driesen [Mon, 9 Apr 2007 19:39:33 +0000 (19:39 -0000)]
* DataGridTextBoxColumnTest.cs: Added IsInEditOrNavigateMode tests.
Enabled test after IsInEditOrNavigateMode fix.
* DataGridTextBoxColumn.cs: Only set IsInEditOrNavigateMode to false
when not readonly and the text is explicitly set. Code style updates.
* DataGridTableStyle.cs: Removed extra line.
* DataGrid.cs: Code style updates. Removed extra whitespace.
* DataGridColumnStyle.cs: Code style updates. Removed extra
whitespace.
svn path=/trunk/mcs/; revision=75547
Rolf Bjarne Kvinge [Mon, 9 Apr 2007 19:30:24 +0000 (19:30 -0000)]
* XplatUIX11.cs: Added comment that "fixes" #80021.
svn path=/trunk/mcs/; revision=75546
Jackson Harper [Mon, 9 Apr 2007 17:40:03 +0000 (17:40 -0000)]
* TextControl.cs: We don't need this -1 on the line count
* anymore.
svn path=/trunk/mcs/; revision=75541
Raja R Harinath [Mon, 9 Apr 2007 16:27:28 +0000 (16:27 -0000)]
A better fix
* flowanalysis.cs (UsageVector.MergeChild): Handle child.Block == null.
* statement.cs: Use KillFlowBranching only in ResolveUnreachable.
svn path=/trunk/mcs/; revision=75540
Raja R Harinath [Mon, 9 Apr 2007 16:24:54 +0000 (16:24 -0000)]
* Makefile (cleanup): Use '-f' to silence 'rm'.
svn path=/trunk/mcs/; revision=75539
Raja R Harinath [Mon, 9 Apr 2007 14:03:00 +0000 (14:03 -0000)]
Fix #81338
* mcs/statement.cs (For.Resolve): If resolution fails, use KillFlowBranching.
* errors/cs0103-5.cs: New test based on #81338.
svn path=/trunk/mcs/; revision=75536
Gert Driesen [Mon, 9 Apr 2007 13:06:05 +0000 (13:06 -0000)]
Removed some extra tabs.
svn path=/trunk/mcs/; revision=75535
Gert Driesen [Mon, 9 Apr 2007 13:05:08 +0000 (13:05 -0000)]
* DataGridTextBoxColumn.cs: In Commit, use TypeConverter to convert
entered value to underlying type, and convert it back to a string to
apply formatting. Modified GetFormattedValue to use TypeConverter
if available.
* DataGridTextBoxColumnTest.cs: Added tests for IFormattable and
TypeConverter usage in Edit and Commit.
svn path=/trunk/mcs/; revision=75534
Alp Toker [Mon, 9 Apr 2007 02:47:00 +0000 (02:47 -0000)]
2007-04-09 Alp Toker <alp@atoker.com>
* MonoMethod.cs: Use StringBuilder for the entire ToString() methods
to reduce allocations and increase performance.
svn path=/trunk/mcs/; revision=75532
Alp Toker [Mon, 9 Apr 2007 01:35:29 +0000 (01:35 -0000)]
2007-04-09 Alp Toker <alp@atoker.com>
* MonoMethod.cs: Use StringBuilder for parms in ToString() methods.
svn path=/trunk/mcs/; revision=75530
Alp Toker [Mon, 9 Apr 2007 00:45:45 +0000 (00:45 -0000)]
2007-04-09 Alp Toker <alp@atoker.com>
* ConstructorBuilder.cs: Remove redundant overrides.
svn path=/trunk/mcs/; revision=75529
Alp Toker [Mon, 9 Apr 2007 00:45:14 +0000 (00:45 -0000)]
2007-04-09 Alp Toker <alp@atoker.com>
* MethodBase.cs: IsGenericMethodDefinition() and IsGenericMethod()
should return false, not throw NotSupportedException. This matches MS
behaviour and introduces simplifications in subclasses.
* MonoMethod.cs: MonoCMethod: Remove redundant overrides.
svn path=/trunk/mcs/; revision=75528
Marek Safar [Sun, 8 Apr 2007 20:30:34 +0000 (20:30 -0000)]
New tests.
svn path=/trunk/mcs/; revision=75521