Rodrigo Kumpera [Fri, 5 Dec 2008 22:17:26 +0000 (22:17 -0000)]
2008-12-05 Rodrigo Kumpera <rkumpera@novell.com>
* Vector16(s)b.cs: Add operator == and !=.
svn path=/trunk/mcs/; revision=120904
Rodrigo Kumpera [Fri, 5 Dec 2008 22:17:25 +0000 (22:17 -0000)]
2008-12-05 Rodrigo Kumpera <rkumpera@novell.com>
* Vector8(u)s.cs: Add operator == and !=.
svn path=/trunk/mcs/; revision=120903
Zoltan Varga [Fri, 5 Dec 2008 21:34:00 +0000 (21:34 -0000)]
2008-12-05 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (is_plt_patch): ICALL_ADDR is also a plt patch.
svn path=/trunk/mono/; revision=120898
Zoltan Varga [Fri, 5 Dec 2008 21:33:24 +0000 (21:33 -0000)]
2008-12-05 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir): Transform aotconst+calli into a direct
call.
svn path=/trunk/mono/; revision=120897
Zoltan Varga [Fri, 5 Dec 2008 21:26:55 +0000 (21:26 -0000)]
2008-12-05 Zoltan Varga <vargaz@gmail.com>
* tramp-amd64.c (mono_arch_create_trampoline_code_full): Rework the code
a bit to also restore %rax.
svn path=/trunk/mono/; revision=120895
Mark Probst [Fri, 5 Dec 2008 20:57:02 +0000 (20:57 -0000)]
2008-12-05 Mark Probst <mark.probst@gmail.com>
* mini-ppc.c: Some simple merges from mini-ppc64.c.
2008-12-05 Mark Probst <mark.probst@gmail.com>
* ppc/ppc-codegen.h: ppc_load_func must use ppc_load_sequence.
Added ppc_compare_log.
svn path=/trunk/mono/; revision=120890
Brad Taylor [Fri, 5 Dec 2008 20:57:02 +0000 (20:57 -0000)]
2008-12-05 Brad Taylor <brad@getcoded.net>
* MonthCalendar.cs: Add UIA specific events so that we can know when
the selection changes, and when MaxSelectedCount changes.
svn path=/trunk/mcs/; revision=120889
Marek Habersack [Fri, 5 Dec 2008 20:24:56 +0000 (20:24 -0000)]
2008-12-05 Marek Habersack <mhabersack@novell.com>
* configure.in: check whether round (3) and rint (3) are present
in the C library.
2008-12-05 Marek Habersack <mhabersack@novell.com>
* sysmath.c (ves_icall_System_Math_Round2): if round (3) and rint
(3) functions are present in the C library use them to do the
job. If they are absent, make sure that the sum of int_part and
dec_part is rounded before returning. This is necessary due to the
division of dec_part by the power of 10 before the final addition
is performed - if the result is not rounded in some cases it will
yield invalid results.
svn path=/trunk/mono/; revision=120880
Ivan Zlatev [Fri, 5 Dec 2008 19:59:33 +0000 (19:59 -0000)]
2008-12-05 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Cleanup rows_displayed out of OnPaint. It's not
used for anything.
svn path=/trunk/mcs/; revision=120874
Zoltan Varga [Fri, 5 Dec 2008 19:34:16 +0000 (19:34 -0000)]
2008-12-05 Zoltan Varga <vargaz@gmail.com>
* ssa.c (mono_ssa_compute): Only add an implicit reference at start for
arguments.
svn path=/trunk/mono/; revision=120869
Marek Habersack [Fri, 5 Dec 2008 18:12:51 +0000 (18:12 -0000)]
2008-12-05 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs: attempt to enter the compilation critical
section with a timeout up to 3 times before giving up. This avoids
deadlocks in situations where there are two virtual directores
each containing user controls referencing user controls from the
other directory.
svn path=/trunk/mcs/; revision=120861
Gonzalo Paniagua Javier [Fri, 5 Dec 2008 17:19:23 +0000 (17:19 -0000)]
fix warning
svn path=/trunk/mcs/; revision=120856
Gonzalo Paniagua Javier [Fri, 5 Dec 2008 17:17:54 +0000 (17:17 -0000)]
2008-12-05 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Tds70.cs: support parameter names with or without a leading '@'.
svn path=/trunk/mcs/; revision=120854
Mark Probst [Fri, 5 Dec 2008 16:45:12 +0000 (16:45 -0000)]
2008-12-05 Mark Probst <mark.probst@gmail.com>
* exceptions-ppc.c: Merged with exceptions-ppc64.c.
* mini-ppc.c, mini-ppc.h: Remove PPC_STACK_ALIGNMENT and use
MONO_ARCH_FRAME_ALIGNMENT. Struct for PPC64 function descriptors.
* exceptions-ppc64.c: Removed.
* Makefile.am: Use exceptions-ppc.c instead of exceptions-ppc64.c.
svn path=/trunk/mono/; revision=120853
Mark Probst [Fri, 5 Dec 2008 16:42:24 +0000 (16:42 -0000)]
2008-12-05 Mark Probst <mark.probst@gmail.com>
* tramp-ppc.c, mini-ppc.c, mini-ppc.h: Merged tramp-ppc.c with
tramp-ppc64.c.
* Makefile.am: Use tramp-ppc.c instead of tramp-ppc64.c.
* tramp-ppc64.c: Removed.
2008-12-05 Mark Probst <mark.probst@gmail.com>
* ppc/ppc-codegen.h: Added ppc_load_func for PPC32. Added
ppc_load/store_multiple_regs and ppc_compare_reg_imm.
svn path=/trunk/mono/; revision=120852
Ivan Zlatev [Fri, 5 Dec 2008 16:28:28 +0000 (16:28 -0000)]
2008-12-05 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Fix scrolling and selection of cells/rows prior
to the control being drawn for the first time by:
- Implement DisplayedRowsCount to not rely on the control being
already painted. Also added support for the partial row flag.
- Fix scrolling to take into account partial rows and scroll to
them.
[Fixes bug #456527]
svn path=/trunk/mcs/; revision=120851
Zoltan Varga [Fri, 5 Dec 2008 16:26:12 +0000 (16:26 -0000)]
2008-12-05 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (add_generic_instances): Skip non-generic classes in
the TYPESPEC table.
svn path=/trunk/mono/; revision=120849
Ivan Zlatev [Fri, 5 Dec 2008 16:10:50 +0000 (16:10 -0000)]
2008-12-05 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Do not reset the CurrentCell when the handle is
created if the user has already set it.
svn path=/trunk/mcs/; revision=120847
Ivan Zlatev [Fri, 5 Dec 2008 16:05:27 +0000 (16:05 -0000)]
2008-12-05 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Fix CurrentCell to actually select the cell.
svn path=/trunk/mcs/; revision=120846
Jonathan Pryor [Fri, 5 Dec 2008 15:34:32 +0000 (15:34 -0000)]
* Mono.Documentation/monodocer.cs, Mono.Documentation/monodocs2html.cs:
Reorder parameters to be in sorted order, so `mdoc help COMMAND`
parameters are sorted.
* Mono.Documentation/monodocer.cs: Remove try/catch in
MDocUpdater.Run(MDocUpdaterOptions), so that any generated exceptions
will be handled within mdoc itself (thus allowing the normal
"See `mdoc help' for more information." message). Improve some
error messages so they're more useful.
svn path=/trunk/mcs/; revision=120842
Jonathan Pryor [Fri, 5 Dec 2008 15:23:20 +0000 (15:23 -0000)]
* man/mdoc-update.1: Document new parameters such as --exceptions.
svn path=/trunk/mono/; revision=120841
Mark Probst [Fri, 5 Dec 2008 15:07:32 +0000 (15:07 -0000)]
2008-12-05 Mark Probst <mark.probst@gmail.com>
* mini-ppc.h: Merged mini-ppc64.h with mini-ppc.h.
* exceptions-ppc64.c, tramp-ppc64.c, mini-arch.h, Makefile.am: Use
mini-ppc.h instead of mini-ppc64.h.
* mini-ppc64.h: Removed.
svn path=/trunk/mono/; revision=120840
Mark Mason [Fri, 5 Dec 2008 15:03:40 +0000 (15:03 -0000)]
2008-12-04 Mark Mason <mmason@upwardaccess.com>
* mini-mips.c: introduce USE_LDC_SDC: use ldc1/sdc1 to load/store doubles, disabled by default
* mini-mips.c (mono_arch_emit_outarg_vt): fix offset calculation for memcpy in structure passing.
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=120838
Mark Probst [Fri, 5 Dec 2008 14:33:41 +0000 (14:33 -0000)]
2008-12-05 Mark Probst <mark.probst@gmail.com>
* mini-ppc64.c, mini-ppc64.h, exceptions-ppc64.c, tramp-ppc64.c:
Removed FIRST/LAST_[GF]REG macros, to make merging PPC64 with PPC
code easier.
svn path=/trunk/mono/; revision=120834
Jb Evain [Fri, 5 Dec 2008 14:20:05 +0000 (14:20 -0000)]
2008-12-05 Jb Evain <jbevain@novell.com>
* tuner/Mono.Tuner/RemoveSerialization.cs
* tuner/Mono.Tuner/PrintStatus.cs
* tuner/Mono.Tuner/AdjustVisibility.cs
* tuner/Mono.Tuner/InjectAttributes.cs
* tuner/Mono.Tuner/CheckVisibility.cs:
do not tune the assemblies that the linker doesn't
consider for actual linking.
svn path=/trunk/mcs/; revision=120832
Rodrigo Kumpera [Fri, 5 Dec 2008 12:51:45 +0000 (12:51 -0000)]
2008-12-05 Rodrigo Kumpera <rkumpera@novell.com>
* Vector4f.cs: Add operator == and !=.
svn path=/trunk/mcs/; revision=120831
Rodrigo Kumpera [Fri, 5 Dec 2008 12:51:40 +0000 (12:51 -0000)]
2008-12-05 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Tests for operator == and != on Vector4f.
svn path=/trunk/mono/; revision=120830
Rodrigo Kumpera [Fri, 5 Dec 2008 12:51:44 +0000 (12:51 -0000)]
2008-12-05 Rodrigo Kumpera <rkumpera@novell.com>
* Documentation/en/Mono.Simd/Vector*.xml: Removed references to
ExtractByteMask.
svn path=/trunk/mcs/; revision=120829
Rodrigo Kumpera [Fri, 5 Dec 2008 12:51:34 +0000 (12:51 -0000)]
2008-12-05 Rodrigo Kumpera <rkumpera@novell.com>
* simd-intrinsics.c (simd_intrinsic_emit_equality): Adapt to support Vector4f.
* simd-intrinsics.c: Kill useless enum.
svn path=/trunk/mono/; revision=120828
Marek Habersack [Fri, 5 Dec 2008 11:43:42 +0000 (11:43 -0000)]
2008-12-05 Marek Habersack <mhabersack@novell.com>
* JsonSerializer.cs: StringBuilder extension methods aren't used
anymore, changed to calls to static methods in
StringBuilderExtensions.
* StringBuilderExtensions.cs: cannot use extension methods here
because this file is also used in the version 1.0 build which
doesn't reference System.Core
svn path=/trunk/mcs/; revision=120823
Marek Habersack [Fri, 5 Dec 2008 11:00:56 +0000 (11:00 -0000)]
2008-12-05 Marek Habersack <mhabersack@novell.com>
* Makefile (LIB_MCS_FLAGS): do not reference System.Core
svn path=/trunk/mcs/; revision=120822
Mark Mason [Fri, 5 Dec 2008 07:00:23 +0000 (07:00 -0000)]
2008-12-04 Mark Mason <mmason@upwardaccess.com>
* cpu-mips.md: add long_conv_to_ovf_i4_2
* mini-mips.c: update/add various _OVF_ opcodes to fix test failures
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=120819
Mark Mason [Fri, 5 Dec 2008 02:01:15 +0000 (02:01 -0000)]
2008-12-04 Mark Mason <mmason@upwardaccess.com>
* mini-mips.c: ifdef protect automatic promotions of R4 to R8.
* mini-mips.c (mono_arch_emit_setret): handle R4 case with FCONV_TO_R4 instead of FMOVE
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=120803
Mark Mason [Fri, 5 Dec 2008 01:21:29 +0000 (01:21 -0000)]
2008-12-04 Mark Mason <mmason@upwardaccess.com>
* mini-mips.c (mono_arch_output_basic_block): fix codegen for OP_OR_IMM/OP_IOR_IMM
svn path=/trunk/mono/; revision=120800
Jonathan Pryor [Fri, 5 Dec 2008 01:07:32 +0000 (01:07 -0000)]
* Makefile: Specify --exceptions=all in mdoc-update invocations.
* exceptions.cs: Add support for documenting a *subset* of all
possible exceptions. Subsets include: the member itself, the member
and methods it calls that are in the same assembly, and all possible
methods across all assemblies.
* monodocer.cs: Allow --exceptions to take a SOURCES argument, to
control which location sources will be searched for exceptions.
svn path=/trunk/mcs/; revision=120798
Rodrigo Kumpera [Thu, 4 Dec 2008 23:12:57 +0000 (23:12 -0000)]
2008-12-04 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Add tests for new methods.
svn path=/trunk/mono/; revision=120789
Rodrigo Kumpera [Thu, 4 Dec 2008 23:12:52 +0000 (23:12 -0000)]
2008-12-04 Rodrigo Kumpera <rkumpera@novell.com>
* simd-intrinsics.c: Add support for operator == and !=
on Vector4(u)i.
* simd-methods.h: Add SN_op_Inequality and SN_op_Equality.
svn path=/trunk/mono/; revision=120788
Rodrigo Kumpera [Thu, 4 Dec 2008 23:12:47 +0000 (23:12 -0000)]
2008-12-04 Rodrigo Kumpera <rkumpera@novell.com>
* simd-intrinsics.c: Remove ExtractByteMask intrinsics.
svn path=/trunk/mono/; revision=120787
Rodrigo Kumpera [Thu, 4 Dec 2008 22:28:28 +0000 (22:28 -0000)]
2008-12-04 Rodrigo Kumpera <rkumpera@novell.com>
* Vector4(u)i.cs: Add operator == and !=.
svn path=/trunk/mcs/; revision=120775
Rodrigo Kumpera [Thu, 4 Dec 2008 22:28:27 +0000 (22:28 -0000)]
2008-12-04 Rodrigo Kumpera <rkumpera@novell.com>
* Vector2/4/8*.cs: Remove ExtractByteMask.
svn path=/trunk/mcs/; revision=120774
Zoltan Varga [Thu, 4 Dec 2008 20:58:43 +0000 (20:58 -0000)]
2008-12-04 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (add_wrappers): Add pinvoke wrappers.
* mini.c (mono_resolve_patch_target): Allow pinvoke methods in
MONO_PATCH_INFO_ICALL_ADDR.
svn path=/trunk/mono/; revision=120756
Zoltan Varga [Thu, 4 Dec 2008 20:57:40 +0000 (20:57 -0000)]
2008-12-04 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (MonoAotFileInfo): Correct order of fields.
svn path=/trunk/mono/; revision=120754
Zoltan Varga [Thu, 4 Dec 2008 20:56:54 +0000 (20:56 -0000)]
2008-12-04 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Resurrect full-aot support.
svn path=/trunk/mono/; revision=120753
Zoltan Varga [Thu, 4 Dec 2008 20:46:42 +0000 (20:46 -0000)]
2008-12-04 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_emit_native_wrapper): Add AOT support for pinvoke
wrappers by emitting the function address using a CEE_MONO_ICALL_ADDR
instruction instead of a pointer constant.
svn path=/trunk/mono/; revision=120749
Mark Mason [Thu, 4 Dec 2008 20:02:43 +0000 (20:02 -0000)]
2008-12-04 Mark Mason <mmason@upwardaccess.com>
* mini-mips.c (mono_arch_lowering_pass): handle OP_COMPARE and OP_ICOMPARE
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=120745
Mark Mason [Thu, 4 Dec 2008 18:39:07 +0000 (18:39 -0000)]
Minor typo in last commit.
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=120733
Mark Mason [Thu, 4 Dec 2008 18:35:48 +0000 (18:35 -0000)]
2008-12-04 Mark Mason <mmason@upwardaccess.com>
* mini-mips.c (mono_arch_output_basic_block): fix OP_IREM_UN code generation
svn path=/trunk/mono/; revision=120732
Bill Holmes [Thu, 4 Dec 2008 16:40:21 +0000 (16:40 -0000)]
2008-12-04 Bill Holmes <billholmes54@gmail.com>
* mono.sln : Removing monoburg from the solution.
* libmono.vcproj : Removing files deleted from svn.
* mono.def : Removing mono_burg* exports that no longer exist.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=120725
Jb Evain [Thu, 4 Dec 2008 15:17:40 +0000 (15:17 -0000)]
2008-12-04 Jb Evain <jbevain@novell.com>
* Remove CorCompare.exe sources.
svn path=/trunk/mcs/; revision=120706
Jb Evain [Thu, 4 Dec 2008 15:08:29 +0000 (15:08 -0000)]
2008-12-04 Jb Evain <jbevain@novell.com>
* Makefile: don't build CorCompare.exe anymore as it's not even
used.
svn path=/trunk/mcs/; revision=120703
Jb Evain [Thu, 4 Dec 2008 15:00:35 +0000 (15:00 -0000)]
cleanup
svn path=/trunk/mcs/; revision=120702
Jb Evain [Thu, 4 Dec 2008 14:06:11 +0000 (14:06 -0000)]
2008-12-04 Jb Evain <jbevain@novell.com>
* mono-api-diff.cs: update mono-api-diff wrt to the format changes.
svn path=/trunk/mcs/; revision=120699
Mark Probst [Thu, 4 Dec 2008 13:59:46 +0000 (13:59 -0000)]
2008-12-04 Mark Probst <mark.probst@gmail.com>
* configure.in: Disabling the sibling call optimization doesn't
work, so we're using -mminimal-toc.
svn path=/trunk/mono/; revision=120697
Jb Evain [Thu, 4 Dec 2008 13:35:55 +0000 (13:35 -0000)]
remove svn:executable
svn path=/trunk/mcs/; revision=120689
Miguel de Icaza [Thu, 4 Dec 2008 00:58:08 +0000 (00:58 -0000)]
Indentation
svn path=/trunk/mono/; revision=120653
Mark Probst [Wed, 3 Dec 2008 21:22:41 +0000 (21:22 -0000)]
2008-12-03 Mark Probst <mark.probst@gmail.com>
* configure.in: Disable sibling call optimization on PPC64 as it
seems to trip up GCC on the build bot.
svn path=/trunk/mono/; revision=120643
Gert Driesen [Wed, 3 Dec 2008 18:29:27 +0000 (18:29 -0000)]
* NoParamsInvoker.cs:
* HttpApplicationFactory.cs: Fixed support for static eventhandlers.
svn path=/trunk/mcs/; revision=120623
Rodrigo Kumpera [Wed, 3 Dec 2008 18:05:41 +0000 (18:05 -0000)]
2008-12-03 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Fix tests to work under ppc.
Remove tests for methods that will be removed.
svn path=/trunk/mono/; revision=120620
Zoltan Varga [Wed, 3 Dec 2008 16:11:32 +0000 (16:11 -0000)]
2008-12-03 Zoltan Varga <vargaz@gmail.com>
* loader.c (mono_method_get_header): Do most of the work outside the
loader lock, to avoid assembly load hook deadlocks.
* metadata.c (mono_metadata_parse_mh_full): Use finer-grained locking.
(mono_metadata_parse_type_full): Ditto.
svn path=/trunk/mono/; revision=120611
Marek Safar [Wed, 3 Dec 2008 15:43:00 +0000 (15:43 -0000)]
New test.
svn path=/trunk/mcs/; revision=120609
Marek Safar [Wed, 3 Dec 2008 15:42:45 +0000 (15:42 -0000)]
2008-12-03 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, namespace.cs, driver.cs: Allow ExtensionAttribute
to be imported from any assembly.
svn path=/trunk/mcs/; revision=120608
Gonzalo Paniagua Javier [Wed, 3 Dec 2008 15:34:37 +0000 (15:34 -0000)]
2008-12-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
* UdpClientTest.cs: test closing a UDP socket while receiving.
svn path=/trunk/mcs/; revision=120603
Gonzalo Paniagua Javier [Wed, 3 Dec 2008 15:33:16 +0000 (15:33 -0000)]
2008-12-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
* UdpClient.cs: don't Poll() in Receive(), the call to ReceiveFrom
will block anyway. Fixes bug #455894.
svn path=/trunk/mcs/; revision=120601
Marek Safar [Wed, 3 Dec 2008 14:12:12 +0000 (14:12 -0000)]
2008-12-03 Marek Safar <marek.safar@gmail.com>
* parameter.cs, lambda.cs, linq.cs, iterators.cs, anonymous.cs
statement.cs, class.cs, cs-parser.jay: Removed duplicate parameters
storage from anonymous method and lambda expression
svn path=/trunk/mcs/; revision=120594
Marek Habersack [Wed, 3 Dec 2008 13:54:57 +0000 (13:54 -0000)]
2008-12-02 Marek Habersack <mhabersack@novell.com>
* System.Data.DataSetExtensions_test.dll.sources: added
System.Data/DataRowExtensionsTest.cs
2008-12-02 Marek Habersack <mhabersack@novell.com>
* DataRowExtensionsTest.cs: added
2008-12-02 Marek Habersack <mhabersack@novell.com>
* DataRowExtensions.cs: when Field <T> is specialized on a
nullable type (either a reference or an instance of Nullable <T>)
do not throw exception for column value being DBNull but return
null instead.
svn path=/trunk/mcs/; revision=120592
Marek Habersack [Wed, 3 Dec 2008 13:33:05 +0000 (13:33 -0000)]
2008-12-03 Marek Habersack <mhabersack@novell.com>
* System.Web_test.dll.sources: added System.Web.UI/DataBinderTest.cs
2008-12-03 Marek Habersack <mhabersack@novell.com>
* DataBinderTest.cs: added
2008-12-03 Marek Habersack <mhabersack@novell.com>
* DataBinder.cs: clean up Eval for good this time.
GetIndexedPropertyValue should throw an exception when a string
indexer expression is used and the container is an IList.
svn path=/trunk/mcs/; revision=120590
Mark Probst [Wed, 3 Dec 2008 13:20:28 +0000 (13:20 -0000)]
2008-12-03 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c (mono_method_to_ir): Handle ldtoken of an open
generic type (via a typedef or typeref) correctly.
2008-12-03 Mark Probst <mark.probst@gmail.com>
* generic-typedef.2.cs: New test for ldtoken of open generic
types.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=120589
Gonzalo Paniagua Javier [Wed, 3 Dec 2008 00:06:23 +0000 (00:06 -0000)]
2008-12-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Page.cs: make sure we don't return null in Title.
svn path=/trunk/mcs/; revision=120550
Gonzalo Paniagua Javier [Tue, 2 Dec 2008 23:53:50 +0000 (23:53 -0000)]
2008-12-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
* AspParser.cs: reset to the next character in a partial match in case
of failure. Fixes bug #314688.
svn path=/trunk/mcs/; revision=120549
Marek Habersack [Tue, 2 Dec 2008 23:13:08 +0000 (23:13 -0000)]
2008-12-03 Marek Habersack <mhabersack@novell.com>
* machine.config: rename serviceModelHostingEnvironment to
serviceHostingEnvironment.
svn path=/trunk/mono/; revision=120545
Zoltan Varga [Tue, 2 Dec 2008 23:03:26 +0000 (23:03 -0000)]
2008-12-03 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_magic_trampoline): Add some debugging code to help
diagnose an assertion failure.
svn path=/trunk/mono/; revision=120543
Rodrigo Kumpera [Tue, 2 Dec 2008 19:15:10 +0000 (19:15 -0000)]
2008-12-02 Rodrigo Kumpera <rkumpera@novell.com>
* mempool.c (mono_backtrace): Take the number of allocated bytes as argument.
Make the stack depth fixed. Ensure proper argument passing to the backtrace
funtions. Finally, use a lock to produce well ordered output.
The lock looks silly, as all calls to the corlib mempool should be guarded
with the loader lock, but for some reason this fact doesn't help.
* mempool.c (mono_mempool_alloc0): Add support for TRACE_ALLOCATIONS.
svn path=/trunk/mono/; revision=120519
Rodrigo Kumpera [Tue, 2 Dec 2008 19:15:07 +0000 (19:15 -0000)]
2008-12-02 Rodrigo Kumpera <rkumpera@novell.com>
* mono-property-hash.c (mono_property_hash_destroy): Release
the root hashtable as well.
svn path=/trunk/mono/; revision=120518
Marek Safar [Tue, 2 Dec 2008 17:59:28 +0000 (17:59 -0000)]
New test.
svn path=/trunk/mcs/; revision=120511
Marek Safar [Tue, 2 Dec 2008 17:58:37 +0000 (17:58 -0000)]
Show full name
svn path=/trunk/mcs/; revision=120510
Jonathan Pobst [Tue, 2 Dec 2008 17:30:39 +0000 (17:30 -0000)]
2008-12-02 Jonathan Pobst <monkey@jpobst.com>
* PaintEventArgsTest.cs: Tests were failing due to being dependent
on the order in which the tests were running, which changed when we
did nunit 2.2->2.4. Modified tests to not use global Graphics contexts,
and to dispose the Graphics like they were relying on the
GraphicsDispose () test to do.
svn path=/trunk/mcs/; revision=120504
Jonathan Pryor [Tue, 2 Dec 2008 16:59:33 +0000 (16:59 -0000)]
* Makefile: Add --exceptions to `mdoc update` invocations to test
<exception/> generation.
* mdoc.exe.sources: Add Mono.Documentation/exceptions.cs to the build.
* Mono.Documentation/exceptions.cs: Added; searches through the
callgraph of an IMemberReference, recording which exception types
are created (and where they're created from).
* Mono.Documentation/monodocer.cs: Generate <exception/> elements.
* Test/DocTest-v1.cs: Modify some methods so that exceptions are
emitted (thus testing <exception/> generation).
* Test/DocTest-v2.patch: Update (so patch(1) doesn't complain).
* Test/en.expected.importecmadoc/System/Array.xml,
Test/en.expected.importecmadoc/System/Environment.xml,
Test/en.expected.importslashdoc/Mono.DocTest.Generic/GenericBase`1.xml,
Test/en.expected.importslashdoc/Mono.DocTest/DocAttribute.xml,
Test/en.expected.importslashdoc/Mono.DocTest/DocValueType.xml,
Test/en.expected.importslashdoc/Mono.DocTest/UseLists.xml,
Test/en.expected.importslashdoc/Mono.DocTest/Widget.xml,
Test/en.expected.importslashdoc/System/Array.xml,
Test/en.expected.importslashdoc/System/Environment.xml,
Test/en.expected.since/Mono.DocTest.Generic/GenericBase`1.xml,
Test/en.expected.since/Mono.DocTest/DocAttribute.xml,
Test/en.expected.since/Mono.DocTest/DocValueType.xml,
Test/en.expected.since/Mono.DocTest/UseLists.xml,
Test/en.expected.since/Mono.DocTest/Widget.xml,
Test/en.expected.since/System/Array.xml,
Test/en.expected.since/System/Environment.xml,
Test/en.expected/Mono.DocTest.Generic/GenericBase`1.xml,
Test/en.expected/Mono.DocTest/DocAttribute.xml,
Test/en.expected/Mono.DocTest/DocValueType.xml,
Test/en.expected/Mono.DocTest/UseLists.xml,
Test/en.expected/Mono.DocTest/Widget.xml,
Test/en.expected/System/Array.xml,
Test/en.expected/System/Environment.xml,
Test/html.expected/Mono.DocTest.Generic/GenericBase`1.html,
Test/html.expected/Mono.DocTest/DocAttribute.html,
Test/html.expected/Mono.DocTest/DocValueType.html,
Test/html.expected/Mono.DocTest/UseLists.html,
Test/html.expected/Mono.DocTest/Widget.html,
Test/html.expected/System/Array.html,
Test/html.expected/System/Environment.html,
Test/msxdoc-expected.importslashdoc.xml: Flush; adds <exception/>
elements (and/or HTML-rendered output of <exception/> elements).
svn path=/trunk/mcs/; revision=120501
Mark Probst [Tue, 2 Dec 2008 16:27:47 +0000 (16:27 -0000)]
2008-12-02 Mark Probst <mark.probst@gmail.com>
* socket-io.c: 64 bit big-endian fixes.
svn path=/trunk/mono/; revision=120498
Marek Safar [Tue, 2 Dec 2008 16:25:32 +0000 (16:25 -0000)]
2008-12-02 Marek Safar <marek.safar@gmail.com>
* ReaderWriterLockSlim.cs: Initial merge.
svn path=/trunk/mcs/; revision=120496
Mark Probst [Tue, 2 Dec 2008 16:03:45 +0000 (16:03 -0000)]
2008-12-02 Mark Probst <mark.probst@gmail.com>
* tramp-ppc64.c (mono_arch_create_rgctx_lazy_fetch_trampoline):
Fix trampoline size.
* mini-ppc64.c, mini-ppc64.h, cpu-ppc64.md: A few floating point
conversion opcodes are implemented natively instead via emulation.
2008-12-02 Mark Probst <mark.probst@gmail.com>
* ppc/ppc-codegen.h: Opcodes for floating point conversions from
64 bit integers.
Code submitted by andreas.faerber@web.de at
https://bugzilla.novell.com/show_bug.cgi?id=324134 under the
X11/MIT license.
svn path=/trunk/mono/; revision=120492
Marek Habersack [Tue, 2 Dec 2008 14:28:05 +0000 (14:28 -0000)]
2008-12-02 Marek Habersack <mhabersack@novell.com>
* DataBinder.cs: when Eval attempts to find Items [] in the
container, catch and ignore all exceptions - the null returned
from GetPropertyValue may be a legitimate return value.
svn path=/trunk/mcs/; revision=120485
Jonathan Pryor [Tue, 2 Dec 2008 14:15:07 +0000 (14:15 -0000)]
* docs/Makefile: Build additional directories (Npgsql,
System.Configuration.Install, System.Design, System.Runtime.Remoting,
System.Runtime.Serialization.Formatters.Soap); shorten entries.
svn path=/trunk/mcs/; revision=120483
Jb Evain [Tue, 2 Dec 2008 11:37:10 +0000 (11:37 -0000)]
remove unecessary path entry
svn path=/trunk/mcs/; revision=120475
Jb Evain [Tue, 2 Dec 2008 10:21:29 +0000 (10:21 -0000)]
add missing targets
svn path=/trunk/mcs/; revision=120472
Jb Evain [Tue, 2 Dec 2008 09:49:02 +0000 (09:49 -0000)]
fix the build, hopefully
svn path=/trunk/mcs/; revision=120469
Jb Evain [Tue, 2 Dec 2008 09:45:56 +0000 (09:45 -0000)]
remove unecessary target
svn path=/trunk/mcs/; revision=120467
Jb Evain [Tue, 2 Dec 2008 09:45:34 +0000 (09:45 -0000)]
cleanup trailing /
svn path=/trunk/mcs/; revision=120466
Mark Mason [Tue, 2 Dec 2008 09:22:13 +0000 (09:22 -0000)]
2008-12-01 Mark Mason <mmason@upwardaccess.com>
* cpu-mips.md: remove mips_xori
* mini-ops.h: remove mips_xori
* mini-mips.h: replace OP_MIPS_XORI with OP_IXOR
* mini-mips.c (mono_arch_decompose_long_opts): Add ladd_imm, lsub, lsub_imm, lneg, lsub_ovf, lsub_ovf_un.
* mini-mips.c (mono_arch_lowering_pass, mono_arch_output_basic_block): fix IXOR handling
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=120465
Carlos Alberto Cortez [Tue, 2 Dec 2008 06:20:41 +0000 (06:20 -0000)]
2008-12-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* XplatUIX11.cs: Add support to RichTextFormat by reading it as ascii
text and then let the underneath users of IDataObject interpret and
parse by themselves.
Fixes #439251.
svn path=/trunk/mcs/; revision=120461
Mark Mason [Tue, 2 Dec 2008 01:31:55 +0000 (01:31 -0000)]
2008-12-01 Mark Mason <mmason@upwardaccess.com>
* cpu-mips.md: fix instruction lengths.
* mini-mips.h: define MONO_ARCH_NO_IOV_CHECK
* mini-mips.c: move most instruction rewriting into decompose_ops. Implement conditional branches and exceptions. Fix jump table patch handling. Implement add/sub OVF.
* mini-ops.h: fix slti / sltiu op profiles.
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=120443
Marek Habersack [Tue, 2 Dec 2008 01:31:10 +0000 (01:31 -0000)]
2008-12-02 Marek Habersack <mhabersack@novell.com>
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWeb/NunitWeb/Resources/Web.mono.config.1.1
2008-12-02 Marek Habersack <mhabersack@novell.com>
* WebTest.cs: for 1.1, copy the Web.mono.config.1.1 resource
2008-12-02 Marek Habersack <mhabersack@novell.com>
* Web.config: added ASP.NET AJAX 1.0 configuration entries
* Web.config.1.1: copied from the last revision before the above
changes, so that 1.1 tests don't fail.
* Web.mono.config.1.1: copied from revision before the AJAX
changes below, so that 1.1 tests don't fail.
svn path=/trunk/mcs/; revision=120442
Martin Baulig [Tue, 2 Dec 2008 01:15:11 +0000 (01:15 -0000)]
2008-12-02 Martin Baulig <martin@ximian.com>
* method-to-ir.c (mono_method_to_ir): Disable debugging
information for the init locals block to make the debugger stop
after all locals have been initalized.
svn path=/trunk/mono/; revision=120438
Marek Habersack [Tue, 2 Dec 2008 01:07:39 +0000 (01:07 -0000)]
2008-12-02 Marek Habersack <mhabersack@novell.com>
* StateManagedCollection.cs: adding an item to the collection does
not call SetDirty as an item is added, thus not affecting the
indexes of its predecessors. Fixes bug #443100
Insert doesn't call SetDirtyObject as all objects are made dirty
in SetDirty which is called from here. Same applies to this [int]
indexer.
svn path=/trunk/mcs/; revision=120436
Miguel de Icaza [Tue, 2 Dec 2008 00:55:07 +0000 (00:55 -0000)]
Add initial implementation of ReaderWriterLockSlim, it is missing support for recursive locks, and support for flagging errors
svn path=/trunk/mcs/; revision=120435
Jb Evain [Tue, 2 Dec 2008 00:47:17 +0000 (00:47 -0000)]
in mcs/tools/tuner:
2008-12-01 Jb Evain <jbevain@novell.com>
* Makefile: move tuning logic inside ../moon. We now simply build
the tuner as a simple library.
in mcs/tools/moon:
2008-12-01 Jb Evain <jbevain@novell.com>
* Makefile: re-use the tuning logic that previously was defined
in mcs/tools/tuner. We're now building the net_2_1 tuned libraries
from here exclusively.
in mcs/tools:
2008-12-01 Jb Evain <jbevain@novell.com>
* Makefile: build the tuner library during the net_1_1 profile. The
tuning of the net_2_1 assemblies now takes place in moon.
svn path=/trunk/mcs/; revision=120432
Martin Baulig [Mon, 1 Dec 2008 23:40:06 +0000 (23:40 -0000)]
2008-12-02 Martin Baulig <martin@ximian.com>
* mini.c (mini_method_compile): Disable MONO_OPT_DEADCE when
running inside the debugger.
svn path=/trunk/mono/; revision=120419
Rodrigo Kumpera [Mon, 1 Dec 2008 23:24:58 +0000 (23:24 -0000)]
2008-12-01 Rodrigo Kumpera <kumpera@gmail.com>
* main.c (get_uninitialized_data_type): Make crappy static analyzers happy.
svn path=/trunk/mono/; revision=120414
Ivan Zlatev [Mon, 1 Dec 2008 23:16:07 +0000 (23:16 -0000)]
2008-12-01 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Fix my previous commit to actually update what it
was supposed to.
svn path=/trunk/mcs/; revision=120412
Jb Evain [Mon, 1 Dec 2008 23:10:10 +0000 (23:10 -0000)]
2008-12-02 Jb Evain <jbevain@novell.com>
* Mono.Linker/AssemblyResolver.cs (AreSame(TypeReference,TypeReference):
fix the case where we compare two GenericInstanceType of the same
element type with different generic arguments.
svn path=/trunk/mcs/; revision=120410
Zoltan Varga [Mon, 1 Dec 2008 22:52:12 +0000 (22:52 -0000)]
2008-12-01 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_method_compile): Only run local deadce if MONO_OPT_DEADCE
is enabled.
* method-to-ir.c (mono_method_to_ir): Fix invalid code generated by the
alu->alu imm optimization which only shows if deadce is disabled.
svn path=/trunk/mono/; revision=120407