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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Marek Habersack [Fri, 6 Apr 2007 14:04:42 +0000 (14:04 -0000)]
fix compilation for 1.1
svn path=/trunk/mcs/; revision=75483
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Marek Habersack [Thu, 5 Apr 2007 21:18:21 +0000 (21:18 -0000)]
updated the browscap.ini diff
svn path=/trunk/mcs/; revision=75462
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
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
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
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
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
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
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
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
Jackson Harper [Thu, 5 Apr 2007 16:14:48 +0000 (16:14 -0000)]
typo
svn path=/trunk/mcs/; revision=75451
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
Konstantin Triger [Thu, 5 Apr 2007 15:06:03 +0000 (15:06 -0000)]
correctly resolve master page
svn path=/trunk/mcs/; revision=75448
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
Konstantin Triger [Thu, 5 Apr 2007 14:21:27 +0000 (14:21 -0000)]
use invariant culture; debug output
svn path=/trunk/mcs/; revision=75444