Sebastien Pouliot [Fri, 30 Oct 2009 15:04:29 +0000 (15:04 -0000)]
2009-10-30 Sebastien Pouliot <sebastien@ximian.com>
* MonoMethod.cs: Remove CAS check in MonoCMethod.Invoke (just
like it was done for MonoMethod.Invoke sister method)
svn path=/trunk/mcs/; revision=145101
Sebastien Pouliot [Fri, 30 Oct 2009 15:02:31 +0000 (15:02 -0000)]
2009-10-30 Sebastien Pouliot <sebastien@ximian.com>
* MonoType.cs: Don't pass null value to icalls
GetCorrespondingInflated[Constructor|Method]
svn path=/trunk/mcs/; revision=145099
Marek Safar [Fri, 30 Oct 2009 14:48:29 +0000 (14:48 -0000)]
2009-10-30 Marek Safar <marek.safar@gmail.com>
* Makefile: Add System.Windows.Forms.DataVisualization
svn path=/trunk/mcs/; revision=145098
Marek Safar [Fri, 30 Oct 2009 14:39:44 +0000 (14:39 -0000)]
2009-10-30 Marek Safar <marek.safar@gmail.com>
* SecurityRuleSet.cs, SecurityRulesAttribute.cs: Implemented.
svn path=/trunk/mcs/; revision=145096
Marek Safar [Fri, 30 Oct 2009 13:32:29 +0000 (13:32 -0000)]
More tests.
svn path=/trunk/mcs/; revision=145090
Marek Safar [Fri, 30 Oct 2009 13:31:06 +0000 (13:31 -0000)]
2009-10-30 Marek Safar <marek.safar@gmail.com>
* CSharpBinder.cs, CSharpInvokeMemberBinder.cs,
CSharpSetIndexBinder.cs: Simple member binder.
svn path=/trunk/mcs/; revision=145089
Marek Safar [Fri, 30 Oct 2009 13:29:03 +0000 (13:29 -0000)]
2009-10-30 Marek Safar <marek.safar@gmail.com>
* dynamic.cs, convert.cs, assign.cs, constant.cs, expression.cs,
codegen.cs: Unary mutator on dynamic member access expression.
svn path=/trunk/mcs/; revision=145088
Andreia Gaita [Fri, 30 Oct 2009 02:23:40 +0000 (02:23 -0000)]
* DataContractJsonSerializer.cs: SL accepts keys without "", so tweak
the data to fix the quotes before passing it to the deserializer
svn path=/trunk/mcs/; revision=145075
Veerapuram Varadhan [Fri, 30 Oct 2009 01:07:18 +0000 (01:07 -0000)]
2009-10-30 Veerapuram Varadhan <vvaradhan@novell.com>
** Fixes 448296
* DataTable (Clear): Do not raise TableClearing/Cleared events as
they will be raised from DataRowCollection.Clear(). New utility methods
for raising TableClearing/TableCleared events from outside DataTable.
Don't manually reset indexes as ResetIndexes is called from
DataRowCollection.Clear
* DataRowCollection (Clear): Raise TableClearing/Cleared events accordingly.
svn path=/trunk/mcs/; revision=145072
Marek Habersack [Fri, 30 Oct 2009 00:52:53 +0000 (00:52 -0000)]
2009-10-30 Marek Habersack <mhabersack@novell.com>
* HttpRequest.cs: added internal property ClientFilePath, which
may have a different value than FilePath when virtual path has
been rewritten, but the caller specified that the client paths
should still be constructed using the original url.
* HttpContext.cs: RewritePath always sets Request.FilePath,
Request.ClientFilePath is set only when setClientFilePath is
true. This makes client urls work correctly when url rewriting is
being used.
2009-10-30 Marek Habersack <mhabersack@novell.com>
* Control.cs: ResolveClientUrl takes base path from
Request.ClientFilePath, so that it works correctly for rewritten
urls.
2009-10-30 Marek Habersack <mhabersack@novell.com>
* HtmlForm.cs: action is built using Request.ClientFilePath
(instead of Request.FilePath) and ResolveClientUrl, so that it's
correct even if url rewriting is being used.
svn path=/trunk/mcs/; revision=145069
Veerapuram Varadhan [Thu, 29 Oct 2009 20:50:26 +0000 (20:50 -0000)]
2009-10-29 Veerapuram Varadhan <vvaradhan@novell.com>
** Fixes 332875 - based on analysis by Ben Martin <ben@trustorm.com.au>
* XmlSchemaDataImporter.cs (AddParentKeyColumn): If a table already has a
PrimaryKey column defined, when called again, fill the PKCol data into the
passed DataColumn and return.
svn path=/trunk/mcs/; revision=145064
Jonathan Pobst [Thu, 29 Oct 2009 20:18:16 +0000 (20:18 -0000)]
rename
svn path=/trunk/mcs/; revision=145063
Jonathan Pobst [Thu, 29 Oct 2009 20:16:15 +0000 (20:16 -0000)]
2009-10-29 Jonathan Pobst <monkey@jpobst.com>
* System.Windows.Forms.DataVisualization.sources: Add consts.cs and MonoTODO.cs.
svn path=/trunk/mcs/; revision=145062
Jonathan Pobst [Thu, 29 Oct 2009 20:04:46 +0000 (20:04 -0000)]
2009-10-29 Jonathan Pobst <monkey@jpobst.com>
- Commit Makefile and .sources.
svn path=/trunk/mcs/; revision=145061
Veerapuram Varadhan [Thu, 29 Oct 2009 18:32:14 +0000 (18:32 -0000)]
2009-10-29 Veerapuram Varadhan <vvaradhan@novell.com>
** Fixes #322695
* OracleParameter.cs: Use oracle returned rsize instead of
MAXBYTECOUNT. Reduces the size of allocated buffer.
svn path=/trunk/mcs/; revision=145054
Carlos Alberto Cortez [Thu, 29 Oct 2009 18:31:38 +0000 (18:31 -0000)]
2009-10-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ToolTip.cs: ShowAlways works at the form level, not at the control
level. Fixes #544565.
svn path=/trunk/mcs/; revision=145053
Mark Probst [Thu, 29 Oct 2009 14:26:10 +0000 (14:26 -0000)]
2009-10-29 Mark Probst <mark.probst@gmail.com>
* mono-hash.c (mono_g_hash_mark): Don't use SET_NODE_KEY/VALUE here.
svn path=/trunk/mono/; revision=145027
Sebastien Pouliot [Thu, 29 Oct 2009 14:11:53 +0000 (14:11 -0000)]
In Test/System.Globalization:
2009-10-29 Sebastien Pouliot <sebastien@ximian.com>
* CompareInfoTest.cs: Add test cases to validate parameters
In System.Globalization:
2009-10-29 Sebastien Pouliot <sebastien@ximian.com>
* CompareInfo.cs: Add/fix CompareOptions validations. Reduce code
duplication in Compare methods (wrt CompareOptions). Fix
calculation bug in Compare(string,int.string,int,CompareOptions).
svn path=/trunk/mcs/; revision=145023
Zoltan Varga [Thu, 29 Oct 2009 13:08:26 +0000 (13:08 -0000)]
2009-10-29 Zoltan Varga <vargaz@gmail.com>
* mini-x86.c (mono_arch_output_basic_block): Fix % 1. Fixes #550970.
* basic.cs: Add a test.
svn path=/trunk/mono/; revision=145017
Sebastien Pouliot [Thu, 29 Oct 2009 12:51:36 +0000 (12:51 -0000)]
In System.Reflection.Emit:
2009-10-29 Sebastien Pouliot <sebastien@ximian.com>
* ModuleBuilder.cs: Add missing 'className' validations in GetType
* TypeBuilder.cs: Add missing 'names' validations in
DefineGenericParameters
In Test/System.Reflection.Emit:
2009-10-29 Sebastien Pouliot <sebastien@ximian.com>
* ModuleBuilderTest.cs: Add test cases for GetType overloads
* TypeBuilderTest.cs: Remove NotWorking from two DefineGenericParameters test case.
svn path=/trunk/mcs/; revision=145013
Veerapuram Varadhan [Thu, 29 Oct 2009 12:39:30 +0000 (12:39 -0000)]
2009-10-29 Veerapuram Varadhan <vvaradhan@novell.com>
** Fixes #550960 - Patch by Stefano <stefano.sapienti@apsystems.it>
* DataTable.cs (BinarySerialize): Use datatype from DataColumn
instead of value of the column.
svn path=/trunk/mcs/; revision=145011
Sebastien Pouliot [Thu, 29 Oct 2009 12:09:47 +0000 (12:09 -0000)]
2009-10-29 Sebastien Pouliot <sebastien@ximian.com>
* FileStream.cs: Reduce code duplication by merging FillBuffer
with FillBufferToStream
svn path=/trunk/mcs/; revision=145008
Zoltan Varga [Thu, 29 Oct 2009 12:08:47 +0000 (12:08 -0000)]
2009-10-29 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir): Use EMIT_NEW_LOAD_MEMBASE_TYPE to
load vtypes instead if OP_LOADV_MEMBASE in the implementation of
CONSTRAINED. Fixes #550964.
* generics.cs: Add a test.
svn path=/trunk/mono/; revision=145006
Jb Evain [Thu, 29 Oct 2009 10:49:19 +0000 (10:49 -0000)]
2009-10-29 Jb Evain <jbevain@novell.com>
* ActivationServices.cs: avoid a static constructor.
svn path=/trunk/mcs/; revision=145001
Marek Safar [Thu, 29 Oct 2009 09:54:53 +0000 (09:54 -0000)]
New test.
svn path=/trunk/mcs/; revision=144995
Marek Safar [Thu, 29 Oct 2009 09:54:13 +0000 (09:54 -0000)]
2009-10-29 Marek Safar <marek.safar@gmail.com>
A fix for bug #550580
* convert.cs: Don't eliminate explicit precission casts.
svn path=/trunk/mcs/; revision=144994
Veerapuram Varadhan [Thu, 29 Oct 2009 02:02:12 +0000 (02:02 -0000)]
2009-10-29 Veerapuram Varadhan <vvaradhan@novell.com>
** Fixes #321718
* OciCalls.cs: Add stub for OCILobCharSetForm to get the charset
form associated with a CLOB/NCLOB.
* OciLobLocator.cs: Add Environment handle property that is
required to call OCILobCharSetForm and pass the output value to
OCILobRead.
* OciDefineHandler.cs: Update Environment property of
OCILobLocator.
svn path=/trunk/mcs/; revision=144980
Lluis Sanchez [Wed, 28 Oct 2009 18:39:52 +0000 (18:39 -0000)]
2009-10-28 Lluis Sanchez Gual <lluis@novell.com>
* MarshalByRefObject.cs: In InitializeLifetimeService, if a lease
exists for the object return it, instead of always creating
a new one. Fixes bug #544357.
svn path=/trunk/mcs/; revision=144962
Marek Safar [Wed, 28 Oct 2009 18:04:48 +0000 (18:04 -0000)]
New tests.
svn path=/trunk/mcs/; revision=144959
Marek Safar [Wed, 28 Oct 2009 18:04:35 +0000 (18:04 -0000)]
Workaround strange repl behaviour
svn path=/trunk/mcs/; revision=144958
Carlos Alberto Cortez [Wed, 28 Oct 2009 18:00:22 +0000 (18:00 -0000)]
2009-10-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ButtonBase.cs: Usually the click routines are handled in Control,
but in this class we are handling it ourselved, thus we need to have
the same calls, and we were missing the call to MouseClick.
Patch by Eric Petit <surfzoid@gmail.com>.
svn path=/trunk/mcs/; revision=144957
Marek Safar [Wed, 28 Oct 2009 16:26:41 +0000 (16:26 -0000)]
2009-10-28 Marek Safar <marek.safar@gmail.com>
A fix for bug #550404
* parameter.cs, iterators.cs, context.cs, anonymous.cs,
expression.cs, statement.cs, ecore.cs: Quote any nested expression
tree.
svn path=/trunk/mcs/; revision=144955
Mark Probst [Wed, 28 Oct 2009 15:57:18 +0000 (15:57 -0000)]
2009-10-28 Mark Probst <mark.probst@gmail.com>
* gc-internal.h, boehm-gc, sgen-gc.c, null-gc: Add
mono_gc_get_suspend_signal(), which returns the suspend signal
number used by the GC.
2009-10-28 Mark Probst <mark.probst@gmail.com>
* mini-posix.c (add_signal_handler): Use
mono_gc_get_suspend_signal() instead of GC_get_suspend_signal().
svn path=/trunk/mono/; revision=144954
Jerri Maine [Wed, 28 Oct 2009 14:51:08 +0000 (14:51 -0000)]
Contributed under the terms of the MIT/X11 license by
Jerry Maine <crashfourit@gail.com>.
* mini-x86.c (mono_arch_cpu_enumerate_simd_versions): Added code to detect
sse4a for simd intrinsics.
* mini-amd64.c (mono_arch_cpu_enumerate_simd_versions): Added code to detect
sse4a for simd intrinsics.
svn path=/trunk/mono/; revision=144953
Marek Habersack [Wed, 28 Oct 2009 14:01:21 +0000 (14:01 -0000)]
2009-10-28 Marek Habersack <mhabersack@novell.com>
* ListControl.cs: OnDataBinding must call base implementation
before performing the binding, so that DataSource can be assigned
from within the handler.
svn path=/trunk/mcs/; revision=144947
Sebastien Pouliot [Wed, 28 Oct 2009 13:42:05 +0000 (13:42 -0000)]
2009-10-28 Sebastien Pouliot <sebastien@ximian.com>
* FileStream.cs: Move code to deal with 'anonymous' filenames
into two methods (returning the path, fullpath or only the
filename). Default Moonlight to anonymous (not only for isolated
storage) unless the coreclr is disable (e.g. smcs)
svn path=/trunk/mcs/; revision=144945
Marek Habersack [Wed, 28 Oct 2009 10:37:19 +0000 (10:37 -0000)]
sp.PropertyType is a _type_, ugh
svn path=/trunk/mcs/; revision=144935
Marek Habersack [Wed, 28 Oct 2009 10:19:17 +0000 (10:19 -0000)]
2009-10-28 Marek Habersack <mhabersack@novell.com>
* Tokenizer.cs, Parser.jay: a work around for 3 reduce/reduce
conflicts (use of 'NOT LIKE' and 'NOT IN' which would previously
be ignored because of the conflicts). The grammar still has 6 more
of those - the real fix is to rewrite it.
svn path=/trunk/mcs/; revision=144932
Joerg Rosenkranz [Wed, 28 Oct 2009 08:36:34 +0000 (08:36 -0000)]
2009-10-27 Joerg Rosenkranz <joergr@voelcker.com>
* OciCalls.cs: Wrong function name in trace.
svn path=/trunk/mcs/; revision=144931
Sebastien Pouliot [Tue, 27 Oct 2009 23:42:55 +0000 (23:42 -0000)]
In System:
2009-10-27 Sebastien Pouliot <sebastien@ximian.com>
* String.cs: Remove unused (and unneeded) internal call defs.
Reduce duplication (and fix test) for Concat (object,object).
Avoid allocating zero-length strings in the cases where the
FX does not do so.
In Test/System.Text:
2009-10-27 Sebastien Pouliot <sebastien@ximian.com>
* UnicodeEncodingTest.cs: Add test cases with an odd number of
bytes being used in GetString (it does not crash but it does not
work like MS FX either).
In Test/System:
2009-10-27 Sebastien Pouliot <sebastien@ximian.com>
* StringTest.cs: Add test case for methods that can return
empty strings.
In System.Globalization:
2009-10-27 Sebastien Pouliot <sebastien@ximian.com>
* TextInfo.cs: Avoid allocating zero-length strings in ToLower
and ToUpper methods
svn path=/trunk/mcs/; revision=144921
Andrew Jorgensen [Tue, 27 Oct 2009 21:14:41 +0000 (21:14 -0000)]
add lc to spec
svn path=/trunk/mono/; revision=144916
Veerapuram Varadhan [Tue, 27 Oct 2009 20:18:37 +0000 (20:18 -0000)]
2009-10-28 Veerapuram Varadhan <vvaradhan@novell.com>
** Fixes #385028/#385029
* DbCommandBuilder.cs (CreateInsertCommand): Workaround for inserting
DEFAULT values to non-null-columns.
(GetInsertCommand): New overload added to handle above workaround.
(set_DataAdapter): Register for the RowUpdatingEventHandlers.
svn path=/trunk/mcs/; revision=144915
Zoltan Varga [Tue, 27 Oct 2009 19:20:25 +0000 (19:20 -0000)]
2009-10-27 Zoltan Varga <vargaz@gmail.com>
* ir-emit.h method-to-ir.c: Change a few _IMM macros to assign to inst_imm
instead of inst_p1 which is not the same on ILP32 platforms.
svn path=/trunk/mono/; revision=144913
Zoltan Varga [Tue, 27 Oct 2009 18:49:41 +0000 (18:49 -0000)]
2009-10-24 Zoltan Varga <vargaz@gmail.com>
* mini-ppc.c (mono_arch_emit_prolog): Load the current got address,
not the mscorlib one before calling mono_get_lmf_addr.
* tramp-ppc.c (mono_arch_create_trampoline_code_full): Fix the storing
of the ip to the LMF.
* method-to-ir.c (mono_method_to_ir): Fix the handling of the
immediate in the op->op_imm optimization.
* mini-ppc.c: Add a 'vtregs' field to ArgInfo to make the code easier to
understand. VTypes now work, but are not abi compliant, as they are
split into 4 byte parts instead of 8.
(emit_memcpy): Fix the unrolled case to work on the PS3.
* mini-ppc.c (get_delegate_invoke_impl): Fix this for the PS3.
* aot-compiler.c (mono_compile_assembly): Make the autoreg option
the default when static linking.
* mini-ppc.c (mono_arch_emit_prolog): Fix handling of I8 arguments.
* aot-compiler.c: Add an autoreg option to automatically register
statically linked aot modules using ELF .ctors.
* genmdesc.pl: Add __ppc64__ to allowed defines.
svn path=/trunk/mono/; revision=144912
Zoltan Varga [Tue, 27 Oct 2009 18:49:34 +0000 (18:49 -0000)]
2009-10-27 Zoltan Varga <vargaz@gmail.com>
* configure.in: Add support for cross-compiling to ppc.
svn path=/trunk/mono/; revision=144911
Marek Safar [Tue, 27 Oct 2009 16:43:30 +0000 (16:43 -0000)]
CS1526 error recovery
svn path=/trunk/mcs/; revision=144907
Marek Safar [Tue, 27 Oct 2009 16:37:05 +0000 (16:37 -0000)]
2009-10-27 Marek Safar <marek.safar@gmail.com>
* GenericTypeParameterBuilder.cs: Attributes work under NET_4_0.
svn path=/trunk/mcs/; revision=144904
Marek Safar [Tue, 27 Oct 2009 13:36:55 +0000 (13:36 -0000)]
Have to step back here
svn path=/trunk/mcs/; revision=144902
Marek Safar [Tue, 27 Oct 2009 13:36:26 +0000 (13:36 -0000)]
2009-10-27 Marek Safar <marek.safar@gmail.com>
* constant.cs, nullable.cs: Create nullable-null as LiftedNull
constant.
* class.cs: Allow nullable binary user operators.
svn path=/trunk/mcs/; revision=144901
Marek Habersack [Tue, 27 Oct 2009 13:10:34 +0000 (13:10 -0000)]
2009-10-27 Marek Habersack <mhabersack@novell.com>
* ProfileBase.cs: CreateSettingsProperty sets the returned
property's DefaultValue to String.Empty if no default is specified
through the DefaultSettingValue attribute and the associated
property type is String.
svn path=/trunk/mcs/; revision=144898
Marek Habersack [Tue, 27 Oct 2009 09:55:47 +0000 (09:55 -0000)]
2009-10-27 Marek Habersack <mhabersack@novell.com>
* ObjectStateFormatter.cs: do not use a type converter to
serialize an object if the converter is an instance of
TypeConverter itself - its reported capability of converting to
string is not useful here.
svn path=/trunk/mcs/; revision=144894
Carlos Alberto Cortez [Tue, 27 Oct 2009 03:06:34 +0000 (03:06 -0000)]
2009-10-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ComboBoxTest.cs: New test case for data binding and Text
interaction.
svn path=/trunk/mcs/; revision=144885
Carlos Alberto Cortez [Tue, 27 Oct 2009 03:01:44 +0000 (03:01 -0000)]
2009-10-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ComboBox.cs: When setting Text and data source is being used, if the
passed value is not matching any of the items in the source, don't
pass it to GetItemText, since it's useless, as GetItemText expects a
valid item.
Fixes #546009.
svn path=/trunk/mcs/; revision=144884
Marek Safar [Mon, 26 Oct 2009 23:14:40 +0000 (23:14 -0000)]
2009-10-26 Marek Safar <marek.safar@gmail.com>
* expression.cs: Move binary expression optimization at the end of
resolve.
svn path=/trunk/mcs/; revision=144883
Marek Safar [Mon, 26 Oct 2009 22:12:27 +0000 (22:12 -0000)]
Flush some comments
svn path=/trunk/mcs/; revision=144881
Zoltan Varga [Mon, 26 Oct 2009 20:07:31 +0000 (20:07 -0000)]
Really fix the osx build.
svn path=/trunk/mono/; revision=144873
Zoltan Varga [Mon, 26 Oct 2009 20:00:09 +0000 (20:00 -0000)]
Fix osx build.
svn path=/trunk/mono/; revision=144869
Sebastien Pouliot [Mon, 26 Oct 2009 12:11:04 +0000 (12:11 -0000)]
2009-10-26 Sebastien Pouliot <sebastien@ximian.com>
* Assembly.cs: Share code between GetSatelliteAssembly and
GetSatelliteAssemblyNoThrow. For Moonlight ensure both
GetManifestResourceStream and GetSatelliteAssembly don't load
anything "below" the assembly path.
svn path=/trunk/mcs/; revision=144845
Sebastien Pouliot [Mon, 26 Oct 2009 12:03:12 +0000 (12:03 -0000)]
2009-10-26 Sebastien Pouliot <sebastien@ximian.com>
* Consts.cs.in: Update SL2 FX version to the second (and last)
released version.
svn path=/trunk/mcs/; revision=144843
Sebastien Pouliot [Mon, 26 Oct 2009 11:55:17 +0000 (11:55 -0000)]
In System.Threading:
2009-10-26 Sebastien Pouliot <sebastien@ximian.com>
* InterlockedTest.cs: Add test case for generic methods
ComapreExchange and Exchange
In System:
2009-10-26 Sebastien Pouliot <sebastien@ximian.com>
* TypeTest.cs: New. Add test cases for IsInstanceOfType
svn path=/trunk/mcs/; revision=144840
Zoltan Varga [Sun, 25 Oct 2009 22:01:54 +0000 (22:01 -0000)]
In libgc:
2009-10-25 Zoltan Varga <vargaz@gmail.com>
* misc.c (GC_get_suspend_signal): New API function to return the suspend signal
used by libgc.
In mono/mini:
2009-10-25 Zoltan Varga <vargaz@gmail.com>
* mini-posix.c (add_signal_handler): Delay the GC suspend signal while
executing a SIGSEGV handler on an altstack, since libgc can't handle that.
In mono/tests:
2009-10-25 Zoltan Varga <vargaz@gmail.com>
* misc.c (GC_get_suspend_signal): New API function to return the suspend signal
used by libgc.
svn path=/trunk/mono/; revision=144828
Zoltan Varga [Sun, 25 Oct 2009 18:40:36 +0000 (18:40 -0000)]
2009-10-25 Zoltan Varga <vargaz@gmail.com>
* threads.c (start_wrapper): Avoid an assert if thread_start_args () is NULL.
svn path=/trunk/mono/; revision=144827
Sebastien Pouliot [Sun, 25 Oct 2009 16:41:18 +0000 (16:41 -0000)]
In System.Threading:
2009-10-25 Sebastien Pouliot <sebastien@ximian.com>
* Thread.cs: Fix validations for Join and Sleep overloads
In Test/System.Threading:
2009-10-25 Sebastien Pouliot <sebastien@ximian.com>
* ThreadTest.cs: Add test cases for Current[UI]Culture (not
working), Name, Join, Sleep and SpinWait
svn path=/trunk/mcs/; revision=144824
Jb Evain [Sun, 25 Oct 2009 16:01:47 +0000 (16:01 -0000)]
update .net 4.0 version to beta 2
svn path=/trunk/mcs/; revision=144823
Zoltan Varga [Sun, 25 Oct 2009 01:25:42 +0000 (01:25 -0000)]
2009-10-25 Zoltan Varga <vargaz@gmail.com>
* threads.c (start_wrapper): Call mono_profiler_thread_start () later after
signalling start_notify.
svn path=/trunk/mono/; revision=144819
Geoff Norton [Sat, 24 Oct 2009 21:20:12 +0000 (21:20 -0000)]
make uri no braindead on mt
svn path=/trunk/mcs/; revision=144814
Gonzalo Paniagua Javier [Sat, 24 Oct 2009 20:04:26 +0000 (20:04 -0000)]
2009-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
* appdomain.c: do not test the st_mode field for shadow-copies.
Fixes bug #545276.
svn path=/trunk/mono/; revision=144808
Gonzalo Paniagua Javier [Sat, 24 Oct 2009 20:02:27 +0000 (20:02 -0000)]
2009-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
* threadpool.[ch]: added hooks for thread start/finish and item
processing begin/end. For monotouch use only.
svn path=/trunk/mono/; revision=144807
Gonzalo Paniagua Javier [Sat, 24 Oct 2009 17:26:48 +0000 (17:26 -0000)]
2009-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
* DeflateStreamTest.cs: test from bug #549492.
svn path=/trunk/mcs/; revision=144802
Gonzalo Paniagua Javier [Sat, 24 Oct 2009 17:22:09 +0000 (17:22 -0000)]
2009-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
* zlib-helper.c: stop trying to decompress when we get Z_STREAM_END.
Patch by Ives Bastide. Fixes bug #549942.
svn path=/trunk/mono/; revision=144799
Sebastien Pouliot [Sat, 24 Oct 2009 16:10:49 +0000 (16:10 -0000)]
2009-10-24 Sebastien Pouliot <sebastien@ximian.com>
* StackFrame.cs: Relax GetSecureFileName when the coreclr is not
active (i.e. show full path when compiling with smcs)
svn path=/trunk/mcs/; revision=144797
Sebastien Pouliot [Sat, 24 Oct 2009 15:45:09 +0000 (15:45 -0000)]
In System.Reflection.Emit:
2009-10-24 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyBuilder.cs: For Silverlight only AssemblyBuilderAccess.Run
is supported (browser-side) but we still allow other values when
compiling (e.g. smcs) outside the browser (wo coreclr)
* TypeBuilder.cs (GetConstructor): Fix validations
In Test/System.Reflection.Emit:
2009-10-24 Sebastien Pouliot <sebastien@ximian.com>
* TypeBuilderTest.cs: Validation test cases for GetConstructor
svn path=/trunk/mcs/; revision=144791
Mark Probst [Sat, 24 Oct 2009 09:03:26 +0000 (09:03 -0000)]
2009-10-24 Mark Probst <mark.probst@gmail.com>
* exceptions-x86.c (mono_arch_find_jit_info): Fix build.
svn path=/trunk/mono/; revision=144788
Zoltan Varga [Sat, 24 Oct 2009 02:43:19 +0000 (02:43 -0000)]
2009-10-24 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (mini_jit_info_table_find): Add an 'out_domain' argument
which will contain the domain where the method was found.
* exceptions-<ARCH>.c mini-exceptions.c: Update callers of
mini_jit_info_table_find ().
svn path=/trunk/mono/; revision=144782
Zoltan Varga [Sat, 24 Oct 2009 02:27:13 +0000 (02:27 -0000)]
2009-10-24 Zoltan Varga <vargaz@gmail.com>
* threads.c (mono_thread_get_name): New helper function.
svn path=/trunk/mono/; revision=144779
Zoltan Varga [Sat, 24 Oct 2009 02:19:15 +0000 (02:19 -0000)]
2009-10-24 Zoltan Varga <vargaz@gmail.com>
* reflection.c (resolve_object): Set handle_class for strings too.
(mono_reflection_create_custom_attr_data_args): New helper function to decode
a cattr blob into a set of arrays and structures without creating the custom
attributes themselves.
(create_custom_attr_data): Simplify using create_custom_attr_data_args.
* mono-debug.c (mono_debug_il_offset_from_address): New helper function.
* debug-mono-symfile.c (mono_debug_symfile_get_line_numbers): New helper
function.
svn path=/trunk/mono/; revision=144777
Zoltan Varga [Sat, 24 Oct 2009 00:56:31 +0000 (00:56 -0000)]
2009-10-24 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (xdebug_end_emit): Remove so stray debug code.
svn path=/trunk/mono/; revision=144771
Jonathan Pobst [Sat, 24 Oct 2009 00:31:40 +0000 (00:31 -0000)]
2009-10-23 Jonathan Pobst <monkey@jpobst.com>
* Initial commit of some enums and infrastructure classes.
svn path=/trunk/mcs/; revision=144769
Zoltan Varga [Fri, 23 Oct 2009 23:27:40 +0000 (23:27 -0000)]
2009-10-24 Zoltan Varga <vargaz@gmail.com>
* branch-opts.c (mono_if_conversion): Avoid running deadce if it is disabled.
svn path=/trunk/mono/; revision=144763
Rodrigo Kumpera [Fri, 23 Oct 2009 20:23:59 +0000 (20:23 -0000)]
2009-10-23 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: Replace calls to mono_class_inflate_generic_type with
mono_class_inflate_generic_type_checked. Fixes #480005.
svn path=/trunk/mono/; revision=144759
Rodrigo Kumpera [Fri, 23 Oct 2009 18:52:32 +0000 (18:52 -0000)]
2009-10-23 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_class_inflate_generic_type_with_mempool): Clear the error
object since not all paths lead to callees initing it.
svn path=/trunk/mono/; revision=144755
Alexandre Gomes [Fri, 23 Oct 2009 18:26:49 +0000 (18:26 -0000)]
2009-10-23 Alexandre Gomes <alexmipego@gmail.com>
* Test/System.Net/WebClientTest.cs:
* System.Net/WebClient.cs: Fixed GetWebRequest overriding problems, bug:
https://bugzilla.novell.com/show_bug.cgi?id=549580
svn path=/trunk/mcs/; revision=144753
Carlos Alberto Cortez [Fri, 23 Oct 2009 17:38:13 +0000 (17:38 -0000)]
* ListView.cs: When retrieving an item in virtual mode, as part of the
process calculate its layout, instead of trying to do it later.
* ListViewItem.cs: There's no need to try to infer whether we need to
compute layout or not anymore - we just do it every time we are
returning an item.
This way we should be fixing View changes with cached items, which
were storing the previous value, and not updating their contents
properly.
2009-10-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=144751
Marek Safar [Fri, 23 Oct 2009 17:13:42 +0000 (17:13 -0000)]
Removed CLR2
svn path=/trunk/mcs/; revision=144748
Marek Safar [Fri, 23 Oct 2009 17:12:44 +0000 (17:12 -0000)]
2009-10-23 Marek Safar <marek.safar@gmail.com>
* Updated to r33356.
svn path=/trunk/mcs/; revision=144747
Alp Toker [Fri, 23 Oct 2009 15:43:49 +0000 (15:43 -0000)]
2009-10-23 Alp Toker <alp@nuanti.com>
* cilc.cs: Introduce and start to make use of disable_glib.
svn path=/trunk/mcs/; revision=144746
Marek Safar [Fri, 23 Oct 2009 15:27:25 +0000 (15:27 -0000)]
Commit correct version
svn path=/trunk/mcs/; revision=144743
Marek Safar [Fri, 23 Oct 2009 15:16:13 +0000 (15:16 -0000)]
2009-10-23 Marek Safar <marek.safar@gmail.com>
* RuntimeBinderContext.cs, Extensions.cs, CSharpBinder.cs: More
literal and constant work.
svn path=/trunk/mcs/; revision=144742
Alp Toker [Fri, 23 Oct 2009 15:14:20 +0000 (15:14 -0000)]
2009-10-23 Alp Toker <alp@nuanti.com>
Fix embedding API breakage from r144688. mono-compiler.h is an internal
header and should not be shipped:
* Makefile.am: Include newly added public header mono-error.h in HEADERS so
it gets installed.
2009-10-23 Alp Toker <alp@nuanti.com>
Fix embedding API breakage from r144688. mono-compiler.h is an internal
header and should not be shipped:
* class.h: Back out MONO_DEPRECATED change. Currently depends on config.h
which is specific to the mono build. Not going to work.
svn path=/trunk/mono/; revision=144741
Marek Safar [Fri, 23 Oct 2009 15:09:17 +0000 (15:09 -0000)]
Updated.
svn path=/trunk/mcs/; revision=144740
Marek Safar [Fri, 23 Oct 2009 15:08:34 +0000 (15:08 -0000)]
2009-10-23 Marek Safar <marek.safar@gmail.com>
* constant.cs, nullable.cs, expression.cs, literal.cs, cfold.cs:
Separate NullConstant from NullLiteral.
svn path=/trunk/mcs/; revision=144739
Sebastien Pouliot [Fri, 23 Oct 2009 14:32:13 +0000 (14:32 -0000)]
2009-10-23 Sebastien Pouliot <sebastien@ximian.com>
* security-manager.c: Report if core-clr is active from
ves_icall_System_Security_SecurityManager_get_SecurityEnabled
to allow Moonlight BCL to behave appropriately (both in browser
and outside, e.g. smcs)
svn path=/trunk/mono/; revision=144737
Rodrigo Kumpera [Fri, 23 Oct 2009 13:09:04 +0000 (13:09 -0000)]
2009-10-23 Rodrigo Kumpera <rkumpera@novell.com>
* Makefile.am: Fix make dist.
svn path=/trunk/mono/; revision=144734
Sebastien Pouliot [Fri, 23 Oct 2009 12:53:41 +0000 (12:53 -0000)]
2009-10-23 Sebastien Pouliot <sebastien@ximian.com>
* SecurityManager_2_1.cs: Return to duty for SecurityEnabled, it
will allow us to distinguish between running in the browser
(coreclr active) and on the console (e.g. smcs) from managed code
svn path=/trunk/mcs/; revision=144732
Gonzalo Paniagua Javier [Fri, 23 Oct 2009 12:05:17 +0000 (12:05 -0000)]
2009-10-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
* mono-config.c: ignore UTF-8 BOM and report parser errors.
Fixes bug #549108.
svn path=/trunk/mono/; revision=144728
Gonzalo Paniagua Javier [Fri, 23 Oct 2009 09:53:24 +0000 (09:53 -0000)]
2009-10-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Configuration.cs: make this work again with bundled configuration
files. Fixes bug #495957. Patch from Tor Lillqvist.
svn path=/trunk/mcs/; revision=144722
Marek Safar [Fri, 23 Oct 2009 07:46:54 +0000 (07:46 -0000)]
Forget to commit
svn path=/trunk/mcs/; revision=144720
Marek Safar [Fri, 23 Oct 2009 07:42:36 +0000 (07:42 -0000)]
2009-10-23 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, eval.cs, decl.cs, roottypes.cs, context.cs,
anonymous.cs, expression.cs, rootcontext.cs, ecore.cs, class.cs,
flowanalysis.cs, cs-parser.jay, driver.cs, codegen.cs: Split
ModuleContainer. Add common unclosed member check routine.
svn path=/trunk/mcs/; revision=144719
Raja R Harinath [Fri, 23 Oct 2009 06:30:29 +0000 (06:30 -0000)]
* mono/tests/Makefile.am (modules.exe): Depend on TestDriver.dll too.
svn path=/trunk/mono/; revision=144714
Andreia Gaita [Fri, 23 Oct 2009 04:11:19 +0000 (04:11 -0000)]
* XmlConvert.cs: make ToUri static, fixes #548918 (moon)
2009-10-23 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=144712