Gert Driesen [Sat, 4 Nov 2006 13:19:12 +0000 (13:19 -0000)]
* ComboBoxTests.cs: Moved to correct namespace. Added test for bug
#79812. Added (NotWorking) SelectedText tests.
svn path=/trunk/mcs/; revision=67351
Miguel de Icaza [Sat, 4 Nov 2006 00:03:42 +0000 (00:03 -0000)]
2006-11-03 Miguel de Icaza <miguel@novell.com>
* src/gpath.c (g_path_get_dirname): If the pathname starts with
* a
"/", return the "/".
svn path=/trunk/mono/; revision=67334
Miguel de Icaza [Fri, 3 Nov 2006 22:34:28 +0000 (22:34 -0000)]
2006-11-03 Miguel de Icaza <miguel@novell.com>
* test/string-util.c (test_strlcpy): Add new test.
* src/gunicode.c (g_filename_from_utf8): g_strlcpy needs the full
size, with the extra zero at the end; Fixes the stack trace
issue.
svn path=/trunk/mono/; revision=67332
Chris Toshok [Fri, 3 Nov 2006 22:06:39 +0000 (22:06 -0000)]
revert the exception change. .net 1.1.4322.2300 has them as ArgumentException
svn path=/trunk/mcs/; revision=67331
Chris Toshok [Fri, 3 Nov 2006 22:02:44 +0000 (22:02 -0000)]
pseudo-revert the change to the expected exception types. the framework version we have on monobuild3 at least (1.1.4322.2300) has these exceptions in their previous form. the 2.0 framework definitely throws ArgumentOutOfRangeException
svn path=/trunk/mcs/; revision=67330
Chris Toshok [Fri, 3 Nov 2006 21:59:27 +0000 (21:59 -0000)]
clean these tests up so we can include them
svn path=/trunk/mcs/; revision=67329
Chris Toshok [Fri, 3 Nov 2006 21:10:34 +0000 (21:10 -0000)]
* Form.cs (Close): if the form is modal, don't Dispose of it, only
Hide it.
(WndProc): don't Dispose after handling the WM_CLOSE message.
* Application.cs (RunLoop): toplevels is a list of Forms, so treat
them as such, instead of using casts from Control to Form. Also,
don't Dispose of the modal dialog when we fall out of the loop -
Close() it instead.
fixes bug #79813.
2006-11-03 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=67327
Chris Toshok [Fri, 3 Nov 2006 20:34:52 +0000 (20:34 -0000)]
2006-11-03 Chris Toshok <toshok@ximian.com>
* Control.cs (Dispose): only go through the dispose thing if we're
@disposing, and we haven't already been disposed. Fixes bug
#79814.
* Form.cs: no reason to call "base.Dispose()" here instead of
"Dispose()".
svn path=/trunk/mcs/; revision=67326
Mike Kestner [Fri, 3 Nov 2006 20:22:19 +0000 (20:22 -0000)]
2006-11-03 Mike Kestner <mkestner@novell.com>
* ComboBox.cs : use ToString instead of casts in AddItem for
sorting functionality. Fixes #79812.
svn path=/trunk/mcs/; revision=67325
Chris Toshok [Fri, 3 Nov 2006 19:22:50 +0000 (19:22 -0000)]
switch the category on 'Lines' to be Appearance, to match MS
svn path=/trunk/mcs/; revision=67322
Chris Toshok [Fri, 3 Nov 2006 19:21:53 +0000 (19:21 -0000)]
oops, forgot this
svn path=/trunk/mcs/; revision=67321
Chris Toshok [Fri, 3 Nov 2006 19:20:38 +0000 (19:20 -0000)]
svn path=/trunk/mcs/; revision=67320
Chris Toshok [Fri, 3 Nov 2006 19:17:40 +0000 (19:17 -0000)]
2006-11-03 Chris Toshok <toshok@ximian.com>
* ThreadExceptionDialog.cs: until we get a better layout, actually
hide the details textbox and label when we shouldn't see them.
svn path=/trunk/mcs/; revision=67319
Robert Jordan [Fri, 3 Nov 2006 19:00:29 +0000 (19:00 -0000)]
2006-11-03 Robert Jordan <robertj@gmx.net>
* Makefile.am: [WIN32] Add monow.exe target.
* driver.c: [WIN32] Don't detach the console when debugging.
Fixes bug #79797.
svn path=/trunk/mono/; revision=67317
Jackson Harper [Fri, 3 Nov 2006 16:37:12 +0000 (16:37 -0000)]
- Sorta a revert of the last patch. For multiline just
position
the controls, then bail. This way the scrollbar width won't be
altered.
svn path=/trunk/mcs/; revision=67315
Dick Porter [Fri, 3 Nov 2006 16:34:03 +0000 (16:34 -0000)]
2006-11-03 Dick Porter <dick@ximian.com>
* DnsTest.cs: Re-enable GetHostEntry
svn path=/trunk/mcs/; revision=67314
Dick Porter [Fri, 3 Nov 2006 16:33:05 +0000 (16:33 -0000)]
2006-11-03 Dick Porter <dick@ximian.com>
* socket-io.c (ves_icall_System_Net_Dns_GetHostByAddr_internal):
If the address reverse lookup fails, return it as the hostname
anyway. Fixes bug 79721.
svn path=/trunk/mono/; revision=67313
Jackson Harper [Fri, 3 Nov 2006 15:12:05 +0000 (15:12 -0000)]
* TextBoxBase.cs: Don't bail from the scrollbar calcs for non
multiline textboxes anymore. This method also determines the
width/height of a textboxes canvas area.
svn path=/trunk/mcs/; revision=67312
Dick Porter [Fri, 3 Nov 2006 13:03:44 +0000 (13:03 -0000)]
2006-11-03 Dick Porter <dick@ximian.com>
* threads.c (ves_icall_System_Threading_Thread_SpinWait_internal):
Fix build on Windows.
svn path=/trunk/mono/; revision=67311
Everaldo Canuto [Fri, 3 Nov 2006 07:18:34 +0000 (07:18 -0000)]
Dont paint inner lines of 3D border when it dont need
svn path=/trunk/mcs/; revision=67310
Jackson Harper [Fri, 3 Nov 2006 00:26:05 +0000 (00:26 -0000)]
* X11Dnd.cs: We always allow copy, since XDND implies Copy.
* Also
send the status after firing the DndOver event.
svn path=/trunk/mcs/; revision=67306
Marek Safar [Thu, 2 Nov 2006 22:50:25 +0000 (22:50 -0000)]
New test.
svn path=/trunk/mcs/; revision=67302
Marek Safar [Thu, 2 Nov 2006 22:49:51 +0000 (22:49 -0000)]
2006-11-02 Marek Safar <marek.safar@gmail.com>
* statement.cs.cs (CollectionForeach.TryType): Issue a error when
IEnumerable<T> is ambiguous.
svn path=/trunk/mcs/; revision=67301
Dick Porter [Thu, 2 Nov 2006 21:34:10 +0000 (21:34 -0000)]
Forgot to mark up new internal function prototype.
svn path=/trunk/mono/; revision=67299
Dick Porter [Thu, 2 Nov 2006 21:15:38 +0000 (21:15 -0000)]
2006-11-02 Dick Porter <dick@ximian.com>
* Thread.cs: Use the new Interrupt and SpinWait icalls.
svn path=/trunk/mcs/; revision=67298
Dick Porter [Thu, 2 Nov 2006 21:15:32 +0000 (21:15 -0000)]
2006-11-02 Dick Porter <dick@ximian.com>
* icall-def.h:
* object-internals.h:
* exception.c (mono_get_exception_thread_interrupted):
* threads.c: Implement Thread.Interrupt and Thread.SpinWait.
Fixes bug 74525.
* monitor.c (ves_icall_System_Threading_Monitor_Monitor_wait):
Check for pending Thread.Interrupt.
svn path=/trunk/mono/; revision=67297
Rolf Bjarne Kvinge [Thu, 2 Nov 2006 20:09:02 +0000 (20:09 -0000)]
2006-11-02 Rolf Bjarne Kvinge <RKvinge@novell.com>
* TrackBar.cs: Now orientation only switches height / width if
the control's handle is created (Win32 does it like this). Also
fixed a typo in ToString() for a test to pass, changed the
exception thrown in set_LargeChange and set_SmallChange to
match Win32 behaviour, and added TrackBar tests to the unit
tests.
svn path=/trunk/mcs/; revision=67296
Wade Berrier [Thu, 2 Nov 2006 18:27:48 +0000 (18:27 -0000)]
mono/tests/Makefile.am: Fix path to mkbundle so test passes
svn path=/trunk/mono/; revision=67289
Wade Berrier [Thu, 2 Nov 2006 17:42:25 +0000 (17:42 -0000)]
configure.in: version bump to 1.2
svn path=/trunk/mono/; revision=67285
Chris Toshok [Thu, 2 Nov 2006 17:36:49 +0000 (17:36 -0000)]
2006-11-02 Chris Toshok <toshok@ximian.com>
* XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
not _NET_WM_STATE_NO_TASKBAR.
svn path=/trunk/mcs/; revision=67283
Jackson Harper [Thu, 2 Nov 2006 17:34:09 +0000 (17:34 -0000)]
* TextControl.cs: Increment count by one, since in the update
* view
count - 1 is used.
svn path=/trunk/mcs/; revision=67282
Michael Hutchinson [Thu, 2 Nov 2006 16:27:17 +0000 (16:27 -0000)]
2006-11-02 Michael Hutchinson <m.j.hutchinson@gmail.com>
* data/net_2_0/machine.config: defaultProxy section is no longer
necessary, so remove.
svn path=/trunk/mono/; revision=67278
Michael Hutchinson [Thu, 2 Nov 2006 16:25:14 +0000 (16:25 -0000)]
2006-11-02 Michael Hutchinson <m.j.hutchinson@gmail.com>
* WebRequest.cs: more closely follow MS behaviour: use system settings
unless told otherwise, and respect app.config.
svn path=/trunk/mcs/; revision=67277
Igor Zelmanovich [Thu, 2 Nov 2006 16:22:20 +0000 (16:22 -0000)]
2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
* CustomValidator.cs: implemented ValidateEmptyText fixture.
svn path=/trunk/mcs/; revision=67275
Igor Zelmanovich [Thu, 2 Nov 2006 15:38:28 +0000 (15:38 -0000)]
2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
* BaseCompareValidator.cs: fixed: CultureInvariantValues, Type properties.
svn path=/trunk/mcs/; revision=67274
Jackson Harper [Thu, 2 Nov 2006 15:03:31 +0000 (15:03 -0000)]
* TextBoxBase.cs: Use client rectangle not bounds for checking
* if
the mouse is in the client rectangle (duh).
svn path=/trunk/mcs/; revision=67273
Igor Zelmanovich [Thu, 2 Nov 2006 14:06:43 +0000 (14:06 -0000)]
2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
* ClientScriptManager.cs:
fixed: checks arguments for null in public methods,
fixed public interface.
svn path=/trunk/mcs/; revision=67267
Igor Zelmanovich [Thu, 2 Nov 2006 13:42:54 +0000 (13:42 -0000)]
fix directive
svn path=/trunk/mcs/; revision=67266
Hagit Yidov [Thu, 2 Nov 2006 12:43:04 +0000 (12:43 -0000)]
system.data20.vmwcsproj added new test DataTableReadXmlSchemaTest
svn path=/trunk/mcs/; revision=67264
Rolf Bjarne Kvinge [Thu, 2 Nov 2006 12:03:14 +0000 (12:03 -0000)]
2006-11-02 Rolf Bjarne KVinge <RKvinge@novell.com>
* TrackBar.cs: Fixed trackbar jumping around when clicking
on it - the trackbar was not detecting correctly at which
side of the thumb the click was done. (fixes #79718)
svn path=/trunk/mcs/; revision=67263
Yoni Klain [Thu, 2 Nov 2006 10:52:44 +0000 (10:52 -0000)]
Little format and directive changed for revision 67260
Added a NotWorking category attribute for tests that pass on .NET and fail on mono.
svn path=/trunk/mcs/; revision=67262
Vladimir Krasnov [Thu, 2 Nov 2006 09:46:37 +0000 (09:46 -0000)]
* ConfigurationElement.cs: typo in DefaultCollectionProperty method
svn path=/trunk/mcs/; revision=67261
Yoni Klain [Thu, 2 Nov 2006 09:11:11 +0000 (09:11 -0000)]
added a NotWorking category attribute for tests that pass on .NET and fail on mono.
svn path=/trunk/mcs/; revision=67260
Everaldo Canuto [Thu, 2 Nov 2006 07:29:15 +0000 (07:29 -0000)]
scroll visible area when change SelectedIndex
svn path=/trunk/mcs/; revision=67255
Jonathan Pryor [Thu, 2 Nov 2006 03:45:34 +0000 (03:45 -0000)]
* stdio.c: Some BSDs define clearerr(3) as a macro, so we need to cast
`stream' to a `FILE*' to avoid derefing a `void*'.
* sys-statvfs.c: Build fix to support OS X 10.3.9 & systems w/o statvfs(2).
svn path=/trunk/mono/; revision=67254
Jonathan Pryor [Thu, 2 Nov 2006 02:35:09 +0000 (02:35 -0000)]
* configure.in: Add type checks for blkcnt_t, blksize_t, suseconds_t. Some
versions of Mac OS X don't define these, needed by support/map.c.
* support/mph.h: Add fallback typedefs for blkcnt_t, blksize_t, suseconds_t
so that map.c can rely on their presence. (Some versions of OS X don't
provide these typedefs.)
svn path=/trunk/mono/; revision=67252
Jackson Harper [Wed, 1 Nov 2006 21:45:01 +0000 (21:45 -0000)]
* TextControl.cs: When replacing the selection move the
* selection
start/end/anchor to the end of the new text.
svn path=/trunk/mcs/; revision=67248
Gonzalo Paniagua Javier [Wed, 1 Nov 2006 21:27:38 +0000 (21:27 -0000)]
bootstrap fix
svn path=/trunk/mcs/; revision=67247
Gonzalo Paniagua Javier [Wed, 1 Nov 2006 20:50:41 +0000 (20:50 -0000)]
2006-11-01 Michael Hutchinson <m.j.hutchinson@gmail.com>
* GlobalProxySelection.cs: Obsolete GlobalProxySelection under 2.0
profile, and move code to new property WebRequest.DefaultWebProxy.
* WebRequest.cs: Implement new 2.0 property DefaultWebProxy.
Add support for config option UseSystemDefault using simplistic
implementation of new 2.0 method GetSystemWebProxy ().
svn path=/trunk/mcs/; revision=67243
Miguel de Icaza [Wed, 1 Nov 2006 20:48:06 +0000 (20:48 -0000)]
Add LoadType implementation, from #79396, this should be refactored
svn path=/trunk/mcs/; revision=67242
Jackson Harper [Wed, 1 Nov 2006 20:34:17 +0000 (20:34 -0000)]
* XplatUIWin32.cs: When setting the parent change the controls
visibility to it's visibility flag, not to it's old parents
visibility (.Visible walks the parent chain).
svn path=/trunk/mcs/; revision=67240
Miguel de Icaza [Wed, 1 Nov 2006 20:28:22 +0000 (20:28 -0000)]
Add this too
svn path=/trunk/mono/; revision=67239
Miguel de Icaza [Wed, 1 Nov 2006 20:28:06 +0000 (20:28 -0000)]
Add stuff from Robert
svn path=/trunk/mcs/; revision=67238
Chris Toshok [Wed, 1 Nov 2006 18:51:06 +0000 (18:51 -0000)]
* XplatUIX11.cs: revert the #79790 fix, as the simple.
XSetTransientForHint fix breaks paint .net's tool windows. more
work needed for that one.
2006-11-01 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=67227
Chris Toshok [Wed, 1 Nov 2006 18:40:35 +0000 (18:40 -0000)]
make all forms we show not appear in the taskbar. removes some more of the desktop flickering
svn path=/trunk/mcs/; revision=67224
Igor Zelmanovich [Wed, 1 Nov 2006 17:23:34 +0000 (17:23 -0000)]
2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
* Menu.cs: fixed: RenderEndTag.
Dynamic menu is rendered when StaticDisplayLevels=1
svn path=/trunk/mcs/; revision=67222
Igor Zelmanovich [Wed, 1 Nov 2006 16:38:53 +0000 (16:38 -0000)]
2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
* MenuTest.cs: removed NotWorking attributes
svn path=/trunk/mcs/; revision=67220
Sebastien Pouliot [Wed, 1 Nov 2006 14:20:11 +0000 (14:20 -0000)]
2006-11-01 Sebastien Pouliot <sebastien@ximian.com>
* ErrorEventHandler.cs: Remove [Serializable] in NET_2_0.
* FileSystemEventHandler.cs: Remove [Serializable] in NET_2_0.
* FileSystemWatcher.cs: Add missing attributes for NET_2_0.
* InvalidDataException.cs: Seal class and remove serialization ctor.
* NotifyFilters.cs: Remove [Serializable] in NET_2_0.
* RenamedEventHandler.cs: Remove [Serializable] in NET_2_0.
* WatcherChangeTypes.cs: Remove [Serializable] in NET_2_0.
svn path=/trunk/mcs/; revision=67219
Igor Zelmanovich [Wed, 1 Nov 2006 14:03:44 +0000 (14:03 -0000)]
2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
* GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.
svn path=/trunk/mcs/; revision=67218
Gert Driesen [Wed, 1 Nov 2006 13:40:57 +0000 (13:40 -0000)]
* TextBoxTest.cs: Added tests for part of bug #79799.
svn path=/trunk/mcs/; revision=67217
Sebastien Pouliot [Wed, 1 Nov 2006 13:31:19 +0000 (13:31 -0000)]
corlib_test.dll.sources: Added unit tests and CAS tests for class System.Runtime.CompilerServices.RuntimeWrappedException.
svn path=/trunk/mcs/; revision=67216
Sebastien Pouliot [Wed, 1 Nov 2006 13:29:47 +0000 (13:29 -0000)]
2006-11-01 Sebastien Pouliot <sebastien@ximian.com>
* RuntimeWrappedExceptionCas.cs: New. CAS tests for
RuntimeWrappedException.
* RuntimeWrappedExceptionTest.cs: New. Unit tests for
RuntimeWrappedException.
svn path=/trunk/mcs/; revision=67215
Sebastien Pouliot [Wed, 1 Nov 2006 13:29:21 +0000 (13:29 -0000)]
2006-11-01 Sebastien Pouliot <sebastien@ximian.com>
* RuntimeWrappedException.cs: Add missing GetObjectData method.
svn path=/trunk/mcs/; revision=67214
Gert Driesen [Wed, 1 Nov 2006 13:25:38 +0000 (13:25 -0000)]
* ControlTest.cs: Fixed build using csc 1.x.
svn path=/trunk/mcs/; revision=67213
Yoni Klain [Wed, 1 Nov 2006 13:07:32 +0000 (13:07 -0000)]
Added a NotDotNet category attribute for tests that pass on mono and do not pass on .NET, yet the difference in behavior is reasonable.
svn path=/trunk/mcs/; revision=67212
Yoni Klain [Wed, 1 Nov 2006 12:42:08 +0000 (12:42 -0000)]
Categories added. Tests created in MonoCasTests namespace with no CAS category.
svn path=/trunk/mcs/; revision=67211
Igor Zelmanovich [Wed, 1 Nov 2006 09:46:43 +0000 (09:46 -0000)]
2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
* FormView.cs: fixed: UpdateItem, DeleteItem.
svn path=/trunk/mcs/; revision=67210
Chris Toshok [Wed, 1 Nov 2006 06:46:23 +0000 (06:46 -0000)]
disable some more tests which no longer work
svn path=/trunk/mcs/; revision=67209
Chris Toshok [Wed, 1 Nov 2006 05:23:18 +0000 (05:23 -0000)]
2006-11-01 Chris Toshok <toshok@ximian.com>
* ScrollBar.cs: throw ArgumentException instead of Exception in
LargeChange/SmallChange setters. fixes unit tests.
svn path=/trunk/mcs/; revision=67208
Francisco Figueiredo Jr. [Wed, 1 Nov 2006 04:41:42 +0000 (04:41 -0000)]
2006-11-01 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* NpgsqlCommand.cs: [#
1000765] InvalidCastException for ByteA Parameter when command.Prepare() Thanks Hubert Fongarnand for patch!
svn path=/trunk/mcs/; revision=67206
Chris Toshok [Wed, 1 Nov 2006 03:38:48 +0000 (03:38 -0000)]
label tests which don't work under mono as NotWorking, and remove some that will never work. more cleanup is needed, but we now pass all tests which we run
svn path=/trunk/mcs/; revision=67204
Andreia Gaita [Wed, 1 Nov 2006 03:15:32 +0000 (03:15 -0000)]
* ContainerControl.cs: reverted rev.67183 (which was itself
a reversion of rev.66853... eh).
* Control.cs: Fixes Reflector hang by changing Focus() call
to what it was before rev.66643 (calling Select() here sets
ActiveControl, which in some situations calls back Focus and
eventually does a stack overflow). Temp fix.
Changes to GetNextControl() to not look for children to select when
parent cannot be selectable (so it looks for siblings instead)
2006-10-31 Andreia Gaita <shana.ufie@gmail.com>
svn path=/trunk/mcs/; revision=67203
Sebastien Pouliot [Wed, 1 Nov 2006 01:10:10 +0000 (01:10 -0000)]
2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
* SemaphoreAccessRule.cs, SemaphoreAuditRule.cs, SemaphoreSecurity.cs:
Fix build (with my corlib's changes) with some defaults (probably bad)
values.
svn path=/trunk/mcs/; revision=67201
Mike Kestner [Wed, 1 Nov 2006 00:35:24 +0000 (00:35 -0000)]
2006-10-31 Mike Kestner <mkestner@novell.com>
* CheckedListBox.cs : off by one error in returned index from
ObjectCollection.Add. Fixes #79758.
svn path=/trunk/mcs/; revision=67200
Sebastien Pouliot [Wed, 1 Nov 2006 00:17:14 +0000 (00:17 -0000)]
2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
* AccessRule.cs, AceEnumerator.cs, AuditRule.cs,
AuthorizationRuleCollection.cs, AuthorizationRule.cs, CommonAcl.cs,
CommonObjectSecurity.cs, FileSystemSecurity.cs, GenericAce.cs,
KnownAce.cs, NativeObjectSecurity.cs, ObjectSecurity.cs,
QualifiedAce.cs: Hide extraneous public empty .ctor.
svn path=/trunk/mcs/; revision=67199
Chris Toshok [Tue, 31 Oct 2006 23:56:13 +0000 (23:56 -0000)]
enable a whole bunch more tests, all of which pass on windows (some of which fail on mono). Fix the Control Invoke test (needs to be running an additional thread), and fix the paths in the System.Resources tests
svn path=/trunk/mcs/; revision=67198
Chris Toshok [Tue, 31 Oct 2006 23:41:18 +0000 (23:41 -0000)]
* UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
calls for the textbox/spinner, to keep from recursing to the point
where we crash. Fixes #79760.
2006-10-31 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=67197
Chris Toshok [Tue, 31 Oct 2006 22:13:29 +0000 (22:13 -0000)]
* ListControl.cs (set_SelectedValue): don't throw exceptions on
null/"" value, just return. matches ms's behavior and fixes some
failing tests.
2006-10-31 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=67195
Chris Toshok [Tue, 31 Oct 2006 22:11:56 +0000 (22:11 -0000)]
flesh out a couple of these tests
svn path=/trunk/mcs/; revision=67194
Atsushi Eno [Tue, 31 Oct 2006 21:44:10 +0000 (21:44 -0000)]
2006-11-01 Atsushi Enomoto <atsushi@ximian.com>
* SignedXmlTest.cs : added Ignore for failing wrong test by design.
svn path=/trunk/mcs/; revision=67193
Chris Toshok [Tue, 31 Oct 2006 21:24:11 +0000 (21:24 -0000)]
* Control.cs (set_Capture): make a logic a little easier to
follow.
* XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
if it's being destroyed. A necessary fix surely, but a bandaid
also, to fix the stuck capture problem in bug #78413.
2006-10-31 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=67192
Sebastien Pouliot [Tue, 31 Oct 2006 21:11:49 +0000 (21:11 -0000)]
2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyHashAlgorithm.cs: Added [Serializable] and
[ComVisible(true)] attributes for NET_2_0 profile.
* AssemblyHash.cs: Added bunch of [Obsolete] attributes to the NET_2_0
profile. Cleaned up the source code to match Mono source style.
* AssemblyVersionCompatibility.cs: Added [Serializable] and
[ComVisible(true)] attributes for NET_2_0 profile.
svn path=/trunk/mcs/; revision=67191
Sebastien Pouliot [Tue, 31 Oct 2006 20:52:52 +0000 (20:52 -0000)]
fix build
svn path=/trunk/mcs/; revision=67190
Sebastien Pouliot [Tue, 31 Oct 2006 20:36:46 +0000 (20:36 -0000)]
2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
* System.dll.sources: Add System.Net.Mail.SmtpPermission[Attribute] to
the build.
* System_test.dll.sources: Add unit tests for System.Net.Mail
SmtpPermission[Attribute] to the build.
svn path=/trunk/mcs/; revision=67189
Sebastien Pouliot [Tue, 31 Oct 2006 20:35:01 +0000 (20:35 -0000)]
2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
* SmtpPermissionAttributeTest.cs: New. Unit tests for
SmtpPermissionAttribute.
* SmtpPermissionTest.cs: New. Unit tests for SmtpPermission.
svn path=/trunk/mcs/; revision=67188
Sebastien Pouliot [Tue, 31 Oct 2006 20:34:35 +0000 (20:34 -0000)]
2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
* SmtpException.cs: Fix visibility on .ctor(SerializationInfo,
StreamingContext).
* SmtpPermissionAttribute.cs: New (2.0). Security attribute for SMTP.
* SmtpPermission.cs: New (2.0). Security permission for SMTP.
svn path=/trunk/mcs/; revision=67187
Marek Safar [Tue, 31 Oct 2006 20:13:34 +0000 (20:13 -0000)]
New test.
svn path=/trunk/mcs/; revision=67186
Marek Safar [Tue, 31 Oct 2006 20:12:25 +0000 (20:12 -0000)]
2006-10-31 Marek Safar <marek.safar@gmail.com>
A fix for bug #67689
statement.cs.cs (CollectionForeach.TryType): Issue a warning when
GetEnumerator is ambiguous.
* report.cs: Add new warning.
svn path=/trunk/mcs/; revision=67185
Chris Toshok [Tue, 31 Oct 2006 19:05:59 +0000 (19:05 -0000)]
2006-10-31 Chris Toshok <toshok@ximian.com>
* XplatUIX11.cs: fix a couple of compiler warnings, and follow the
convention of clearing hwnd.ClientRect when we set the
width/height (so it'll be recalculated by Hwnd).
svn path=/trunk/mcs/; revision=67184
Andreia Gaita [Tue, 31 Oct 2006 18:19:41 +0000 (18:19 -0000)]
* ContainerControl.cs: reversed Contains check from
ActiveControl due to hanging problems. This fix
partly regresses #79667 (button does not have
initial focus), so this might be a symptom for
a larger parenting problem (set_ActiveControl
is being called but the child control does
not have the parent set yet?)
2006-10-31 Andreia Gaita <shana.ufie@gmail.com>
svn path=/trunk/mcs/; revision=67183
Mike Kestner [Tue, 31 Oct 2006 18:17:47 +0000 (18:17 -0000)]
2006-10-31 Mike Kestner <mkestner@novell.com>
* MenuAPI.cs : fix keynav when menu is click activated.
svn path=/trunk/mcs/; revision=67182
Sebastien Pouliot [Tue, 31 Oct 2006 16:14:07 +0000 (16:14 -0000)]
System.Drawing_test.dll.sources: Add new unit tests for System.Drawing.Imaging.MetaHeader and WmfPlaceableFileHeader classes.
svn path=/trunk/mcs/; revision=67181
Sebastien Pouliot [Tue, 31 Oct 2006 15:30:05 +0000 (15:30 -0000)]
2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
* MetaHeaderTest.cs: New. Unit tests for MetaHeader.
* WmfPlaceableFileHeaderTest.cs: New. Unit tests for
WmfPlaceableFileHeader.
svn path=/trunk/mcs/; revision=67180
Sebastien Pouliot [Tue, 31 Oct 2006 15:29:52 +0000 (15:29 -0000)]
2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
* MetaHeader.cs: Fix layout (order is important in sequential structs)
and use the struct field names;
* WmfPlaceableFileHeader.cs: Implement all TODO.
svn path=/trunk/mcs/; revision=67179
Jonathan Pobst [Tue, 31 Oct 2006 15:11:28 +0000 (15:11 -0000)]
2006-10-31 Jonathan Pobst <monkey@jpobst.com>
* ToolStrip*: Version 0.2.
* MenuStrip.cs: Version 0.1.
* Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
svn path=/trunk/mcs/; revision=67177
Igor Zelmanovich [Tue, 31 Oct 2006 13:11:40 +0000 (13:11 -0000)]
2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
* DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.
svn path=/trunk/mcs/; revision=67176
Sebastien Pouliot [Tue, 31 Oct 2006 13:00:02 +0000 (13:00 -0000)]
2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
* AuthenticationException.cs: Unseal class and fix visibility on
.ctor(SerializationInfo,StreamingContext).
* InvalidCredentialException.cs: Unseal class, fix base class, fix
default message and fix visibility on .ctor(SerializationInfo,
StreamingContext).
* SslProtocols.cs: Fix enum values.
svn path=/trunk/mcs/; revision=67175
Massimiliano Mantione [Tue, 31 Oct 2006 10:23:30 +0000 (10:23 -0000)]
* bug-79684.2.cs, Makefile.am: Added test for bug 79684.
svn path=/trunk/mono/; revision=67174
Atsushi Eno [Tue, 31 Oct 2006 04:01:04 +0000 (04:01 -0000)]
2006-10-30 Atsushi Enomoto <atsushi@ximian.com>
* src/gutf8.c : several fixes:
- fixed incorrect mb_size clear and mb_remain computation.
- initialize items_written to 0 for error case.
- in utf8_to_utf16_len differentiate error messages
completely.
- in g_utf8_to_utf16 use guchar instead of gchar.
* test/utf8.c : added test case string in test_utf8_seq() to
both test_utf8_to_utf16() and test_utf16_to_utf8().
svn path=/trunk/mono/; revision=67173
Chris Toshok [Tue, 31 Oct 2006 04:00:03 +0000 (04:00 -0000)]
[ fixes the oversized notify icon issue in bug #79745 ]
* NotifyIcon.cs: scale the icon down to the size we're given by
the XplatUI layer (this would be faster if we did it once instead
of whenever we paint..) Also, remove the WM_NCPAINT handling,
since it's never invoked.
* XplatUIX11.cs: the gnome and kde systrays use icons that are 24
pixels high by default, so let's hardcode our systray icon to that
size. The SYSTEM_TRAY protocol should really have a way for
client apps to query for the correct icon size.. but oh well. A
couple of patches to deal with the screwy client_window ==
whole_window notifyicon stuff (we don't want to PerformNCCalc, for
instance, and also make sure we don't XSelectInput twice).
2006-10-30 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=67172