mono.git
17 years ago2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
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

17 years agoBitmap.cs: Move LockBits validations into unmanaged code.
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

17 years ago2007-04-11 Martin Baulig <martin@ximian.com>
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

17 years ago2007-04-11 Martin Baulig <martin@ximian.com>
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

17 years ago* MdiWindowManager.cs: When moving a form, allow the form to be moved
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

17 years agoadd named colors initialization
Konstantin Triger [Wed, 11 Apr 2007 08:25:25 +0000 (08:25 -0000)]
add named colors initialization

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

17 years ago2007-04-11 Marek Habersack <mhabersack@novell.com>
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

17 years agoforgot to commit the ChangeLog
Marek Habersack [Tue, 10 Apr 2007 22:38:36 +0000 (22:38 -0000)]
forgot to commit the ChangeLog

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

17 years ago2007-04-11 Marek Habersack <mhabersack@novell.com>
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

17 years ago2007-04-10 Sebastien Pouliot <sebastien@ximian.com>
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

17 years ago2007-04-10 Marek Habersack <mhabersack@novell.com>
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

17 years ago2007-04-10 Sebastien Pouliot <sebastien@ximian.com>
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

17 years ago2007-04-10 Marek Habersack <mhabersack@novell.com>
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

17 years agofix a mistake in the previous patch
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

17 years agoNew test.
Marek Safar [Tue, 10 Apr 2007 17:50:52 +0000 (17:50 -0000)]
New test.

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

17 years ago2007-04-10 Marek Safar <marek.safar@gmail.com>
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

17 years ago* X11Structs.cs: Add a few ToString() overrides.
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

17 years ago2007-04-10 Martin Baulig <martin@ximian.com>
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

17 years ago2007-04-10 Martin Baulig <martin@ximian.com>
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

17 years ago2007-04-10 Martin Baulig <martin@ximian.com>
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

17 years ago2007-04-10 Martin Baulig <martin@ximian.com>
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

17 years ago2007-04-10 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2007-04-10 Martin Baulig <martin@ximian.com>
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

17 years ago2007-04-10 Marek Habersack <mhabersack@novell.com>
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

17 years ago2007-04-10 Marek Habersack <mhabersack@novell.com>
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

17 years ago2007-04-10 Marek Habersack <mhabersack@novell.com>
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

17 years agoRevert - switch back to using MemberwiseClone
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

17 years agoremove Xml site map provider for security providers administration utility
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

17 years ago2007-04-10 Adar Wesley <adarw@mainsoft.com>
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

17 years agorefactor SystemColors cache into KnownColors.jvm.cs, to comply with mono implementation
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

17 years agorename MemberwiseClone to clone - accroding to public interface
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

17 years agofix typo
Igor Zelmanovich [Tue, 10 Apr 2007 07:33:16 +0000 (07:33 -0000)]
fix typo

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

17 years ago2007-04-10 Atsushi Enomoto <atsushi@ximian.com>
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

17 years ago2007-04-10 Atsushi Enomoto <atsushi@ximian.com>
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

17 years ago2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
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

17 years ago2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
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

17 years ago2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
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

17 years ago2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
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

17 years ago System.Drawing.dll.sources: Add internal KnownColors.
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

17 years ago2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
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

17 years ago* DataGridTextBoxColumnTest.cs: Added IsInEditOrNavigateMode tests.
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

17 years ago* XplatUIX11.cs: Added comment that "fixes" #80021.
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

17 years ago * TextControl.cs: We don't need this -1 on the line count
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

17 years agoA better fix
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

17 years ago* Makefile (cleanup): Use '-f' to silence 'rm'.
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

17 years agoFix #81338
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

17 years agoRemoved some extra tabs.
Gert Driesen [Mon, 9 Apr 2007 13:06:05 +0000 (13:06 -0000)]
Removed some extra tabs.

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

17 years ago* DataGridTextBoxColumn.cs: In Commit, use TypeConverter to convert
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

17 years ago2007-04-09 Alp Toker <alp@atoker.com>
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

17 years ago2007-04-09 Alp Toker <alp@atoker.com>
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

17 years ago2007-04-09 Alp Toker <alp@atoker.com>
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

17 years ago2007-04-09 Alp Toker <alp@atoker.com>
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

17 years agoNew tests.
Marek Safar [Sun, 8 Apr 2007 20:30:34 +0000 (20:30 -0000)]
New tests.

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

17 years ago2007-04-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 8 Apr 2007 20:25:01 +0000 (20:25 -0000)]
2007-04-08  Marek Safar  <marek.safar@gmail.com>

* anonymous.cs (MakeName): Make faster and zero-based.
(VerifyExplicitParameterCompatibility): Back to mode where generic
parameter is ignored.
(AnonymousMethodMethod.Emit): Decorate method as compiler generated.

* class.cs (EmitType): Method can emit another new method.

* cs-tokenizer.cs (IsLinqEnabled): Fixes static cctor race.

* driver.cs: Updated.

* lambda.cs: Reuse predefined empty parameters.

* parameter.cs: Updated

* support.cs: Implemented InflateTypes.

* typemanager.cs (GetFullName): Don't use FullName as it can be null.
(InitSystemCore): Introduced to isolate 3.0 dependencies.

2007-04-08  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay, linq.cs: First select implementation (hacky).

* generic.cs (InferTypeArguments): Simplified.

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

17 years ago* ListViewItem.cs: Added null checks. Avoid duplicating code in ctors.
Gert Driesen [Sun, 8 Apr 2007 07:21:11 +0000 (07:21 -0000)]
* ListViewItem.cs: Added null checks. Avoid duplicating code in ctors.
Use SubItems property when we want to ensure there's at least one
subitem. Modified SubItems property to ensure there's always at least
one subitem. Avoid using ListViewSubItemCollection.AddRange to match
the NRE's reported by MS.
* ListViewItemTest.cs: Added several ctor tests. Added tests to verify
throws exceptions. Added tests for ListViewSubItemCollection's Clear
and RemoteAt methods that prove that we need to ensure there's always
at least one subitem.

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

17 years ago2007-04-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 7 Apr 2007 18:19:07 +0000 (18:19 -0000)]
2007-04-07  Zoltan Varga  <vargaz@gmail.com>

* threads.c (start_wrapper): Call push_appdomain_ref () earlier to fix races where
the thread is aborted early.

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

17 years ago* RecommendedAsConfigurableAttribute.cs: Mark obsolete on 2.0 profile.
Gert Driesen [Sat, 7 Apr 2007 16:24:19 +0000 (16:24 -0000)]
* RecommendedAsConfigurableAttribute.cs: Mark obsolete on 2.0 profile.

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

17 years ago* Makefile: Do not output deprecated warnings.
Gert Driesen [Sat, 7 Apr 2007 16:22:35 +0000 (16:22 -0000)]
* Makefile: Do not output deprecated warnings.

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

17 years ago* UnitTest.cs: Added test for unit value with no integral part. Code
Gert Driesen [Sat, 7 Apr 2007 15:20:26 +0000 (15:20 -0000)]
* UnitTest.cs: Added test for unit value with no integral part. Code
formatting fixes.

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

17 years ago* WebTest.cs: Fixed compile using csc 1.x. Fixed line endings.
Gert Driesen [Sat, 7 Apr 2007 15:15:00 +0000 (15:15 -0000)]
* WebTest.cs: Fixed compile using csc 1.x. Fixed line endings.

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

17 years ago* ProgressBar.cs: On 2.0 profile, default forecolor is Highlight. Added
Gert Driesen [Sat, 7 Apr 2007 14:37:50 +0000 (14:37 -0000)]
* ProgressBar.cs: On 2.0 profile, default forecolor is Highlight. Added
ResetForeColor override on 2.0. Fixed a few API compatibility issues.
Spaces to tabs. Removed extra tabs.
* ProgressBarTest.cs: Added ForeColor and ResetForeColor tests.

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

17 years agoAdded NotWorking test for bug #80626.
Gert Driesen [Sat, 7 Apr 2007 13:56:11 +0000 (13:56 -0000)]
Added NotWorking test for bug #80626.

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

17 years ago* TextBoxTest.cs: Added NotWorking test for bug #80620.
Gert Driesen [Sat, 7 Apr 2007 13:51:55 +0000 (13:51 -0000)]
* TextBoxTest.cs: Added NotWorking test for bug #80620.

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

17 years ago2007-04-06 Andreas Faerber <andreas.faerber@web.de>
Zoltan Varga [Sat, 7 Apr 2007 10:22:37 +0000 (10:22 -0000)]
2007-04-06  Andreas Faerber  <andreas.faerber@web.de>

* wapi_glob.h:
* wapi_glob.c: remove reference to sys/cdefs.h, use glib instead.
Fixes: 81326

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

17 years ago2007-04-07 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 7 Apr 2007 00:30:49 +0000 (00:30 -0000)]
2007-04-07  Marek Habersack  <mhabersack@novell.com>

* HttpException.cs: show a default custom error message if custom
errors are enabled.
Cleaned up the errors HTML, made it XHTML-compliant. Generated
HTML now uses inline CSS styles.

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

17 years ago2007-04-06 Wade Berrier <wberrier@novell.com>
Wade Berrier [Fri, 6 Apr 2007 22:10:25 +0000 (22:10 -0000)]
2007-04-06  Wade Berrier  <wberrier@novell.com>

* Makefile: use bzip2 instead of gzip for 'make dist'
(even though it's not used here anymore)

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

17 years ago2007-04-06 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 6 Apr 2007 17:44:04 +0000 (17:44 -0000)]
2007-04-06  Miguel de Icaza  <miguel@novell.com>

* a.cs: Test this stuff.

* DataConverter.cs: Implement Paolo's suggestion: provide a
PutBytes interface that stores data into an existing byte array
and make the GetBytes operations be wrappers around PutBytes.

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

17 years agoThis goes before the }, not after it. Fixes build.
Jonathan Pobst [Fri, 6 Apr 2007 16:31:18 +0000 (16:31 -0000)]
This goes before the }, not after it.  Fixes build.

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

17 years ago2007-04-06 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 6 Apr 2007 16:04:50 +0000 (16:04 -0000)]
2007-04-06  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
infinite loop.  (Forgot to copy to the horizontal toolstrip case.)

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

17 years ago2007-04-06 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 6 Apr 2007 14:33:48 +0000 (14:33 -0000)]
2007-04-06  Marek Habersack  <mhabersack@novell.com>

* CustomErrorsSection.cs: make the customErrors section work.

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

17 years agofix compilation for 1.1
Marek Habersack [Fri, 6 Apr 2007 14:04:42 +0000 (14:04 -0000)]
fix compilation for 1.1

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

17 years ago2007-04-06 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 6 Apr 2007 13:01:59 +0000 (13:01 -0000)]
2007-04-06  Marek Habersack  <mhabersack@novell.com>

* BaseCompiler.cs: display the source of the file in which the
error actually happened if the file exists, or the unit
otherwise.

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

17 years ago2007-04-06 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 6 Apr 2007 11:51:51 +0000 (11:51 -0000)]
2007-04-06  Marek Habersack  <mhabersack@novell.com>

* ClientScriptManager.cs: render the 'type' attribute in
WriteScript and do not render the 'language' attribute when in
NET_2_0+ mode.

2007-04-06  Marek Habersack  <mhabersack@novell.com>

* HttpUtility.cs: added a constant that contains the default query
parameter character.
ParseQueryString supports queries with both '&' and ';' parameter
separators.

2007-04-06  Marek Habersack  <mhabersack@novell.com>

* HtmlForm.cs: render the 'name' attribute only when in non-xhtml
compliant mode.

2007-04-06  Marek Habersack  <mhabersack@novell.com>

* AssemblyResourceLoader.cs: use the correct query parameter
separator char for the current platform version. Fixes bug
#80633.

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

17 years agoforgot to change the assembly here, too
Marek Habersack [Fri, 6 Apr 2007 11:26:03 +0000 (11:26 -0000)]
forgot to change the assembly here, too

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

17 years ago2007-04-06 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 6 Apr 2007 11:13:39 +0000 (11:13 -0000)]
2007-04-06  Marek Habersack  <mhabersack@novell.com>

* data/net_2_0/machine.config: corrected the xhtmlConformance
entry to reference correct type.

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

17 years agoignore case and use invariant culture on comparison
Marek Habersack [Fri, 6 Apr 2007 10:42:49 +0000 (10:42 -0000)]
ignore case and use invariant culture on comparison

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

17 years agoadjust for the 1.x profile
Marek Habersack [Fri, 6 Apr 2007 10:38:27 +0000 (10:38 -0000)]
adjust for the 1.x profile

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

17 years ago2007-04-06 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 6 Apr 2007 10:29:38 +0000 (10:29 -0000)]
2007-04-06  Marek Habersack  <mhabersack@novell.com>

* PagesSection.cs: provide appropriate default value for the
asyncTimeout setting.

2007-04-06  Marek Habersack  <mhabersack@novell.com>

* Page.cs: defaults for ViewStateEncrptionMode and AsyncTimeout
are read from the pages section, if found.

* TemplateControlParser.cs: added support for loading
pages/controls defaults from web.config even if the page/control
does not have its corresponding directive.
Added support for reading the CompilationMode attribute.

* PageParser.cs: added support for loading pages/controls defaults
as above. Fixes bug #80915.
Added support for reading the maxPageStateFieldLength setting.
Added support for reading the pageParserFilter setting.

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

17 years ago * TextBoxBase.cs: When a delete removes a line,
Jackson Harper [Fri, 6 Apr 2007 04:43:10 +0000 (04:43 -0000)]
            * TextBoxBase.cs: When a delete removes a line,
                * recalculate all
        lines below that line (they need to get offsets setup correctly)
        and invalidate.

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

17 years ago * TextBoxBase.cs: Don't delete into the line ending.
Jackson Harper [Fri, 6 Apr 2007 04:22:21 +0000 (04:22 -0000)]
    * TextBoxBase.cs: Don't delete into the line ending.

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

17 years ago * TextControl.cs: We need to invalidate across the width of the
Jackson Harper [Fri, 6 Apr 2007 03:53:22 +0000 (03:53 -0000)]
    * TextControl.cs: We need to invalidate across the width of the
        document when we are invalidating multiple lines.

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

17 years ago2007-04-06 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 5 Apr 2007 22:48:20 +0000 (22:48 -0000)]
2007-04-06  Marek Habersack  <mhabersack@novell.com>

* ControlBuilder.cs: allow tag mappings from code found
in bin/* or App_Code/*. Fixes bug #80811.

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

17 years ago2007-04-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 5 Apr 2007 22:39:53 +0000 (22:39 -0000)]
2007-04-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Restore the check for the MouseHover event
in ListView. It looks like the ListView fires more than one MouseHover
event when HoverSelection is true  _only_ in weird-corner scenarios, but
in most of the cases it only fires one. Also, add the 2.0 ItemMouseHover
event.

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

17 years ago2007-04-06 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 5 Apr 2007 22:23:51 +0000 (22:23 -0000)]
2007-04-06  Marek Habersack  <mhabersack@novell.com>

* data/net_2_0/web.config: siteMap must be enabled by
default. Fixes bug #80611

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

17 years ago2007-04-06 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 5 Apr 2007 22:13:37 +0000 (22:13 -0000)]
2007-04-06  Marek Habersack  <mhabersack@novell.com>

* GridView.cs: don't render invisible fields. Fixes bug #80061.

* DetailsView.cs: don't render invisible fields.

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

17 years ago2007-04-05 Mike Kestner <mkestner@novell.com>
Mike Kestner [Thu, 5 Apr 2007 22:12:47 +0000 (22:12 -0000)]
2007-04-05  Mike Kestner  <mkestner@novell.com>

* ListView.cs : raise MouseDown before updating selection.
[Fixes #80373 tab 1&3]

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

17 years agoupdated the browscap.ini diff
Marek Habersack [Thu, 5 Apr 2007 21:18:21 +0000 (21:18 -0000)]
updated the browscap.ini diff

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

17 years ago2007-04-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 5 Apr 2007 21:16:56 +0000 (21:16 -0000)]
2007-04-05  Marek Habersack  <mhabersack@novell.com>

* Applied Mono-specific changes.

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

17 years ago2007-04-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 5 Apr 2007 21:14:52 +0000 (21:14 -0000)]
2007-04-05  Marek Habersack  <mhabersack@novell.com>

* data/browscap.ini: updated to the latest version.

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

17 years ago2007-04-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 5 Apr 2007 21:13:12 +0000 (21:13 -0000)]
2007-04-05  Marek Habersack  <mhabersack@novell.com>

* CapabilitiesLoader.cs: Make sure that the capability names
(keys) are stored in lowercase.

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

17 years ago* TreeViewTest.cs: Added NotWorking test for bug #81319.
Gert Driesen [Thu, 5 Apr 2007 20:13:02 +0000 (20:13 -0000)]
* TreeViewTest.cs: Added NotWorking test for bug #81319.

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

17 years ago2007-04-05 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 5 Apr 2007 19:57:44 +0000 (19:57 -0000)]
2007-04-05  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripRenderer.cs: Add static method to mirror image.
* ToolStripProfessionalRenderer.cs: Support ImageTransparentColor
and RightToLeftAutoMirrorImage.
* ToolStripItem.cs: Remove MonoTODO from ImageTransparentColor.

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

17 years ago2007-04-05 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 5 Apr 2007 18:48:19 +0000 (18:48 -0000)]
2007-04-05  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripSplitStackLayout.cs: Support Alignment property.
* ToolStripItem.cs: Remove MonoTODO from the Alignment property.

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

17 years ago - When combining lines, strip the ending text off the first
Jackson Harper [Thu, 5 Apr 2007 17:55:39 +0000 (17:55 -0000)]
    - When combining lines, strip the ending text off the first
          line.

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

17 years ago * TextControl.cs: Move around the line endings when
Jackson Harper [Thu, 5 Apr 2007 17:12:03 +0000 (17:12 -0000)]
            * TextControl.cs: Move around the line endings when
                * crossing line
        boundaries.

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

17 years agotypo
Jackson Harper [Thu, 5 Apr 2007 16:14:48 +0000 (16:14 -0000)]
typo

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

17 years ago * TextControl.cs:
Jackson Harper [Thu, 5 Apr 2007 15:39:13 +0000 (15:39 -0000)]
    * TextControl.cs:
        * TextBoxBase.cs: Try to never move the cursor into the line
        ending.

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

17 years agocorrectly resolve master page
Konstantin Triger [Thu, 5 Apr 2007 15:06:03 +0000 (15:06 -0000)]
correctly resolve master page

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

17 years ago2007-04-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 5 Apr 2007 14:45:43 +0000 (14:45 -0000)]
2007-04-05  Sebastien Pouliot  <sebastien@ximian.com>

* gdipFunctions.cs: Remove unused (and not part of GDI+) GdipGetHfont
method.

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

17 years agouse invariant culture; debug output
Konstantin Triger [Thu, 5 Apr 2007 14:21:27 +0000 (14:21 -0000)]
use invariant culture; debug output

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