Zoltan Varga [Fri, 16 Jan 2009 19:05:22 +0000 (19:05 -0000)]
2009-01-16 Zoltan Varga <vargaz@gmail.com>
* threads.c (mono_threads_abort_appdomain_threads): Abort threads outside the
threads_lock () to prevent deadlocks.
svn path=/trunk/mono/; revision=123642
Marek Safar [Fri, 16 Jan 2009 16:26:27 +0000 (16:26 -0000)]
New test.
svn path=/trunk/mcs/; revision=123625
Marek Safar [Fri, 16 Jan 2009 16:26:11 +0000 (16:26 -0000)]
2009-01-16 Marek Safar <marek.safar@gmail.com>
* nullable.cs (LiftedBinaryOperator): Check for all possible null
expressions.
svn path=/trunk/mcs/; revision=123624
Marek Safar [Fri, 16 Jan 2009 16:24:26 +0000 (16:24 -0000)]
New tests.
svn path=/trunk/mcs/; revision=123623
Jonathan Pobst [Fri, 16 Jan 2009 16:06:43 +0000 (16:06 -0000)]
2009-01-16 Jonathan Pobst <monkey@jpobst.com>
* FormEventTest.cs: Disable failing test that was enabled in r118455.
svn path=/trunk/mcs/; revision=123621
Gonzalo Paniagua Javier [Fri, 16 Jan 2009 15:40:23 +0000 (15:40 -0000)]
2009-01-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
* FtpWebRequestTest.cs: add directory listing test when the $HOME is
not /.
svn path=/trunk/mcs/; revision=123616
Gonzalo Paniagua Javier [Fri, 16 Jan 2009 15:38:56 +0000 (15:38 -0000)]
2009-01-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
* FtpWebRequest.cs: adjust to the correct directory when listing too.
Fixes bug #466530.
svn path=/trunk/mcs/; revision=123614
Zoltan Varga [Fri, 16 Jan 2009 15:29:29 +0000 (15:29 -0000)]
2009-01-16 Zoltan Varga <vargaz@gmail.com>
* configure.in: Avoid error messages in the quiet code if libgc/Makefile
does not exist yet. Fixes #466814.
svn path=/trunk/mono/; revision=123612
Paolo Molaro [Fri, 16 Jan 2009 14:23:17 +0000 (14:23 -0000)]
Fri Jan 16 15:21:21 CET 2009 Paolo Molaro <lupus@ximian.com>
* exceptions-ppc.c: tweaks from malc (OV-Soft) to fix the size of the
trampoline code. Include ucontext.h only if available.
svn path=/trunk/mono/; revision=123609
Mike Gorse [Fri, 16 Jan 2009 03:21:17 +0000 (03:21 -0000)]
* TextControl.cs: Add UIASelectionChanged event.
svn path=/trunk/mcs/; revision=123576
Zoltan Varga [Fri, 16 Jan 2009 01:49:51 +0000 (01:49 -0000)]
2009-01-16 Zoltan Varga <vargaz@gmail.com>
* mono-hash.c: Change the roots to use write barriers when running with
SGEN, to avoid scanning all the hash nodes at every minor collection.
svn path=/trunk/mono/; revision=123561
Zoltan Varga [Fri, 16 Jan 2009 01:47:37 +0000 (01:47 -0000)]
2009-01-16 Zoltan Varga <vargaz@gmail.com>
* sgen-gc.c gc-internal.h: Add a new root type root-with-wbarrier, which
does not need to be scanned during minor collections, since writes to it
must use write barriers.
svn path=/trunk/mono/; revision=123560
Atsushi Eno [Fri, 16 Jan 2009 00:50:33 +0000 (00:50 -0000)]
2009-01-16 Atsushi Enomoto <atsushi@ximian.com>
* DataColumnTest.cs : try a string comparison fix.
svn path=/trunk/mcs/; revision=123557
Ivan Zlatev [Fri, 16 Jan 2009 00:26:16 +0000 (00:26 -0000)]
2009-01-16 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Forward the first key events to the editing control.
[Fixes bug #457307]
svn path=/trunk/mcs/; revision=123555
Rodrigo Kumpera [Thu, 15 Jan 2009 23:28:24 +0000 (23:28 -0000)]
2009-01-15 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Add pe nt header verification.
svn path=/trunk/mono/; revision=123549
Rodrigo Kumpera [Thu, 15 Jan 2009 23:28:23 +0000 (23:28 -0000)]
2009-01-15 Rodrigo Kumpera <rkumpera@novell.com>
* header-tests.md: Add more tests for pe optional header.
svn path=/trunk/mono/; revision=123548
Rodrigo Kumpera [Thu, 15 Jan 2009 23:28:22 +0000 (23:28 -0000)]
2009-01-15 Rodrigo Kumpera <rkumpera@novell.com>
* gen-md-tests.c: Add pe-optional-heaver var.
Improve debugging messages.
svn path=/trunk/mono/; revision=123547
Marek Safar [Thu, 15 Jan 2009 23:05:43 +0000 (23:05 -0000)]
2009-01-15 Marek Safar <marek.safar@gmail.com>
A fix for bug #466634
* statement.cs: Add reference for nested storey when only this
is captured.
svn path=/trunk/mcs/; revision=123542
Marek Safar [Thu, 15 Jan 2009 19:05:02 +0000 (19:05 -0000)]
set svn:eol-style
svn path=/trunk/mcs/; revision=123521
Marek Safar [Thu, 15 Jan 2009 18:47:24 +0000 (18:47 -0000)]
2009-01-15 Marek Safar <marek.safar@gmail.com>
A fix for bug #466474
* codegen.cs: Emit SecurityPermissionAttribute when -unsafe option
was specified.
svn path=/trunk/mcs/; revision=123519
Jb Evain [Thu, 15 Jan 2009 17:40:00 +0000 (17:40 -0000)]
refactoring
svn path=/trunk/mcs/; revision=123508
Jb Evain [Thu, 15 Jan 2009 17:34:05 +0000 (17:34 -0000)]
small refactoring
svn path=/trunk/mcs/; revision=123505
Jb Evain [Thu, 15 Jan 2009 17:16:19 +0000 (17:16 -0000)]
we pass this guy
svn path=/trunk/mcs/; revision=123500
Jb Evain [Thu, 15 Jan 2009 17:15:49 +0000 (17:15 -0000)]
2009-01-15 Jb Evain <jbevain@novell.com>
* Lookup.cs: propage the appropriate comparer for the lookup.
svn path=/trunk/mcs/; revision=123499
Jb Evain [Thu, 15 Jan 2009 16:46:38 +0000 (16:46 -0000)]
update csproj
svn path=/trunk/mcs/; revision=123497
Jb Evain [Thu, 15 Jan 2009 16:45:22 +0000 (16:45 -0000)]
add new tests
svn path=/trunk/mcs/; revision=123496
Jb Evain [Thu, 15 Jan 2009 16:44:22 +0000 (16:44 -0000)]
2009-01-15 Jb Evain <jbevain@novell.com>
* LookupTest.cs: new tests.
svn path=/trunk/mcs/; revision=123495
Marek Safar [Thu, 15 Jan 2009 15:23:45 +0000 (15:23 -0000)]
New tests.
svn path=/trunk/mcs/; revision=123491
Marek Safar [Thu, 15 Jan 2009 15:23:30 +0000 (15:23 -0000)]
2009-01-15 Marek Safar <marek.safar@gmail.com>
* iterators.cs, anonymous.cs, expression.cs, statement.cs, ecore.cs:
Fixed nested stories parent referencing process. Also fixes #463985.
svn path=/trunk/mcs/; revision=123490
Marek Safar [Thu, 15 Jan 2009 15:19:13 +0000 (15:19 -0000)]
warning.
svn path=/trunk/mcs/; revision=123486
Leszek 'skolima' Ciesielski [Thu, 15 Jan 2009 13:40:56 +0000 (13:40 -0000)]
2009-01-15 Leszek Ciesielski <skolima@gmail.com>
* Uri.cs: Use registered UriParser when a custom schema is passed
Fixes 464235, but is a bit of a hack
* UriTest3.cs: test for bug 464235
svn path=/trunk/mcs/; revision=123481
Zoltan Varga [Thu, 15 Jan 2009 10:50:25 +0000 (10:50 -0000)]
2009-01-15 Zoltan Varga <vargaz@gmail.com>
* gc.c: Fix a few warnings when using SGEN.
svn path=/trunk/mono/; revision=123469
Gonzalo Paniagua Javier [Thu, 15 Jan 2009 06:11:13 +0000 (06:11 -0000)]
synch
svn path=/trunk/mcs/; revision=123455
Gonzalo Paniagua Javier [Thu, 15 Jan 2009 06:03:51 +0000 (06:03 -0000)]
2009-01-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpListenerRequest.cs: always initialize 'version'.
* HttpConnection.cs: the socket might already be disconnected when
shutting down.
svn path=/trunk/mcs/; revision=123453
Gonzalo Paniagua Javier [Thu, 15 Jan 2009 05:47:13 +0000 (05:47 -0000)]
Updated
svn path=/trunk/mcs/; revision=123451
Gonzalo Paniagua Javier [Thu, 15 Jan 2009 04:56:16 +0000 (04:56 -0000)]
2009-01-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
* WebConnectionStream.cs: if the buffer has been killed, return -1 for
its length. Fixes regression in System.Runtime.Remoting.
svn path=/trunk/mcs/; revision=123449
Atsushi Eno [Thu, 15 Jan 2009 02:59:13 +0000 (02:59 -0000)]
2009-01-15 Atsushi Enomoto <atsushi@ximian.com>
* JsonReader.cs : consume ',' between items in an array.
svn path=/trunk/mcs/; revision=123446
Gonzalo Paniagua Javier [Thu, 15 Jan 2009 02:52:28 +0000 (02:52 -0000)]
2009-01-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Tds70.cs: fix my mistake in the previous patch.
svn path=/trunk/mcs/; revision=123445
Gonzalo Paniagua Javier [Thu, 15 Jan 2009 01:06:52 +0000 (01:06 -0000)]
2009-01-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
* TdsMetaParameter.cs: set_RawValue now calls set_Value so that
'isUpdated' is set.
svn path=/trunk/mcs/; revision=123444
Gonzalo Paniagua Javier [Thu, 15 Jan 2009 01:05:43 +0000 (01:05 -0000)]
2009-01-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Tds70.cs: more '@' handling.
svn path=/trunk/mcs/; revision=123443
Rodrigo Kumpera [Thu, 15 Jan 2009 00:23:40 +0000 (00:23 -0000)]
2009-01-14 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Add pe optional header verification.
svn path=/trunk/mono/; revision=123441
Rodrigo Kumpera [Thu, 15 Jan 2009 00:23:39 +0000 (00:23 -0000)]
2009-01-14 Rodrigo Kumpera <rkumpera@novell.com>
* gen-md-tests.c: Improve debugging.
* header-tests.md: Add tests for the optional header.
svn path=/trunk/mono/; revision=123440
Rodrigo Kumpera [Thu, 15 Jan 2009 00:23:37 +0000 (00:23 -0000)]
2009-01-14 Rodrigo Kumpera <rkumpera@novell.com>
* gen-md-tests.c: Revert decision of making base 16 the default.
It makes for shorter tests, but it's confusing.
* header-tests.md: Fix the tests to use an explicit 0x for hexadecimal numbers.
svn path=/trunk/mono/; revision=123439
Rodrigo Kumpera [Thu, 15 Jan 2009 00:23:36 +0000 (00:23 -0000)]
2009-01-14 Rodrigo Kumpera <rkumpera@novell.com>
* header-tests.md: Add tests for characteristics.
svn path=/trunk/mono/; revision=123438
Rodrigo Kumpera [Thu, 15 Jan 2009 00:23:35 +0000 (00:23 -0000)]
2009-01-14 Rodrigo Kumpera <rkumpera@novell.com>
* gen-md-tests.c: Improved debugging and made small cleanup on macro names.
svn path=/trunk/mono/; revision=123437
Zoltan Varga [Thu, 15 Jan 2009 00:04:29 +0000 (00:04 -0000)]
Fix a warning.
svn path=/trunk/mono/; revision=123435
Zoltan Varga [Thu, 15 Jan 2009 00:02:45 +0000 (00:02 -0000)]
2009-01-15 Zoltan Varga <vargaz@gmail.com>
* mono-hash.c: Rewrite the SGEN specific parts to use a user defined
marker function instead of registering each GC node as a hash root.
svn path=/trunk/mono/; revision=123434
Zoltan Varga [Thu, 15 Jan 2009 00:01:38 +0000 (00:01 -0000)]
2009-01-15 Zoltan Varga <vargaz@gmail.com>
* sgen-gc.c: Add support for user defined marker functions, used by
MonoGHashTable to avoid registering a GC root for every hash node.
svn path=/trunk/mono/; revision=123433
Mark Probst [Thu, 15 Jan 2009 00:01:30 +0000 (00:01 -0000)]
2009-01-15 Mark Probst <mark.probst@gmail.com>
* mini.c: mono_domain_lookup_shared_generic() takes an open method
and doesn't check whether it's sharable, like it was before
removing the shared generics hash. This brings IronPython
performance back to what it was before that change.
svn path=/trunk/mono/; revision=123432
Zoltan Varga [Wed, 14 Jan 2009 21:42:29 +0000 (21:42 -0000)]
2009-01-14 Zoltan Varga <vargaz@gmail.com>
* handles-private.h (_wapi_handle_set_signal_state): Set the signalled state
of the handle while locking the global signal cond mutex.
* wait.c (WaitForMultipleObjectsEx): Check the signalled state of handles
inside the critical section before waiting, otherwise we could go to waiting
even when the handles are already signalled.
svn path=/trunk/mono/; revision=123421
Zoltan Varga [Wed, 14 Jan 2009 21:36:01 +0000 (21:36 -0000)]
2009-01-14 Zoltan Varga <vargaz@gmail.com>
* RegexTrial.cs: Run all tests with the CIL Compiler too.
svn path=/trunk/mcs/; revision=123419
Zoltan Varga [Wed, 14 Jan 2009 21:34:46 +0000 (21:34 -0000)]
2009-01-14 Zoltan Varga <vargaz@gmail.com>
* RegexBugs.cs: Add a test for #466151.
svn path=/trunk/mcs/; revision=123418
Zoltan Varga [Wed, 14 Jan 2009 21:33:40 +0000 (21:33 -0000)]
2009-01-14 Zoltan Varga <vargaz@gmail.com>
* CILCompiler.cs: Avoid throwing exceptions for a few more unhandled opcodes.
Implement the reverse/ignorecase versions of Reference. Fix the reverse
version of Bitmap. Error out if a Jump opcode jumps outside the current
pc range. This works around #466151.
svn path=/trunk/mcs/; revision=123417
Gonzalo Paniagua Javier [Wed, 14 Jan 2009 20:12:04 +0000 (20:12 -0000)]
2009-01-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Tds70.cs: send the leading '@' for parameters that do not have one.
Fixes bug #466071.
Thanks to William Shallum.
svn path=/trunk/mcs/; revision=123403
Marek Habersack [Wed, 14 Jan 2009 19:30:43 +0000 (19:30 -0000)]
2009-01-14 Marek Habersack <mhabersack@novell.com>
* AspGenerator.cs: implemented a work around which allows the
server controls embedded in client tag attributes to be parsed and
compiled.
svn path=/trunk/mcs/; revision=123397
Andrés G. Aragoneses [Wed, 14 Jan 2009 17:00:49 +0000 (17:00 -0000)]
* Managed.Windows.Forms/System.Windows.Forms/Application.cs: Oops,
launch the copied handler of PreRun instead of the global one
(gendarme would bark otherwise). (Improving r123375)
svn path=/trunk/mcs/; revision=123379
Jb Evain [Wed, 14 Jan 2009 16:56:11 +0000 (16:56 -0000)]
2009-01-14 Jb Evain <jbevain@novell.com>
* AssemblyInfo.cs: fix the public key for the NET_2_1 case.
svn path=/trunk/mcs/; revision=123378
Andrés G. Aragoneses [Wed, 14 Jan 2009 16:44:49 +0000 (16:44 -0000)]
* Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:
* Managed.Windows.Forms/System.Windows.Forms/Application.cs: Move the
PreRun event fire to the end of the XplatUI static ctor (we don't
move the PreRun event to this class because its usage would cause the
call to the static ctor). This way we can get a11y support for
dialogs that run without App.Run.
svn path=/trunk/mcs/; revision=123375
Sebastien Pouliot [Wed, 14 Jan 2009 16:38:18 +0000 (16:38 -0000)]
2009-01-14 Sebastien Pouliot <sebastien@ximian.com>
* net_2_1_raw_System.Xml.dll.sources: Add NamespaceHandling
svn path=/trunk/mcs/; revision=123373
Sebastien Pouliot [Wed, 14 Jan 2009 16:37:56 +0000 (16:37 -0000)]
2009-01-14 Sebastien Pouliot <sebastien@ximian.com>
* NamespaceHandling.cs: New. Enum for Silverlight 2. Microsoft's
System.Xml.Linq.dll (often bundled in XAP files) needs it (or we
throw a TypeLoadException).
* XmlWriterSettings.cs: Add SL2 specific NamespaceHandling property
svn path=/trunk/mcs/; revision=123372
Geoff Norton [Wed, 14 Jan 2009 16:04:45 +0000 (16:04 -0000)]
2009-01-14 Geoff Norton <gnorton@novell.com>
* supportw.c: Use unsigned int instead of uint, as its more portable.
Fixes compilation issue on Mac OSX.
svn path=/trunk/mono/; revision=123364
Geoff Norton [Wed, 14 Jan 2009 16:01:07 +0000 (16:01 -0000)]
2009-01-13 Geoff Norton <gnorton@novell.com>
* appdomain.c|h: Expose mono_domain_unload to the embedding api so that
AppDomains created on the native side can be cleaned up on the native side.
svn path=/trunk/mono/; revision=123361
Andrés G. Aragoneses [Wed, 14 Jan 2009 15:59:04 +0000 (15:59 -0000)]
* Managed.Windows.Forms/System.Windows.Forms/ListView.cs: New internal
property to know the inner array's length of the location of items,
in order to avoid a try-catch strategy for the case when this array
has not been resized yet (for reference, look at r123288). r: jpobst
svn path=/trunk/mcs/; revision=123360
Mark Probst [Wed, 14 Jan 2009 13:21:59 +0000 (13:21 -0000)]
2009-01-14 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c: Handle delegate invocation optimization earlier,
otherwise it would be handled (much more slowly) by the
final/sealed optimization.
svn path=/trunk/mono/; revision=123349
Atsushi Eno [Wed, 14 Jan 2009 11:17:55 +0000 (11:17 -0000)]
2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
* ChannelParameterCollection.cs : implement, rather than NIE.
svn path=/trunk/mcs/; revision=123340
Atsushi Eno [Wed, 14 Jan 2009 10:37:34 +0000 (10:37 -0000)]
2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
* ServerTooBusyException.cs, CommunicationObjectAbortedException.cs,
ServiceActivationException.cs : new exception types.
* System.ServiceModel.dll.sources,
net_2_1_raw_System.ServiceModel.dll.sources :
added missing exception types (corcompare work).
svn path=/trunk/mcs/; revision=123331
Atsushi Eno [Wed, 14 Jan 2009 06:11:09 +0000 (06:11 -0000)]
2009-01-14 Atsushi Enomoto <atsushi@ximian.com>
* ClientBase.cs, ClientRuntimeChannel.cs : added support for
interactive channel initializers.
* ClientBase_InteractiveChannelInitializerTest.cs : new test, for
IInteractiveChannelInitializers support in ClientBase<T>.
* System.ServiceModel_test.dll.sources :
added ClientBase_InteractiveChannelInitializerTest.cs.
svn path=/trunk/mcs/; revision=123316
Gonzalo Paniagua Javier [Wed, 14 Jan 2009 05:48:45 +0000 (05:48 -0000)]
re-enable test. Works now.
svn path=/trunk/mcs/; revision=123314
Gonzalo Paniagua Javier [Wed, 14 Jan 2009 05:47:13 +0000 (05:47 -0000)]
2009-01-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpWebRequest.cs: create a result from the response when
*GetResponse() has not been called yet and we have already received
all the data.
Fixes bug #464013.
svn path=/trunk/mcs/; revision=123313
Zoltan Varga [Wed, 14 Jan 2009 02:46:50 +0000 (02:46 -0000)]
2009-01-14 Zoltan Varga <vargaz@gmail.com>
* sgen-gc.c: Fix warnings. Optimize copy_object () a bit. Split pinned/
non-pinned roots into separate hashes to avoid having to traverse them
in functions which are only interested in one kind.
svn path=/trunk/mono/; revision=123295
Rodrigo Kumpera [Wed, 14 Jan 2009 00:13:20 +0000 (00:13 -0000)]
2009-01-13 Rodrigo Kumpera <rkumpera@novell.com>
* header-tests.md: Add tests for symbol table and number of symbols.
svn path=/trunk/mono/; revision=123285
Rodrigo Kumpera [Wed, 14 Jan 2009 00:13:05 +0000 (00:13 -0000)]
2009-01-13 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Add pe header machine field verification.
svn path=/trunk/mono/; revision=123284
Rodrigo Kumpera [Wed, 14 Jan 2009 00:13:04 +0000 (00:13 -0000)]
2009-01-13 Rodrigo Kumpera <rkumpera@novell.com>
* header-tests.md: Add tests for the machine field.
svn path=/trunk/mono/; revision=123283
Rodrigo Kumpera [Wed, 14 Jan 2009 00:13:02 +0000 (00:13 -0000)]
2009-01-13 Rodrigo Kumpera <rkumpera@novell.com>
* gen-md-tests.c: Add set-uint effect.
svn path=/trunk/mono/; revision=123282
Rodrigo Kumpera [Wed, 14 Jan 2009 00:12:45 +0000 (00:12 -0000)]
2009-01-13 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Add pe header size verification.
svn path=/trunk/mono/; revision=123281
Rodrigo Kumpera [Wed, 14 Jan 2009 00:12:43 +0000 (00:12 -0000)]
2009-01-13 Rodrigo Kumpera <rkumpera@novell.com>
* header-tests.md: Rename pe-header to pe-signature.
Add pe-header tests.
svn path=/trunk/mono/; revision=123280
Rodrigo Kumpera [Wed, 14 Jan 2009 00:12:41 +0000 (00:12 -0000)]
2009-01-13 Rodrigo Kumpera <rkumpera@novell.com>
* gen-md-tests.c: Rename pe-header to pe-signature.
Add support for decimal literals using a '0' prefix.
Add proper pe-header variable.
svn path=/trunk/mono/; revision=123279
Zoltan Varga [Wed, 14 Jan 2009 00:08:36 +0000 (00:08 -0000)]
2009-01-14 Zoltan Varga <vargaz@gmail.com>
* reflection.c (ALLOC_REFENTRY): Don't allocate the ReflectionEntry structures
using the GC, they don't contain references.
svn path=/trunk/mono/; revision=123277
Zoltan Varga [Wed, 14 Jan 2009 00:05:58 +0000 (00:05 -0000)]
2009-01-14 Zoltan Varga <vargaz@gmail.com>
* domain.c (mono_domain_create): Create ldstr_table using MONO_HASH_KEY_VALUE_GC.
svn path=/trunk/mono/; revision=123276
Dean Brettle [Tue, 13 Jan 2009 21:45:31 +0000 (21:45 -0000)]
++ System.Web/ChangeLog (working copy)
* HttpApplicationFactory.cs: if there are any *.browser files in
App_Data/Mono_Machine_Browsers/, use those instead of the default
machine browser files. This allows app developers to workaround
limitations with Mono's default browser files without causing
incompatibilities with MS's implementation.
++ System.Web.Configuration_2.0/ChangeLog (working copy)
* nBrowser/Node.cs: Fixed compatibility bug where <identification> sections were required
in browser defs.
svn path=/trunk/mcs/; revision=123263
Zoltan Varga [Tue, 13 Jan 2009 21:43:23 +0000 (21:43 -0000)]
2009-01-13 Zoltan Varga <vargaz@gmail.com>
Reapply r122913, this time handling processes by falling back to polling.
* handles.c: Rework the way the global signal stuff is handled: instead of
allocating a separate mutex/condvar pair for it, allocate a normal handle.
This way, it can reuse the alertable waiting code, allowing
WaitForMultipleObject to work without polling.
svn path=/trunk/mono/; revision=123262
Geoff Norton [Tue, 13 Jan 2009 21:32:11 +0000 (21:32 -0000)]
2009-01-13 Geoff Norton <gnorton@novell.com>
* appdomain.c: Ensure that we call mono_context_init for the embedding api
as well as the managed api.
svn path=/trunk/mono/; revision=123259
Zoltan Varga [Tue, 13 Jan 2009 21:23:51 +0000 (21:23 -0000)]
2009-01-13 Zoltan Varga <vargaz@gmail.com>
* mini.c (SIG_HANDLER_SIGNATURE): Avoid crashes when the current thread or
domain is not set. Fixes #465864.
svn path=/trunk/mono/; revision=123258
Gonzalo Paniagua Javier [Tue, 13 Jan 2009 20:51:11 +0000 (20:51 -0000)]
2009-01-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpWebRequest.cs: keepAlive is of no use here.
Fixes bug #465613.
svn path=/trunk/mcs/; revision=123252
Gonzalo Paniagua Javier [Tue, 13 Jan 2009 20:32:26 +0000 (20:32 -0000)]
2009-01-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpConnection.cs: we were not writing the headers for 0-length
responses.
* WebConnectionStream.cs: for 204/304 responses with an explicit
content-length of 0, release the socket only once.
Fixes bug #465638.
svn path=/trunk/mcs/; revision=123250
Geoff Norton [Tue, 13 Jan 2009 19:41:58 +0000 (19:41 -0000)]
2009-01-13 Geoff Norton <gnorton@novell.com>
* Revert r122913 as it causes problems waiting of processes
to exit.
svn path=/trunk/mono/; revision=123242
Geoff Norton [Tue, 13 Jan 2009 18:49:18 +0000 (18:49 -0000)]
2009-01-13 Geoff Norton <gnorton@novell.com>
* appdomain.h|c: New API for creating a MonoDomain in the embedding api
with a MonoAppDomain initialized against it.
svn path=/trunk/mono/; revision=123234
Marek Habersack [Tue, 13 Jan 2009 18:38:18 +0000 (18:38 -0000)]
2009-01-13 Marek Habersack <mhabersack@novell.com>
* CodeBuilder.cs, RootBuilder.cs, CollectionBuilder.cs: updates
related to ControlBuilder cleanup.
* ControlBuilder.cs: code cleanup - no field should be visible
outside the class unless it's a constant or a read-only field.
2009-01-13 Marek Habersack <mhabersack@novell.com>
* XmlBuilder.cs: updates related to ControlBuilder cleanup.
2009-01-13 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs, AspGenerator.cs, BaseCompiler.cs,
GlobalAsaxCompiler.cs, PageThemeCompiler.cs: updates related to
ControlBuilder cleanup.
svn path=/trunk/mcs/; revision=123229
Zoltan Varga [Tue, 13 Jan 2009 17:26:30 +0000 (17:26 -0000)]
2009-01-13 Zoltan Varga <vargaz@gmail.com>
* reflection.c (MOVING_GC_REGISTER): Fix a warning.
svn path=/trunk/mono/; revision=123217
Zoltan Varga [Tue, 13 Jan 2009 17:17:58 +0000 (17:17 -0000)]
2009-01-13 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_image_get_generic_param_info): Use MOVING_GC_REGISTER.
svn path=/trunk/mono/; revision=123215
Andrés G. Aragoneses [Tue, 13 Jan 2009 17:17:10 +0000 (17:17 -0000)]
* System.Windows.Forms/Application.cs: Simplify UIA initialization,
reducing it from 4 to 1 reflection calls. This requires
UIAutomationWinforms r123213.
svn path=/trunk/mcs/; revision=123214
Zoltan Varga [Tue, 13 Jan 2009 16:00:59 +0000 (16:00 -0000)]
2009-01-13 Zoltan Varga <vargaz@gmail.com>
* marshal.c: Avoid setting the exception clauses after a method has been entered
into the wrapper caches. Fixes #465700.
* method-builder.c (mono_mb_set_clauses): New function to set the clauses of the
method builder.
(mono_mb_create_method): Set the clauses from the method builder.
svn path=/trunk/mono/; revision=123201
Jb Evain [Tue, 13 Jan 2009 15:25:45 +0000 (15:25 -0000)]
in System.Text:
2009-01-13 Jb Evain <jbevain@novell.com>
* Encoding.cs: when creating a ForwardingEncoder or a
ForwardingDecoder, don't crash if the Encoding doesn't
provide an EncoderFallback or a DecoderFallback.
in Test/System.Text:
2009-01-13 Jb Evain <jbevain@novell.com>
* EncoderTest.cs: Make sure we can get an encoder for a custom
encoding.
* DecoderTest.cs: ditto.
svn path=/trunk/mcs/; revision=123196
Stephane Delcroix [Tue, 13 Jan 2009 10:12:54 +0000 (10:12 -0000)]
2009-01-13 Stephane Delcroix <sdelcroix@novell.com>
* Uri.cs: Fix the previous patch for 1.0 profile
svn path=/trunk/mcs/; revision=123186
Gonzalo Paniagua Javier [Tue, 13 Jan 2009 06:07:09 +0000 (06:07 -0000)]
2009-01-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Uri.cs: avoid throwing exceptions when checking for the host name
type.
svn path=/trunk/mcs/; revision=123178
Gonzalo Paniagua Javier [Tue, 13 Jan 2009 05:34:46 +0000 (05:34 -0000)]
2009-01-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
* threadpool.c: include sys/socket.h. Fixes compilation on FreeBSD.
Patch from Makoto Kishimoto.
svn path=/trunk/mono/; revision=123176
Geoff Norton [Tue, 13 Jan 2009 03:04:36 +0000 (03:04 -0000)]
2009-01-12 Geoff Norton <gnorton@novell.com>
* ClientBase.cs: Added a few delegates missing from ChannelBase
svn path=/trunk/mcs/; revision=123169
Geoff Norton [Tue, 13 Jan 2009 01:11:03 +0000 (01:11 -0000)]
2009-01-12 Geoff Norton <gnorton@novell.com>
* WebClient_2.1.cs: SL2 webclient supports BaseAddress.
svn path=/trunk/mcs/; revision=123160
Zoltan Varga [Tue, 13 Jan 2009 00:05:23 +0000 (00:05 -0000)]
2009-01-13 Zoltan Varga <vargaz@gmail.com>
* sgen-gc.c (mono_gc_make_descr_from_bitmap): Handle large bitmaps by
encoding them as ROOT_DESC_COMPLEX.
(precisely_scan_objects_from): Implement support for ROOT_DESC_COMPLEX.
svn path=/trunk/mono/; revision=123152
Carlos Alberto Cortez [Mon, 12 Jan 2009 23:17:40 +0000 (23:17 -0000)]
2009-01-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MonthCalendar.cs: Detect selection changes in MouseDown/MouseMove
handlers and fire the DateSelected event until MouseUp is reached,
like .net does, instead of firing it for each mouse event.
Fixes part of #364914.
svn path=/trunk/mcs/; revision=123150