mono.git
15 years agofixed typo in LICENSE
Jeffrey Stedfast [Wed, 13 Aug 2008 15:55:37 +0000 (15:55 -0000)]
fixed typo in LICENSE

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

15 years agoUncomment some stuffs to allow compilation of Monotone
Stephane Delcroix [Wed, 13 Aug 2008 12:39:16 +0000 (12:39 -0000)]
Uncomment some stuffs to allow compilation of Monotone

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

15 years agoremove executable bit from {errors,tests}/*.cs
Raja R Harinath [Wed, 13 Aug 2008 12:32:51 +0000 (12:32 -0000)]
remove executable bit from {errors,tests}/*.cs

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

15 years agoNew tests.
Marek Safar [Wed, 13 Aug 2008 11:55:42 +0000 (11:55 -0000)]
New tests.

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

15 years ago2008-08-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 13 Aug 2008 11:55:15 +0000 (11:55 -0000)]
2008-08-13  Marek Safar  <marek.safar@gmail.com>

* generic.cs, lambda.cs: Inflate method generic arguments only.

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

15 years ago2008-08-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 13 Aug 2008 00:07:06 +0000 (00:07 -0000)]
2008-08-13  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (DISABLED_TESTS): Remove appdomain-unload.exe, it seems to
work now, also it is too important to stay disabled.

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

15 years ago2008-08-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 13 Aug 2008 00:03:46 +0000 (00:03 -0000)]
2008-08-13  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (check_inline_called_method_name_limit): Optimize this to
avoid calling mono_method_full_name () for every method even if the
env var is not set.
(check_inline_caller_method_name_limit): Ditto.

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

15 years ago2008-08-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Aug 2008 21:47:13 +0000 (21:47 -0000)]
2008-08-12  Zoltan Varga  <vargaz@gmail.com>

* driver.c (main_thread_handler): Allow AOT compilation of multiple
assemblies in one run.

* aot-compiler.c (mono_compile_assembly): Only print out a count of
skipped methods if it is not 0.

* Makefile.am (aotcheck): AOT compile all test assemblies in one run.

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

15 years ago2008-08-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 12 Aug 2008 21:00:48 +0000 (21:00 -0000)]
2008-08-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>
* XplatUIX11.cs: Handle the obscured regions while scrolling using
GraphicsExpose event, processing it just after we copy the scrolled
area. This ensures that the next calls to ScrollWindow will copy
regions already updated, and the scrolling will be smooth. Also remove
the code that was trying to detect the obscured regions, since we are
not using it anymore (too slow).

2008-08-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

15 years ago2008-08-12 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Tue, 12 Aug 2008 20:50:33 +0000 (20:50 -0000)]
2008-08-12  Bill Holmes  <billholmes54@gmail.com>

* mini.c (mono_codegen):  Changing a preprocessor check from WIN64 to
  MONO_ARCH_HAVE_UNWIND_TABLE.

Contributed under MIT/X11 license.

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

15 years ago2008-08-12 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Tue, 12 Aug 2008 20:40:06 +0000 (20:40 -0000)]
2008-08-12  Bill Holmes  <billholmes54@gmail.com>

* winconfig.h:  Updating the config file for MSVC builds to match
    the config file used when compiling with gcc in Cygwin.

* eglib.vcproj, genmdesc.vcproj, libgc.vcproj, libmono.vcproj, libtest.vcproj,
  mono.vcproj, monoburg.vcproj, monodiet.vcproj, monodis.vcproj, monograph.vcproj,
  pedump.vcproj, test_eglib.vcproj, teste.vcproj, test-invoke.vcproj,
  test-metadata.vcproj:  Updating the preprocessor definitions for MSVC builds to
  match the gcc build in Cygwin.

* mini-amd64.c (mono_arch_cpu_optimizazions):  Remove peephole and branch
  from default optimizaton list on Winx64.

* mini-amd64.c (emit_tls_get):  Added Winx64 specific implementation for GetTLS.

* mini-amd64.c (mono_arch_emit_prolog):  Adding an offset on Winx64 to get
  the LMF from the MonoJitTlsData structure.

* mini-amd64.c (mono_arch_setup_jit_tls_data):  Added Winx64 implementation.

Contributed under MIT/X11 license.

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

15 years ago2008-08-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Aug 2008 19:40:24 +0000 (19:40 -0000)]
2008-08-12  Zoltan Varga  <vargaz@gmail.com>

* TypeBuilderTest.cs: Add new test for #416632.

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

15 years ago2008-08-12 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 12 Aug 2008 19:40:15 +0000 (19:40 -0000)]
2008-08-12  Geoff Norton  <gnorton@novell.com>

        * pthread_support.c: GCC shipped with SLES9 ppc gets confused with our current
        GC_setspecific define.  Unfold the define into a static inline on all platforms
        except ppc where it is a static leaf function.

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

15 years ago2008-08-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Aug 2008 19:39:37 +0000 (19:39 -0000)]
2008-08-12  Zoltan Varga  <vargaz@gmail.com>

* TypeBuilder.cs (CreateType): Avoid creating a default ctor if the
type has a constructor defined using DefineMethod. Fixes #416632.

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

15 years ago2008-08-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Aug 2008 19:08:25 +0000 (19:08 -0000)]
2008-08-12  Zoltan Varga  <vargaz@gmail.com>

* mini.c (sigsegv_signal_handler): Fix the build.

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

15 years ago2008-08-12 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 12 Aug 2008 16:52:38 +0000 (16:52 -0000)]
2008-08-12  Marek Safar  <marek.safar@gmail.com>

* class.cs: Fixed struct layout check regression.

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

15 years ago2008-08-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Aug 2008 16:39:56 +0000 (16:39 -0000)]
2008-08-12  Atsushi Enomoto  <atsushi@ximian.com>

* SmtpClient.cs : fixed bug #392682, in the same spirit in the
  patch by Ted Unangst, to assure safety on socket closing.

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

15 years agoNew tests.
Marek Safar [Tue, 12 Aug 2008 15:56:44 +0000 (15:56 -0000)]
New tests.

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

15 years ago2008-08-12 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 12 Aug 2008 15:56:24 +0000 (15:56 -0000)]
2008-08-12  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay, enum.cs: Simplified enum parsing.

* decl.cs: Check all type parameters conflicts.

* expression.cs, statement.cs, attribute.cs: More expression checks.

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

15 years ago2008-08-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Aug 2008 14:15:01 +0000 (14:15 -0000)]
2008-08-12  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (emit_call_body): Use image->aot_module instead of
assembly->aot_module.

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

15 years ago2008-08-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Aug 2008 14:14:07 +0000 (14:14 -0000)]
2008-08-12  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c: Use image->aot_module instead of searching in the aot_modules
hash table. This simplifies and speeds up a lot of code, and fixes support
for .netmodules.

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

15 years ago2008-08-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Aug 2008 14:10:52 +0000 (14:10 -0000)]
2008-08-12  Zoltan Varga  <vargaz@gmail.com>

* metadata-internals.h: Move the 'aot_module' field from MonoAssembly to
MonoImage to simplify the AOT code.

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

15 years ago2008-08-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 Aug 2008 12:59:39 +0000 (12:59 -0000)]
2008-08-12  Zoltan Varga  <vargaz@gmail.com>

* mini.c (SIG_HANDLER_SIGNATURE): Avoid crashes if the thread is not registered
with the runtime.

* mini-exceptions.c: Ditto.

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

15 years agoAdds an empty WebClient to the 2.1 build
Stephane Delcroix [Tue, 12 Aug 2008 09:31:27 +0000 (09:31 -0000)]
Adds an empty WebClient to the 2.1 build

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

15 years ago* corlib.dll.sources: Removed ReflectionSerializationHolder.cs.
Gert Driesen [Tue, 12 Aug 2008 09:04:52 +0000 (09:04 -0000)]
* corlib.dll.sources: Removed ReflectionSerializationHolder.cs.
* ReflectionSerializationHolder.cs: Removed.
* common.src: Removed.

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

15 years ago2008-08-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 12 Aug 2008 02:54:51 +0000 (02:54 -0000)]
2008-08-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListBox.cs: Fix the -temporary- broken selection in ListBox for
MultiExtended mode, by separating some logic between the ctrl/shift
handling. Also ignore any MouseMove events generated together with
MouseDown events - we are only interested in the real motion event.
Fixes part of #414963.

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

15 years ago2008-08-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 11 Aug 2008 22:27:00 +0000 (22:27 -0000)]
2008-08-12  Zoltan Varga  <vargaz@gmail.com>

* exceptions-*c.c (mono_arch_find_jit_info): Remove unused 'trace' and
'native_offset' argument, since these are computed in the
mono_find_jit_info () function.

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

15 years ago2008-08-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 11 Aug 2008 22:13:10 +0000 (22:13 -0000)]
2008-08-12  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (mono_find_jit_info): Make this non-static, as it
is used by exceptions-ppc.c.

* exceptions-ppc.c: Call mono_find_jit_info () instead of
mono_arch_find_jit_info ().

* mini-ppc.h exceptions-ppc.c mini-mips.h mini-mips.c exceptions-mips.c
mini-exceptions.c: Get rid of the CUSTOM_STACK_WALK stuff, use the
generic code in mini-exceptions.c.

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

15 years ago2008-08-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 11 Aug 2008 21:47:04 +0000 (21:47 -0000)]
2008-08-11  Zoltan Varga  <vargaz@gmail.com>

* mini-ppc.c (mono_arch_flush_register_windows): Add this for ppc.

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

15 years ago2008-08-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 11 Aug 2008 20:18:46 +0000 (20:18 -0000)]
2008-08-11  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (mono_aot_get_plt_info_offset): Fix a warning.

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

15 years ago2008-08-11 Larry Ewing <lewing@novell.com>
Larry Ewing [Mon, 11 Aug 2008 20:11:16 +0000 (20:11 -0000)]
2008-08-11  Larry Ewing  <lewing@novell.com>

        * ResourceReader.cs: fix reading/writing beyond the end of the
        current resource when the resource is larger than 1024 bytes.

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

15 years ago2008-08-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 11 Aug 2008 20:06:00 +0000 (20:06 -0000)]
2008-08-11  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (mono_aot_get_method): Avoid doing all the loading inside
the aot lock, to avoid deadlocks when mono_aot_get_class_from_name () is
called while holding the loader lock. Fixes #415608.
(mono_aot_get_method_from_token_inner): Ditto.

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

15 years ago2008-08-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 11 Aug 2008 20:01:21 +0000 (20:01 -0000)]
2008-08-11  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (mono_aot_get_method): Avoid doing all the loading inside
the aot lock, to avoid deadlocks when mono_aot_get_class_from_name () is
called while holding the loader lock. Fixes #415608.

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

15 years ago2008-08-11 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 11 Aug 2008 17:04:51 +0000 (17:04 -0000)]
2008-08-11  Marek Habersack  <mhabersack@novell.com>
Pass onRemoveCallback along in Insert. Fixes bugs #324528 and
#382644. Patch provided by Juraj Skripsky <juraj@hotfeet.ch>,
thanks!

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

15 years ago2008-08-11 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 11 Aug 2008 16:13:47 +0000 (16:13 -0000)]
2008-08-11  Marek Habersack  <mhabersack@novell.com>

* Cache.cs: dispose item timer when removing an entry. Fixes bug
#416076. Patch provided by Adriaan van Kekem
<adriaanvk@gmail.com>, thanks!

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

15 years agoNew tests.
Marek Safar [Mon, 11 Aug 2008 13:16:08 +0000 (13:16 -0000)]
New tests.

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

15 years ago2008-11-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 11 Aug 2008 13:15:45 +0000 (13:15 -0000)]
2008-11-08  Marek Safar  <marek.safar@gmail.com>

* generic.cs: Add type inference types restriction.

* parameter.cs, class.cs, delegate.cs, iterators.cs, cs-parser.jay,
anonymous.cs, expression.cs: Allocate less accessor parameters.

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

15 years ago* IServiceProvider.cs: Added ComVisible attribute (1.0 only).
Gert Driesen [Sun, 10 Aug 2008 18:17:22 +0000 (18:17 -0000)]
* IServiceProvider.cs: Added ComVisible attribute (1.0 only).
* String.cs: Fixed argument names to match MS.

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

15 years ago2008-08-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 10 Aug 2008 14:43:54 +0000 (14:43 -0000)]
2008-08-10  Zoltan Varga  <vargaz@gmail.com>

* include/private/gc_locks.h: Add amd64 support so parallel mark works on
amd64 too.

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

15 years ago* Boolean.cs
Gert Driesen [Sun, 10 Aug 2008 14:24:16 +0000 (14:24 -0000)]
* Boolean.cs
* Byte.cs
* Char.cs
* DateTime.cs
* DBNull.cs
* Decimal.cs
* Double.cs
* Enum.cs
* Int16.cs
* Int32.cs
* Int64.cs
* Single.cs
* String.cs
* UInt16.cs
* UInt32.cs
* UInt64.cs: Added missing CLSCompliant attributes for 1.0 profile.

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

15 years ago2008-08-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 10 Aug 2008 11:31:29 +0000 (11:31 -0000)]
2008-08-10  Zoltan Varga  <vargaz@gmail.com>

* pinvoke3.cs: Add test for #416078.

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

15 years ago2008-08-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 10 Aug 2008 11:24:47 +0000 (11:24 -0000)]
2008-08-10  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (emit_marshal_object): Implement native-to-managed StringBuilder
marshalling. Fixes #416078.

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

15 years ago2008-08-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 9 Aug 2008 21:09:06 +0000 (21:09 -0000)]
2008-08-09  Zoltan Varga  <vargaz@gmail.com>

* exceptions-ppc.c (mono_jit_walk_stack): Use MONO_INIT_CONTEXT_FROM_CURRENT
to reduce differences between this and the generic implementation in
mini-exceptions.c.
(ves_icall_get_frame_info): Ditto.

* mini-ppc.h (MONO_INIT_CONTEXT_FROM_CURRENT): Define this for ppc too.

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

15 years ago2008-08-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 9 Aug 2008 20:55:49 +0000 (20:55 -0000)]
2008-08-09  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (mono_exceptions_init): Remove an #ifdef which is no
longer neccesarry.

* exceptions-ppc.c (arch_get_call_filter): Rename this to
mono_arch_get_call_filter () and make it non-static, for consistency with the
other architectures.

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

15 years agokill unused file
Raja R Harinath [Sat, 9 Aug 2008 16:36:17 +0000 (16:36 -0000)]
kill unused file

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

15 years agoRemoved extra spaces that I introduced.
Gert Driesen [Sat, 9 Aug 2008 16:31:15 +0000 (16:31 -0000)]
Removed extra spaces that I introduced.

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

15 years ago* IpcChannel.cs: Fixed argument names to match MS.
Gert Driesen [Sat, 9 Aug 2008 16:24:26 +0000 (16:24 -0000)]
* IpcChannel.cs: Fixed argument names to match MS.
* IpcClientChannel.cs: Fixed argument names to match MS. Made
CreateMessageSink virtual to match MS.
* IpcServerChannel.cs: Fixed argument names to match MS. Made
GetUrlsForUri virtual to match MS.

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

15 years agoRevert part of r110042.
Gert Driesen [Sat, 9 Aug 2008 15:57:49 +0000 (15:57 -0000)]
Revert part of r110042.

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

15 years ago2008-08-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 9 Aug 2008 14:11:05 +0000 (14:11 -0000)]
2008-08-09  Rodrigo Kumpera  <rkumpera@novell.com>

* mini.c:
* local-propagation.c:
* mini-x86.c: Correct the name of arch defines.

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

15 years ago* ServiceProcessInstaller.cs: Fixed argument name to match MS. Code
Gert Driesen [Sat, 9 Aug 2008 14:10:57 +0000 (14:10 -0000)]
* ServiceProcessInstaller.cs: Fixed argument name to match MS. Code
formatting.
* ServiceBase.cs: Fixed argument name to match MS. Code formatting.
* SessionChangeDescription.cs: Fixed argument name to match MS.

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

15 years ago* System.Runtime.Remoting_test.dll.sources: add SocketCachePolicy.cs.
Gert Driesen [Sat, 9 Aug 2008 14:06:44 +0000 (14:06 -0000)]
* System.Runtime.Remoting_test.dll.sources: add SocketCachePolicy.cs.
* SocketCachePolicy.cs: Added.
* IpcChannel.cs: Fixed argument names to match MS. Changed spaces to
tabs.
* IpcClientChannel.cs: Fixed argument names to match MS. Changed spaces
to tabs.
* IpcServerChannel.cs: Fixed argument names to match MS. Changed spaces
to tabs.
* TcpChannel.cs: Fixed argument names to match MS.
* TcpServerChannel.cs: Fixed argument names to match MS.
* MetaData.cs: Fixed argument names to match MS.
* SdlChannelSink.cs: Fixed argument names to match MS.
* SUDSGeneratorException.cs: Marked Serializable on 2.0 profile, and
added deserialization ctor.
* SUDSParserException.cs: Marked Serializable on 2.0 profile, and
added deserialization ctor.
* RemotingClientProxy.cs: Marked ComVisible on 2.0 profile.

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

15 years ago2008-08-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 9 Aug 2008 12:36:49 +0000 (12:36 -0000)]
2008-08-09  Rodrigo Kumpera  <rkumpera@novell.com>

* docs/generic-sharing: Some updates from an irc talk with Mark.

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

15 years ago* BinaryServerFormatterSink.cs: Fixed argument name to match MS.
Gert Driesen [Sat, 9 Aug 2008 12:03:24 +0000 (12:03 -0000)]
* BinaryServerFormatterSink.cs: Fixed argument name to match MS.
* SoapClientFormatterSink.cs: Fixed argument name to match MS. Code
formatting.

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

15 years ago* AssemblyInfo.cs: ComVisible attribute only applies to 2.0 profile.
Gert Driesen [Sat, 9 Aug 2008 11:59:17 +0000 (11:59 -0000)]
* AssemblyInfo.cs: ComVisible attribute only applies to 2.0 profile.

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

15 years agoRemoved empty dir.
Gert Driesen [Sat, 9 Aug 2008 11:46:28 +0000 (11:46 -0000)]
Removed empty dir.

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

15 years ago* DateTimeTest.cs (Bug377042): Allow compilation on the 1.1 profile.
Raja R Harinath [Sat, 9 Aug 2008 05:10:59 +0000 (05:10 -0000)]
* DateTimeTest.cs (Bug377042): Allow compilation on the 1.1 profile.

(Note that this is the smallest change required.  The test itself doesn't
validate the result -- so I'm guessing it's only testing that no exception
is thrown)

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

15 years ago2008-08-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 8 Aug 2008 23:28:09 +0000 (23:28 -0000)]
2008-08-09  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_op_to_op_imm_noemul): Correct name of
NO_EMULATE_LONG_SHIFT_OPS define.

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

15 years agoAdd missing change.
Zoltan Varga [Fri, 8 Aug 2008 23:26:08 +0000 (23:26 -0000)]
Add missing change.

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

15 years ago2008-08-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 8 Aug 2008 20:43:35 +0000 (20:43 -0000)]
2008-08-08  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewCell.cs: Guard against an AOORE when checking if a cell
is selected.  [Fixes bug #414143]

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

15 years ago2008-08-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 8 Aug 2008 19:19:01 +0000 (19:19 -0000)]
2008-08-08  Sebastien Pouliot  <sebastien@ximian.com>

* UriTypeConverter.cs: Fix cp typo found when cp (of course ;-)
code into Silverlight's System.Windows.dll

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

15 years ago* TestIcon.cs: Add test case for bug #415581.
Gert Driesen [Fri, 8 Aug 2008 18:21:51 +0000 (18:21 -0000)]
* TestIcon.cs: Add test case for bug #415581.
* Makefile: Add 415581.ico.
* Icon.cs (InitFromStreamWithSize): Use temp ArrayList for IconDirEntry
to avoid empty slots in array. Use actual index of IconDirEntry in
array when entries have been skipped. Fixes bug #415581.

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

15 years agoReduce massive code duplication
Raja R Harinath [Fri, 8 Aug 2008 17:47:58 +0000 (17:47 -0000)]
Reduce massive code duplication

* System.Data.Common/DataContainer.cs (DataContainer): Rename from
AbstractDataContainer.
Introduce new 'protected abstract' members to encapsulate
type-specific handling, and move all common code here.
(DataContainer.Create): Rename from CreateInstance.
* System.Data/DataColumn.cs: Update to changes in DataCollection.

(Since a majority of the lines are changed, I decided to dos2unix the file
too)

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

15 years ago2008-08-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 8 Aug 2008 17:38:53 +0000 (17:38 -0000)]
2008-08-08  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir2): Remove some code from CEE_MONO_LDPTR
now that aot-ed icall wrappers use CEE_MONO_ICALL_ADDR.

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

15 years ago2008-08-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 8 Aug 2008 17:27:41 +0000 (17:27 -0000)]
2008-08-08  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c aot-runtime.c: Add support for static aot compilation.
MACH fixes. Merged from the 2.0 branch.

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

15 years ago2008-08-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 8 Aug 2008 17:24:17 +0000 (17:24 -0000)]
2008-08-08  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir2): Handle CEE_MONO_ICALL_ADDR.

* mini.c (mono_resolve_patch_target): Error out if an icall is not found.
(mono_method_to_ir): Handle CEE_MONO_ICALL_ADDR.

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

15 years ago2008-08-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 8 Aug 2008 17:17:37 +0000 (17:17 -0000)]
2008-08-08  Zoltan Varga  <vargaz@gmail.com>

* exceptions-arm.c (mono_arch_get_throw_exception_generic): Add AOT support.

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

15 years ago2008-08-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 8 Aug 2008 17:11:26 +0000 (17:11 -0000)]
2008-08-08  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c mini.c driver.c aot-compiler.c: Update after
mono_marshal_get_native_wrapper () signature changes.

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

15 years ago2008-08-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 8 Aug 2008 17:08:43 +0000 (17:08 -0000)]
2008-08-08  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_native_wrapper): Add an 'aot' argument, when
it is set, looking up the icall address is deferred to the JIT, since
in embedded scenarios, the icall might not be registered in the runtime
doing the AOT compilation. Backported from the 2.0 branch.

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

15 years ago2008-08-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 8 Aug 2008 17:07:40 +0000 (17:07 -0000)]
2008-08-08  Zoltan Varga  <vargaz@gmail.com>

* cil-opcodes.xml: Add an 'icall_addr' opcode.

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

15 years ago* TestIcon.cs: Modified test for bug #410608 to work around bug
Gert Driesen [Fri, 8 Aug 2008 16:58:46 +0000 (16:58 -0000)]
* TestIcon.cs: Modified test for bug #410608 to work around bug
#415809.

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

15 years ago2008-08-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 8 Aug 2008 15:40:20 +0000 (15:40 -0000)]
2008-08-08  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Remove a few attributes for SL2

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

15 years ago2008-08-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 8 Aug 2008 15:23:54 +0000 (15:23 -0000)]
2008-08-08  Zoltan Varga  <vargaz@gmail.com>

* mono.1: Remove no-dlsym aot option for now.

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

15 years ago2008-08-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 8 Aug 2008 15:16:52 +0000 (15:16 -0000)]
2008-08-08  Zoltan Varga  <vargaz@gmail.com>

* mono.1: Document the 'static' aot option.

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

15 years ago2008-08-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 8 Aug 2008 15:00:46 +0000 (15:00 -0000)]
2008-08-08  Zoltan Varga  <vargaz@gmail.com>

* nullable_boxing.2.cs: Add test for #415621.

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

15 years ago2008-08-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 8 Aug 2008 14:58:26 +0000 (14:58 -0000)]
2008-08-08  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_remoting_wrapper): Handle nullable types correctly.
Fixes #415621.

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

15 years ago2008-08-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 8 Aug 2008 14:11:51 +0000 (14:11 -0000)]
2008-08-08  Sebastien Pouliot  <sebastien@ximian.com>

* X509Certificate20.cs: Remove reference to X509ContentType.Pfx and
SerializedCert since they are not available in SL 2.0
* X509ContentType.cs: Remove values not available in SL 2.0
* X509KeyStorageFlags.cs: Remove values not available in SL 2.0

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

15 years agoWarnings cleanup.
Marek Safar [Fri, 8 Aug 2008 10:33:09 +0000 (10:33 -0000)]
Warnings cleanup.

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

15 years ago2008-08-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 8 Aug 2008 10:21:39 +0000 (10:21 -0000)]
2008-08-08  Marek Safar  <marek.safar@gmail.com>

* typemanager.cs, ecore.cs: Ambiguous operators can come from different
classes.

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

15 years ago2008-08-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 8 Aug 2008 09:52:29 +0000 (09:52 -0000)]
2008-08-08  Marek Habersack  <mhabersack@novell.com>

* XmlSiteMapProvider.cs: a better bugfix for bug #412495.
Do not call RootNode within BuildSiteMap, as it induces
recursion. Fixes bug #415685.

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

15 years ago2008-08-08 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 8 Aug 2008 09:10:06 +0000 (09:10 -0000)]
2008-08-08  Marek Safar  <marek.safar@gmail.com>

* convert.cs, delegate.cs: Fixed delegate compatibility conversion.

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

15 years agofix #415644
Jb Evain [Fri, 8 Aug 2008 08:41:14 +0000 (08:41 -0000)]
fix #415644

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

15 years ago2008-08-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 8 Aug 2008 01:14:59 +0000 (01:14 -0000)]
2008-08-08  Marek Habersack  <mhabersack@novell.com>

* StateManagedCollection.cs: set all the contained objects state
to dirty in SetDirty.

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

15 years ago2008-08-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 8 Aug 2008 00:36:27 +0000 (00:36 -0000)]
2008-08-08  Marek Habersack  <mhabersack@novell.com>

* UpdatePanel.cs: do not check whether a panel whose children are
to be rendered has been marked for update in the async postback
mode. It prevents complex scenarios where there is one superior
update panel which owns an inferior one, and only the superior one
has Update called on it.

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

15 years ago2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 7 Aug 2008 18:19:09 +0000 (18:19 -0000)]
2008-08-07  Sebastien Pouliot  <sebastien@ximian.com>

* Aes.cs: Don't set the (unexisting) FeedbackSizeValue field
for NET_2_1
* AesTransform.cs: Remove code for blocksize != 128 bits

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

15 years ago2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 7 Aug 2008 18:17:56 +0000 (18:17 -0000)]
2008-08-07  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoTools.cs: Make this usable with Silverlight 2.0 (NET_2_1)
* SymmetricTransform.cs: Make this (more) usable with SL2 limited
crypto support.

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

15 years agocorlib.dll.sources: Add System.Security/SecurityState.cs
Sebastien Pouliot [Thu, 7 Aug 2008 18:17:26 +0000 (18:17 -0000)]
corlib.dll.sources: Add System.Security/SecurityState.cs

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

15 years ago2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 7 Aug 2008 18:16:13 +0000 (18:16 -0000)]
2008-08-07  Sebastien Pouliot  <sebastien@ximian.com>

* MiniParser.cs: Remove. It is not used anymore inside corlib

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

15 years ago2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 7 Aug 2008 18:15:04 +0000 (18:15 -0000)]
2008-08-07  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityState.cs: New. Silverlight 2.0 abstract type.

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

15 years ago2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 7 Aug 2008 18:13:50 +0000 (18:13 -0000)]
2008-08-07  Sebastien Pouliot  <sebastien@ximian.com>

* SymmetricAlgorithm.cs: Hide some protected fields not present in
Silverlight 2.0 (NET_2_1)

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

15 years ago2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 7 Aug 2008 18:12:17 +0000 (18:12 -0000)]
2008-08-07  Sebastien Pouliot  <sebastien@ximian.com>

* SymmetricTransform.cs: Make this (more) usable with SL2 limited
crypto support.

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

15 years ago2008-08-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 7 Aug 2008 17:33:04 +0000 (17:33 -0000)]
2008-08-07  Rodrigo Kumpera  <rkumpera@novell.com>

* jit-icalls.c (mono_fconv_ovf_u8): Work around soft-float double to long
conversion bug under arm.

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

15 years ago* TestIcon.cs: Ignore test for bug #410608 on Unix, since it depends
Gert Driesen [Thu, 7 Aug 2008 17:21:30 +0000 (17:21 -0000)]
* TestIcon.cs: Ignore test for bug #410608 on Unix, since it depends
on bug #323511.

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

15 years ago* Icon.cs (InitFromStreamWithSize): Move init of iconDir.idCount
Gert Driesen [Thu, 7 Aug 2008 16:58:15 +0000 (16:58 -0000)]
* Icon.cs (InitFromStreamWithSize): Move init of iconDir.idCount
and imageData until after the number of entries was determined to
cope with skipping of 256x256 icons. Fixes bug #410608.
* Makefile: Add 323511.ico.
* TestIcon.cs: Add test case for bug #410608.

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

15 years agoadd helper target
Jb Evain [Thu, 7 Aug 2008 15:37:25 +0000 (15:37 -0000)]
add helper target

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

15 years agoNew tests.
Marek Safar [Thu, 7 Aug 2008 15:25:58 +0000 (15:25 -0000)]
New tests.

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

15 years agoNew tests.
Marek Safar [Thu, 7 Aug 2008 15:25:45 +0000 (15:25 -0000)]
New tests.

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

15 years ago2008-08-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 7 Aug 2008 15:24:50 +0000 (15:24 -0000)]
2008-08-07  Marek Safar  <marek.safar@gmail.com>

* class.cs, decl.cs, iterator.cs, ecore.cs: Refactor base type resolving.
Also fixes #362146 and #381592.

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

15 years ago2008-08-07 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 7 Aug 2008 14:44:11 +0000 (14:44 -0000)]
2008-08-07  Ivan N. Zlatev  <contact@i-nz.net>

* GridEntry.cs: Check if current property is a ICustomTypeDescriptor
and not the parent one (the propertyowner). Fixes the behavior of
GetConverter/GetEditor.
[Fixes bug #415452]

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

15 years ago2008-08-07 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 7 Aug 2008 14:38:04 +0000 (14:38 -0000)]
2008-08-07  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyGrid.cs: Refresh should also repopulate the PropertyGrid.
[Fixes part of bug #415452]

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

15 years ago2008-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 7 Aug 2008 14:06:36 +0000 (14:06 -0000)]
2008-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* SmtpClient.cs : Fixed bug #392809, patch by Ted Unangst. Text body
  was not copied to byte array which is being sent.

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