Chris Toshok [Tue, 12 Sep 2006 01:29:33 +0000 (01:29 -0000)]
* XplatUIX11.cs: deal with queue being null, which happens in all
the Clipboard functions. Fixes one of the two problems mentioned
in #78612.
2006-09-11 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=65268
Sebastien Pouliot [Tue, 12 Sep 2006 01:11:55 +0000 (01:11 -0000)]
2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
* TestBitmap.cs: Fix the bitmap loading code to work in more cases.
* TestImageConverter.cs: Added a test case when value is null (should
return "(none)"). Uncommented and splitted all exception test cases
into individual tests. Still got one faulty test: ConvertTo_ByteArray.
svn path=/trunk/mcs/; revision=65267
Sebastien Pouliot [Tue, 12 Sep 2006 00:49:46 +0000 (00:49 -0000)]
2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
* ImageConverter.cs: Fixed ConvertTo to deal with null values (#79331)
and not to "return new NotSupportedException", throwing them is better
svn path=/trunk/mcs/; revision=65266
Gonzalo Paniagua Javier [Mon, 11 Sep 2006 23:05:38 +0000 (23:05 -0000)]
2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ViewTechnology.cs: update for 2.0. Patch by Ivan N. Zlatev.
svn path=/trunk/mcs/; revision=65264
Gonzalo Paniagua Javier [Mon, 11 Sep 2006 23:02:45 +0000 (23:02 -0000)]
2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SelectionTypes.cs: updates for 2.0. Patch by Ivan N. Zlatev.
svn path=/trunk/mcs/; revision=65263
Gonzalo Paniagua Javier [Mon, 11 Sep 2006 23:01:01 +0000 (23:01 -0000)]
2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ServiceContainer.cs: update for 2.0. Patch by Ivan N. Zlatev.
svn path=/trunk/mcs/; revision=65262
Gonzalo Paniagua Javier [Mon, 11 Sep 2006 22:57:06 +0000 (22:57 -0000)]
2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Test/System.ComponentModel/ContainerTest.cs:
* System.ComponentModel/Container.cs: 'unsite' the component when
removing it. Fixes bug #79255. Patch by Ivan N. Zlatev.
svn path=/trunk/mcs/; revision=65261
Sebastien Pouliot [Mon, 11 Sep 2006 22:56:49 +0000 (22:56 -0000)]
2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
* WebConnection.cs: Patch to remove the hack that was required for
using the older versions of the SSL/TLS classes. This hack is no more
required :-). Patch by Gonzalo Paniagua Javier.
svn path=/trunk/mcs/; revision=65260
Sebastien Pouliot [Mon, 11 Sep 2006 22:53:35 +0000 (22:53 -0000)]
In Mono.Security.Protocol.Tls:
2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
* CipherSuite.cs: Avoid creating a CryptoStream and a MemoryStream in
EncryptRecord (removing the need to do a keysetup each time). Add
helper methods to write inside byte buffers. Decrypt the data in
place (without allocating new memory) as the result will always be
smaller than the original. Avoid TlsStream in CreatePremasterSecret
method. All HMAC access are done with the Negotiating parameters.
* ClientRecordProtocol.cs: Set HandshakeState to None if we receive
a HelloRequest during an existing session. Remove overidden method
ProcessChangeCipherSpec. Skip memory allocation if possible.
* Context.cs: Add new SecurityParameters for current, negotiating,
read and write (actually only two different instance exists). Change
readSequenceNumber and writeSequenceNumber to ulong to match specs.
Remove all properties that are moved/replaced with SecurityParameters.
Added methods to Start and End a switch of the security parameters.
* RecordProtocol.cs: Add code to ProcessChangeCipherSpec (not abstract
anymore). Remove ReadShort and it's use. Deal with null alerts in
SendAlert method (internal error). Change code to deal with
SendChangeCipherSpec inside an existing (encrypted) session. Update
Cipher to use the correct one (mostly Read.Cipher or Negotiating.Cipher
for ProcessCipherSpecV2Buffer method).
* SecurityParameters.cs: New. Deal with all parameters that changes
between negotiations.
* ServerRecordProtocol.cs: Remove method ProcessChangeCipherSpec.
* SslCipherSuite.cs: Don't use TlsStream when computing MAC. Set the
MAC keys to the Negotiating security parameters.
* SslClientStream.cs: Change calls from Cipher to Negotiating.Cipher.
* SslServerStream.cs: Change calls from Cipher to Negotiating.Cipher.
Remove debugging dead code (DateTime).
* SslStreamBase.cs: Change calls from Cipher to Current.Cipher. Reuse
existing memory buffer.
* TlsCipherSuite.cs: Don't use TlsStream when computing MAC. Set the
MAC keys to the Negotiating security parameters.
* TlsClientSettings.cs: Comment code cause compiler warnings.
* TlsStream.cs: Avoid/reduce memory allocations when reading or
writing small integer values to the stream.
In Mono.Security.Protocol.Tls.Handshake.Client:
2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
* TlsClientFinished.cs: Use Write.Cipher instead of Cipher. Remove
usage of TlsStream in ProcessAsSsl3.
* TlsClientKeyExchange.cs: Use Negotiating.Cipher instead of Cipher.
Refactor to avoid code duplication between SSL3 and TLS.
* TlsServerCertificate.cs: Use Negotiating.Cipher instead of Cipher.
* TlsServerFinished.cs: Use Current.Cipher instead of Cipher. Use
Compare to test client and server digests equality. Remove usage of
TlsStream in ProcessAsSsl3.
* TlsServerHello.cs: Use Negotiating.Cipher instead of Cipher. Remove
usage of TlsStream to reduce memory allocations. Remove method
CompareSessionId and use the new base class Compare method instead.
In Mono.Security.Protocol.Tls.Handshake:
2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
* HandshakeMessage.cs: EncodeMessage is called very often so we avoid
many allocations by not creating a TlsStream and by not calling
WriteInt24 (IPAddress.HostToNetworkOrder and BitConverter.GetBytes).
We also cache the encoded result to avoid computing/allocating the
encoded message twice (in most cases) for the handshake. Added a
Compare static method to compare byte arrays (easier to step out when
debugging).
In Mono.Security.Protocol.Tls.Handshake.Server:
2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
* TlsClientCertificate.cs: Use Negotiating.Cipher instead of Cipher.
Fix reading the message length if it's zero (in that case it's not
present two times).
* TlsClientFinished.cs: Use Current.Cipher instead of Cipher. Use
Compare to test client and server digests equality.
* TlsClientHello.cs: Use Negotiating.Cipher instead of Cipher.
* TlsClientKeyExchange.cs: Use Negotiating.Cipher instead of Cipher.
* TlsServerFinished.cs: Use Current.Cipher instead of Cipher.
* TlsServerHello.cs: Use Negotiating.Cipher instead of Cipher.
svn path=/trunk/mcs/; revision=65259
Chris Toshok [Mon, 11 Sep 2006 20:06:57 +0000 (20:06 -0000)]
2006-09-11 Chris Toshok <toshok@ximian.com>
* MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
button on various spots (including outside the menu) works closer
to MS, and doesn't crash. Fixes #79343.
svn path=/trunk/mcs/; revision=65255
Sebastien Pouliot [Mon, 11 Sep 2006 19:37:41 +0000 (19:37 -0000)]
2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
* README: Updated instruction for recent versions of wget.
* msslserver.cs: Don't require the client certificates (i.e. optional)
svn path=/trunk/mcs/; revision=65254
Zoltan Varga [Mon, 11 Sep 2006 19:05:02 +0000 (19:05 -0000)]
2006-09-11 Zoltan Varga <vargaz@gmail.com>
* mini-x86.h mini-amd64.h mini-exceptions.c: Move the bsd specific MAP_ANON
stuff to mini-exceptions.c where it is used.
svn path=/trunk/mono/; revision=65252
Zoltan Varga [Mon, 11 Sep 2006 19:01:52 +0000 (19:01 -0000)]
2006-09-11 Zoltan Varga <vargaz@gmail.com>
* mini-sparc.c (mono_arch_setup_jit_tls_data): Remove the duplicate altstack
setup code, the real one is in mini-exceptions.c.
svn path=/trunk/mono/; revision=65251
Zoltan Varga [Mon, 11 Sep 2006 18:58:45 +0000 (18:58 -0000)]
2006-09-11 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.h mini-amd64.c exceptions-amd64.c: Move all dependencies on the
layout of ucontext_t to helper functions in exceptions-amd64.c, as on x86. Add
some changes from the freebsd ports tree.
svn path=/trunk/mono/; revision=65250
Zoltan Varga [Mon, 11 Sep 2006 18:34:57 +0000 (18:34 -0000)]
2006-09-11 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.h exceptions-amd64.c: Fix the amd64 build. Get rid of the SC_
constants.
svn path=/trunk/mono/; revision=65249
Gonzalo Paniagua Javier [Mon, 11 Sep 2006 17:49:22 +0000 (17:49 -0000)]
2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Process.cs: fix operation number to be 8. The other one was working
because the default is to wait for input on the file descriptor.
svn path=/trunk/mcs/; revision=65248
Gonzalo Paniagua Javier [Mon, 11 Sep 2006 17:48:18 +0000 (17:48 -0000)]
2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Socket.cs: update the SocketOperation enum.
svn path=/trunk/mcs/; revision=65247
Gert Driesen [Mon, 11 Sep 2006 17:27:08 +0000 (17:27 -0000)]
* ListViewTest.cs: Added test for bug #79076. Added tests for
sorting bug fixes. Added tests for CheckBoxes and MultiSelect (marked
NotWorking).
* ListViewCollectionsTest.cs: Added tests for SelectedItemCollection
and ListViewItemCollection fixes.
* ListView.cs: Do not initialize item_sorter in init. To match MS,
return null for ListViewItemSorter if View is SmallIcon or LargeIcon
and the internal comparer is set. When a new ListViewItemSorter is set,
sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
was specified. No further processing is necessary if SortOrder is set
to it's current value. If Sorting is modified to None, and View is
neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
(either custom or our internal ItemComparer) to null, on 1.0 profile
only set item_sorter to null if its our internal IComparer. If Sorting
is modified to Ascending or Descending, then use our internal IComparer
if none is set, and if the current IComparer is our internal one then:
on 2.0 profile always replace it with one for new Sorting, and on 1.0
profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
Enum.IsDefined to verify whether a valid View value is specified in
its setter. Automatically sort listview items when listview is
created. In Sort, do nothing if ListView is not yet created, or if
no item_sorter is set (no Sorting was set, Sorting was explicitly set
to None or ListViewItemSorter was set to null). Added Sort overload
taking a bool to indicate whether the ListView should be redrawn when
items are sorted (we use this in ListViewItemCollection to avoid double
redraws). Modified our internal IComparer to take the sort order into
account. In Add and AddRange methods of ListViewItemCollection, also
call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
view), but use overload with noredraw option to avoid double redraw.
On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
true when View is Tile, and do the same when attempting to set View to
Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
for selected/checked indices, as it involves overhead when sorting is
done while these collections are not used all that often. Instead
we'll build the indices on demand. Modified IList implementation of
CheckedIndexCollection to use public methods if object is int.
Modified CheckedListViewItemCollection to hide checked items if
ListView.CheckBoxes is false. Removed LAMESPEC remark in
ListViewItemCollection as the .NET SDK docs have been fixed. Modified
IList implementation in SelectedIndexCollection to use public methods
if object is int. Modified SelectedListViewItemCollection to hide
selected items if listview is not yet created.
* ListViewItem.cs: CheckedIndices list no longer needs to be
maintained separately (see ListView changes). Also clone font, fixes
test failure.
svn path=/trunk/mcs/; revision=65245
Mike Kestner [Mon, 11 Sep 2006 17:25:18 +0000 (17:25 -0000)]
2006-09-11 Mike Kestner <mkestner@novell.com>
* ComboBox.cs: if we are updating the contents of the currently
selected index, refresh the control or the textbox selection.
[Fixes #79066]
svn path=/trunk/mcs/; revision=65244
Leszek 'skolima' Ciesielski [Mon, 11 Sep 2006 17:15:07 +0000 (17:15 -0000)]
Fix for bug 79284, number handling now takes into consideration NLS from Oracle database.
svn path=/trunk/mcs/; revision=65243
Gonzalo Paniagua Javier [Mon, 11 Sep 2006 16:45:06 +0000 (16:45 -0000)]
2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Test/System.ComponentModel/TypeDescriptorTests.cs: test for overriden
attributes.
* System.ComponentModel/TypeDescriptor.cs: don't ignore toplevel
attributes when they are overriden.
Patch by Ivan N. Zlatev that fixes bug #79256.
svn path=/trunk/mcs/; revision=65242
Zoltan Varga [Mon, 11 Sep 2006 16:30:25 +0000 (16:30 -0000)]
2006-09-11 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_from_name_case): Fix regression introduced by the last
change.
svn path=/trunk/mono/; revision=65241
Zoltan Varga [Mon, 11 Sep 2006 16:14:16 +0000 (16:14 -0000)]
2006-09-11 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.h: Freebsd has MAP_ANON instead of MAP_ANONYMOUS.
svn path=/trunk/mono/; revision=65240
Mike Kestner [Mon, 11 Sep 2006 16:09:59 +0000 (16:09 -0000)]
2006-09-11 Mike Kestner <mkestner@novell.com>
* ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
the 'specified' logic has been moved there. This seems like a bug
in Control.cs, since our current SetBoundsCore completely ignores
the specified parameter. Peter's commit seems to indicate that is
the way the MS control implementation works. [Fixes #79325]
svn path=/trunk/mcs/; revision=65239
Zoltan Varga [Mon, 11 Sep 2006 15:57:48 +0000 (15:57 -0000)]
2006-09-11 Zoltan Varga <vargaz@gmail.com>
* jni.c: Apply a patch from the freebsd ports tree. Include the proper
include for alloca ().
svn path=/trunk/mono/; revision=65238
Andrew Skiba [Mon, 11 Sep 2006 15:29:57 +0000 (15:29 -0000)]
java project: exclude CodeDom dependant classes
svn path=/trunk/mcs/; revision=65237
Zoltan Varga [Mon, 11 Sep 2006 15:29:21 +0000 (15:29 -0000)]
2006-09-11 Zoltan Varga <vargaz@gmail.com>
* mono.vcproj: Fix VC build.
svn path=/trunk/mono/; revision=65236
Igor Zelmanovich [Mon, 11 Sep 2006 15:08:32 +0000 (15:08 -0000)]
fixed tests, removed NotWorking attributes
svn path=/trunk/mcs/; revision=65235
Andrew Skiba [Mon, 11 Sep 2006 15:07:26 +0000 (15:07 -0000)]
ifdef TARGET_JVM
svn path=/trunk/mcs/; revision=65234
Atsushi Eno [Mon, 11 Sep 2006 15:03:53 +0000 (15:03 -0000)]
2006-09-11 Atsushi Enomoto <atsushi@ximian.com>
* X509Certificate2.cs : implemented HasPrivateKey. Return null
when the corresponding RSA or DSA has no private key.
* X509Certificate2Test.cs : added test for PrivateKey and
HasPrivateKey for non-private-inclusive certificate.
svn path=/trunk/mcs/; revision=65233
Leszek 'skolima' Ciesielski [Mon, 11 Sep 2006 14:46:12 +0000 (14:46 -0000)]
Fixed bug 78509 in OracleParameter (trimming trailing spaces) and added regression test.
Fixed bug 78765 in OracleCommand (nulling the Connection/Transaction) and added regression test.
svn path=/trunk/mcs/; revision=65232
Boris Kirzner [Mon, 11 Sep 2006 14:38:40 +0000 (14:38 -0000)]
Added timestamp to log file names.
svn path=/trunk/mcs/; revision=65231
Boris Kirzner [Mon, 11 Sep 2006 14:37:30 +0000 (14:37 -0000)]
Added timestamp to log file names.
svn path=/trunk/mcs/; revision=65230
Boris Kirzner [Mon, 11 Sep 2006 13:52:44 +0000 (13:52 -0000)]
Added timestamp to log file names.
svn path=/trunk/mcs/; revision=65229
Konstantin Triger [Mon, 11 Sep 2006 13:49:36 +0000 (13:49 -0000)]
TARGET_JVM: copy the web service test page locally for processing
svn path=/trunk/mcs/; revision=65228
Paolo Molaro [Mon, 11 Sep 2006 13:07:31 +0000 (13:07 -0000)]
Added declsec.c, should fix VS build.
svn path=/trunk/mono/; revision=65227
Konstantin Triger [Mon, 11 Sep 2006 12:32:58 +0000 (12:32 -0000)]
merge -r 65175:65176
svn path=/trunk/mcs/; revision=65226
Jonathan Chambers [Mon, 11 Sep 2006 11:31:10 +0000 (11:31 -0000)]
2006-09-10 Jonathan Chambers <joncham@gmail.com>
* XplatUI.cs: Set default_class_name to be composed
of current domain id. This allows MWF to be loaded in multiple
domains on Win32.
svn path=/trunk/mcs/; revision=65225
Paolo Molaro [Mon, 11 Sep 2006 11:21:29 +0000 (11:21 -0000)]
Mon Sep 11 13:18:55 CEST 2006 Paolo Molaro <lupus@ximian.com>
* mini.c: on Linux, check for /proc to be mounted
(bug# 79351, novell bug#201204).
svn path=/trunk/mono/; revision=65223
Paolo Molaro [Mon, 11 Sep 2006 11:12:01 +0000 (11:12 -0000)]
Mon Sep 11 13:10:12 CEST 2006 Paolo Molaro <lupus@ximian.com>
* mini.c: handle cases where pthread_attr_getstack() behaves
incorrectly (bug #78096).
svn path=/trunk/mono/; revision=65222
Paolo Molaro [Mon, 11 Sep 2006 11:07:12 +0000 (11:07 -0000)]
Enable code.
svn path=/trunk/mono/; revision=65221
Paolo Molaro [Mon, 11 Sep 2006 11:03:33 +0000 (11:03 -0000)]
Mon Sep 11 12:57:15 CEST 2006 Paolo Molaro <lupus@ximian.com>
* gc-internal.h, appdomain.c, gc.c: force-destroy GC handles on domain
unload.
svn path=/trunk/mono/; revision=65220
Atsushi Eno [Mon, 11 Sep 2006 11:02:03 +0000 (11:02 -0000)]
2006-09-11 Atsushi Enomoto <atsushi@ximian.com>
* XPathEditableDocument.cs : DocumentFragment should also be allowed
to have a child.
* XPathEditableNavigatorTests.cs : added test fro AppendChild() from
a document fragment.
svn path=/trunk/mcs/; revision=65219
Paolo Molaro [Mon, 11 Sep 2006 10:33:35 +0000 (10:33 -0000)]
Mon Sep 11 11:31:10 BST 2006 Paolo Molaro <lupus@ximian.com>
* mini-arm.c: support larger stack frames (bug #79272).
svn path=/trunk/mono/; revision=65218
Konstantin Triger [Mon, 11 Sep 2006 09:16:36 +0000 (09:16 -0000)]
ensure the urls are correctly resolved
svn path=/trunk/mcs/; revision=65216
Igor Zelmanovich [Mon, 11 Sep 2006 09:03:15 +0000 (09:03 -0000)]
corrected rendering: HoverNodeStyle works
svn path=/trunk/mcs/; revision=65214
Vladimir Krasnov [Mon, 11 Sep 2006 08:10:07 +0000 (08:10 -0000)]
* HttpWriter.cs: fixed WriteLine to work correctly in utf-16 encoding
svn path=/trunk/mcs/; revision=65213
Zoltan Varga [Sun, 10 Sep 2006 19:05:40 +0000 (19:05 -0000)]
2006-09-10 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_method_return_message_restore): Avoid a crash if one of the out
args is not set. Fixes #78926.
svn path=/trunk/mono/; revision=65186
Gert Driesen [Sun, 10 Sep 2006 17:39:19 +0000 (17:39 -0000)]
* RegistryKeyTest.cs: Added RunningOnUnix property that is used
to skip tests that only need to be run on Windows. Added tests Close
tests for local/remote registry hives and keys. Added tests for
OpenRemoteBaseKey (Windows only).
* IRegistryApi.cs: Added OpenRemoteBaseKey method.
* Win32ResultCode.cs: Added code for win32 error 53.
* RegistryKey.cs: Implemented support for OpenRemoteBaseKEy on
Windows. To achieve this, the handle of the remote hive must be
stored separately from the RegistryHive value. Removed isRoot field, as
we now determine whether we're a root key (hive) by checking if hive
is not null. Added internal ctor for registry hives that takes a
RegistryHive, a key handle and a bool to indicate whether its a remote
hive. Renamed Data field to handle and added internal property to
access it. Throw ObjectDisposedException in ToString if key is
closed/disposed. Added Hive property, which is used in UnixRegistryApi.
Added GetHiveName method which translates a RegistryHive value to its
(key) name.
* Win32RegistryApi.cs: Added pinvoke for RegConnectRegistry. GetHandle
no longer needs to know whether the key refers to a hive (base key)
or not. Implemented OpenRemoteBaseKey.
* UnixRegistryApi.cs: Added OpenRemoteBaseKey implementation which
always throws NotImplementedException.
* Registry.cs: The key name of the base key no longer needs to be
passed to the ctor, as it's looked up in the ctor itself. This avoids
having a different logical for local or remote base keys.
svn path=/trunk/mcs/; revision=65185
Igor Zelmanovich [Sun, 10 Sep 2006 15:41:47 +0000 (15:41 -0000)]
corrected rendering: styles are applied correct
svn path=/trunk/mcs/; revision=65175
Konstantin Triger [Sun, 10 Sep 2006 14:44:38 +0000 (14:44 -0000)]
merge -r 65172:65173
svn path=/trunk/mcs/; revision=65174
Konstantin Triger [Sun, 10 Sep 2006 14:12:02 +0000 (14:12 -0000)]
revert r65171
svn path=/trunk/mcs/; revision=65172
Konstantin Triger [Sun, 10 Sep 2006 14:09:34 +0000 (14:09 -0000)]
merge -r 65169:65170
svn path=/trunk/mcs/; revision=65171
Igor Zelmanovich [Sun, 10 Sep 2006 11:10:03 +0000 (11:10 -0000)]
ViewState restored properly
svn path=/trunk/mcs/; revision=65155
Igor Zelmanovich [Sun, 10 Sep 2006 10:57:56 +0000 (10:57 -0000)]
refactoring: makes Style class more flexible for inheriting and reuse
svn path=/trunk/mcs/; revision=65154
Igor Zelmanovich [Sun, 10 Sep 2006 10:44:00 +0000 (10:44 -0000)]
fixed: for PopulateOnDemand nodes expanded and checked state restored correct on PostBack
svn path=/trunk/mcs/; revision=65153
Andrew Skiba [Sun, 10 Sep 2006 09:29:29 +0000 (09:29 -0000)]
add false alarm to knownFailures.jvm.lst
svn path=/trunk/mcs/; revision=65152
Vladimir Krasnov [Sun, 10 Sep 2006 07:19:51 +0000 (07:19 -0000)]
* HtmlInputFile.cs: fixed Value property
svn path=/trunk/mcs/; revision=65151
Miguel de Icaza [Sat, 9 Sep 2006 18:12:24 +0000 (18:12 -0000)]
Update
svn path=/trunk/mono/; revision=65149
Miguel de Icaza [Sat, 9 Sep 2006 05:44:07 +0000 (05:44 -0000)]
2006-09-09 Miguel de Icaza <miguel@novell.com>
* X11Keyboard.cs: If we are unable to obtain the input method, do
not call CreateXic to create the input context. Should fix
#78944/79276.
svn path=/trunk/mcs/; revision=65141
Marek Safar [Fri, 8 Sep 2006 23:13:55 +0000 (23:13 -0000)]
2006-09-08 Marek Safar <marek.safar@seznam.cz>
* expression.cs (Error_OperatorCannotBeApplied): Report type instead of
type instance.
svn path=/trunk/mcs/; revision=65139
Marek Safar [Fri, 8 Sep 2006 21:46:59 +0000 (21:46 -0000)]
New tests.
svn path=/trunk/mcs/; revision=65137
Marek Safar [Fri, 8 Sep 2006 21:45:23 +0000 (21:45 -0000)]
2006-09-08 Marek Safar <marek.safar@seznam.cz>
* decl.cs (DeclSpace.SetParameterInfo): Check for non existent type
parameter.
* expression.cs (TypeOf.GetAttributableValue): Check for open generic
types.
* generic.cs: Improved error messages.
* typemanager.cs (RemoveGenericArity): Made public.
svn path=/trunk/mcs/; revision=65136
Robert Jordan [Fri, 8 Sep 2006 21:09:37 +0000 (21:09 -0000)]
2006-09-08 Robert Jordan <robertj@gmx.net>
* Page.cs: assure that RenderTrace is called even if an
exception occurred. Fixes bug #78930.
svn path=/trunk/mcs/; revision=65135
Robert Jordan [Fri, 8 Sep 2006 21:09:10 +0000 (21:09 -0000)]
2006-09-08 Robert Jordan <robertj@gmx.net>
* TraceData.cs: fixed NRE if `sizes' is null, which may happen
if a page was unable to save its viewstate and size.
svn path=/trunk/mcs/; revision=65134
Gonzalo Paniagua Javier [Fri, 8 Sep 2006 20:29:24 +0000 (20:29 -0000)]
2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: after parsing an include file, don't error out if we
still have opened tags unless this was the last file to parse. Fixes
bug #79318.
svn path=/trunk/mcs/; revision=65133
Gonzalo Paniagua Javier [Fri, 8 Sep 2006 19:25:14 +0000 (19:25 -0000)]
2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ObjectDataSourceView.cs: correctly find the type when it is not in the
executing assembly. Fixes bug #78321. Patch by Marek Habersack.
svn path=/trunk/mcs/; revision=65131
Gonzalo Paniagua Javier [Fri, 8 Sep 2006 19:20:40 +0000 (19:20 -0000)]
2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ControlParameter.cs: fix search for controls so that they use their
NamingContainer, not the Page. Patch by Marek Habersack that fixes
bug #78320.
svn path=/trunk/mcs/; revision=65130
Gonzalo Paniagua Javier [Fri, 8 Sep 2006 19:13:04 +0000 (19:13 -0000)]
2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateControl.cs: search for the new Page_* event handlers in 2.0.
Patch by Marek Habersack that fixes bug #78268.
svn path=/trunk/mcs/; revision=65128
Gonzalo Paniagua Javier [Fri, 8 Sep 2006 19:08:53 +0000 (19:08 -0000)]
2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Login.cs: fix problem with the login control and master pages.
Patch by Marek Habersack that fixes bug #78219.
svn path=/trunk/mcs/; revision=65127
Martin Baulig [Fri, 8 Sep 2006 19:03:54 +0000 (19:03 -0000)]
2006-09-08 Martin Baulig <martin@ximian.com>
* typemanager.cs (TypeManager.interlocked_type): New public field.
(TypeManager.int_interlocked_compare-exchange): New public field.
(TypeManager.InitEnumUnderlyingTypes): Also initialize the
enumerator types here and call InitGenericCoreTypes().
(TypeManager.InitCoreTypes): Call InitEnumeratorTypes() right
after calling InitEnumUnderlyingTypes().
* rootcontext.cs
(RootContext.ResolveCore): Added `System.Threading.Interlocked' to
`classes_second_stage'.
svn path=/trunk/mcs/; revision=65124
Atsushi Eno [Fri, 8 Sep 2006 18:13:20 +0000 (18:13 -0000)]
2006-09-08 Atsushi Enomoto <atsushi@ximian.com>
* DTMXPathDocumentWriter2.cs : fill String.Empty for null ns in
WriteStartElement() and WriteStartAttribute().
svn path=/trunk/mcs/; revision=65122
Zoltan Varga [Fri, 8 Sep 2006 18:05:19 +0000 (18:05 -0000)]
2006-09-08 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_init): Init class->no_special_static_fields from the cached info.
svn path=/trunk/mono/; revision=65121
Sebastien Pouliot [Fri, 8 Sep 2006 17:53:33 +0000 (17:53 -0000)]
2006-09-08 Sebastien Pouliot <sebastien@ximian.com>
* ChangeLog: New. Track changes for mget.
* Makefile: New. Build and clean mget.
* mget.cs: Source code for mget test tool.
* README: Information about mget.
svn path=/trunk/mcs/; revision=65120
Zoltan Varga [Fri, 8 Sep 2006 17:13:50 +0000 (17:13 -0000)]
2006-09-08 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_get_class_from_name): Remove a debug printf.
svn path=/trunk/mono/; revision=65119
Alexander Olk [Fri, 8 Sep 2006 16:49:41 +0000 (16:49 -0000)]
2006-09-08 Alexander Olk <alex.olk@googlemail.com>
* MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
Simplified gnome support by adding more pinvokes to get the
icon for a file or mime type.
svn path=/trunk/mcs/; revision=65118
Jackson Harper [Fri, 8 Sep 2006 16:15:04 +0000 (16:15 -0000)]
* TextControl.cs: Update the cursor position even if we don't
* have
focus. This fixes typing in things like the ComboBox. I'm not
totally sure we should always set the visibility if we don't
have
focus, but couldn't find any corner cases where the cursor
showed
up when it shouldn't.
svn path=/trunk/mcs/; revision=65114
Jackson Harper [Fri, 8 Sep 2006 15:29:18 +0000 (15:29 -0000)]
* MenuAPI.cs: Deslect popup context menu items before closing
* the
window, so that you don't see the previously selected item
selected when you reopen the menu.
svn path=/trunk/mcs/; revision=65113
Chris Toshok [Fri, 8 Sep 2006 15:21:41 +0000 (15:21 -0000)]
2006-09-08 Chris Toshok <toshok@ximian.com>
* X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
our arrays are length 256. & 0xff before indexing. Fixes the
crash in bug #78077.
svn path=/trunk/mcs/; revision=65112
Gonzalo Paniagua Javier [Fri, 8 Sep 2006 14:26:03 +0000 (14:26 -0000)]
add ecmascriptvers/w3cdomversion attributes. Thanks to MArek Habersack.
svn path=/trunk/mono/; revision=65102
Sebastien Pouliot [Fri, 8 Sep 2006 14:23:30 +0000 (14:23 -0000)]
2006-09-08 Sebastien Pouliot <sebastien@ximian.com>
* RSACryptoServiceProviderTest.cs: Added test cases for decoding bad
PKCS1 and OAEP padding - both resulting in a CryptographicException.
* RSAOAEPKeyExchangeDeformatterTest.cs: Add test case for bad padding.
* RSAPKCS1KeyExchangeDeformatterTest.cs: Add test case for bad padding
svn path=/trunk/mcs/; revision=65100
Sebastien Pouliot [Fri, 8 Sep 2006 14:21:27 +0000 (14:21 -0000)]
2006-09-08 Sebastien Pouliot <sebastien@ximian.com>
* RSAOAEPKeyExchangeDeformatter.cs: Throw a CryptographicException,
instead of returning null, when a padding error occurs on decryption.
* RSAPKCS1KeyExchangeDeformatter.cs: Throw a CryptographicException,
instead of returning null, when a padding error occurs on decryption.
svn path=/trunk/mcs/; revision=65098
Zoltan Varga [Fri, 8 Sep 2006 14:05:15 +0000 (14:05 -0000)]
2006-09-08 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Add a hash table to the AOT file mapping class names to typedef
tokens.
* aot-runtime.c (mono_aot_get_class_from_name): New function used by
mono_class_from_name () to find a class from its name.
* mini.c (mini_init): Register mono_aot_get_class_from_name () with the runtime.
svn path=/trunk/mono/; revision=65094
Zoltan Varga [Fri, 8 Sep 2006 14:01:26 +0000 (14:01 -0000)]
2006-09-08 Zoltan Varga <vargaz@gmail.com>
* image.c (load_class_names): Move this to class.c, and rename it to
'mono_image_init_name_cache'.
(load_modules): Fix a warning.
* class.c icall.c image.c: Initialize image->name_cache lazily.
* class-internals.h (MonoGetClassFromName): New hook function to find a class based
on its name using information in the AOT file.
* class.c (mono_class_from_name): Use the new hook function.
svn path=/trunk/mono/; revision=65093
Robert Jordan [Fri, 8 Sep 2006 10:46:26 +0000 (10:46 -0000)]
2006-09-08 Robert Jordan <robertj@gmx.net>
* mkbundle.1: The `-z' option is now supported under Windows.
svn path=/trunk/mono/; revision=65087
Robert Jordan [Fri, 8 Sep 2006 10:42:40 +0000 (10:42 -0000)]
2006-09-08 Robert Jordan <robertj@gmx.net>
* mkbundle.cs, TODO: The `-z' option is now supported under
Windows.
svn path=/trunk/mcs/; revision=65086
Carlos Alberto Cortez [Fri, 8 Sep 2006 07:18:06 +0000 (07:18 -0000)]
2006-09-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ThemeWin32Classic.cs:
* DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
is true. Handle that check box too.
svn path=/trunk/mcs/; revision=65085
Chris Toshok [Fri, 8 Sep 2006 01:54:07 +0000 (01:54 -0000)]
* MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
79244.
2006-09-07 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=65084
Chris Toshok [Fri, 8 Sep 2006 00:35:43 +0000 (00:35 -0000)]
2006-09-07 Chris Toshok <toshok@ximian.com>
* Control.cs: in set_BackColor only do the work if
background_color != value.
* XplatUIX11.cs: move the clearing of invalid areas (both client
and nc) to the same block of code where we set (nc_)expose_pending
to false. That is, move it from PaintEventEnd to PaintEventStart,
so things that cause invalidates from within OnPaint will trigger
another call to OnPaint. Fixes bug #79262.
svn path=/trunk/mcs/; revision=65083
Marek Safar [Thu, 7 Sep 2006 22:06:42 +0000 (22:06 -0000)]
2006-09-07 Marek Safar <marek.safar@seznam.cz>
* class.cs, generic.cs (GenericMethod.Define): Check for type parameter
collisions.
* statement.cs (Block.Variables): Made public.
svn path=/trunk/mcs/; revision=65081
Alexander Olk [Thu, 7 Sep 2006 21:00:51 +0000 (21:00 -0000)]
* resources/, System.Windows.Forms.dll.resources, Makefile:
svn path=/trunk/mcs/; revision=65079
Jonathan Pryor [Thu, 7 Sep 2006 20:04:43 +0000 (20:04 -0000)]
* Syscall.cs: readdir(P) is not thread-safe, so it needs to be locked so
that the `struct dirent' it returns is stable.
svn path=/trunk/mcs/; revision=65078
Alexander Olk [Thu, 7 Sep 2006 18:12:52 +0000 (18:12 -0000)]
* FileDialog.cs: Fix typo
svn path=/trunk/mcs/; revision=65077
Alexander Olk [Thu, 7 Sep 2006 18:11:14 +0000 (18:11 -0000)]
2006-09-07 Alexander Olk <alex.olk@googlemail.com>
* Theme.cs: Use correct icon for UIIcon.PlacesPersonal
svn path=/trunk/mcs/; revision=65076
Alexander Olk [Thu, 7 Sep 2006 18:07:05 +0000 (18:07 -0000)]
2006-09-07 Alexander Olk <alex.olk@googlemail.com>
* resources/, System.Windows.Forms.dll.resources:
Add user-home Tango icon in various sizes.
svn path=/trunk/mcs/; revision=65075
Atsushi Eno [Thu, 7 Sep 2006 17:20:19 +0000 (17:20 -0000)]
2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
* EncryptedXml.cs : DecryptData() should not pass block size to
Transform() as the index.
svn path=/trunk/mcs/; revision=65071
Jackson Harper [Thu, 7 Sep 2006 16:18:54 +0000 (16:18 -0000)]
* ThemeWin32Classic.cs: oops, forgot to commit. Draw the
* images
for tab pages if they have any.
svn path=/trunk/mcs/; revision=65067
Igor Zelmanovich [Thu, 7 Sep 2006 14:52:01 +0000 (14:52 -0000)]
fixed: populating nodes.
svn path=/trunk/mcs/; revision=65065
Igor Zelmanovich [Thu, 7 Sep 2006 14:11:53 +0000 (14:11 -0000)]
fixed: ToggleExpandState().
svn path=/trunk/mcs/; revision=65059
Konstantin Triger [Thu, 7 Sep 2006 13:55:08 +0000 (13:55 -0000)]
remove TARGET_JVM #if
svn path=/trunk/mcs/; revision=65055