mono.git
14 years ago2009-10-28 Marek Habersack <mhabersack@novell.com>
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

14 years ago2009-10-28 Sebastien Pouliot <sebastien@ximian.com>
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

14 years agosp.PropertyType is a _type_, ugh
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

14 years ago2009-10-28 Marek Habersack <mhabersack@novell.com>
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

14 years ago2009-10-27 Joerg Rosenkranz <joergr@voelcker.com>
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

14 years agoIn System:
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

14 years agoadd lc to spec
Andrew Jorgensen [Tue, 27 Oct 2009 21:14:41 +0000 (21:14 -0000)]
add lc to spec

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

14 years ago2009-10-28 Veerapuram Varadhan <vvaradhan@novell.com>
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

14 years ago2009-10-27 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-10-24 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-10-27 Zoltan Varga <vargaz@gmail.com>
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

14 years agoCS1526 error recovery
Marek Safar [Tue, 27 Oct 2009 16:43:30 +0000 (16:43 -0000)]
CS1526 error recovery

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

14 years ago2009-10-27 Marek Safar <marek.safar@gmail.com>
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

14 years agoHave to step back here
Marek Safar [Tue, 27 Oct 2009 13:36:55 +0000 (13:36 -0000)]
Have to step back here

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

14 years ago2009-10-27 Marek Safar <marek.safar@gmail.com>
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

14 years ago2009-10-27 Marek Habersack <mhabersack@novell.com>
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

14 years ago2009-10-27 Marek Habersack <mhabersack@novell.com>
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

14 years ago2009-10-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

14 years ago2009-10-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

14 years ago2009-10-26 Marek Safar <marek.safar@gmail.com>
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

14 years agoFlush some comments
Marek Safar [Mon, 26 Oct 2009 22:12:27 +0000 (22:12 -0000)]
Flush some comments

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

14 years agoReally fix the osx build.
Zoltan Varga [Mon, 26 Oct 2009 20:07:31 +0000 (20:07 -0000)]
Really fix the osx build.

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

14 years agoFix osx build.
Zoltan Varga [Mon, 26 Oct 2009 20:00:09 +0000 (20:00 -0000)]
Fix osx build.

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

14 years ago2009-10-26 Sebastien Pouliot <sebastien@ximian.com>
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

14 years ago2009-10-26 Sebastien Pouliot <sebastien@ximian.com>
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

14 years agoIn System.Threading:
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

14 years agoIn libgc:
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

14 years ago2009-10-25 Zoltan Varga <vargaz@gmail.com>
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

14 years agoIn System.Threading:
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

14 years agoupdate .net 4.0 version to beta 2
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

14 years ago2009-10-25 Zoltan Varga <vargaz@gmail.com>
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

14 years agomake uri no braindead on mt
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

14 years ago2009-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

14 years ago2009-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

14 years ago2009-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

14 years ago2009-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

14 years ago2009-10-24 Sebastien Pouliot <sebastien@ximian.com>
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

14 years agoIn System.Reflection.Emit:
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

14 years ago2009-10-24 Mark Probst <mark.probst@gmail.com>
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

14 years ago2009-10-24 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-10-24 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-10-24 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-10-24 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-10-23 Jonathan Pobst <monkey@jpobst.com>
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

14 years ago2009-10-24 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-10-23 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2009-10-23 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2009-10-23 Alexandre Gomes <alexmipego@gmail.com>
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

14 years ago * ListView.cs: When retrieving an item in virtual mode, as part of the
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

14 years agoRemoved CLR2
Marek Safar [Fri, 23 Oct 2009 17:13:42 +0000 (17:13 -0000)]
Removed CLR2

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

14 years ago2009-10-23 Marek Safar <marek.safar@gmail.com>
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

14 years ago2009-10-23 Alp Toker <alp@nuanti.com>
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

14 years agoCommit correct version
Marek Safar [Fri, 23 Oct 2009 15:27:25 +0000 (15:27 -0000)]
Commit correct version

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

14 years ago2009-10-23 Marek Safar <marek.safar@gmail.com>
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

14 years ago2009-10-23 Alp Toker <alp@nuanti.com>
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

14 years agoUpdated.
Marek Safar [Fri, 23 Oct 2009 15:09:17 +0000 (15:09 -0000)]
Updated.

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

14 years ago2009-10-23 Marek Safar <marek.safar@gmail.com>
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

14 years ago2009-10-23 Sebastien Pouliot <sebastien@ximian.com>
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

14 years ago2009-10-23 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2009-10-23 Sebastien Pouliot <sebastien@ximian.com>
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

14 years ago2009-10-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

14 years ago2009-10-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

14 years agoForget to commit
Marek Safar [Fri, 23 Oct 2009 07:46:54 +0000 (07:46 -0000)]
Forget to commit

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

14 years ago2009-10-23 Marek Safar <marek.safar@gmail.com>
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

14 years ago* mono/tests/Makefile.am (modules.exe): Depend on TestDriver.dll too.
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

14 years ago* XmlConvert.cs: make ToUri static, fixes #548918 (moon)
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

14 years ago2009-10-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Oct 2009 03:38:55 +0000 (03:38 -0000)]
2009-10-23  Atsushi Enomoto  <atsushi@ximian.com>

* monotouch_System.ServiceModel.Web.dll.sources:
  adding experimental WebHttpBinding stuff.

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

14 years ago2009-10-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Oct 2009 03:35:35 +0000 (03:35 -0000)]
2009-10-23  Atsushi Enomoto  <atsushi@ximian.com>

* monotouch_System.Runtime.Serialization.dll.sources :
  add OnXmlDictionaryReaderClose.cs.

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

14 years agobegin/end decls
Gonzalo Paniagua Javier [Fri, 23 Oct 2009 03:06:11 +0000 (03:06 -0000)]
begin/end decls

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

14 years ago * ColumnHeader.cs: Remove the double linear search in the Index
Carlos Alberto Cortez [Fri, 23 Oct 2009 02:47:25 +0000 (02:47 -0000)]
* ColumnHeader.cs: Remove the double linear search in the Index
property, by removing the call to Contains, which is not needed.
Also, Columns collection can never be null.

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

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

14 years agoadd experimental monotouch build.
Atsushi Eno [Fri, 23 Oct 2009 02:37:20 +0000 (02:37 -0000)]
add experimental monotouch build.

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

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

* ColumnHeaderTest.cs: New test to ensure automatic width works as
expected with the last column.

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

14 years ago2009-10-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 23 Oct 2009 01:54:39 +0000 (01:54 -0000)]
2009-10-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ColumnHeader.cs: When calculating the width and height of the
column, try to expand to the right and use all the free space if we
are the last column *and* the resize mode is set to -2/header content.
Fixes #544716.

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

14 years ago- Add kumpera's mono-error stuff to hopefully fix the build.
Jonathan Pobst [Thu, 22 Oct 2009 23:33:13 +0000 (23:33 -0000)]
- Add kumpera's mono-error stuff to hopefully fix the build.

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

14 years ago2009-10-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 22 Oct 2009 22:49:03 +0000 (22:49 -0000)]
2009-10-22 Gonzalo Paniagua Javier <gonzalo@novell.com>

* class.c: fix typo.

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

14 years ago2009-10-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 22 Oct 2009 20:56:07 +0000 (20:56 -0000)]
2009-10-22  Rodrigo Kumpera  <rkumpera@novell.com>

* class-internals.h: Change signature of mono_class_inflate_generic_type_with_mempool to take
a MonoError parameter.

* class.h: Mark mono_class_inflate_generic_type deprecated, add new mono_class_inflate_generic_type_checked
version that can does proper error handling.

* class.c (inflate_generic_type): Add a MonoError parameter. Don't assert on error, use new mono error machinery.

* class.c (mono_class_inflate_generic_type_with_mempool): Add new MonoError parameter.

* class.c, generics-sharing.c: Changes to handle mono_class_inflate_generic_type_with_mempool new signature.

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

14 years ago2009-10-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 22 Oct 2009 20:55:56 +0000 (20:55 -0000)]
2009-10-22  Rodrigo Kumpera  <rkumpera@novell.com>

* configure.in: Add check for the deprecated attribute.

2009-10-22 Rodrigo Kumpera  <rkumpera@novell.com>

* mono-compiler.h: Add MONO_DEPRECATED.

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

14 years ago2009-10-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 22 Oct 2009 20:55:46 +0000 (20:55 -0000)]
2009-10-22 Rodrigo Kumpera  <rkumpera@novell.com>

* mono-error.c, mono-error.h, mono-error-internal.h: New error handling
structures and functions.

* Makefile.am: Add new files.

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

14 years agoIn System.Threading:
Sebastien Pouliot [Thu, 22 Oct 2009 20:46:35 +0000 (20:46 -0000)]
In System.Threading:
2009-10-22  Sebastien Pouliot  <sebastien@ximian.com>
* EventWaitHandle.cs: Add validation on the EventResetMode
parameter used in the constructors
In .:
2009-10-22  Sebastien Pouliot  <sebastien@ximian.com>

* corlib_test.dll.sources: Add System/WeakReferenceTest and
System.Threading/EventWaitHandleTest.cs

In Test/System.Threading:
2009-10-22  Sebastien Pouliot  <sebastien@ximian.com>
* EventWaitHandleTest.cs: New. Test case for EventResetMode
validation
In Test/System:
2009-10-22  Sebastien Pouliot  <sebastien@ximian.com>

* WeakReferenceTest.cs: New. Basic test cases

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

14 years agoAdded new library for TransmitFile (mswsock.lib)
Gonzalo Paniagua Javier [Thu, 22 Oct 2009 20:17:50 +0000 (20:17 -0000)]
Added new library for TransmitFile (mswsock.lib)

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

14 years ago2009-10-22 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 22 Oct 2009 20:01:29 +0000 (20:01 -0000)]
2009-10-22  Marek Habersack  <mhabersack@novell.com>

* ProfileBase.cs: put named entries into SettingProperty's
Attributes collection based on custom attributes decorating the
associated profile property.

* CustomProviderDataAttribute.cs: implemented IsDefaultAttribute

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

14 years ago2009-10-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Oct 2009 19:59:38 +0000 (19:59 -0000)]
2009-10-22  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_emit_prolog): Disable aot for methods with save_lmf
set, its not supported yet.

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

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

* aot-runtime.c (mono_aot_get_method): Avoid asserting if a array generic
iface wrapper is not found.
(mono_aot_get_method): Ditto for GetGenericValueImpl.

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

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

        * debug-helpers.c (dis_one): Fix the disassembly of empty strings when
        NO_UNALIGNED_ACCESS is defined.

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

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

* debug-helpers.c (dis_one): Fix the disassembly of empty strings when
NO_UNALIGNED_ACCESS is defined.

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

14 years ago2009-10-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Oct 2009 18:53:51 +0000 (18:53 -0000)]
2009-10-22  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (mono_aot_get_method): Avoid asserting if a array generic
iface wrapper is not found.

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

14 years ago2009-10-22 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 22 Oct 2009 18:32:35 +0000 (18:32 -0000)]
2009-10-22  Marek Habersack  <mhabersack@novell.com>

* WsdlBuildProvider.cs: a different way to generate code from
wsdl. Code is generated in the top-level namespace to match .NET

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

14 years ago * AssemblyInfo.cs: Use Consts.FxVersion when building for MONOTOUCH.
Jonathan Pryor [Thu, 22 Oct 2009 18:18:49 +0000 (18:18 -0000)]
* AssemblyInfo.cs: Use Consts.FxVersion when building for MONOTOUCH.

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

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

* ChannelDispatcher.cs : disable concurrent channel acceptance
  until it gets working fine.

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

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

* HttpListenerManager.cs : remove CWLs.

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

14 years ago2009-10-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Oct 2009 17:49:01 +0000 (17:49 -0000)]
2009-10-22  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_string_builder_to_utf16): Applied patch from
Hib Eris  <hib@hiberis.nl>. Return empty string for empty string builders.
Fixes #549173.

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

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

* SvcHttpHandler.cs : move back previous listener selector code in
  ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
  and differentiate requests to deeper paths (such as /jsdebug), so
  we need such refinement here.

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

14 years ago2009-10-22 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 22 Oct 2009 16:22:57 +0000 (16:22 -0000)]
2009-10-22 Lluis Sanchez Gual <lluis@novell.com>

* CodeNamespaceImportCollection.cs: Properly update the internal
keys hashtable when there are changes in the items.

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

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

* SerializationMap.cs : partly revert previous sorting fix in
  Sep.28th. Do not sort and mix members in base and derived types.
  Fixed bug #546238.

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

14 years ago2009-10-22 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 22 Oct 2009 13:58:13 +0000 (13:58 -0000)]
2009-10-22  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Shorten sections whenever possible.

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

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

* argument.cs: Use literal flag for real literals only.

* dynamic.cs: Use correct return type for custom delegates.

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

14 years ago2009-10-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 22 Oct 2009 13:56:17 +0000 (13:56 -0000)]
2009-10-22  Marek Safar  <marek.safar@gmail.com>

* *.cs: Cleanup the old API.

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

14 years agoUpdated.
Marek Safar [Thu, 22 Oct 2009 12:32:32 +0000 (12:32 -0000)]
Updated.

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

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

* dynamic.cs, expression.cs: Pass logical binary flag to dynamic
resolver.

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

14 years agoIn System.Threading:
Sebastien Pouliot [Thu, 22 Oct 2009 11:51:31 +0000 (11:51 -0000)]
In System.Threading:
2009-10-22  Sebastien Pouliot  <sebastien@ximian.com>

* Monitor.cs: Fix validations for TryEnter and Wait. Reduce
duplicated code between overloads.

In Test/System.Threading:
2009-10-22  Sebastien Pouliot  <sebastien@ximian.com>

* MonitorTest.cs: Mark existing tests as "NotWorking" since they
fail in MS FX2 (maybe they worked in 1.x?). Add more test cases
to validate the TryEnter and Wait overloaded methods.

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