Eyal Alalouf [Sun, 31 Dec 2006 15:27:25 +0000 (15:27 -0000)]
Run unix2dos.
svn path=/trunk/mcs/; revision=70286
Igor Zelmanovich [Sun, 31 Dec 2006 15:22:15 +0000 (15:22 -0000)]
2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
* webform.js: WebForm_AutoFocus support for not focusable elements
by setting focus on first focusable child.
svn path=/trunk/mcs/; revision=70285
Igor Zelmanovich [Sun, 31 Dec 2006 14:44:01 +0000 (14:44 -0000)]
2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
* ContainedTable.cs:
* DataControlButton.cs:
* DetailsView.cs: fixed EnablePagingCallbacks
* DetailsView.js:
* GridView.cs:
* GridView.js: fixed EnableSortingAndPagingCallbacks
svn path=/trunk/mcs/; revision=70284
Vladimir Krasnov [Sun, 31 Dec 2006 14:37:19 +0000 (14:37 -0000)]
* ProfileGroupBase.cs: fixed property name while getting from parent
svn path=/trunk/mcs/; revision=70283
Igor Zelmanovich [Sun, 31 Dec 2006 14:25:15 +0000 (14:25 -0000)]
2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: fixed: EventValidation is not performed for CallBack request.
svn path=/trunk/mcs/; revision=70282
Igor Zelmanovich [Sun, 31 Dec 2006 14:17:22 +0000 (14:17 -0000)]
2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
* callback.js: fixed: support IE7, encodeURIComponent is used to
encode the form.
svn path=/trunk/mcs/; revision=70281
Gert Driesen [Sun, 31 Dec 2006 12:59:52 +0000 (12:59 -0000)]
* ToolBarTest.cs: Added test for bug #80416.
svn path=/trunk/mcs/; revision=70280
Vladimir Krasnov [Sun, 31 Dec 2006 12:46:45 +0000 (12:46 -0000)]
* SettingsPropertyValue.cs: fixed PropertyValue property, added default value convertation to property type
svn path=/trunk/mcs/; revision=70279
Gert Driesen [Sun, 31 Dec 2006 10:12:43 +0000 (10:12 -0000)]
* ContainerControlTest.cs: Added tests for ActiveControl.
svn path=/trunk/mcs/; revision=70278
Chris Toshok [Sun, 31 Dec 2006 04:11:33 +0000 (04:11 -0000)]
revert the previous change. it's more 'right', but causes everything else to break
svn path=/trunk/mcs/; revision=70277
Chris Toshok [Sun, 31 Dec 2006 02:54:32 +0000 (02:54 -0000)]
* ContainerControl.cs: make sure we throw the exception if the
container control doesn't contain the control we're setting
ActiveControl to.
2006-12-30 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=70276
Chris Toshok [Sat, 30 Dec 2006 23:19:45 +0000 (23:19 -0000)]
In Test/System.Windows.Forms:
* DefaultLayoutTest.cs: add some more variants for the test for
80336, and remove the NotWorking from the 80336 test.
* SendKeysTest.cs: mark these tests as not working with Xvfb so I
can exclude them.
In System.Windows.Forms:
2006-12-30 Chris Toshok <toshok@ximian.com>
* Control.cs (SetTopLevel): fix the exception raised by
SetTopLevel for child controls.
(set_Anchor): call UpdateDistances when setting the anchor type.
This fixes bug #80336.
svn path=/trunk/mcs/; revision=70274
Alp Toker [Sat, 30 Dec 2006 22:40:25 +0000 (22:40 -0000)]
2006-12-30 Alp Toker <alp@atoker.com>
* Makefile: Enable CAIRO_1_2.
svn path=/trunk/mcs/; revision=70273
Alexander Olk [Sat, 30 Dec 2006 21:54:03 +0000 (21:54 -0000)]
2006-12-30 Alexander Olk <alex.olk@googlemail.com>
* ResourceManagerTest.cs: add one new test and remove NotWorking.
All tests pass now.
svn path=/trunk/mcs/; revision=70272
Alexander Olk [Sat, 30 Dec 2006 21:51:30 +0000 (21:51 -0000)]
* ResourceManager.cs: Don't create the ResourceSets hashtable in the
protected ctor, instead move it to the public ctors. Fixes some not
working nunit tests. Also, return a closed ResourceSet instead of
creating a new one. Fixes one more test. If only BaseNameField is
provided, try to create a resource set from the BaseNameField. One
more test that passes now.
* ResourceSet.cs: Remove isDisposed. Not needed anymore.
2006-12-30 Alexander Olk <alex.olk@googlemail.com>
svn path=/trunk/mcs/; revision=70271
Chris Toshok [Sat, 30 Dec 2006 21:29:14 +0000 (21:29 -0000)]
do the /exclude:Interactive thing in a way the existing library.make supports.
svn path=/trunk/mcs/; revision=70270
Chris Toshok [Sat, 30 Dec 2006 19:32:22 +0000 (19:32 -0000)]
In Test/System.Windows.Forms:
2006-12-30 Chris Toshok <toshok@ximian.com>
* SendKeysTest.cs: mark these tests as Interactive since they
can't be run against Xvfb.
In .:
2006-12-30 Chris Toshok <toshok@ximian.com>
* Makefile (TEST_HARNESS_LOCAL_EXCLUDES): exclude Interactive
tests.
svn path=/trunk/mcs/; revision=70269
Raja R Harinath [Sat, 30 Dec 2006 19:21:22 +0000 (19:21 -0000)]
* flowanalysis.cs (MyBitVector): Document some invariants.
(MyBitVector.Or, MyBitVector.And): Reimplement the optimizations
introduced below, and add a couple of others,
svn path=/trunk/mcs/; revision=70268
Miguel de Icaza [Sat, 30 Dec 2006 18:51:33 +0000 (18:51 -0000)]
2006-12-30 Miguel de Icaza <miguel@novell.com>
* debug-debugger.c (mono_debugger_main): Rename "main" to
"main_method" to prevent a warning.
Remove a warning for unused field.
svn path=/trunk/mono/; revision=70267
Marek Safar [Sat, 30 Dec 2006 18:04:58 +0000 (18:04 -0000)]
New tests.
svn path=/trunk/mcs/; revision=70266
Marek Safar [Sat, 30 Dec 2006 18:04:17 +0000 (18:04 -0000)]
2006-12-30 Marek Safar <marek.safar@gmail.com>
* cs-parser.jay: Better syntax errors handling.
svn path=/trunk/mcs/; revision=70265
Marek Safar [Sat, 30 Dec 2006 18:03:36 +0000 (18:03 -0000)]
2006-12-30 Marek Safar <marek.safar@gmail.com>
* attribute.cs (GetMethodObsoleteAttribute): Uses new
GetPropertyFromAccessor and GetEventFromAccessor.
* class.cs (MethodCore.CheckBase): A new warning when obsolete member
overrides non-obsolete one.
(Indexer.Define): Error message has been moved to the parser.
* cs-parser.jay: Better syntax errors handling.
* delegate.cs (NewDelegate.DoResolve): Issue less confusing error message
when an invocation has no arguments.
* ecore.cs: Removed not used caching.
* expression.cs (IsSpecialMethodInvocation): Reuses TypeManager
implementation.
* report.cs: Add a new warning.
* support.cs (ReflectionParameters): Implements Equals, GetHashCode.
* typemanager.cs (enumeration_type): Removed.
(CSharpSignature): Reuses IsSpecialMethod.
(IsEqual): Hack for MS BCL.
(GetPropertyFromAccessor): New method.
(GetEventFromAccessor): New method.
(IsSpecialMethod): Fixed to handle more cases.
svn path=/trunk/mcs/; revision=70264
Marek Safar [Sat, 30 Dec 2006 17:56:00 +0000 (17:56 -0000)]
2006-12-30 Marek Safar <marek.safar@gmail.com>
* String.cs: Character based method only.
(IndexOf, LastIndexOf, Replace, IndexOfAny): Performance improvements.
(Substring): Returns same instance when index is 0.
svn path=/trunk/mcs/; revision=70263
Marek Safar [Sat, 30 Dec 2006 17:51:57 +0000 (17:51 -0000)]
2006-12-30 Marek Safar <marek.safar@gmail.com>
* MonoProperty.cs: Cache frequently used properties.
svn path=/trunk/mcs/; revision=70262
Gert Driesen [Sat, 30 Dec 2006 17:45:35 +0000 (17:45 -0000)]
* MethodDataCollection.cs: Throw NotImplementedException in methods
and properties itself to improve Moma reports.
* ManagementClass.cs: Same.
* MethodData.cs: Same.
* ManagementObjectSearcher.cs: Same.
* ObjectQuery.cs: Same.
* ManagementQuery.cs: Same.
svn path=/trunk/mcs/; revision=70261
Marek Safar [Sat, 30 Dec 2006 16:07:56 +0000 (16:07 -0000)]
2006-12-30 Marek Safar <marek.safar@gmail.com>
* cs-tokenizer.cs (PreProcessDefinition, handle_preprocessing_directive):
Made white spaces array static.
* ecore.cs (RemoveGenericArity): Optimized.
* flowanalysis.cs (MyBitVector.Or, MyBitVector.And): Optimized (up to
10 times faster).
(MyBitVector.initialize_vector): Simplified.
svn path=/trunk/mcs/; revision=70259
Alexander Olk [Sat, 30 Dec 2006 16:07:24 +0000 (16:07 -0000)]
2006-12-30 Alexander Olk <alex.olk@googlemail.com>
* ResourceManager.cs: Iterate through the values of the ResourceSets
hashtable in ReleaseAllResources instead through the hashtable itself.
svn path=/trunk/mcs/; revision=70258
Gert Driesen [Sat, 30 Dec 2006 14:52:23 +0000 (14:52 -0000)]
* NewMonoXSD.cs : Silently ignore /nologo switch for compatibility
with MS.
svn path=/trunk/mcs/; revision=70256
Gert Driesen [Sat, 30 Dec 2006 14:42:05 +0000 (14:42 -0000)]
* ManagementObjectSearcher.cs: Stubbed out.
* ManagementQuery.cs: Stubbed out.
* ObjectQuery.cs: Stubbed out.
* System.Management.dll.sources: Added ManagementObjectSearcher.cs,
ManagementQuery.cs, ObjectQuery.cs.
svn path=/trunk/mcs/; revision=70255
Gert Driesen [Sat, 30 Dec 2006 14:26:26 +0000 (14:26 -0000)]
* System.Management.dll.sources: Added CodeLanguage.cs,
ManagementClass.cs, MethodData.cs, MethodDataCollection.cs.
* CodeLanguage.cs: Stubbed out.
* ManagementClass.cs: Stubbed out.
* MethodData.cs: Stubbed out.
* MethodDataCollection.cs: Stubbed out.
svn path=/trunk/mcs/; revision=70254
Alexander Olk [Sat, 30 Dec 2006 11:02:56 +0000 (11:02 -0000)]
2006-12-30 Alexander Olk <alex.olk@googlemail.com>
* gdipFunctions.cs: Don't create "millions" of byte arrays in
GdiPlusStreamHelper. Just create a default size array and resize it
only when needed. (as an example: the FileDialog sample created more
than 1700 new byte arrays on my system before the patch, now only 74)
svn path=/trunk/mcs/; revision=70253
Alp Toker [Sat, 30 Dec 2006 03:28:46 +0000 (03:28 -0000)]
2006-12-30 Alp Toker <alp@atoker.com>
* MathTest.cs: Add test case for new (2.0) Decimal.Ceiling.
Based on feedback on #80384.
svn path=/trunk/mcs/; revision=70252
Alp Toker [Sat, 30 Dec 2006 03:28:04 +0000 (03:28 -0000)]
2006-12-30 Alp Toker <alp@atoker.com>
* Decimal.cs:
* Math.cs: Implement missing Decimal.Ceiling methods for 2.0.
Closes #80384.
svn path=/trunk/mcs/; revision=70251
Marek Habersack [Sat, 30 Dec 2006 02:16:12 +0000 (02:16 -0000)]
tests for IsValidIdentifier method
svn path=/trunk/mcs/; revision=70248
Marek Habersack [Sat, 30 Dec 2006 01:50:11 +0000 (01:50 -0000)]
Implement actual identifier checking
svn path=/trunk/mcs/; revision=70247
Gert Driesen [Fri, 29 Dec 2006 23:40:46 +0000 (23:40 -0000)]
* ResourceReader.cs: Support reading byte arrays in v2 resource files.
Patch provided by Red Forks. Fixes bug #79976.
* ResourceReaderTest.cs: Added test for reading byte array.
No longer derive from Assertion class.
svn path=/trunk/mcs/; revision=70246
Gert Driesen [Fri, 29 Dec 2006 22:34:41 +0000 (22:34 -0000)]
* CultureTest.cs: Added SetUp and TearDown. Spaces to tabs.
* WriterTest.cs Added SetUp and TearDown. Spaces to tabs.
svn path=/trunk/mcs/; revision=70245
Gert Driesen [Fri, 29 Dec 2006 22:25:50 +0000 (22:25 -0000)]
* ResXResourceReader.cs: For invalid mime type, return value as string
on 1.0 profile. This matches MS.
* CompatTest.cs: Fixed test for 2.0 profile and 1.0 profile. Enabled
test for 1.0 profile.
svn path=/trunk/mcs/; revision=70244
Gert Driesen [Fri, 29 Dec 2006 21:17:31 +0000 (21:17 -0000)]
* DataGridTest.cs: Fixed compiler warnings.
svn path=/trunk/mcs/; revision=70240
Gert Driesen [Fri, 29 Dec 2006 21:16:26 +0000 (21:16 -0000)]
* ControlTest.cs: Marked FontTest and ResetFontTest as NotWorking
until Theme.DefaultFont change is approved.
svn path=/trunk/mcs/; revision=70239
Robert Jordan [Fri, 29 Dec 2006 21:14:25 +0000 (21:14 -0000)]
2006-12-29 Robert Jordan <robertj@gmx.net>
* TraceImpl.cs (Assert): Include line numbers in the stack trace
emitted by Assert (). Fixes bug #80400.
svn path=/trunk/mcs/; revision=70238
Gert Driesen [Fri, 29 Dec 2006 21:05:37 +0000 (21:05 -0000)]
* Theme.cs: For now, revert back to 8pt font.
svn path=/trunk/mcs/; revision=70237
Gert Driesen [Fri, 29 Dec 2006 20:36:06 +0000 (20:36 -0000)]
* Theme.cs: Marked default_font as private, and initialize it in ctor
with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
on 2.0 profile.
* ThemeGtk.cs: Removed default_font intialization.
* ThemeWin32Classic.cs: Removed default_font initialization.
* ControlTest.cs: Added test for Font and ResetFont.
* DataGridTest.cs: Fixed CaptionFont test on 2.0 profile.
remark: corresponding ChangeLog entries were (by accident) committed earlier
today.
svn path=/trunk/mcs/; revision=70234
Everaldo Canuto [Fri, 29 Dec 2006 18:44:07 +0000 (18:44 -0000)]
2006-12-29 Everaldo Canuto <everaldo@simios.org>
* MenuAPI.cs: Set popup as active when open a ContextMenu.
Fixes #80395.
svn path=/trunk/mcs/; revision=70232
Chris Toshok [Fri, 29 Dec 2006 18:28:47 +0000 (18:28 -0000)]
In Test/System.Windows.Forms:
2006-12-29 Chris Toshok <toshok@ximian.com>
* ControlEventTest.cs: add a test to determine the ordering of
Layout/Resize events.
In System.Windows.Forms:
2006-12-29 Chris Toshok <toshok@ximian.com>
* Control.cs: reorder the code in OnResize to give the same event
ordering as MS.
svn path=/trunk/mcs/; revision=70231
Rolf Bjarne Kvinge [Fri, 29 Dec 2006 18:12:57 +0000 (18:12 -0000)]
Remove NIE for Mono reports.
svn path=/trunk/mcs/; revision=70229
Rolf Bjarne Kvinge [Fri, 29 Dec 2006 18:11:06 +0000 (18:11 -0000)]
2006-12-29 Rolf Bjarne Kvinge <RKvinge@novell.com>
* MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
TileHorizontally and TileVertically.
svn path=/trunk/mcs/; revision=70228
Miguel de Icaza [Fri, 29 Dec 2006 17:45:13 +0000 (17:45 -0000)]
Fix the monoburg invocation, the default cost should be 1, not -1
svn path=/trunk/mono/; revision=70227
Marek Sieradzki [Fri, 29 Dec 2006 15:03:36 +0000 (15:03 -0000)]
2006-12-29 Marek Sieradzki <marek.sieradzki@gmail.com>
* ToolTask.cs (LogEventsFromTextOutput): This method is actually
protected so we can't remove second parameter.
svn path=/trunk/mcs/; revision=70217
Alexander Olk [Fri, 29 Dec 2006 14:12:29 +0000 (14:12 -0000)]
2006-12-29 Alexander Olk <alex.olk@googlemail.com>
* ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
Corrected copyright and email adress.
svn path=/trunk/mcs/; revision=70207
Gert Driesen [Fri, 29 Dec 2006 13:32:20 +0000 (13:32 -0000)]
* TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
of Exception in FullPath property if no TreeView is associated with
the TreeNode.
* TreeNodeTest.cs: Fixed FullPathException test on 2.0 profile.
svn path=/trunk/mcs/; revision=70206
Gert Driesen [Fri, 29 Dec 2006 11:42:19 +0000 (11:42 -0000)]
* SystemFontsTest.cs: Split DefaultFont test into two parts, since
on Linux MS Sans Sarif is mapped to other available font.
svn path=/trunk/mcs/; revision=70204
Gert Driesen [Fri, 29 Dec 2006 11:27:48 +0000 (11:27 -0000)]
* SystemFontsTest.cs: Added test for DefaultFont.
svn path=/trunk/mcs/; revision=70203
Gert Driesen [Fri, 29 Dec 2006 11:25:16 +0000 (11:25 -0000)]
* Brush.cs: Fixed line endings.
* BufferedGraphicsContext.cs: Fixed line endings.
* CharacterRange.cs: Fixed line endings.
* Graphics.cs: Fixed line endings.
* IDeviceContext.cs: Fixed line endings.
* SizeFConverter.cs: Fixed line endings.
* SystemBrushes.cs: Fixed line endings.
* SystemFonts.cs: Fixed line endings.
* SystemPens.cs: Fixed line endings.
svn path=/trunk/mcs/; revision=70202
Gert Driesen [Fri, 29 Dec 2006 10:09:34 +0000 (10:09 -0000)]
* ControlTest.cs: Improved DoubleBufferedTest.
svn path=/trunk/mcs/; revision=70201
Marek Safar [Fri, 29 Dec 2006 09:51:15 +0000 (09:51 -0000)]
2006-12-29 Marek Safar <marek.safar@gmail.com>
* BitArray.cs: Performance improvements.
svn path=/trunk/mcs/; revision=70200
Gert Driesen [Fri, 29 Dec 2006 09:31:51 +0000 (09:31 -0000)]
* HttpWebRequest.jvm.cs: Fixed line endings.
* HttpWebResponse.jvm.cs: Same.
* WebException.cs: Same.
* FtpWebRequest.cs: Same.
* VMWHttpProvider.jvm.cs: Same.
svn path=/trunk/mcs/; revision=70199
Gert Driesen [Fri, 29 Dec 2006 09:16:25 +0000 (09:16 -0000)]
* DnsPermissionAttribute.cs: Fixed line endings. Set eol-style.
* HttpVersion.cs: Same.
* FtpWebResponse.cs: Same.
* HttpContinueDelegate.cs: Same.
* FtpAsyncResult.cs: Same.
* EndpointPermission.cs: Same.
* IPv6Address.cs: Same.
* FtpDataStream.cs: Same.
* SocketPermission.cs: Same.
* FileWebRequest.cs: Same.
* FileWebResponse.cs: Same.
* DnsPermission.cs: Same.
* ProtocolViolationException.cs: Same.
* MonoHttpDate.cs: Same.
* SocketPermissionAttribute.cs: Same.
* CookieException.cs: Same.
* WebResponse.cs: Same.
* DefaultCertificatePolicy.cs: Same.
svn path=/trunk/mcs/; revision=70198
Chris Toshok [Fri, 29 Dec 2006 06:29:07 +0000 (06:29 -0000)]
* Control.cs: fix a couple of place where we were creating handles
more aggressively than we should be. Fixes ControlRefresh unit
tests.
2006-12-28 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=70195
Chris Toshok [Fri, 29 Dec 2006 06:07:22 +0000 (06:07 -0000)]
In .:
2006-12-28 Chris Toshok <toshok@ximian.com>
* System.Windows.Forms_test.dll.sources: add DefaultLayoutTest and
remove DockingTests.
In Test/System.Windows.Forms:
2006-12-28 Chris Toshok <toshok@ximian.com>
* ControlTest.cs: add a test to check whether parent.PerformLayout
is called from OnResized (it isn't).
* DefaultLayoutTest.cs: new file, add a bunch of anchor tests,
including the (not working) test case in bug #80336. Move the
docking/undocking tests here.
In System.Windows.Forms:
2006-12-28 Chris Toshok <toshok@ximian.com>
* Control.cs: contrary to what the comment said, Control.Dock does
not supercede Control.Anchor - the last one you assign to decides
the layout behavior. so we need to keep track of which was the
last set. Also, fix some of the affected property arguments in
PerformLayout calls, and remove an redundant parent.PerformLayout
call in OnResized.
Add a VisibleInternal property, which returns is_visible. We
can/should get rid of all the usage of this field elsewhere.
In System.Windows.Forms.Layout:
2006-12-28 Chris Toshok <toshok@ximian.com>
* DefaultLayout.cs: split out the various parts (docking,
anchoring) into separate methods. make use of the
Control.ControlLayoutType property, as well as
Control.VisibleInternal (and fix a couple of unit tests which were
broken due to use of Visible here.)
svn path=/trunk/mcs/; revision=70194
Rolf Bjarne Kvinge [Fri, 29 Dec 2006 00:24:57 +0000 (00:24 -0000)]
In Test/System.Windows.Forms:
* ControlTest.cs: More tests for double buffers.
2006-12-28 Rolf Bjarne Kvinge <RKvinge@novell.com>
In System.Windows.Forms:
* Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
control style, not DoubleBuffer. Added UseDoubleBuffering property
that indicates whether doublebuffering is enabled and supported.
(comment from and code based on Gert Driesen's patch in #80324).
Fixes #80324.
2006-12-28 Rolf Bjarne Kvinge <RKvinge@novell.com>
svn path=/trunk/mcs/; revision=70192
Gert Driesen [Thu, 28 Dec 2006 21:18:12 +0000 (21:18 -0000)]
* IPAddress.cs: On 1.1, 4-byte addresses are not supported in the
ctor. Added null checks for the address passed in the ctors.
* IPAddressTest.cs: Added 4-byte and null address tests.
svn path=/trunk/mcs/; revision=70191
Miguel de Icaza [Thu, 28 Dec 2006 21:01:35 +0000 (21:01 -0000)]
Update
svn path=/trunk/mono/; revision=70190
Gert Driesen [Thu, 28 Dec 2006 20:52:01 +0000 (20:52 -0000)]
Set eol-style to native.
svn path=/trunk/mcs/; revision=70189
Gert Driesen [Thu, 28 Dec 2006 20:51:12 +0000 (20:51 -0000)]
* ContainerTest.cs: Fixed compiler warning.
svn path=/trunk/mcs/; revision=70188
Rolf Bjarne Kvinge [Thu, 28 Dec 2006 20:37:12 +0000 (20:37 -0000)]
* Control.cs: Fixed a NRE.
2006-12-28 Rolf Bjarne Kvinge <RKvinge@novell.com>
svn path=/trunk/mcs/; revision=70187
Miguel de Icaza [Thu, 28 Dec 2006 20:22:23 +0000 (20:22 -0000)]
Add help, remove -Error add error, use Error otuput in a few places
svn path=/trunk/mcs/; revision=70186
Rolf Bjarne Kvinge [Thu, 28 Dec 2006 18:53:24 +0000 (18:53 -0000)]
* TrackBar.cs: Fix SmallChange and LargeChange exceptions
for 2.0.
2006-12-28 Rolf Bjarne Kvinge <RKvinge@novell.com>
svn path=/trunk/mcs/; revision=70183
Rolf Bjarne Kvinge [Thu, 28 Dec 2006 18:41:44 +0000 (18:41 -0000)]
In System.Windows.Forms:
2006-12-28 Rolf Bjarne Kvinge <RKvinge@novell.com>
* Control.cs: Rewrote double buffering, now a seperate
class handles all the buffering, no Graphics is disposed of
until the painting is finished (earlier implementation
would crash if the control was resized in the OnPaint,
since it would cause the double buffer to be recreated
and the old one disposed), a separate Graphics is
created for every paint (MS behaviour and anyways the state
of the Graphics would have to be saved and restored otherwise)
* XplatUIDriver.cs:
* XplatUIX11.cs:
* XplatUI.cs: Added and implemented GetOffscreenGraphics
so that we can get the graphics for the back buffer without
having to create a new one and remove the offscreen_dc parameter
from CreateOffscreenDrawable and DestroyOffscreenDrawable.
In System.Windows.Forms.X11Internal:
2006-12-28 Rolf Bjarne Kvinge <RKvinge@novell.com>
* X11Display.cs:
* XplatUIX11-new.cs: Implemented GetOffscreenGraphics and
change CreateOffscreenDrawable and DestroyOffscreenDrawable to
have the new correct signature.
In Test/System.Windows.Forms:
2006-12-28 Rolf Bjarne Kvinge <RKvinge@novell.com>
* ControlTest.cs: Added double buffering tests.
svn path=/trunk/mcs/; revision=70182
Miguel de Icaza [Thu, 28 Dec 2006 18:21:15 +0000 (18:21 -0000)]
Apply patch from Jon Larimer
2006-12-28 Jon Larimer <jlarimer@gmail.com>
* DirectorySearcher.cs: When using
System.DirectoryServices.DirectorySearcher to query a Windows
Active Directory Server, the results will almost always contain
referal nodes. These can probably be ignored, as there are also
svn path=/trunk/mcs/; revision=70180
Miguel de Icaza [Thu, 28 Dec 2006 18:16:57 +0000 (18:16 -0000)]
Apply patch from Jon Larimer
2006-12-28 Jon Larimer <jlarimer@gmail.com>
* Connection.cs: Add a try/finally section to release the
semId semaphore in case the connection fails.
Fixes #80102
svn path=/trunk/mcs/; revision=70177
Konstantin Triger [Thu, 28 Dec 2006 18:15:04 +0000 (18:15 -0000)]
correct section name for mainsoft.directoryservices
svn path=/trunk/mono/; revision=70176
Miguel de Icaza [Thu, 28 Dec 2006 18:07:33 +0000 (18:07 -0000)]
2006-12-28 Miguel de Icaza <miguel@novell.com>
* IPAddress.cs: The condition in 1.1 was broken, it only allowed
16-byte addresses, and never 4-byte addresses (only 2.0 had
them).
Keep a single code path.
Also, remove all the NET_1_1 defines, we realistically only
distinguish between 1.1 and 2.0, we wont likely support 1.0, 1.1
and 2.0, so remove the 1.0 vs 1.1 conditionals.
Fixes 76792
svn path=/trunk/mcs/; revision=70174
Chris Toshok [Thu, 28 Dec 2006 18:01:30 +0000 (18:01 -0000)]
a little more corcompare attribute work
svn path=/trunk/mcs/; revision=70173
Chris Toshok [Thu, 28 Dec 2006 17:36:24 +0000 (17:36 -0000)]
make another pass at corcompare, mostly attributes on classes/properties/events/etc
svn path=/trunk/mcs/; revision=70171
Igor Zelmanovich [Thu, 28 Dec 2006 16:09:35 +0000 (16:09 -0000)]
2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
* TreeView.cs:
ResolveClientUrl used with LineImagesFolder, ExpandImageUrl,
CollapseImageUrl and NoExpandImageUrl properties.
svn path=/trunk/mcs/; revision=70170
Vladimir Krasnov [Thu, 28 Dec 2006 16:08:08 +0000 (16:08 -0000)]
* SqlDataSource.cs: Added parameters update on OnInit
svn path=/trunk/mcs/; revision=70169
Vladimir Krasnov [Thu, 28 Dec 2006 14:01:14 +0000 (14:01 -0000)]
* LoginView.cs: fixed rendering LoggedInTemplate even after user logged out
svn path=/trunk/mcs/; revision=70168
Martin Baulig [Thu, 28 Dec 2006 13:29:05 +0000 (13:29 -0000)]
2006-12-28 Martin Baulig <martin@ximian.com>
* debug-debugger.c
(MONO_DEBUGGER__debugger_info): Add `get_lmf_addr'.
svn path=/trunk/mono/; revision=70166
Igor Zelmanovich [Thu, 28 Dec 2006 13:28:38 +0000 (13:28 -0000)]
2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
* DetailsView.cs:
* GridView.cs:
* FormView.cs:
control's behavior depends on using DataSource or DataSourceID
property for binding
svn path=/trunk/mcs/; revision=70165
Igor Zelmanovich [Thu, 28 Dec 2006 12:02:59 +0000 (12:02 -0000)]
typo fix
svn path=/trunk/mcs/; revision=70164
Vladislav Spivak [Thu, 28 Dec 2006 09:19:30 +0000 (09:19 -0000)]
Added hint pathh for references
svn path=/trunk/mcs/; revision=70159
Konstantin Triger [Thu, 28 Dec 2006 09:13:12 +0000 (09:13 -0000)]
Add Mainsoft.Web folder
svn path=/trunk/mcs/; revision=70158
motym [Thu, 28 Dec 2006 08:09:52 +0000 (08:09 -0000)]
svn path=/trunk/mcs/; revision=70157
Raja R Harinath [Thu, 28 Dec 2006 05:30:33 +0000 (05:30 -0000)]
make line-endings uniform. Set svn:eol-style native on files without CRs.
svn path=/trunk/mcs/; revision=70154
Gonzalo Paniagua Javier [Thu, 28 Dec 2006 05:30:13 +0000 (05:30 -0000)]
2006-12-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlForm.cs: ignore user provided 'onsubmit' for HtmlForm. See
bug #76974.
svn path=/trunk/mcs/; revision=70153
Raja R Harinath [Thu, 28 Dec 2006 05:22:48 +0000 (05:22 -0000)]
* ControlDesigner.cs: Merge with Miguel's version.
svn path=/trunk/mcs/; revision=70152
Alp Toker [Thu, 28 Dec 2006 01:47:02 +0000 (01:47 -0000)]
2006-12-28 Alp Toker <alp@atoker.com>
* Mono.Cairo/DirectFBSurface.cs: Confusion between the DirectFB
surface handle and Cairo surface handle was making the public
constructor unusable.
svn path=/trunk/mcs/; revision=70151
Miguel de Icaza [Thu, 28 Dec 2006 01:03:29 +0000 (01:03 -0000)]
To improve Moma Reports
svn path=/trunk/mcs/; revision=70150
Miguel de Icaza [Thu, 28 Dec 2006 00:17:17 +0000 (00:17 -0000)]
Fix build
svn path=/trunk/mcs/; revision=70149
Miguel de Icaza [Thu, 28 Dec 2006 00:12:06 +0000 (00:12 -0000)]
Add an old basic implementation I had around
svn path=/trunk/mcs/; revision=70148
Carlos Alberto Cortez [Wed, 27 Dec 2006 20:41:46 +0000 (20:41 -0000)]
* ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
Also make virtual all the key-related methods.
* ListViewItem.cs: Make virtual the key related methods for
ListViewSubItemCollection.
2006-12-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=70145
Carlos Alberto Cortez [Wed, 27 Dec 2006 20:09:21 +0000 (20:09 -0000)]
2006-12-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs:
* ListViewItem.cs:
* ThemeWin32Classic.cs:
* Theme.cs: Initial support for Tile view in ListView,
as well as the implementation of the required bits for it (Item
and Subitem).
svn path=/trunk/mcs/; revision=70144
Gert Driesen [Wed, 27 Dec 2006 19:58:56 +0000 (19:58 -0000)]
* ControlTest.cs: Added DoubleBuffered test. Added IsHandleCreated
test for invisible control.
svn path=/trunk/mcs/; revision=70143
Gert Driesen [Wed, 27 Dec 2006 18:54:45 +0000 (18:54 -0000)]
* MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
Provide useful exception messages.
* MonthCalendarTest.cs: Fixed exception tests for MaxSelectionCount,
MaxDate and MinDate on 2.0 profile. Removed extra tabs.
svn path=/trunk/mcs/; revision=70141
Jonathan Pobst [Wed, 27 Dec 2006 17:43:21 +0000 (17:43 -0000)]
2006-12-27 Jonathan Pobst <monkey@jpobst.com>
* ToolStripButtonTest.cs, ToolStripComboBoxTest.cs, ToolStripControlHostTest.cs,
ToolStripItemTest.cs, ToolStripLabelTest.cs, ToolStripProgressBarTest.cs,
ToolStripSeparatorTest.cs, ToolStripTest.cs, ToolStripTextBoxTest.cs: Added.
svn path=/trunk/mcs/; revision=70139
Rolf Bjarne Kvinge [Wed, 27 Dec 2006 17:32:10 +0000 (17:32 -0000)]
2006-12-27 Rolf Bjarne Kvinge <RKvinge@novell.com>
* TrackBar.cs: Remove a warning.
* MonthCalendar.cs: Moved back to using Capture to hide the calendar
when used by DateTimePicker, fixes #80287. This also requires that
MonthCalendar implements it's own drawing for the yearly updown control,
otherwise the Capture tracking would be too complicated. Removed the Click
and DoubleClick events (according to comments they were hiding the base class
event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
raise these events, not that they cannot be raised. It is possible to raise
them by calling OnClick and OnDoubleClick). Added two internal fields in
HitTestInfo in order to track give more tracking info needed by MonthCalendar.
* ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
* DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
event, no longer needed.
svn path=/trunk/mcs/; revision=70138
Rolf Bjarne Kvinge [Wed, 27 Dec 2006 17:31:43 +0000 (17:31 -0000)]
2006-12-27 Rolf Bjarne Kvinge <RKvinge@novell.com>
* MonthCalendarTest.cs: Added test for Click and DoubleClick events.
svn path=/trunk/mcs/; revision=70137
Igor Zelmanovich [Wed, 27 Dec 2006 17:22:36 +0000 (17:22 -0000)]
2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: fixed: RegisterRequiresPostBack feature.
svn path=/trunk/mcs/; revision=70136
Igor Zelmanovich [Wed, 27 Dec 2006 17:18:36 +0000 (17:18 -0000)]
2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
* CommandField.cs: fixed:
when ShowEditButton=false Update/Cancel button doesn't appear.
when ShowInsertButton=false Insert/Cancel button doesn't appear.
svn path=/trunk/mcs/; revision=70135