Alp Toker [Thu, 3 Aug 2006 02:38:59 +0000 (02:38 -0000)]
Tiny doc typofix
svn path=/trunk/mono/; revision=63276
Gonzalo Paniagua Javier [Thu, 3 Aug 2006 01:45:10 +0000 (01:45 -0000)]
2006-08-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* filewatcher.c: let Win32Exception get the error value.
svn path=/trunk/mono/; revision=63274
Jackson Harper [Wed, 2 Aug 2006 20:18:20 +0000 (20:18 -0000)]
* Control.cs: Setting focus needs to go through the whole
selection mechanism.
svn path=/trunk/mcs/; revision=63269
Jackson Harper [Wed, 2 Aug 2006 20:16:25 +0000 (20:16 -0000)]
Test to make sure that setting focus activates the focused
control in the container.
svn path=/trunk/mcs/; revision=63268
Chris Toshok [Wed, 2 Aug 2006 18:56:48 +0000 (18:56 -0000)]
2006-08-02 Chris Toshok <toshok@ximian.com>
* PrintPreviewDialog.cs: change MinimumSize to use
base.MinimumSize so it works.
svn path=/trunk/mcs/; revision=63266
Zoltan Varga [Wed, 2 Aug 2006 17:48:10 +0000 (17:48 -0000)]
2006-08-02 Zoltan Varga <vargaz@gmail.com>
* mini-arch.h Makefile.am mini-ops.h mini-codegen.c: More alpha updates.
svn path=/trunk/mono/; revision=63260
Sebastien Pouliot [Wed, 2 Aug 2006 17:23:01 +0000 (17:23 -0000)]
2006-08-02 Sebastien Pouliot <sebastien@ximian.com>
* Makefile: Add the test bitmaps to EXTRA_DISTFILES so monobuild has
them available when running the unit tests.
svn path=/trunk/mcs/; revision=63259
Chris Toshok [Wed, 2 Aug 2006 16:39:57 +0000 (16:39 -0000)]
2006-08-02 Chris Toshok <toshok@ximian.com>
* PreviewPrintController.cs: scale the Graphics context we pass
back from OnStartPage such that the preview looks the way the
printed output will.
svn path=/trunk/mcs/; revision=63258
Konstantin Triger [Wed, 2 Aug 2006 16:33:47 +0000 (16:33 -0000)]
refactoring
svn path=/trunk/mcs/; revision=63257
Peter Dennis Bartok [Wed, 2 Aug 2006 16:26:10 +0000 (16:26 -0000)]
2006-08-02 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs:
- UpdateCaret: Added sanity check in case caret isn't defined yet
- Line.Delete: Now updating selection and caret markers if we're
transfering a node (Properly fixes #78323)
- SetSelectionEnd: Added sanity check
* TextBoxBase.cs: Removed broken attempt to fix #78323
svn path=/trunk/mcs/; revision=63256
Konstantin Triger [Wed, 2 Aug 2006 15:34:37 +0000 (15:34 -0000)]
workaround removing unsafe code
svn path=/trunk/mcs/; revision=63255
Gonzalo Paniagua Javier [Wed, 2 Aug 2006 15:20:02 +0000 (15:20 -0000)]
2006-08-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* filewatcher.c: translate errno into win32 errors for Win32Exception
to know what happened.
svn path=/trunk/mono/; revision=63254
Martin Baulig [Wed, 2 Aug 2006 14:33:46 +0000 (14:33 -0000)]
Updated version of the patch.
svn path=/trunk/mcs/; revision=63253
Raja R Harinath [Wed, 2 Aug 2006 13:56:17 +0000 (13:56 -0000)]
In mcs and gmcs:
Fix #77963
* class.cs (TypeContainer.DoDefineMembers): Use
FindBaseMemberWithSameName on Parent, since we're interested in
whether we hide inherited members or not.
(FindBaseMemberWithSameName): Make slightly more robust.
In tests:
* gtest-282.cs: New test from #77963.
svn path=/trunk/mcs/; revision=63251
Konstantin Triger [Wed, 2 Aug 2006 13:39:02 +0000 (13:39 -0000)]
build system update
svn path=/trunk/mcs/; revision=63250
Konstantin Triger [Wed, 2 Aug 2006 13:35:43 +0000 (13:35 -0000)]
cosmetic changes to enable compilation with MS 1.1 compiler
svn path=/trunk/mcs/; revision=63249
Raja R Harinath [Wed, 2 Aug 2006 13:21:56 +0000 (13:21 -0000)]
In mcs:
Fix the non-generic testcase from #77396
* decl.cs (DeclSpace.DeclContainer): Remove override.
In gmcs:
Fix #77396
* codegen.cs (IResolveContext.GenericDeclContainer): New.
(EmitContext): Implement new interface requirement.
* namespace.cs (UsingEntry, LocalAliasEntry): Likewise.
* decl.cs (MemberCore): Likewise.
(DeclSpace.GenericDeclContainer): Rename from DeclContainer.
* ecore.cs (SimpleName.ResolveAsTypeTerminal): Use
ec.GenericDeclContainer to check for generic parameters.
(SimpleName.DoSimpleNameResolve): Likewise.
* generic.cs (TypeParameter.DeclContainer): Remove override.
In errors:
* cs0246-16.cs, gcs0246-8.cs: New tests from #77396.
svn path=/trunk/mcs/; revision=63248
Konstantin Triger [Wed, 2 Aug 2006 13:05:08 +0000 (13:05 -0000)]
refactoring to adapt to build system changes
svn path=/trunk/mcs/; revision=63247
Raja R Harinath [Wed, 2 Aug 2006 12:01:59 +0000 (12:01 -0000)]
In mcs and gmcs:
* namespace.cs (NamespaceEntry.Doppelganger): Create slave
declspaces for doppelgangers too.
(UsingEntry): Implement IResolveContext.
(UsingEntry.Resolve): Don't set ToplevelTypes.Namespace. Use
'this' as the resolve context.
(LocalAliasEntry): Likewise.
svn path=/trunk/mcs/; revision=63246
Atsushi Eno [Wed, 2 Aug 2006 10:12:36 +0000 (10:12 -0000)]
2006-08-02 Atsushi Enomoto <atsushi@ximian.com>
* X509Certificate2.cs : .ctor(string, string) and .ctor(string,
SecureString) should call proper base constructor method for each.
Implemented IssuerName. Fixed bug #78986.
svn path=/trunk/mcs/; revision=63244
Raja R Harinath [Wed, 2 Aug 2006 10:09:19 +0000 (10:09 -0000)]
In mcs and gmcs:
Implement parts of #77403
* roottypes.cs (RootDeclSpace): New. Used to represent the
toplevel declaration space. Each namespace declaration introduces
a "partial" root declaretion space.
* namespace.cs (NamespaceEntry.SlaveDeclSpace): New.
(NamespaceEntry.ctor): Create a SlaveDeclSpace if necessary.
* cs-parser.jay (CSharpParser.ctor): Initialize 'current_class'
from 'current_namespace.SlaveDeclSpace'.
(namespace_declaration): Likewise.
* class.cs (TypeContainer.ctor): Remove parent==ToplevelTypes
check. It can't happen now.
* decl.cs (DeclSpace.LookupType): Likewise.
* driver.cs (MainDriver): Sanity check.
svn path=/trunk/mcs/; revision=63243
Raja R Harinath [Wed, 2 Aug 2006 07:30:40 +0000 (07:30 -0000)]
In mcs and gmcs:
* decl.cs (DeclSpace.FindNestedType): Remove.
(DeclSpace.LookupNestedTypeINHierarchy): Use PartialContainer and
LookupTypeContainer to get the container of the nested type.
* class.cs (TypeContainer.FindNestedType): Make non-override.
svn path=/trunk/mcs/; revision=63242
Jonathan Chambers [Wed, 2 Aug 2006 01:24:28 +0000 (01:24 -0000)]
2006-08-01 Jonathan Chambers <joncham@gmail.com>
* Font.cs: Fix marshalling of LOGFONT in ToHfont.
Fixes #78939.
svn path=/trunk/mcs/; revision=63233
Chris Toshok [Tue, 1 Aug 2006 21:46:21 +0000 (21:46 -0000)]
* PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
Close() call is handled in Form, not here.
2006-08-01 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=63230
Chris Toshok [Tue, 1 Aug 2006 21:28:05 +0000 (21:28 -0000)]
2006-08-01 Chris Toshok <toshok@ximian.com>
* Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
layout/rendering.
* PrintPreviewDialog.cs: add scrollbars, and add an image cache
for sizes < 100% zoom. The code now aggressively attempts to keep
from calling document.Print (), and tries not to use the scaling
g.DrawImage whenever possible (it still does if you scale to >
100%, since usually that involves huge images).
* PrintPreviewControl.cs: hook up the close button.
svn path=/trunk/mcs/; revision=63229
Jonathan Pobst [Tue, 1 Aug 2006 20:49:12 +0000 (20:49 -0000)]
2006-08-01 Jonathan Pobst <monkey@jpobst.com>
* ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
ItemDragEventHandler.cs, LabelEditEventHandler.cs,
LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
Removed [Serializable] for 2.0 Event Handlers.
svn path=/trunk/mcs/; revision=63228
Zoltan Varga [Tue, 1 Aug 2006 17:53:47 +0000 (17:53 -0000)]
2006-08-01 Zoltan Varga <vargaz@gmail.com>
* threadpool.c: Fix more warnings.
svn path=/trunk/mono/; revision=63222
Zoltan Varga [Tue, 1 Aug 2006 16:18:41 +0000 (16:18 -0000)]
2006-08-01 Zoltan Varga <vargaz@gmail.com>
* cpu-alpha.md inssel-alpha.brg mini-alpha.h mini-alpha.c exceptions-alpha.c tramp-alpha.c: More alpha port work from Sergey Tikhonov <tsv@solvo.ru>.
svn path=/trunk/mono/; revision=63220
Zoltan Varga [Tue, 1 Aug 2006 11:33:45 +0000 (11:33 -0000)]
2006-08-01 Zoltan Varga <vargaz@gmail.com>
* assembly.c (search_loaded): Fix warnings.
* threadpool.c (mono_thread_pool_finish): Fix warnings.
(mono_async_invoke): Ditto.
svn path=/trunk/mono/; revision=63216
Atsushi Eno [Tue, 1 Aug 2006 11:24:20 +0000 (11:24 -0000)]
2006-08-01 Atsushi Enomoto <atsushi@ximian.com>
* Uri.cs : don't compare UserInfo in Equals() and op_Equality().
Fixed a bug commented in #78799.
* UriTest.cs : added Equals3(), for bug #78799.
svn path=/trunk/mcs/; revision=63215
Konstantin Triger [Tue, 1 Aug 2006 09:45:08 +0000 (09:45 -0000)]
refactoring
svn path=/trunk/mcs/; revision=63213
Vladimir Krasnov [Tue, 1 Aug 2006 08:13:00 +0000 (08:13 -0000)]
* BulletedListTest.cs: fixed new line in render tests
svn path=/trunk/mcs/; revision=63212
Raja R Harinath [Tue, 1 Aug 2006 06:31:48 +0000 (06:31 -0000)]
Update "known errors" list
svn path=/trunk/mcs/; revision=63211
Jonathan Chambers [Tue, 1 Aug 2006 03:00:23 +0000 (03:00 -0000)]
2006-07-31 Jonathan Chambers <joncham@gmail.com>
* ColorEditor.cs: Add custom color picker tab.
svn path=/trunk/mcs/; revision=63209
Jackson Harper [Mon, 31 Jul 2006 23:54:01 +0000 (23:54 -0000)]
* TextBoxBase.cs: Make ShowSelection invalidate when changed.
* TextControl.cs: Uncomment out the body of this method.
svn path=/trunk/mcs/; revision=63207
Sebastien Pouliot [Mon, 31 Jul 2006 21:33:50 +0000 (21:33 -0000)]
2006-07-31 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyBuilderTest.cs: The GetType_IgnoreCase test case doesn't
work under MS.
* ConstructorBuilderTest.cs: The TestMethodHandle test case doesn't
work under MS.
svn path=/trunk/mcs/; revision=63204
Alexander Olk [Mon, 31 Jul 2006 20:57:48 +0000 (20:57 -0000)]
2006-07-31 Alexander Olk <alex.olk@googlemail.com>
* XplatUIX11.cs: Use the correct cursor shapes for arrow and default
standard cursors.
svn path=/trunk/mcs/; revision=63203
Peter Dennis Bartok [Mon, 31 Jul 2006 20:17:44 +0000 (20:17 -0000)]
* TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
selection drawing
svn path=/trunk/mcs/; revision=63202
Peter Dennis Bartok [Mon, 31 Jul 2006 20:14:26 +0000 (20:14 -0000)]
2006-07-31 Peter Dennis Bartok <pbartok@novell.com>
* TextBoxBase.cs: Added internal property ShowSelection to allow controls
that embed TextBox and need selections visible even if textbox is not
focused to enforce that behaviour.
svn path=/trunk/mcs/; revision=63201
Peter Dennis Bartok [Mon, 31 Jul 2006 19:04:55 +0000 (19:04 -0000)]
2006-07-31 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs:
- Added new SetSelectionStart/SetSelectionEnd overloads
- Fixed viewport width assignment to be accurate
- Adjusted alignment line shift calculations to allow cursor on right
aligned lines to be always visible at the right border (like MS)
* TextBoxBase.cs:
- SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
- TextBoxBase_SizeChanged: recalculating canvas on size changes
- CalculateScrollBars: Use ViewPort size instead of window size, to
properly consider space occupied by the border and scrollbars
(Fixes #78661)
- hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
calculations; no longer leaves artifacts
- CaretMoved: Adjusted window scrolling to match MS and fixed several
calculation bugs (Still missing right/center align calculations)
svn path=/trunk/mcs/; revision=63200
Gonzalo Paniagua Javier [Mon, 31 Jul 2006 18:23:56 +0000 (18:23 -0000)]
2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* PagerSettings.cs: Fixed the pager range calculation formula. The old
one didn't work with more than 20 pages. Patch by Marek Habersack that
closes bug #78328.
svn path=/trunk/mcs/; revision=63199
Peter Dennis Bartok [Mon, 31 Jul 2006 18:22:29 +0000 (18:22 -0000)]
2006-07-31 Peter Dennis Bartok <pbartok@novell.com>
* XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
use of both scroll rect and clip rect, as they do the same.
svn path=/trunk/mcs/; revision=63198
Peter Dennis Bartok [Mon, 31 Jul 2006 18:18:59 +0000 (18:18 -0000)]
2006-07-31 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
in the event handler (fixes #78912)
svn path=/trunk/mcs/; revision=63196
Sebastien Pouliot [Mon, 31 Jul 2006 17:35:16 +0000 (17:35 -0000)]
2006-07-31 Sebastien Pouliot <sebastien@ximian.com>
* sn.cs: Catch exceptions, including reporting invalid number of
parameters. Fix bug #78977.
svn path=/trunk/mcs/; revision=63193
Chris Toshok [Mon, 31 Jul 2006 16:54:55 +0000 (16:54 -0000)]
* ThemeWin32Classic.cs: use grid.RowsCount here instead of
grid.ListManager.Count, since grid.ListManager might be null.
This of course begs the question "why are we drawing rows for a
grid with no list manager (and therefor no rows)?" Fixes the
crash in bug #78929.
2006-07-31 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=63192
Chris Toshok [Mon, 31 Jul 2006 16:46:49 +0000 (16:46 -0000)]
* RelatedPropertyManager.cs: Don't always chain up to the parent
ctor. instead, call SetDataSource if the parent's position is !=
-1. Fixes the crash in #78822.
2006-07-31 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=63191
Atsushi Eno [Mon, 31 Jul 2006 16:46:44 +0000 (16:46 -0000)]
2006-07-31 Atsushi Enomoto <atsushi@ximian.com>
* X509Certificate.cs :
In 2.0 IntPtr constructor reject IntPtr.Zero as invalid handle.
In 2.0 copy constructor rejects null argument.
Equals() should return false if the argument cert is null.
Also if both x509 and raw data are null it caused NRE.
* X509CapiTest.cs : ConstructorIntPtrZero() is valid only under 1.x.
* X509CertificateTest.cs :
Added tests for equality and null certificate constructor.
svn path=/trunk/mcs/; revision=63190
Chris Toshok [Mon, 31 Jul 2006 16:09:04 +0000 (16:09 -0000)]
2006-07-31 Chris Toshok <toshok@ximian.com>
* DataGrid.cs (get_ListManager): use field instead of property
accessors for datasource and datamember.
(RowsCount): make internal again.
(OnMouseDown): end edits before resizing columns/rows.
(OnMouseUp): restart edits after resizing columns/rows.
svn path=/trunk/mcs/; revision=63189
Sebastien Pouliot [Mon, 31 Jul 2006 14:02:38 +0000 (14:02 -0000)]
2006-07-31 Sebastien Pouliot <sebastien@ximian.com>
* ConfigurationSettings.cs: Assert FileIOPermission when loading a
configuration file.
* ConfigXmlDocument.cs: Add an imperative demand for PathDiscovery on
all (many classes) Filename properties. Ensure we're not using the
property (but the member) inside the class itself.
svn path=/trunk/mcs/; revision=63180
Sebastien Pouliot [Mon, 31 Jul 2006 13:44:41 +0000 (13:44 -0000)]
2006-07-31 Sebastien Pouliot <sebastien@ximian.com>
* EventLogEntry.cs: Add a linkdemand for unrestricted on class.
* EventLogTraceListener.cs: Add a linkdemand for unrestricted on class
* FileVersionInfo.cs: Add a linkdemand for unrestricted on class. Add
an imperative demand for FileIOPermission.Read on GetVersionInfo
method. Change ToString method to use a StringBuilder.
* PerformanceCounterCategory.cs: Add a linkdemand for unrestricted on
class.
* PerformanceCounterManager.cs: Add a linkdemand for unrestricted on
class. Add [Obsolete] for NET_2_0 profile.
* Process.cs: Add a linkdemand and an inheritancedemand for
unrestricted on class.
* ProcessStartInfo.cs: Add a linkdemand for unrestricted on class.
svn path=/trunk/mcs/; revision=63179
Sebastien Pouliot [Mon, 31 Jul 2006 13:30:22 +0000 (13:30 -0000)]
2006-07-31 Sebastien Pouliot <sebastien@ximian.com>
* InvalidEnumArgumentException.cs: Updated to 2.0.
* LicenseException.cs: Updated to 2.0. Add a demand for
SerializationFormatter on GetObjectData method.
* TypeDescriptor.cs: Add linkdemand for ReflectionPermission on
CreateEvent and CreateProperties methods. Add linkdemand for
unrestricted on ComNativeDescriptorHandler get/set.
* WarningException.cs: Updated to 2.0. Add a demand for
SerializationFormatter on GetObjectData method.
* Win32Exception.cs: Add a demand for SerializationFormatter on
GetObjectData method.
svn path=/trunk/mcs/; revision=63178
Sebastien Pouliot [Mon, 31 Jul 2006 13:15:09 +0000 (13:15 -0000)]
2005-07-31 Sebastien Pouliot <sebastien@ximian.com>
* FileSystemWatcher.cs: Add an EnvironmentPermission assert to read
environment variable MONO_MANAGED_WATCHER.
svn path=/trunk/mcs/; revision=63177
Sebastien Pouliot [Mon, 31 Jul 2006 13:07:21 +0000 (13:07 -0000)]
corlib_test.dll.sources: Added unit tests for HMACSHA384 and HMACSHA512 to the build.
svn path=/trunk/mcs/; revision=63176
Sebastien Pouliot [Mon, 31 Jul 2006 13:04:56 +0000 (13:04 -0000)]
2006-07-31 Sebastien Pouliot <sebastien@ximian.com>
* ObjectIDGenerator.cs: Fix ArgumentNullException parameter.
svn path=/trunk/mcs/; revision=63175
Jonathan Chambers [Mon, 31 Jul 2006 12:39:23 +0000 (12:39 -0000)]
Added comment that all code I commit is contributed under the MIT/X11 license.
svn path=/trunk/mono/; revision=63174
Vladimir Krasnov [Mon, 31 Jul 2006 12:13:26 +0000 (12:13 -0000)]
* WizardStepBaseTest.cs, MasterPageTest.cs, MenuTest.cs, GridViewTest.cs: removed NotWorking attributes
svn path=/trunk/mcs/; revision=63173
Raja R Harinath [Mon, 31 Jul 2006 11:38:18 +0000 (11:38 -0000)]
In mcs and gmcs:
* decl.cs (DeclSpace.PartialContainer): Move field from ...
* class.cs (TypeContainer.PartialContainer): ... here.
(TypeContainer.AddBasesForPart): New helper.
(MemberBase.ParentContainer): Remove. Use Parent.PartialContainer
instead.
* cs-parser.jay (current_class): Convert to DeclSpace.
(struct_declaration, interface_declaration, class_declaration):
Use AddBasesForPart instead of .Bases directly.
* const.cs, iterators.cs: Update to changes.
svn path=/trunk/mcs/; revision=63172
Vladimir Krasnov [Mon, 31 Jul 2006 11:29:43 +0000 (11:29 -0000)]
* MasterPage.cs: fixed default values, fixed AddContentTemplate
svn path=/trunk/mcs/; revision=63171
Raja R Harinath [Mon, 31 Jul 2006 10:11:56 +0000 (10:11 -0000)]
Revert r63146
It breaks building the testsuite of Mono.C5.
Note to Marek: Please use 'make compiler-tests' to verify that you don't
regress the compiler
svn path=/trunk/mcs/; revision=63170
Vladimir Krasnov [Mon, 31 Jul 2006 08:12:07 +0000 (08:12 -0000)]
* Control.cs: fixed EnableTheming proprty, fixes the bug when skins are applied even if EnableTheming property was set to false.
svn path=/trunk/mcs/; revision=63169
Marek Safar [Sun, 30 Jul 2006 20:07:25 +0000 (20:07 -0000)]
New tests
svn path=/trunk/mcs/; revision=63168
Miguel de Icaza [Sun, 30 Jul 2006 18:24:37 +0000 (18:24 -0000)]
2006-07-30 Miguel de Icaza <miguel@novell.com>
* mono-service.cs: Create/open the lockfile exclusively to avoid
attacks. Fixes #77340.
svn path=/trunk/mcs/; revision=63164
Andrew Skiba [Sun, 30 Jul 2006 15:29:30 +0000 (15:29 -0000)]
FormView.cs: Render compatibility with .Net
FormViewTest.cs: fixes for several tests
svn path=/trunk/mcs/; revision=63163
Peter Dennis Bartok [Sun, 30 Jul 2006 15:02:42 +0000 (15:02 -0000)]
2006-07-30 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
This fixes the situation where the last set cursor is displayed
whenever the mouse is over scrollbars.
svn path=/trunk/mcs/; revision=63162
Vladimir Krasnov [Sun, 30 Jul 2006 11:43:27 +0000 (11:43 -0000)]
* WizardTest.cs: fixed test, removed NotWorking attributes
svn path=/trunk/mcs/; revision=63160
Vladimir Krasnov [Sun, 30 Jul 2006 11:31:41 +0000 (11:31 -0000)]
* Wizard.cs: fixed return value of OnBubbleEvent
svn path=/trunk/mcs/; revision=63159
Andrew Skiba [Sun, 30 Jul 2006 10:54:52 +0000 (10:54 -0000)]
* FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully handle null result of GetData().
svn path=/trunk/mcs/; revision=63158
Carlos Alberto Cortez [Sun, 30 Jul 2006 10:53:19 +0000 (10:53 -0000)]
2006-07-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* System.Windows.Forms_test.dll.sources: Added PrintDialogTest.cs
svn path=/trunk/mcs/; revision=63157
Carlos Alberto Cortez [Sun, 30 Jul 2006 10:52:20 +0000 (10:52 -0000)]
2006-07-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* PrintDialogTest.cs: Added.
svn path=/trunk/mcs/; revision=63156
Carlos Alberto Cortez [Sun, 30 Jul 2006 10:50:20 +0000 (10:50 -0000)]
2006-07-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* PrintDialog.cs: Fix the behaviour of PrinterSettings and
Document properties, as well as initial values.
svn path=/trunk/mcs/; revision=63155
Andrew Skiba [Sun, 30 Jul 2006 09:37:06 +0000 (09:37 -0000)]
oops
svn path=/trunk/mcs/; revision=63154
Andrew Skiba [Sun, 30 Jul 2006 08:59:50 +0000 (08:59 -0000)]
* FormView.cs: use TableStyle for ControlStyle
svn path=/trunk/mcs/; revision=63153
Andrew Skiba [Sun, 30 Jul 2006 08:19:53 +0000 (08:19 -0000)]
* FormView.cs: save DefaultMode and DataKeyMode in control state.
svn path=/trunk/mcs/; revision=63152
Andrew Skiba [Sun, 30 Jul 2006 08:01:58 +0000 (08:01 -0000)]
* FormView.cs: init DataKeys and fix null reference.
svn path=/trunk/mcs/; revision=63151
Peter Dennis Bartok [Sat, 29 Jul 2006 22:36:39 +0000 (22:36 -0000)]
- Don't always reset the border styles or forms will be messed up.
svn path=/trunk/mcs/; revision=63149
Peter Dennis Bartok [Sat, 29 Jul 2006 21:59:21 +0000 (21:59 -0000)]
2006-07-29 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIWin32.cs (SetBorderStyle): Setting both border
and ClientEdge results in a 3-pixel border, which is
wrong.
svn path=/trunk/mcs/; revision=63148
Marek Safar [Sat, 29 Jul 2006 19:41:28 +0000 (19:41 -0000)]
Updated
svn path=/trunk/mcs/; revision=63147
Marek Safar [Sat, 29 Jul 2006 18:26:50 +0000 (18:26 -0000)]
2006-07-29 Marek Safar <marek.safar@seznam.cz>
* anonymous.cs(AnonymousDelegate.Emit): Uses Constructor filter when
looking for ctor.
* decl.cs (MemberCache.FindMembers): When container is interface we need to
search all base interfaces as a member can be ambiguous.
* delegate.cs (Delegate.FindMembers): Fixed to return valid data for
Constructor member type filter.
(Delegate.ResolveConstructorMethod) Uses Constructor filter.
* ecore.cs: (Expression.MemberLookup): Implemented ambiguity error/warning
reporting for returned memberinfos.
* expresssion.cs (IndexerAccess.DoResolve): Fixed to report correct error
message.
* report.cs: Updated.
* typemanager.cs (TypeManager.LookupBaseInterfacesCache): Uses TypeManager
version to work on all runtimes.
(TypeManager.RealMemberLookup): Removed members filtering.
svn path=/trunk/mcs/; revision=63146
Jackson Harper [Fri, 28 Jul 2006 22:13:44 +0000 (22:13 -0000)]
* TreeNodeCollection.cs: Fix the clear method.
- Fix the Shrink also
svn path=/trunk/mcs/; revision=63125
Jackson Harper [Fri, 28 Jul 2006 21:42:38 +0000 (21:42 -0000)]
* TreeNodeCollection.cs: Fix the clear method.
svn path=/trunk/mcs/; revision=63122
Martin Baulig [Fri, 28 Jul 2006 21:09:57 +0000 (21:09 -0000)]
Added the latest version of my anonymous methods patch to SVN so I can't
accidentally delete it.
svn path=/trunk/mcs/; revision=63120
Carlos Alberto Cortez [Fri, 28 Jul 2006 19:36:25 +0000 (19:36 -0000)]
2006-07-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* PrintDocument.cs: When null is passed to PrinterSettings,
it should be set to a new PrinterSettings instance, and should never
be null.
* PrinterSettings.cs: Default value for Copies should be 1. Also
add a space in the ToString method, to correctly show the printer
info.
svn path=/trunk/mcs/; revision=63110
Jonathan Chambers [Fri, 28 Jul 2006 19:12:52 +0000 (19:12 -0000)]
2006-07-28 Jonathan Chambers <joncham@gmail.com>
Added support for marshalling COM RCWs.
svn path=/trunk/mcs/; revision=63104
Jonathan Chambers [Fri, 28 Jul 2006 19:11:23 +0000 (19:11 -0000)]
2006-07-28 Jonathan Chambers <joncham@gmail.com>
Added support for marshalling COM RCWs.
svn path=/trunk/mono/; revision=63102
Gonzalo Paniagua Javier [Fri, 28 Jul 2006 19:06:41 +0000 (19:06 -0000)]
2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* PageThemeCompiler.cs: Don't generate a 'Items.Clear ()' call if
the property Items does not exist. Patch by Marek Habersack that fixes
bug #78971.
svn path=/trunk/mcs/; revision=63097
Gonzalo Paniagua Javier [Fri, 28 Jul 2006 18:50:22 +0000 (18:50 -0000)]
2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateControlCompiler.cs: support assigning nullable types.
Patch by Marek Habersack that fixes bug #78970.
svn path=/trunk/mcs/; revision=63094
Gonzalo Paniagua Javier [Fri, 28 Jul 2006 18:46:40 +0000 (18:46 -0000)]
2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TreeView.cs: several changes to improve compatibility with MS.
Patch by Marek Habersack that fixes bug #77551.
svn path=/trunk/mcs/; revision=63093
Gonzalo Paniagua Javier [Fri, 28 Jul 2006 18:35:59 +0000 (18:35 -0000)]
2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Style.cs: output the text-decoration value even when it is 'none'.
Patch by Marek Habersack that fixes bug #78968.
svn path=/trunk/mcs/; revision=63092
Jordi Mas i Hernandez [Fri, 28 Jul 2006 18:04:53 +0000 (18:04 -0000)]
Comment on single graphic context usage
svn path=/trunk/mcs/; revision=63091
Paolo Molaro [Fri, 28 Jul 2006 17:06:09 +0000 (17:06 -0000)]
Fri Jul 28 19:04:34 CEST 2006 Paolo Molaro <lupus@ximian.com>
* image.c: avoid tentative loading of modulerefs that contain
no metadata (P/Invoke library names).
svn path=/trunk/mono/; revision=63090
Miguel de Icaza [Fri, 28 Jul 2006 16:35:30 +0000 (16:35 -0000)]
Revert this patch. Paolo pointed out that it will slow us down very much for assemblies with many p/invokes
svn path=/trunk/mono/; revision=63088
Atsushi Eno [Fri, 28 Jul 2006 15:45:18 +0000 (15:45 -0000)]
2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextWriter2.cs : fixed some indentation bugs: comments and PIs
should not cause indentation override like text, cdata and
whitespaces do.
Fixed some error messages on node kind.
* XmlTextWriter.cs, XmlTextWriterOpenElement.cs : removed old code.
(I don't want to remove old great code but it confused mike today.)
* XmlTextWriterTests.cs : added test case for comments, PIs and
indentation.
svn path=/trunk/mcs/; revision=63079
Dick Porter [Fri, 28 Jul 2006 14:00:52 +0000 (14:00 -0000)]
2006-07-28 Dick Porter <dick@ximian.com>
* loader.c (mono_loader_cleanup): mono_loader_cleanup() is racing
mono_loader_lock() somewhere, so don't delete the critical section
for now. Found by running and exiting monodevelop.
svn path=/trunk/mono/; revision=63075
Raja R Harinath [Fri, 28 Jul 2006 11:32:37 +0000 (11:32 -0000)]
In mcs and gmcs:
* class.cs (TypeContainer.AddMemberType): Rename from
AddToTypeContainer.
(TypeContainer.AddMember): Rename from AddToMemberContainer.
(AddTypeContainer): New. Combine AddClassOrStruct and
AddInterface.
(AddPartial): Update. Add 'is_partial' argument.
* roottypes.cs: Update to changes.
* cs-parser.jay (push_current_class): New helper for handling
current_container and current_class.
(struct_declaration, interface_declaration, class_declaration):
Use it.
svn path=/trunk/mcs/; revision=63072
Miguel de Icaza [Thu, 27 Jul 2006 21:20:34 +0000 (21:20 -0000)]
2006-07-27 Miguel de Icaza <miguel@novell.com>
* image.c (load_modules): Use the implmap table to find out which
external modules are actually native libraries. With this
information, we avoid loading the module in the first place.
svn path=/trunk/mono/; revision=63065
Jackson Harper [Thu, 27 Jul 2006 21:19:27 +0000 (21:19 -0000)]
* TreeView.cs: Make sure the visible order is computed when we
attempt to size the scrollbars (for trees that mess with the
scrolling when they shouldn't.
- Make sure to give the scrollbars valid values.
svn path=/trunk/mcs/; revision=63064
Zoltan Varga [Thu, 27 Jul 2006 16:37:56 +0000 (16:37 -0000)]
2006-07-27 Zoltan Varga <vargaz@gmail.com>
* libtest.c: Add a newline at the EOF.
svn path=/trunk/mono/; revision=63048
Peter Dennis Bartok [Thu, 27 Jul 2006 16:30:53 +0000 (16:30 -0000)]
2006-07-26 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: Move motion compression code to where it
has less performance impact
svn path=/trunk/mcs/; revision=63047
Andrew Skiba [Thu, 27 Jul 2006 15:33:48 +0000 (15:33 -0000)]
* FormViewTest.cs: fix few tests.
svn path=/trunk/mcs/; revision=63046
Andrew Skiba [Thu, 27 Jul 2006 15:23:40 +0000 (15:23 -0000)]
* FormView.cs: initialize PageCount with 0; fix IsBindableType to include Decimal.
svn path=/trunk/mcs/; revision=63045