mono.git
15 years agoIn mini/
Zoltan Varga [Sat, 28 Mar 2009 19:02:04 +0000 (19:02 -0000)]
In mini/

* mini-trampolines.c (mono_magic_trampoline): Handle generic virtual
interface methods on proxies correctly.

In tests/

2009-03-28  Zoltan Varga  <vargaz@gmail.com>

* remoting4.cs: Add a test for generic virtual interface methods on proxies.

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

15 years ago2009-03-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 28 Mar 2009 14:14:59 +0000 (14:14 -0000)]
2009-03-28  Sebastien Pouliot  <sebastien@ximian.com>

* coreclr-security.cs: Add more override test cases.

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

15 years ago2009-03-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 28 Mar 2009 14:14:47 +0000 (14:14 -0000)]
2009-03-28  Sebastien Pouliot  <sebastien@ximian.com>

* class.c: move coreclr inheritance/override checks to
security-core.clr.c
* security-core.clr.c|h: add code from class.c with additional
documentation. Fix override check when the method is not critical.

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

15 years ago2009-03-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 28 Mar 2009 08:16:56 +0000 (08:16 -0000)]
2009-03-28  Zoltan Varga  <vargaz@gmail.com>

* dwarfwriter.c (mono_dwarf_writer_emit_method): Fix handling of the
this argument for vtype methods. Add precise liveness info for arguments.

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

15 years ago2009-03-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 28 Mar 2009 08:16:49 +0000 (08:16 -0000)]
2009-03-28  Zoltan Varga  <vargaz@gmail.com>

* mini-codegen.c (mono_print_ins_index): Print the vreg of the
LIVERANGE_START/END opcodes.

* method-to-ir.c (mono_spill_global_vars): Fix liverange calculation
for arguments and values in registers.

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

15 years ago2009-03-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 28 Mar 2009 05:01:51 +0000 (05:01 -0000)]
2009-03-28  Zoltan Varga  <vargaz@gmail.com>

* debug-helpers.c (mono_method_desc_match): Make '*' match anything.
(match_class): Ditto.

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

15 years ago2009-03-28 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 28 Mar 2009 00:15:38 +0000 (00:15 -0000)]
2009-03-28  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridViewCell.cs: We don't support drawing all types of cell borders,
so fallback and at least draw something instead of nothing.

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

15 years ago2009-03-27 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 27 Mar 2009 23:32:30 +0000 (23:32 -0000)]
2009-03-27  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: If the column header isn't visible allow resizing
using the cell column border. Also be sure to reset the cursor properly.
[Fixes bug #489929]

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

15 years ago2009-03-27 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 27 Mar 2009 23:19:43 +0000 (23:19 -0000)]
2009-03-27  Jonathan Chambers  <joncham@gmail.com>

        * BuildWhen.cs: Add basic implementation.
        * BuildChoose.cs: Add basic implementation.
        * BuildItem.cs (AddEvaluatedItem): Add BuiltItem to
        EvaluatedItemsIgnoringCondition.
        * GroupingCollection.cs: Add evaluation of BuildChoose items.

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

15 years ago2009-03-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 27 Mar 2009 22:50:21 +0000 (22:50 -0000)]
2009-03-27 Rodrigo Kumpera <rkumpera@novell.com>

* cli-tables-tests.md: Tests for total table sizes.

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

15 years ago2009-03-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 27 Mar 2009 22:50:20 +0000 (22:50 -0000)]
2009-03-27 Rodrigo Kumpera <rkumpera@novell.com>

* metadata-verify.c: Rename bounds_check_offset to bounds_check_datadir.

* metadata-verify.c: Implement table layout row size calculation. Verify
the total size of the tables.

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

15 years ago2009-03-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 27 Mar 2009 22:48:13 +0000 (22:48 -0000)]
2009-03-27 Rodrigo Kumpera <rkumpera@novell.com>

* cli-tables-tests.md: Tests for heap sizes and minumum #~ size
to decode row counts.

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

15 years ago2009-03-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 27 Mar 2009 22:48:12 +0000 (22:48 -0000)]
2009-03-27 Rodrigo Kumpera <rkumpera@novell.com>

* metadata-verify.c: Verify heap sizes and size to decode row counts.

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

15 years ago2009-03-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 27 Mar 2009 20:04:49 +0000 (20:04 -0000)]
2009-03-27 Gonzalo Paniagua Javier <gonzalo@novell.com>

* appdomain.c:
* console-io.[ch]: added new mono_console_init() to make sure that
file descriptors 0, 1 and 2 are opened.
Bug #489019 fixed.

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

15 years ago * src/DbLinq.sln,
Jonathan Pryor [Fri, 27 Mar 2009 19:30:04 +0000 (19:30 -0000)]
* src/DbLinq.sln,
  src/DbLinq.SqlServer/Test/DbLinq.SqlServer_test_ndb.csproj: Flush;
  syncs to DbLinq r1029.
* src/DbLinq.suo: Delete.
* src (svn:ignore): Ignore DbLinq.suo.
* src/DbLinq/Test/NullProvider.cs: Default initialize the
  ConnectionString to "" so that the MsSqlDataContextTest tests pass.
* System.Data.Linq_test.dll.sources: Add
  src/DbLinq.SqlServer/Test/MsSqlDataContextTest.cs.

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

15 years ago2009-03-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 27 Mar 2009 18:41:25 +0000 (18:41 -0000)]
2009-03-27  Atsushi Enomoto  <atsushi@ximian.com>

* XmlBinaryFormat.cs, XmlBinaryDictionaryWriter.cs :
  resolved all namespace and QName issues.

* XmlBinaryDictionaryWriterTest.cs : enabled QName test parts.

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

15 years ago2009-03-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 27 Mar 2009 17:13:46 +0000 (17:13 -0000)]
2009-03-27  Marek Safar  <marek.safar@gmail.com>

* typemanager.cs, expression.cs: Removed unused nullable checks.

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

15 years agoNew tests.
Marek Safar [Fri, 27 Mar 2009 16:22:29 +0000 (16:22 -0000)]
New tests.

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

15 years ago2009-03-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 27 Mar 2009 16:21:36 +0000 (16:21 -0000)]
2009-03-27  Marek Safar  <marek.safar@gmail.com>

* *.cs: Removed some gmcs conditionals.

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

15 years ago2009-03-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 27 Mar 2009 15:51:43 +0000 (15:51 -0000)]
2009-03-27 Gonzalo Paniagua Javier <gonzalo@novell.com>

* DefaultWsdlHelpGenerator.aspx: disable the test form
when only Soap is supported.
Bug #342073 fixed.

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

15 years ago2009-03-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Mar 2009 15:39:55 +0000 (15:39 -0000)]
2009-03-27  Zoltan Varga  <vargaz@gmail.com>

* mono-gdb.py (StringPrinter.to_string): Fix support for non-ascii characters.

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

15 years ago2009-03-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 27 Mar 2009 14:44:32 +0000 (14:44 -0000)]
2009-03-27  Atsushi Enomoto  <atsushi@ximian.com>

* XmlBinaryDictionaryWriter.cs : further namespace refactory.
  namespaces are managed by its own (to work fine for both string
  and dictionary string).

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

15 years ago2009-03-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Mar 2009 14:07:28 +0000 (14:07 -0000)]
2009-03-27  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir): Disable tail calls for calls which
return a valuetype. Fixes #487518.

* iltests.il: Add a test.

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

15 years ago2009-03-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 27 Mar 2009 14:00:09 +0000 (14:00 -0000)]
2009-03-27  Sebastien Pouliot  <sebastien@ximian.com>

* appdomain.h: Export a new callback type and a new function to
set this callback. This allow a mono host to provide it's own
definition for "platform code".
* metadata-internals.h: Add a core_clr_platform_code flag on
_MonoImage to (cache and) know if it is representing platform
code.
* image.c (do_mono_image_open): Set core_clr_platform_code flag
on platform code images.
* security-core-clr.c|h
(mono_security_set_core_clr_platform_callback): Allow the host
to provide it's own platform check definition.
(mono_security_core_clr_determine_platform_image): Detect if an
image is platform code (using the specified callback).
(mono_security_core_clr_is_platform_image): Return cached value
for platform code.

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

15 years ago2009-03-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Mar 2009 13:37:39 +0000 (13:37 -0000)]
2009-03-27  Zoltan Varga  <vargaz@gmail.com>

* DelegateTest.cs: Mark a test as working.

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

15 years agoIn io-layer/
Zoltan Varga [Fri, 27 Mar 2009 13:35:45 +0000 (13:35 -0000)]
In io-layer/

2009-03-27  Zoltan Varga  <vargaz@gmail.com>

* threads.h: Add a comment to CreateThread.

In metadata/

2009-03-27  Zoltan Varga  <vargaz@gmail.com>

* threads.c (mono_create_thread): New helper function to wrap CreateThread
which has different parameter types for the 'tid' argument in windows and
the io-layer.

* appdomain.c attach.c threads.c: Use the new helper.

In mini/

2009-03-27  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c: Use mono_thread_create () to create helper threads.

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

15 years ago2009-03-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Mar 2009 13:35:25 +0000 (13:35 -0000)]
2009-03-27  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (mono_delegate_trampoline): Handle static delegates
closed over a null reference correctly.

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

15 years ago2009-03-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 27 Mar 2009 13:20:47 +0000 (13:20 -0000)]
2009-03-27  Atsushi Enomoto  <atsushi@ximian.com>

* XmlBinaryFormat.cs, XmlBinaryDictionaryReader.cs,
  XmlBinaryDictionaryWriter.cs : improved shorthanded prefix
  support. Not only autocreated prefixes but also explicitly-
  specified 'a' .. 'z' prefixes are mapped as shorthand.
  Some significant (and ongoing) namespace support changes.

* XmlBinaryDictionaryWriterTest.cs: added test for shorthand
  prefixed attributes.

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

15 years ago* Makefile (net_2_0_dirs): Build System.Runtime.Serialization
Raja R Harinath [Fri, 27 Mar 2009 11:40:23 +0000 (11:40 -0000)]
* Makefile (net_2_0_dirs): Build System.Runtime.Serialization
before System.Data.Linq.

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

15 years ago2009-03-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 26 Mar 2009 23:46:51 +0000 (23:46 -0000)]
2009-03-26 Rodrigo Kumpera <rkumpera@novell.com>

* gen-md-tests.c: Add tables-header and set-bit helpers.

* cli-tables-tests.md: New tests for the cli tables.

* Makefile: Add new tests.

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

15 years ago2009-03-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 26 Mar 2009 23:46:48 +0000 (23:46 -0000)]
2009-03-26 Rodrigo Kumpera <rkumpera@novell.com>

* metadata-verify.c: Verify valid table bits.

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

15 years ago2009-03-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 26 Mar 2009 23:46:27 +0000 (23:46 -0000)]
2009-03-26 Rodrigo Kumpera <rkumpera@novell.com>

* metadata-verify.c (verify_metadata_header): Store size in the size field.

* metadata-verify.c: Add initial table schema verification.

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

15 years ago * src/DbLinq/Data/Linq/Table.cs: Add an explicit
Jonathan Pryor [Thu, 26 Mar 2009 20:04:06 +0000 (20:04 -0000)]
* src/DbLinq/Data/Linq/Table.cs: Add an explicit
  IEnumerable<TEntity>.GetEnumerator() implementation to Table<TEntity>.
  This is done for cor-compare compatibility with .NET.

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

15 years ago2009-03-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 26 Mar 2009 19:59:32 +0000 (19:59 -0000)]
2009-03-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ToolStripTest.cs:
* ToolStripItemTest.cs: Update our Dispose tests.

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

15 years ago2009-03-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 26 Mar 2009 19:57:27 +0000 (19:57 -0000)]
2009-03-26   Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ToolStrip.cs: When disposing, iterate over the items in reverse
order, since disposing the items modifies the collection.
* ToolStripItem.cs: Remove from the owner when disposing.
Fixes #485769.

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

15 years ago2009-03-26 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 26 Mar 2009 19:07:42 +0000 (19:07 -0000)]
2009-03-26  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Add an implementation for UpdateRowHeightInfo. No
longer throws a NotImplementedException.
  Based on a patch by Tom Hindle <tom_hindle@sil.org>
[Fixes bug #488319]

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

15 years agocomplete test
Jb Evain [Thu, 26 Mar 2009 18:54:25 +0000 (18:54 -0000)]
complete test

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

15 years ago2009-03-26 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 26 Mar 2009 18:46:56 +0000 (18:46 -0000)]
2009-03-26  Jb Evain  <jbevain@novell.com>

* Delegate.cs (CreateDelegate): Support for delegates
on static methods closed on a null target.

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

15 years ago2009-03-26 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 26 Mar 2009 18:18:42 +0000 (18:18 -0000)]
2009-03-26  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Implement IsCurrentRowDirty. No longer throws
NotImplementedException.

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

15 years ago2009-03-26 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 26 Mar 2009 18:13:14 +0000 (18:13 -0000)]
2009-03-26  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridViewColumn.cs, DataGridViewTextBoxColumn.cs:
Fix SortMode clash handling.
[Fixes bug #488263]

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

15 years ago2009-03-26 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 26 Mar 2009 17:35:49 +0000 (17:35 -0000)]
2009-03-26  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Do not show the vertical scrollbar if there is only
one row or less. For the sake of MSNET compatibility.
[Fixes bug #487988]

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

15 years ago * Test/: Added (though empty), to allow building unit tests located in
Jonathan Pryor [Thu, 26 Mar 2009 17:26:16 +0000 (17:26 -0000)]
* Test/: Added (though empty), to allow building unit tests located in
  src/*/Test/**.
* System.Data.Linq_test.dll.sources: Added; database-less unit tests.

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

15 years ago2009-03-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 26 Mar 2009 17:20:40 +0000 (17:20 -0000)]
2009-03-26  Marek Safar  <marek.safar@gmail.com>

* generic.cs, support.cs: Moved generics stuff out of support.cs

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

15 years ago * src/DbLinq/System.Data.Linq/Binary.cs: Update to pass the unit tests.
Jonathan Pryor [Thu, 26 Mar 2009 16:01:10 +0000 (16:01 -0000)]
* src/DbLinq/System.Data.Linq/Binary.cs: Update to pass the unit tests.
* Makefile: Build against System.Runtime.Serialization.dll so that
  Binary can use the [DataContract] attribute.

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

15 years ago2009-03-26 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Thu, 26 Mar 2009 15:47:25 +0000 (15:47 -0000)]
2009-03-26  Jonathan Chambers  <joncham@gmail.com>

        * TaskDatabase.cs (RegisterTask): Search for class by name
        if task was not found using GetType (which uses namespace).

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

15 years ago * **/*: Flush. (Updates to sync with DbLinq r1026, correcting tests
Jonathan Pryor [Thu, 26 Mar 2009 15:39:53 +0000 (15:39 -0000)]
* **/*: Flush.  (Updates to sync with DbLinq r1026, correcting tests
  so that they build under Mono for testing System.Data.Linq.dll.)

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

15 years ago * **/*: Flush. (Updates to sync with DbLinq r1020, adding additional
Jonathan Pryor [Thu, 26 Mar 2009 15:09:07 +0000 (15:09 -0000)]
* **/*: Flush.  (Updates to sync with DbLinq r1020, adding additional
  tests generated from gui-compare differences.)

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

15 years agoIn class/corlib/System.Reflection/
Zoltan Varga [Thu, 26 Mar 2009 14:32:42 +0000 (14:32 -0000)]
In class/corlib/System.Reflection/

2009-03-26  Zoltan Varga  <vargaz@gmail.com>

* ParameterInfoTest.cs: Add a test for #488383.

In class/corlib/System/

2009-03-26  Zoltan Varga  <vargaz@gmail.com>

* Environment.cs: Bump corlib version.

In class/corlib/Test/System.Reflection/

2009-03-26  Zoltan Varga  <vargaz@gmail.com>

* ParameterInfoTest.cs: Add a test for #488383.

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

15 years ago2009-03-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 26 Mar 2009 14:29:46 +0000 (14:29 -0000)]
2009-03-26  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_get_parameter_info): Add a 'member' argument, used to
obtain the refclass argument needed by mono_param_get_objects (). Fixes
#488383.

* reflection.c (mono_param_get_objects_internal): Add a 'refclass' argument.

* appdomain.c (MONO_CORLIB_VERSION): Bump this.

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

15 years ago2009-03-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 26 Mar 2009 14:29:38 +0000 (14:29 -0000)]
2009-03-26  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_get_parameter_info): Add a 'member' argument, used to
obtain the refclass argument needed by mono_param_get_objects (). Fixes
#488383.

* reflection.c (mono_param_get_objects_internal): Add a 'refclass' argument.

* appdomain.c (MONO_CORLIB_VERSION): Bump this.

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

15 years agooops, fix wrong copy-pasted doc
Sebastien Pouliot [Thu, 26 Mar 2009 14:27:48 +0000 (14:27 -0000)]
oops, fix wrong copy-pasted doc

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

15 years ago2009-03-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 26 Mar 2009 14:13:53 +0000 (14:13 -0000)]
2009-03-26  Marek Habersack  <mhabersack@novell.com>

* HttpWorkerRequest.cs: use a generic dictionary to keep header
names in 2.0+.
GetKnown{Request,Response}HeaderIndex doesn't use the switch
anymore.

* HttpResponse.cs: WriteHeaders now checks whether a header to be
sent is a known one or not and uses the appropriate method to send
that header. Partial fix for bug #488702

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

15 years ago2009-03-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Mar 2009 14:03:31 +0000 (14:03 -0000)]
2009-03-26  Sebastien Pouliot  <sebastien@ximian.com>

* security-core-clr.c: Add/update documentation

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

15 years ago2009-03-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Mar 2009 13:37:43 +0000 (13:37 -0000)]
2009-03-26  Atsushi Enomoto  <atsushi@ximian.com>

* XmlBinaryFormat.cs, XmlBinaryDictionaryWriter.cs :
  added some incomplete code for QName support.

* XmlBinaryDictionaryWriterTest.cs: added QName test part, but
  disable since it does not work yet.

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

15 years ago2009-03-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 26 Mar 2009 13:36:44 +0000 (13:36 -0000)]
2009-03-26  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_handle_global_vregs): Fix support for ternary ops.

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

15 years ago2009-03-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Mar 2009 11:37:05 +0000 (11:37 -0000)]
2009-03-26  Sebastien Pouliot  <sebastien@ximian.com>

* X509ChainPolicyTest.cs: Add a small sleep between the Reset and
the second VerificationTime check since it would be possible, on
fast hardware, to get the same value (and assert).

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

15 years ago2009-03-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Mar 2009 11:35:32 +0000 (11:35 -0000)]
2009-03-26  Atsushi Enomoto  <atsushi@ximian.com>

* XmlBinaryDictionaryReader.cs, XmlBinaryFormat.cs :
  handle utf16 typed nodes. (not sure if it is used in writer.)

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

15 years ago2009-03-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Mar 2009 11:32:30 +0000 (11:32 -0000)]
2009-03-26  Atsushi Enomoto  <atsushi@ximian.com>

* XmlBinaryDictionaryWriter.cs : oops, fix build.

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

15 years ago2009-03-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Mar 2009 10:55:51 +0000 (10:55 -0000)]
2009-03-26  Atsushi Enomoto  <atsushi@ximian.com>

* XmlBinaryDictionaryWriter.cs, XmlBinaryDictionaryReader.cs,
  XmlBinaryFormat.cs, : reverted Uuid change (UniqueId is different).
  Updated TODO status. Removed extra BinaryReader type.

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

15 years ago2009-03-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Mar 2009 10:30:43 +0000 (10:30 -0000)]
2009-03-26  Atsushi Enomoto  <atsushi@ximian.com>

* XmlBinaryDictionaryReader.cs, XmlBinaryDictionaryWriter.cs,
  XmlBinaryFormat.cs : fixed couple of issues regarding text and
  base64 fixed-length buffers (their sizes are not variant).
  Some ongoing changes on reading dummy-prefixed attributes.

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

15 years agofix the 1.1 build
Geoff Norton [Thu, 26 Mar 2009 03:10:02 +0000 (03:10 -0000)]
fix the 1.1 build

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

15 years ago2009-03-25 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 26 Mar 2009 02:54:01 +0000 (02:54 -0000)]
2009-03-25  Geoff Norton  <gnorton@novell.com>

* XmlTextReader.cs: Create the uri as relativeorabsolute.

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

15 years ago2009-03-26 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 26 Mar 2009 01:43:07 +0000 (01:43 -0000)]
2009-03-26  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: When the current cell is moved out of the editing row
be sure to reset it back to a place holder row.

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

15 years ago2009-03-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Mar 2009 23:45:55 +0000 (23:45 -0000)]
2009-03-26  Zoltan Varga  <vargaz@gmail.com>

* pinvoke2.cs: Add a test for #488670.

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

15 years ago2009-03-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Mar 2009 23:45:47 +0000 (23:45 -0000)]
2009-03-26  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (emit_marshal_object): Generate code to throw an exception
instead of throwing it. Fixes #488670.

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

15 years agoFix register allocation bug for ternary ops.
Mark Probst [Wed, 25 Mar 2009 22:41:17 +0000 (22:41 -0000)]
Fix register allocation bug for ternary ops.

2009-03-25  Mark Probst  <mark.probst@gmail.com>

        * mini-codegen.c (mono_local_regalloc): Don't let sregs get
        allocated to the same registers as fixed sregs.

2009-03-25  Mark Probst  <mark.probst@gmail.com>

        * interlocked-4.2.cs: New CompareExchange test (triggered
        * register
        allocation bug on x86 and amd64).

        * Makefile.am: Test added.

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

15 years ago2009-03-25 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 25 Mar 2009 21:33:18 +0000 (21:33 -0000)]
2009-03-25  Jb Evain  <jbevain@novell.com>

* DelegateTest.cs: add new CreateDelegate test.

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

15 years ago2009-03-25 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 25 Mar 2009 21:20:50 +0000 (21:20 -0000)]
2009-03-25  Marek Habersack  <mhabersack@novell.com>

* AspTokenizer.cs: MD5 checksum calculation happens here. It's
done incrementally as characters are read.

* AspParser.cs: the MD5 checksum is no longer computed here. Moved
to AspTokenizer.
After parsing, both the tokenizer and the string reader are
disposed of.

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

15 years ago2009-03-25 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 25 Mar 2009 21:20:39 +0000 (21:20 -0000)]
2009-03-25  Marek Habersack  <mhabersack@novell.com>

* AssemblyBuilder.cs: renamed CopyFile to CopyFileWithChecksum, in
prepration for future inclusion of checksum and line pragmas in
the file being copied.
Files are copied chunk by chunk, not by reading the entire
contents.

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

15 years ago2009-03-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Mar 2009 18:48:24 +0000 (18:48 -0000)]
2009-03-25  Atsushi Enomoto  <atsushi@ximian.com>

* XmlBinaryDictionaryReader.cs, XmlBinaryFormat.cs,
  XmlBinaryDictionaryWriter.cs : couple of enhancements to support
  missing types, Dictionary string lookups and indexing fixes.
  Also reflect some correction by [MC-NBFX] (MS OSPed document).
* XmlBinaryReaderSession.cs : implemented.

* XmlBinaryDictionaryReaderTest.cs : enable reader-session dependent
  tests.
* XmlBinaryDictionaryReaderTest.cs : enable dummy-prefixed attributes
  tests.

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

15 years ago* HttpResponseTest.cs: Added tests for bug #485557 and #488702.
Gert Driesen [Wed, 25 Mar 2009 14:03:36 +0000 (14:03 -0000)]
* HttpResponseTest.cs: Added tests for bug #485557 and #488702.
Return meaningful value for GetUriPath () in FakeHttpWorkerRequest2
to allow tests to pass on MS.

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

15 years ago2009-03-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 25 Mar 2009 13:51:05 +0000 (13:51 -0000)]
2009-03-25  Sebastien Pouliot  <sebastien@ximian.com>

* appdomain.c: Bump MONO_CORLIB_VERSION to 73
* icall.c (ves_icall_System_Delegate_CreateDelegate_internal): Add
an extra 'throwOnBindFailure' parameter to the icall. Remove FIXME
and add a call to mono_security_core_clr_ensure_delegate_creation
to do the extra checks required by CoreCLR.
* security-core-clr.c|h: Add function to check delegate creation,
both in the binding and accessibility, under CoreCLR.

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

15 years ago2009-03-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 25 Mar 2009 13:51:01 +0000 (13:51 -0000)]
2009-03-25  Sebastien Pouliot  <sebastien@ximian.com>

* Delegate.cs: Add new parameter to CreateDelegate_internal (icall)
* Environment.cs: Bump mono_corlib_version to 73

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

15 years ago2009-03-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 25 Mar 2009 12:44:58 +0000 (12:44 -0000)]
2009-03-25  Sebastien Pouliot  <sebastien@ximian.com>

* reflection.c (mono_reflection_create_dynamic_method): when
coreclr is enabled make sure that every resolved object are
checked (e.g. field and method access).
* security-core-clr.c|h: Add function to check objects resolved
when a dynamic method is created.

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

15 years agoupdate known issues
Raja R Harinath [Wed, 25 Mar 2009 05:21:30 +0000 (05:21 -0000)]
update known issues

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

15 years ago2009-03-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 25 Mar 2009 05:18:32 +0000 (05:18 -0000)]
2009-03-25 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpResponse.cs: ClearHeaders() also resets cacheability.
Bug #485557 fixed.

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

15 years ago2009-03-25 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Wed, 25 Mar 2009 03:37:52 +0000 (03:37 -0000)]
2009-03-25  Ivan N. Zlatev  <contact@i-nz.net>

* DataView.cs: Fire ListChanged when the RowFilter changes.
[Fixes bug #479405]

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

15 years ago2009-03-25 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 24 Mar 2009 23:37:53 +0000 (23:37 -0000)]
2009-03-25  Jb Evain  <jbevain@novell.com>

* DelegateTest.cs: add CreateDelegate tests for valuetype -> object
conversion for arguments and return types.

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

15 years ago2009-03-25 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 24 Mar 2009 23:37:13 +0000 (23:37 -0000)]
2009-03-25  Jb Evain  <jbevain@novell.com>

* Delegate.cs (CreateDelegate): fix checks to deal with
valuetypes -> obj conversions for arguments, and avoid
issues with such unallowed conversion for return types.

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

15 years ago2009-03-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 24 Mar 2009 22:58:15 +0000 (22:58 -0000)]
2009-03-24 Rodrigo Kumpera <rkumpera@novell.com>

* gen-md-tests.c: Add stream-header and cli-metadata
helpers.

* cli-metadata-tests.md: New tests for the cli metadata header
and streams.

* Makefile: Add new tests.

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

15 years ago2009-03-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 24 Mar 2009 22:58:13 +0000 (22:58 -0000)]
2009-03-24 Rodrigo Kumpera <rkumpera@novell.com>

* metadata-verify.c: Cache directory rva translations.

* metadata-verify.c: Add cli-header and streams verification.

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

15 years ago2009-03-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 24 Mar 2009 22:57:51 +0000 (22:57 -0000)]
2009-03-24 Rodrigo Kumpera <rkumpera@novell.com>

* image.c (load_metadata_ptrs): We decode MonoImage::md_version_minor at
the wrong offset (8 instead of 6).

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

15 years agoForgot to add tests/interlocked-3.cs.
Mark Probst [Tue, 24 Mar 2009 22:42:39 +0000 (22:42 -0000)]
Forgot to add tests/interlocked-3.cs.

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

15 years ago2009-03-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 24 Mar 2009 21:07:44 +0000 (21:07 -0000)]
2009-03-24 Gonzalo Paniagua Javier <gonzalo@novell.com>

* FtpWebRequest.cs: we were sending CWD instead of PWD.
Bug #486703 fixed.

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

15 years ago2009-03-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 24 Mar 2009 21:00:01 +0000 (21:00 -0000)]
2009-03-24 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Ping.cs: MacOS has different arguments for ping.
Bug #486904 fixed.

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

15 years agoATOMIC_CAS with 3 sregs.
Mark Probst [Tue, 24 Mar 2009 20:33:21 +0000 (20:33 -0000)]
ATOMIC_CAS with 3 sregs.

2009-03-24  Mark Probst  <mark.probst@gmail.com>

        * mini-ops.h: New ternary ATOMIC_CAS ops replace the old
        ATOMIC_CAS_IMM ops.

        * method-to-ir.c: Handle more cases for
        Interlocked.CompareExchange.

        * cpu-x86.md, mini-x86.c, mini-x86.h, cpu-amd64.md,
        * mini-amd64.c,
        mini-amd64.h, cpu-ppc.md, cpu-ppc64.md, mini-ppc.c, mini-ppc.h:
        ATOMIC_CAS implementations for x86, AMD64, PPC and PPC64.

2009-03-24  Mark Probst  <mark.probst@gmail.com>

        * interlocked-3.cs: New CompareExchange test.

        * Makefile.am: Test added.

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

15 years ago2009-03-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Mar 2009 16:11:04 +0000 (16:11 -0000)]
2009-03-24  Marek Safar  <marek.safar@gmail.com>

* ecore.cs, expression.cs: Use queried type for MethodGroupExpr
DeclaringType.

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

15 years ago2009-03-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 24 Mar 2009 14:16:23 +0000 (14:16 -0000)]
2009-03-24  Zoltan Varga  <vargaz@gmail.com>

* thread6.cs: Add back a sleep to avoid a race.

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

15 years agoRevert r130049
Marek Habersack [Tue, 24 Mar 2009 08:48:23 +0000 (08:48 -0000)]
Revert r130049

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

15 years agoRevert "Forgotten ChangeLog entry"
Marek Habersack [Tue, 24 Mar 2009 08:48:06 +0000 (08:48 -0000)]
Revert "Forgotten ChangeLog entry"

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

15 years ago2009-03-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 24 Mar 2009 07:50:24 +0000 (07:50 -0000)]
2009-03-24  Atsushi Enomoto  <atsushi@ximian.com>

        * SerializationMap.cs, XmlFormatterDeserializer.cs:
          empty collection deserialization resulted in extra
          consumption of the next xml node.

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

15 years ago2009-03-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 23 Mar 2009 22:01:14 +0000 (22:01 -0000)]
2009-03-23  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (libmonoutils_la_SOURCES): Fix make dist.

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

15 years ago2009-03-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 23 Mar 2009 21:58:58 +0000 (21:58 -0000)]
2009-03-23  Zoltan Varga  <vargaz@gmail.com>

* PageCompiler.cs: Fix the build.

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

15 years ago2009-03-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 23 Mar 2009 19:58:36 +0000 (19:58 -0000)]
2009-03-23  Marek Habersack  <mhabersack@novell.com>

* TemplateBuildProvider.cs: add values of the CodeFile and Src
page/master/control directives to the list of file dependencies.
Extract language also for master/page, not only for controls.

* PageCompiler.cs: CreateConstructors now triggers master page
build, if the current page is using one. Fixes bug #487857

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

15 years agoProperly handle TDS 8 BigInt type
Veerapuram Varadhan [Mon, 23 Mar 2009 19:33:59 +0000 (19:33 -0000)]
Properly handle TDS 8 BigInt type
Proper handling of TDS 8 BigInt type

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

15 years agoPatch from Matthew Metnestsky
Gonzalo Paniagua Javier [Mon, 23 Mar 2009 17:36:28 +0000 (17:36 -0000)]
Patch from Matthew Metnestsky

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

15 years agoNew test.
Marek Safar [Mon, 23 Mar 2009 16:16:57 +0000 (16:16 -0000)]
New test.

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

15 years ago2009-03-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 23 Mar 2009 16:16:45 +0000 (16:16 -0000)]
2009-03-23  Marek Safar  <marek.safar@gmail.com>

* attribute.cs: Consider all members for error reporting when
checking named arguments.

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

15 years agoRemoved obsolete test
Marek Safar [Mon, 23 Mar 2009 15:29:56 +0000 (15:29 -0000)]
Removed obsolete test

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

15 years agoNew test.
Marek Safar [Mon, 23 Mar 2009 15:05:00 +0000 (15:05 -0000)]
New test.

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