mono.git
14 years ago2009-10-15 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Thu, 15 Oct 2009 19:17:11 +0000 (19:17 -0000)]
2009-10-15  Jonathan Chambers  <joncham@gmail.com>

* profiler-cov.vcproj: Add project.

* profiler-logging.vcproj: Add project.

svn path=/trunk/mono/; revision=144223

14 years ago2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Oct 2009 19:16:39 +0000 (19:16 -0000)]
2009-10-15  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceHostBase.cs : eliminate possible '/' + '/foo' combination.

svn path=/trunk/mcs/; revision=144222

14 years ago2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Oct 2009 18:18:00 +0000 (18:18 -0000)]
2009-10-15  Atsushi Enomoto  <atsushi@ximian.com>

* HttpReplyChannel.cs, AspNetReplyChannel.cs : set Via property.

svn path=/trunk/mcs/; revision=144221

14 years ago2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Oct 2009 16:42:59 +0000 (16:42 -0000)]
2009-10-15  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceDebugBehavior.cs, ServiceMetadataBehavior.cs,
  ServiceMetadataExtension.cs : reduce extra args, static isn't
  required here. Add FIXME comments.

svn path=/trunk/mcs/; revision=144217

14 years agoNew test.
Marek Safar [Thu, 15 Oct 2009 16:05:03 +0000 (16:05 -0000)]
New test.

svn path=/trunk/mcs/; revision=144215

14 years ago2009-10-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 15 Oct 2009 16:04:52 +0000 (16:04 -0000)]
2009-10-15  Marek Safar  <marek.safar@gmail.com>

* dynamic.cs, expression.cs, ecore.cs, delegate.cs: Check return
type in VerifyArgumentsCompat.

svn path=/trunk/mcs/; revision=144213

14 years agoIn Test/System.Runtime.CompilerServices:
Sebastien Pouliot [Thu, 15 Oct 2009 14:36:12 +0000 (14:36 -0000)]
In Test/System.Runtime.CompilerServices:
2009-10-15  Sebastien Pouliot  <sebastien@ximian.com>

* RuntimeHelpersTest.cs: Add more test cases for validations

In System.Runtime.CompilerServices:
2009-10-15  Sebastien Pouliot  <sebastien@ximian.com>

* RuntimeHelpers.cs: Add missing validations

svn path=/trunk/mcs/; revision=144208

14 years agoIn System.Runtime.InteropServices:
Sebastien Pouliot [Thu, 15 Oct 2009 14:20:03 +0000 (14:20 -0000)]
In System.Runtime.InteropServices:
2009-10-15  Sebastien Pouliot  <sebastien@ximian.com>

* GCHandle.cs: Add missing validations

In Test/System.Runtime.InteropServices:
2009-10-15  Sebastien Pouliot  <sebastien@ximian.com>

* GCHandleTest.cs: Add more test cases for validations

svn path=/trunk/mcs/; revision=144204

14 years ago2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Oct 2009 14:07:42 +0000 (14:07 -0000)]
2009-10-15  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceMetadataExtension.cs : before fixing lots of wrong code,
  add primitive help page support to make sure base_uri is bogus.

svn path=/trunk/mcs/; revision=144203

14 years ago2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Oct 2009 13:50:47 +0000 (13:50 -0000)]
2009-10-15  Atsushi Enomoto  <atsushi@ximian.com>

* HttpReplyChannel.cs : make sure to release wait lock.
* HttpChannelListener.cs : session channels are not supported, so
  remove relevant NIEs.

svn path=/trunk/mcs/; revision=144202

14 years ago2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 15 Oct 2009 12:53:31 +0000 (12:53 -0000)]
2009-10-15  Sebastien Pouliot  <sebastien@ximian.com>

* HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
support contexts so we call the non-overloaded WaitOne method
(which defaults to false).

svn path=/trunk/mcs/; revision=144200

14 years ago2009-10-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 15 Oct 2009 12:52:22 +0000 (12:52 -0000)]
2009-10-15  Sebastien Pouliot  <sebastien@ximian.com>

* ClientRuntimeChannel.cs: Remove the WaitOne 'emitContext'
overloads from the Moonlight build. Directly call WaitHandle.
WaitAll from WaitOne(int) (since the overloads are not always
present)

svn path=/trunk/mcs/; revision=144198

14 years agoNew tests.
Marek Safar [Thu, 15 Oct 2009 11:12:20 +0000 (11:12 -0000)]
New tests.

svn path=/trunk/mcs/; revision=144195

14 years ago2009-10-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 15 Oct 2009 11:12:05 +0000 (11:12 -0000)]
2009-10-15  Marek Safar  <marek.safar@gmail.com>

* nullable.cs, expression.cs, statement.cs, namespace.cs, ecore.cs:
Reject variable used with type arguments.

svn path=/trunk/mcs/; revision=144194

14 years ago2009-10-15 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 15 Oct 2009 10:45:43 +0000 (10:45 -0000)]
2009-10-15  Jb Evain  <jbevain@novell.com>

* monotouch_System.dll.sources: add Semaphore to MonoTouch.

svn path=/trunk/mcs/; revision=144193

14 years ago2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Oct 2009 07:49:55 +0000 (07:49 -0000)]
2009-10-15  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceHostBase.cs : fix relative URI construction for
  ServiceMetadataExtension. It should create URI like
  http://localhost/test.svc/wsdl, not http://localhost/wsdl .

svn path=/trunk/mcs/; revision=144184

14 years ago* src/gptrarray.c: implement g_ptr_array_remove_index_fast
Andreia Gaita [Thu, 15 Oct 2009 07:14:29 +0000 (07:14 -0000)]
* src/gptrarray.c: implement g_ptr_array_remove_index_fast
* src/glib.h: fix g_ptr_array_remove_index_fast declaration
* test/ptrarray.c: new tests

2009-10-15 Andreia Gaita <avidigal@novell.com>

svn path=/trunk/mono/; revision=144178

14 years ago* src/garray.c: (g_array_remove_index_fast) only move 1 element
Andreia Gaita [Thu, 15 Oct 2009 07:14:27 +0000 (07:14 -0000)]
* src/garray.c: (g_array_remove_index_fast) only move 1 element
and not the whole shebang

2009-10-15 Andreia Gaita <avidigal@novell.com>

svn path=/trunk/mono/; revision=144177

14 years ago2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Oct 2009 07:08:33 +0000 (07:08 -0000)]
2009-10-15  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceHostBase.cs : on opening the host, check service endpoints
  to make sure if there is at least one "non-mex" endpoint.
  Fix couple of typos.

* ServiceHostBaseTest.cs : add test for checking non-mex contract
  existence.

svn path=/trunk/mcs/; revision=144176

14 years ago2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Oct 2009 06:21:48 +0000 (06:21 -0000)]
2009-10-15  Atsushi Enomoto  <atsushi@ximian.com>

* Uri.cs : do not reject relative short name URI when uriKind is
  RelativeOrAbsolute.

* UriTest3.cs : added test for parsing short name with
  RelativeOrAbsolute mode.

svn path=/trunk/mcs/; revision=144175

14 years ago2009-10-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 15 Oct 2009 00:11:58 +0000 (00:11 -0000)]
2009-10-15  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_op_imm_to_op): Handle OP_AND/OR/XOR_IMM.

svn path=/trunk/mono/; revision=144167

14 years agosynch with 2.6
Gonzalo Paniagua Javier [Wed, 14 Oct 2009 20:57:56 +0000 (20:57 -0000)]
synch with 2.6

svn path=/trunk/mcs/; revision=144151

14 years ago * Makefile: Add Mono.Data.Tds, System.Transactions, System.Data, and
Jonathan Pryor [Wed, 14 Oct 2009 20:55:43 +0000 (20:55 -0000)]
* Makefile: Add Mono.Data.Tds, System.Transactions, System.Data, and
Mono.Data.Sqlite to the MonoTouch build.
* System/System.ComponentModel/TypeConverter_2_1.cs: Skip this type in
the MonoTouch profile; MonoTouch will be using the 2.0 version of
TypeConverter.
* System/System.ComponentModel/ComponentCollection.cs,
System/System.ComponentModel/PropertyDescriptor.cs: MonoTouch uses the
.NET 2.0 versions of these types.
* System/monotouch_System.dll.sources: Add lots of additional .NET 2.0
functionality to the MonoTouch profile.
* System.Transactions/Makefile (VALID_PROFILE): Add monotouch.
* System.Data/System.Data.Common/DbConnection.cs: Throw
NotImplementedException for DbConnection.DbProviderFactory, as
DbProviderFactories isn't included in the MonoTouch profile.
* System.Data/System.Data.SqlClient/SqlConnection.cs: Remove
EnterpriseServices dependency from the MonoTouch profile.
* System.Data/monotouch_System.Data.dll.sources: Added.
* System.Data/System.Data/XmlSchemaDataImporter.cs: Remove
DbProviderFactories dependency in the MonoTouch profile.

svn path=/trunk/mcs/; revision=144150

14 years ago * AppDomain.cs: Re-add BaseDirectory in the MonoTouch profile.
Jonathan Pryor [Wed, 14 Oct 2009 20:48:51 +0000 (20:48 -0000)]
* AppDomain.cs: Re-add BaseDirectory in the MonoTouch profile.

svn path=/trunk/mcs/; revision=144149

14 years ago * CultureInfo.cs: Re-add GetCultures() to the MonoTouch profile.
Jonathan Pryor [Wed, 14 Oct 2009 20:41:43 +0000 (20:41 -0000)]
* CultureInfo.cs: Re-add GetCultures() to the MonoTouch profile.

svn path=/trunk/mcs/; revision=144148

14 years agoImplemented support for building stat call chans in different ways.
Massimiliano Mantione [Wed, 14 Oct 2009 20:37:49 +0000 (20:37 -0000)]
Implemented support for building stat call chans in different ways.

svn path=/trunk/mono/; revision=144147

14 years agoFix the build.
Massimiliano Mantione [Wed, 14 Oct 2009 20:37:43 +0000 (20:37 -0000)]
Fix the build.

svn path=/trunk/mono/; revision=144146

14 years agoAdded support for different ways of getting call chains in stat mode.
Massimiliano Mantione [Wed, 14 Oct 2009 20:37:32 +0000 (20:37 -0000)]
Added support for different ways of getting call chains in stat mode.

svn path=/trunk/mono/; revision=144145

14 years agoAlso check that a jit info has been found (fixes a profiler crash).
Massimiliano Mantione [Wed, 14 Oct 2009 20:37:21 +0000 (20:37 -0000)]
Also check that a jit info has been found (fixes a profiler crash).

svn path=/trunk/mono/; revision=144144

14 years agoCall mono_profiler_code_buffer_new with correct code address.
Massimiliano Mantione [Wed, 14 Oct 2009 20:37:13 +0000 (20:37 -0000)]
Call mono_profiler_code_buffer_new with correct code address.

svn path=/trunk/mono/; revision=144143

14 years ago2009-10-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 14 Oct 2009 19:30:24 +0000 (19:30 -0000)]
2009-10-14 Gonzalo Paniagua Javier <gonzalo@novell.com>

* ApplicationHost.cs: use shadowCopyBinAssemblies from
<hostingEnvironment>.

svn path=/trunk/mcs/; revision=144137

14 years agofix MONOTOUCH on trunk
Geoff Norton [Wed, 14 Oct 2009 18:49:14 +0000 (18:49 -0000)]
fix MONOTOUCH on trunk

svn path=/trunk/mcs/; revision=144133

14 years agoadd test which has been failing for a long time to known-issues-dmcs
Raja R Harinath [Wed, 14 Oct 2009 18:43:54 +0000 (18:43 -0000)]
add test which has been failing for a long time to known-issues-dmcs

svn path=/trunk/mcs/; revision=144132

14 years agoBuild only per-profile tools in the net_4_0 profile
Raja R Harinath [Wed, 14 Oct 2009 18:43:37 +0000 (18:43 -0000)]
Build only per-profile tools in the net_4_0 profile

* tools/Makefile (per_profile_dirs): New.  List of subdirs that build
per-profile tools.
(net_2_0_dirs, net_4_0_dirs): Use it.
* tools/tuner/Makefile (CECIL, LINKER): Point to profile-specific assembly.

svn path=/trunk/mcs/; revision=144131

14 years agoreordered null check
Marek Safar [Wed, 14 Oct 2009 17:56:25 +0000 (17:56 -0000)]
reordered null check

svn path=/trunk/mcs/; revision=144126

14 years agoRemoved use of mono_thread_current which can crash on shutdown.
Massimiliano Mantione [Wed, 14 Oct 2009 17:38:20 +0000 (17:38 -0000)]
Removed use of mono_thread_current which can crash on shutdown.

svn path=/trunk/mono/; revision=144124

14 years ago2009-10-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 14 Oct 2009 16:59:58 +0000 (16:59 -0000)]
2009-10-14  Marek Safar  <marek.safar@gmail.com>

* CSharpBinaryOperationBinder.cs, CSharpGetIndexBinder.cs,
CSharpGetMemberBinder.cs, CSharpArgumentInfo.cs, CSharpBinder.cs,
CSharpUnaryOperationBinder.cs, CSharpConvertBinder.cs,
CSharpSetIndexBinder.cs, CSharpSetMemberBinder.cs: Index setters
implemented.

svn path=/trunk/mcs/; revision=144121

14 years agoflush
Marek Safar [Wed, 14 Oct 2009 16:57:49 +0000 (16:57 -0000)]
flush

svn path=/trunk/mcs/; revision=144120

14 years ago2009-10-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 14 Oct 2009 16:57:32 +0000 (16:57 -0000)]
2009-10-14  Marek Safar  <marek.safar@gmail.com>

* argument.cs, dynamic.cs, assign.cs, expression.cs, ecore.cs:
Implement dynamic expressions assignment.

svn path=/trunk/mcs/; revision=144119

14 years ago * ListView.cs: When retrieving the top item, take into account the
Carlos Alberto Cortez [Wed, 14 Oct 2009 15:32:43 +0000 (15:32 -0000)]
* ListView.cs: When retrieving the top item, take into account the
offset represented by the header control, to retrieve the proper
value. Patch by Christoph von Wittich (Christoph at ApiViewer.de)
Fixes the remaining bits of #543773.

2009-10-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

svn path=/trunk/mcs/; revision=144115

14 years ago2009-10-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 14 Oct 2009 15:23:02 +0000 (15:23 -0000)]
2009-10-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: TopItem setter should set the value as the top, not
only ensuring its visibility.
Fixes part of #543773.

svn path=/trunk/mcs/; revision=144112

14 years agoUpdated.
Marek Safar [Wed, 14 Oct 2009 15:22:00 +0000 (15:22 -0000)]
Updated.

svn path=/trunk/mcs/; revision=144111

14 years agoNew test.
Marek Safar [Wed, 14 Oct 2009 15:21:47 +0000 (15:21 -0000)]
New test.

svn path=/trunk/mcs/; revision=144110

14 years ago2009-10-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 14 Oct 2009 15:21:22 +0000 (15:21 -0000)]
2009-10-14  Marek Safar  <marek.safar@gmail.com>

* expression.cs: Build underlying expression when resolving unary
mutators.

svn path=/trunk/mcs/; revision=144109

14 years ago- Try to fix the msvc build.
Jonathan Pobst [Wed, 14 Oct 2009 15:15:34 +0000 (15:15 -0000)]
- Try to fix the msvc build.

svn path=/trunk/mono/; revision=144108

14 years ago2009-10-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 14 Oct 2009 15:13:48 +0000 (15:13 -0000)]
2009-10-14  Sebastien Pouliot  <sebastien@ximian.com>

* CultureInfo.cs: Refactor to reduce unsafe methods/scope.

svn path=/trunk/mcs/; revision=144106

14 years ago2009-10-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 14 Oct 2009 15:08:54 +0000 (15:08 -0000)]
2009-10-14  Sebastien Pouliot  <sebastien@ximian.com>

* Exception.cs: Use StackFrame.GetSecureFileName to display (or
not) the file names (and paths). Don't serialize Source for
Moonlight.
* ValueType.cs: Change InternalEquals (icall) visibility to
private since it is not used elsewhere outside the type.

svn path=/trunk/mcs/; revision=144104

14 years ago2009-10-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 14 Oct 2009 12:51:41 +0000 (12:51 -0000)]
2009-10-14  Marek Safar  <marek.safar@gmail.com>

* expression.cs: Emit enum array initializer using binary blob.

svn path=/trunk/mcs/; revision=144097

14 years ago2009-10-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 14 Oct 2009 12:15:55 +0000 (12:15 -0000)]
2009-10-14  Zoltan Varga  <vargaz@gmail.com>

* driver.c (mono_main): Change the date in the copyright.

svn path=/trunk/mono/; revision=144096

14 years ago2009-10-14 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 14 Oct 2009 10:23:42 +0000 (10:23 -0000)]
2009-10-14  Mark Probst  <mark.probst@gmail.com>

        * method-to-ir.c (mono_method_to_ir): Don't use a managed array
        allocator in shared generic code for open classes, because we
        can't get those classes' vtables.  We need to make managed
        allocators not depend on the vtable at compile-time to solve this.

svn path=/trunk/mono/; revision=144087

14 years agoCosmetic ...
Martin Baulig [Tue, 13 Oct 2009 22:06:30 +0000 (22:06 -0000)]
Cosmetic ...

svn path=/trunk/mcs/; revision=144050

14 years agoAdd a new 'MONO_DEBUGGER_EVENT_TRAMPOLINE' notification for the debugger which also...
Martin Baulig [Tue, 13 Oct 2009 22:05:47 +0000 (22:05 -0000)]
Add a new 'MONO_DEBUGGER_EVENT_TRAMPOLINE' notification for the debugger which also includes the address of the callsite.
2009-10-13  Martin Baulig  <martin@ximian.com>

* debug-mini.c (mono_debugger_trampoline_compiled): Add
`const guint8 *trampoline' argument; send both the old and the new
notification.

2009-10-13  Martin Baulig  <martin@ximian.com>

* mono-debug-debugger.h (MonoDebuggerEvent): Renamed
`MONO_DEBUGGER_EVENT_TRAMPOLINE' into
`MONO_DEBUGGER_EVENT_OLD_TRAMPOLINE' and added a new
`MONO_DEBUGGER_EVENT_TRAMPOLINE'.

* mono-debug.h (MONO_DEBUGGER_MINOR_VERSION): Bump to 4.

svn path=/trunk/mono/; revision=144049

14 years agoFix arm build.
Zoltan Varga [Tue, 13 Oct 2009 21:16:27 +0000 (21:16 -0000)]
Fix arm build.

svn path=/trunk/mono/; revision=144048

14 years ago2009-10-13 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Tue, 13 Oct 2009 18:56:06 +0000 (18:56 -0000)]
2009-10-13  Bill Holmes  <billholmes54@gmail.com>

* mono.def, monoposixhelper.def, libmono.vcproj, libtest.vcproj,
  monoposixhelper.vcproj : Fixing MSVC build.

Code is contributed under MIT/X11 license.

svn path=/trunk/mono/; revision=144038

14 years ago2009-10-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 13 Oct 2009 18:25:47 +0000 (18:25 -0000)]
2009-10-13  Zoltan Varga  <vargaz@gmail.com>

* mono-gdb.py: Add an 'xdb' command to flush the debugging info.

svn path=/trunk/mono/; revision=144035

14 years ago2009-10-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 13 Oct 2009 18:19:24 +0000 (18:19 -0000)]
2009-10-13  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (mono_save_xdebug_info): Group methods into groups of 10 to
avoid registering 1 symbol file per method with gdb.

svn path=/trunk/mono/; revision=144032

14 years ago2009-10-13 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Tue, 13 Oct 2009 17:49:11 +0000 (17:49 -0000)]
2009-10-13  Bill Holmes  <billholmes54@gmail.com>

* aot-compiler.c : Fix the MSVC builds

Code is contributed under MIT/X11 license.

svn path=/trunk/mono/; revision=144028

14 years ago2009-10-12 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 13 Oct 2009 16:43:03 +0000 (16:43 -0000)]
2009-10-12  Mark Probst  <mark.probst@gmail.com>

        * object.c, object-internals.h: New function for computing the
        size of an array, factored out of mono_array_new_full().  Use
        SGen's functions for allocating arrays and vectors.

        * sgen-gc.c, gc-internal.h: Special functions for allocating
        arrays and vectors without race conditions.  A managed array
        allocator method.

        * boehm-gc.c, null-gc.c: Don't provide a managed array allocator.

2009-10-13  Mark Probst  <mark.probst@gmail.com>

        * method-to-ir.c: Use the managed array allocator method if
        available.

svn path=/trunk/mono/; revision=144021

14 years ago2009-10-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 13 Oct 2009 15:43:44 +0000 (15:43 -0000)]
2009-10-13 Marek Safar  <marek.safar@gmail.com>

* KnownColors.cs: FindColorMatch has to match only predefined color
names ignoring system elements.

* ColorTranslator.cs: Add more predefined names.

svn path=/trunk/mcs/; revision=144019

14 years ago2009-10-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 13 Oct 2009 15:35:40 +0000 (15:35 -0000)]
2009-10-13  Marek Safar  <marek.safar@gmail.com>

* WebColorConverterTest.cs: Fixed .NET compatibility.

svn path=/trunk/mcs/; revision=144018

14 years ago2009-10-13 Marek Safar <marek.safar@novell.com>
Marek Safar [Tue, 13 Oct 2009 15:33:54 +0000 (15:33 -0000)]
2009-10-13  Marek Safar  <marek.safar@novell.com>

* WebColorConverter.cs: Delegate ConvertFrom to
ColorTranslator.FromHtml, it is correctly implemented and knows
many more tricks.

svn path=/trunk/mcs/; revision=144016

14 years agoFix the eglib build.
Zoltan Varga [Tue, 13 Oct 2009 15:08:03 +0000 (15:08 -0000)]
Fix the eglib build.

svn path=/trunk/mono/; revision=144014

14 years ago2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Oct 2009 12:12:49 +0000 (12:12 -0000)]
2009-10-13  Atsushi Enomoto  <atsushi@ximian.com>

* SvcHttpHandler.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
  significant rewrite to cooperate wcf handler and asp.net handler
  to not mix multiple WCF listener within the asp.net handler.
  So far it mostly works when 1) there are no ChannelDispatchers
  that have an identical listen Uri and 2) MaxConcurrentSessions is
  1 (must be explicitly set).

svn path=/trunk/mcs/; revision=144008

14 years ago2009-10-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Oct 2009 11:32:20 +0000 (11:32 -0000)]
2009-10-13  Atsushi Enomoto  <atsushi@ximian.com>

* CommunicationObject.cs : give better state error description.

svn path=/trunk/mcs/; revision=144004

14 years agoFix warnings.
Ankit Jain [Tue, 13 Oct 2009 09:09:07 +0000 (09:09 -0000)]
Fix warnings.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-10-13  Ankit Jain  <jankit@novell.com>

* DirectoryScanner.cs:
* ExpressionCollection.cs:
* GroupingCollection.cs:
* Project.cs:
* Target.cs: Fix warnings.

In class/Microsoft.Build.Framework/Mono.XBuild.Framework:
2009-10-13  Ankit Jain  <jankit@novell.com>

* AssemblyLoadInfo.cs: Fix warning.

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* ResolveAssemblyReference.cs: Fix warnings.

2009-10-13  Ankit Jain  <jankit@novell.com>

In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
2009-10-13  Ankit Jain  <jankit@novell.com>

* TaskLoggingHelper.cs:
* ToolTask.cs: Fix warnings.

svn path=/trunk/mcs/; revision=144002

14 years ago* ResolveAssemblyReference.cs: Log only unique conflict warnings.
Ankit Jain [Tue, 13 Oct 2009 07:17:39 +0000 (07:17 -0000)]
* ResolveAssemblyReference.cs: Log only unique conflict warnings.

svn path=/trunk/mcs/; revision=144001

14 years ago2009-10-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 13 Oct 2009 01:33:44 +0000 (01:33 -0000)]
2009-10-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: For virtual mode, when navigating the items using keyboard,
don't use the matrix of positions, and instead calculate the positions
based on the number of cols and rows, taking advantage of the fixed
positions of items. Use the same idea to implement FirstVisibleIndex,
so we avoid iterating over all the items. Patch by Stephen Robinson
mono at esar.org.uk.
Fixes part of #467418.

svn path=/trunk/mcs/; revision=143998

14 years ago2009-10-13 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Tue, 13 Oct 2009 01:13:09 +0000 (01:13 -0000)]
2009-10-13  Veerapuram Varadhan  <vvaradhan@novell.com>

* DataSetTest2.cs (Bug537229_BinFormatSerializer_Test): Added new.

svn path=/trunk/mcs/; revision=143995

14 years ago2009-10-13 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Tue, 13 Oct 2009 00:47:30 +0000 (00:47 -0000)]
2009-10-13  Veerapuram Varadhan  <vvaradhan@novell.com>

** Fixes #537229
* XmlDiffLoader (LoadColumnAttributes/Children): Decode column names in
case if they are encoded.

svn path=/trunk/mcs/; revision=143993

14 years ago2009-10-13 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 12 Oct 2009 22:51:21 +0000 (22:51 -0000)]
2009-10-13  Marek Habersack  <mhabersack@novell.com>

* WebColorConverter.cs: don't use a dictionary to check for valid
color names, use Color.IsKnownColor instead. Update for bug
#546173 fix.
Added more CSS2 color name mappings.

svn path=/trunk/mcs/; revision=143990

14 years ago2009-10-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 12 Oct 2009 21:28:49 +0000 (21:28 -0000)]
2009-10-12  Zoltan Varga  <vargaz@gmail.com>

* Process.cs (Dispose): Close the async output/error readers. Fixes #545429.

svn path=/trunk/mcs/; revision=143985

14 years agoFix the build
Marek Habersack [Mon, 12 Oct 2009 21:10:38 +0000 (21:10 -0000)]
Fix the build

svn path=/trunk/mcs/; revision=143979

14 years agoUnused variable.
Marek Safar [Mon, 12 Oct 2009 19:12:58 +0000 (19:12 -0000)]
Unused variable.

svn path=/trunk/mcs/; revision=143978

14 years ago2009-10-12 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 12 Oct 2009 17:42:21 +0000 (17:42 -0000)]
2009-10-12  Mark Probst  <mark.probst@gmail.com>

        * object.c, object.h, icall.c: Write barriers do the copying now,
        as well, so no need for an additional memcpy.

        * sgen-gc.c: Lock when storing remsets.  Do the memory
        copying/moving in the write barriers.

        * null-gc.c, boehm-gc.c: Write barriers must copy here, too.

        * reflection.c: Added an assert.

svn path=/trunk/mono/; revision=143977

14 years ago2009-10-12 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 12 Oct 2009 17:19:04 +0000 (17:19 -0000)]
2009-10-12  Mark Probst  <mark.probst@gmail.com>

        * threads.c, process.c: A few missing write barriers.

svn path=/trunk/mono/; revision=143975

14 years ago2009-10-12 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 12 Oct 2009 14:42:55 +0000 (14:42 -0000)]
2009-10-12  Marek Habersack  <mhabersack@novell.com>

* WebColorConverter.cs: when converting from color name, check if
the returned color's name is a member of the
System.Drawing.KnownColor enumeration to test for error condition,
as some colors might be #000000. Preserve the old error check as a
fallback only.
Map "captiontext" and "background" color names to
"ActiveCaptionText" and "Desktop", respectively, before passing
them to Color.FromName (). Fixes bug #546173

svn path=/trunk/mcs/; revision=143972

14 years ago2009-10-12 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 12 Oct 2009 12:51:30 +0000 (12:51 -0000)]
2009-10-12  Marek Habersack  <mhabersack@novell.com>

* ObjectStateFormatter.cs: if a type is associated with a type
converter, do not check if the converter can convert FROM the type
in question, as this is implied. Fixes bug #545979

svn path=/trunk/mcs/; revision=143967

14 years ago2009-10-12 Dick Porter <dporter@codicesoftware.com>
Dick Porter [Mon, 12 Oct 2009 12:30:26 +0000 (12:30 -0000)]
2009-10-12  Dick Porter  <dporter@codicesoftware.com>

* Splitter.cs: Adjust offsets when more than one splitter is
present in a control.  Fixes bug 509472.

svn path=/trunk/mcs/; revision=143966

14 years ago2009-10-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 12 Oct 2009 12:02:27 +0000 (12:02 -0000)]
2009-10-12  Zoltan Varga  <vargaz@gmail.com>

* data/Makefile.am (gdb_DATA): Install mono-gdb.py alongside the mono executable.

svn path=/trunk/mono/; revision=143958

14 years ago2009-10-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 12 Oct 2009 12:02:21 +0000 (12:02 -0000)]
2009-10-12  Zoltan Varga  <vargaz@gmail.com>

* mono-gdb.py: Update this to gdb 7.0.

* mono-gdbinit: Removed, no longer needed.

svn path=/trunk/mono/; revision=143957

14 years ago2009-10-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 12 Oct 2009 12:02:14 +0000 (12:02 -0000)]
2009-10-12  Zoltan Varga  <vargaz@gmail.com>

* data/gdb-pre7.0: New directory, containing the mono support files for
gdb versions before 7.0.

svn path=/trunk/mono/; revision=143956

14 years ago2009-10-12 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 12 Oct 2009 10:49:39 +0000 (10:49 -0000)]
2009-10-12  Marek Habersack  <mhabersack@novell.com>

* BuildManager.cs: make sure to construct correct physical path
for every precompiled key in FixVirtualPaths. Fixes bug #546053

svn path=/trunk/mcs/; revision=143950

14 years ago2009-10-12 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 12 Oct 2009 09:52:18 +0000 (09:52 -0000)]
2009-10-12  Marek Habersack  <mhabersack@novell.com>

* HttpResponse.cs: actually _use_ the url passed to Redirect when
fully qualified redirect url is requested, doh. Fixes bug #542846

svn path=/trunk/mcs/; revision=143945

14 years agoImprove error reporting.
Ankit Jain [Mon, 12 Oct 2009 07:36:28 +0000 (07:36 -0000)]
Improve error reporting.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* Target.cs (TargetFile): New. Gives the name of the file
containing the target definition.
* BuildEngine.cs (.ctor): Add a 'taskfile' parameters, and
return this for ProjectFileOfTaskNode.
* BuildTask.cs (LogTaskStarted):
(LogTaskFinished): Use parentTarget.ProjectFileOfTaskNode for
the event.
(InitializeTask): Set BuildEngine's task file to parent target's
TargetFile.
* Engine.cs (LogProjectStarted): Incase of default targets, set
TargetNames to String.Empty .
* TargetBatchingImpl.cs (LogTargetStarted):
(LogTargetFinished): Use target.TargetFile for the event.

* ConsoleLogger.cs: Keep a stack of project/target/task being
executed. And corresponding list of errors and warnings.
(EventsToString): Stringifies the current "stack", to be used
as key to the table of errors/warnings and for show messages
at the end of the build.

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* ResolveAssemblyReference.cs: Remove unnecessary tab in the warning
messages.

In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
* TaskLoggingHelper.cs: Use the buildEngine.ProjectFileOfTaskNode
in the event args.

svn path=/trunk/mcs/; revision=143937

14 years agoPatch by Joel Reed that implements a few network interface counters
Gonzalo Paniagua Javier [Mon, 12 Oct 2009 05:56:12 +0000 (05:56 -0000)]
Patch by Joel Reed that implements a few network interface counters

svn path=/trunk/mono/; revision=143934

14 years ago* xbuild/Microsoft.Common.targets: For referenced projects,
Ankit Jain [Sun, 11 Oct 2009 23:25:50 +0000 (23:25 -0000)]
* xbuild/Microsoft.Common.targets: For referenced projects,
when trying to get the deploy items, ensure that the split
lists of project references are available.
(SplitProjectReferencesByExistent): New.
Set DependsOnTargets appropriately.

svn path=/trunk/mcs/; revision=143933

14 years ago* ToolTask.cs (ExecuteTool): Don't set toolOutput to null.
Ankit Jain [Sun, 11 Oct 2009 23:25:34 +0000 (23:25 -0000)]
* ToolTask.cs (ExecuteTool): Don't set toolOutput to null.
(HandleTaskExecutionErrors): toolOutput can be null.
Set toolOutput to null here.

svn path=/trunk/mcs/; revision=143932

14 years ago* SolutionParser.cs: Handle non-existing project files, and
Ankit Jain [Sun, 11 Oct 2009 22:04:37 +0000 (22:04 -0000)]
* SolutionParser.cs: Handle non-existing project files, and
project file load errors. Raise warnings instead of failing.
* xbuild/Microsoft.Common.targets: Handle non-existant
Project references, skip instead of failing.

svn path=/trunk/mcs/; revision=143918

14 years agoIn class/Microsoft.Build.Tasks:
Ankit Jain [Sun, 11 Oct 2009 22:04:21 +0000 (22:04 -0000)]
In class/Microsoft.Build.Tasks:

* Makefile: Add reference to Microsoft.Build.Engine .

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:

* MSBuild.cs (Execute): Handle build errors.

svn path=/trunk/mcs/; revision=143917

14 years ago* Project.cs (Load): Add argument checks.
Ankit Jain [Sun, 11 Oct 2009 22:04:04 +0000 (22:04 -0000)]
* Project.cs (Load): Add argument checks.

svn path=/trunk/mcs/; revision=143916

14 years ago2009-10-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 11 Oct 2009 02:06:11 +0000 (02:06 -0000)]
2009-10-11  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (mono_save_xdebug_info): Emit a symbol for the method which
can be used to set breakpoints in gdb.

* image-writer.c (bin_writer_emit_writeout): Add support for setting the text
segment to an absolute address.

svn path=/trunk/mono/; revision=143909

14 years ago* xbuild.1: Add info about env var XBUILD_COLORS.
Ankit Jain [Sun, 11 Oct 2009 01:39:27 +0000 (01:39 -0000)]
* xbuild.1: Add info about env var XBUILD_COLORS.

svn path=/trunk/mono/; revision=143906

14 years ago* ConsoleLogger.cs (no_colors): Rename to ..
Ankit Jain [Sun, 11 Oct 2009 01:23:54 +0000 (01:23 -0000)]
* ConsoleLogger.cs (no_colors): Rename to ..
(use_colors): .. this. Fix the case when XBUILD_COLORS
is not set.

svn path=/trunk/mcs/; revision=143903

14 years agoAdd color support for errors/warnings etc.
Ankit Jain [Sun, 11 Oct 2009 01:15:17 +0000 (01:15 -0000)]
Add color support for errors/warnings etc.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

* ConsoleLogger.cs: Use ColorSetter and ColorResetter .
Support 'XBUILD_COLORS' to set colors for errors, warnings,
events and messages.

In tools/xbuild:

* Main.cs: Add support for emitting messages in color.
Taking relevant code from mcs/report.cs . Using ANSI
color codes here instead of Console.ForegroundColor
because of a bug in Console.

svn path=/trunk/mcs/; revision=143902

14 years ago2009-10-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 10 Oct 2009 18:56:46 +0000 (18:56 -0000)]
2009-10-10  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (mono_save_trampoline_xdebug_info): Implement this for the
gdb mode.

svn path=/trunk/mono/; revision=143894

14 years ago2009-10-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 10 Oct 2009 18:56:39 +0000 (18:56 -0000)]
2009-10-10  Zoltan Varga  <vargaz@gmail.com>

* */CMakeLists.txt: Update this to latest autoconf files.

svn path=/trunk/mono/; revision=143893

14 years ago* ConsoleLogger.cs (ProjectFinishedHandler): Once projectFailed
Ankit Jain [Sat, 10 Oct 2009 18:53:11 +0000 (18:53 -0000)]
* ConsoleLogger.cs (ProjectFinishedHandler): Once projectFailed
becomes true, don't reset it. We are looking for "atleast one
project failed".

svn path=/trunk/mcs/; revision=143892

14 years ago* Exec.cs (AddCommandLineCommands): Add '/q' for cmd.exe, to
Ankit Jain [Fri, 9 Oct 2009 15:48:26 +0000 (15:48 -0000)]
* Exec.cs (AddCommandLineCommands): Add '/q' for cmd.exe, to
turn 'echo off'. And make sure the script file on windows, has
a '.bat' extension, otherwise cmd.exe opens it in a text editor.

svn path=/trunk/mcs/; revision=143880

14 years agoFix bug #545703.
Ankit Jain [Fri, 9 Oct 2009 15:46:37 +0000 (15:46 -0000)]
Fix bug #545703.
* Exec.cs (Command): On unix, change CRLF to CR.

svn path=/trunk/mcs/; revision=143879

14 years ago2009-10-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 9 Oct 2009 15:27:51 +0000 (15:27 -0000)]
2009-10-09  Zoltan Varga  <vargaz@gmail.com>

* mono.1: Document --debug=gdb option.

svn path=/trunk/mono/; revision=143878