Rodrigo Kumpera [Tue, 3 Feb 2009 16:07:18 +0000 (16:07 -0000)]
2009-02-03 Rodrigo Kumpera <rkumpera@novell.com>
* valid_valuetype_boxed_types_are_merge_compatible.il:
Regression test for #469528.
svn path=/trunk/mono/; revision=125540
Rodrigo Kumpera [Tue, 3 Feb 2009 16:07:08 +0000 (16:07 -0000)]
2009-02-03 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: Added stack_slot_full_name to provide decent and more meanfull
errors.
* verify.c (is_compatible_boxed_valuetype): Be less restrictive when not
under strict mode. Any type, when boxed can be seen as a reference type.
Fixes #469528.
svn path=/trunk/mono/; revision=125539
Rodrigo Kumpera [Tue, 3 Feb 2009 12:48:01 +0000 (12:48 -0000)]
2009-02-03 Rodrigo Kumpera <rkumpera@novell.com>
* docs/Makefile: Fix install-local and uninstall-local if
DISABLE_MCS_DOCS is defined.
svn path=/trunk/mcs/; revision=125515
Marek Safar [Tue, 3 Feb 2009 12:08:17 +0000 (12:08 -0000)]
New test, update.
svn path=/trunk/mcs/; revision=125509
Marek Safar [Tue, 3 Feb 2009 12:07:41 +0000 (12:07 -0000)]
2009-02-03 Marek Safar <marek.safar@gmail.com>
* class.cs, generic.cs: Emit type parameter constraints for nested
types.
svn path=/trunk/mcs/; revision=125507
Atsushi Eno [Tue, 3 Feb 2009 11:33:13 +0000 (11:33 -0000)]
2009-02-03 Atsushi Enomoto <atsushi@ximian.com>
* SerializationMap.cs : a bit more detailed error message.
svn path=/trunk/mcs/; revision=125504
Atsushi Eno [Tue, 3 Feb 2009 11:01:04 +0000 (11:01 -0000)]
2009-02-03 Atsushi Enomoto <atsushi@ximian.com>
* ClientRuntimeChannel.cs, ClientProxyGenerator.cs :
change async methods signature and dynamic code generation.
svn path=/trunk/mcs/; revision=125502
Gonzalo Paniagua Javier [Tue, 3 Feb 2009 10:08:38 +0000 (10:08 -0000)]
2009-02-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
* WebProxy.cs: use TryParse when checking for a localhost IP.
svn path=/trunk/mcs/; revision=125499
Rodrigo Kumpera [Tue, 3 Feb 2009 02:53:41 +0000 (02:53 -0000)]
2009-02-03 Rodrigo Kumpera <rkumpera@novell.com>
* arrays.cs: Test for Get/SetValue of array with negate lower bounds.
svn path=/trunk/mono/; revision=125459
Rodrigo Kumpera [Tue, 3 Feb 2009 02:53:30 +0000 (02:53 -0000)]
2009-02-03 Rodrigo Kumpera <rkumpera@novell.com>
* object.h: The lower bound of an array is a signed integer value.
Introduce mono_array_lower_bound_t typedef. It should be used instead of
gint32 as under MONO_BIG_ARRAYS it will be a gint64.
* icall.c: Cast MonoArrayBounds::length to a signed value so correctly
calculate the upper bound.
Fixes #471252.
svn path=/trunk/mono/; revision=125458
Rodrigo Kumpera [Tue, 3 Feb 2009 02:49:28 +0000 (02:49 -0000)]
2008-02-03 Rodrigo Kumpera <rkumpera@novell.com>
* MonoMethod.cs: Fix the 1.1 build.
2008-02-03 Rodrigo Kumpera <rkumpera@novell.com>
* MethodInfoTest.cs: Fix the 1.1 build.
svn path=/trunk/mcs/; revision=125456
Miguel de Icaza [Tue, 3 Feb 2009 00:17:44 +0000 (00:17 -0000)]
2009-02-02 Miguel de Icaza <miguel@novell.com>
From Paolo's work, refactored, cleared up:
* threadpool.c, icall.c: ifdef code that requires a working socket
stack.
* metadata.c (mono_metadata_field_info): Do not attempt to return
a value from a function declared as void.
* console-io.c: Use MONO_NULL_TTYDRIVER to remove the tty driver
from the console stack.
* assembly.c: use strrchr instead of rindex.
* class.c, object.c, marshal.c, icall.c, reflection.c: include
alloca.h on systems that have it.
* environment.c: Avoid code that uses stuff from
HAVE_SYS_UTSNAME_H
* appdomain.c: Include sys/time.h.
* console-io.c: include sys/ioctl.h if it is available.
svn path=/trunk/mono/; revision=125449
Mark Probst [Mon, 2 Feb 2009 23:32:58 +0000 (23:32 -0000)]
2009-02-02 Mark Probst <mark.probst@gmail.com>
Contributed under the terms of the MIT/X11 license by Steven
Munroe <munroesj@us.ibm.com>.
* ppc/ppc-codegen.h: Make operand order and case consistent
(assembler order) for ppc_load_reg_update, ppc_load_multiple_regs,
ppc_store_multiple_regs, ppc_lwz, ppc_lhz, ppc_lbz,
ppc_stw,ppc_sth, ppc_stb, ppc_stwu, ppc_lbzu, ppc_lfdu, ppc_lfsu,
ppc_lfsux, ppc_lfsx, ppc_lha, ppc_lhau, ppc_lhzu, ppc_lmw,
ppc_lwzu, ppc_stbu, ppc_stfdu, ppc_stfsu, ppc_sthu, ppc_stmw. Use
"i" or "ui" instead of "d" for immediated operands to immediate
arthimetic and logical instructions in macros ppc_addi, ppc_addis,
ppc_ori, ppc_addic, ppc_addicd, ppc_andid, ppc_andisd.
[__mono_ppc64__]: Make operand order and case consistent
(assembler order) for ppc_load_multiple_regs,
ppc_store_multiple_regs. Simplify the DS form and make them
consistent with D forms for ppc_load_reg, ppc_load_reg_update,
ppc_store_reg, ppc_store_reg_update. ppc_ld, ppc_lwa, ppc_ldu,
ppc_std, ppc_stdu. Define ppc_lwax and ppc_lwaux.
2009-02-02 Mark Probst <mark.probst@gmail.com>
Contributed under the terms of the MIT/X11 license by Steven
Munroe <munroesj@us.ibm.com>.
* exceptions-ppc.c (restore_regs_from_context): Correct operand
order (offset then base reg) for ppc_load_multiple_regs.
(emit_save_saved_regs) Correct operand order for
ppc_store_multiple_regs.
(mono_arch_get_call_filter): Correct operand order for
ppc_load_multiple_regs.
* mini-ppc.c (emit_memcpy): Fix operand order for
ppc_load_reg_update and ppc_store_reg_update.
(mono_arch_output_basic_block): Correct operand order for ppc_lha.
(mono_arch_emit_epilog): Correct operand order for
ppc_load_multiple_regs.
* tramp-ppc.c (mono_arch_create_trampoline_code): Correct operand
order for ppc_store_multiple_regs and ppc_load_multiple_regs.
svn path=/trunk/mono/; revision=125443
Ivan Zlatev [Mon, 2 Feb 2009 23:31:14 +0000 (23:31 -0000)]
2009-02-02 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: When editing is finished do not remove the editing
row, because it has already become a real one. Instead add a new one.
[Fixes bug #471754]
svn path=/trunk/mcs/; revision=125440
Zoltan Varga [Mon, 2 Feb 2009 23:11:28 +0000 (23:11 -0000)]
2009-02-03 Zoltan Varga <vargaz@gmail.com>
* method-builder.h (_MonoMethodBuilder): Add a 'skip_visibility' flag.
* method-builder.c (mono_mb_create_method): Set method->skip_visibility from
the method builder.
* marshal.c: Set mb->skip_visibility instead of setting it on the method
after it was created and cached, as the later is not thread safe.
svn path=/trunk/mono/; revision=125436
Zoltan Varga [Mon, 2 Feb 2009 23:07:13 +0000 (23:07 -0000)]
2009-02-03 Zoltan Varga <vargaz@gmail.com>
* method-builder.h (_MonoMethodBuilder): Add a 'skip_visibility' flag.
* method-builder.c (mono_mb_create_method): Set method->skip_visibility from
the method builder.
* marshal.c: Set mb->skip_visibility instead of setting it on the method
after it was created and cached, as the later is not thread safe.
svn path=/trunk/mono/; revision=125435
Mark Probst [Mon, 2 Feb 2009 22:44:13 +0000 (22:44 -0000)]
2009-02-02 Mark Probst <mark.probst@gmail.com>
* cpu-ppc64.md: Fixed storer4_memindex length.
svn path=/trunk/mono/; revision=125430
Rodrigo Kumpera [Mon, 2 Feb 2009 21:56:39 +0000 (21:56 -0000)]
2008-02-02 Rodrigo Kumpera <rkumpera@novell.com>
* MethodInfoTest.cs: Test for non primitive structs.
svn path=/trunk/mcs/; revision=125416
Rodrigo Kumpera [Mon, 2 Feb 2009 21:56:37 +0000 (21:56 -0000)]
2008-02-02 Rodrigo Kumpera <rkumpera@novell.com>
* MonoMethod.cs (ToString): Fix the representation of non primitive structs.
svn path=/trunk/mcs/; revision=125415
Zoltan Varga [Mon, 2 Feb 2009 21:30:26 +0000 (21:30 -0000)]
2009-02-02 Zoltan Varga <vargaz@gmail.com>
* mono-debug.c (mono_debug_print_stack_frame): Avoid crashes when this is
called while the debugging module is not initialized. Fixes #471669.
svn path=/trunk/mono/; revision=125413
Rodrigo Kumpera [Mon, 2 Feb 2009 21:02:39 +0000 (21:02 -0000)]
2008-02-02 Rodrigo Kumpera <rkumpera@novell.com>
* MethodInfoTest.cs: Test for #409583.
svn path=/trunk/mcs/; revision=125410
Rodrigo Kumpera [Mon, 2 Feb 2009 21:02:36 +0000 (21:02 -0000)]
2008-02-02 Rodrigo Kumpera <rkumpera@novell.com>
* MonoMethod.cs (ToString): Fix representation of pointer types.
Fixes #409583.
svn path=/trunk/mcs/; revision=125409
Rodrigo Kumpera [Mon, 2 Feb 2009 20:29:16 +0000 (20:29 -0000)]
2009-02-02 Rodrigo Kumpera <rkumpera@novell.com>
* TypeTest.cs: Add a test for #471255.
svn path=/trunk/mcs/; revision=125403
Rodrigo Kumpera [Mon, 2 Feb 2009 20:25:42 +0000 (20:25 -0000)]
2009-02-02 Rodrigo Kumpera <rkumpera@novell.com>
* icall.c (type_from_name): Ignore reflection frames to find out the real caller.
Fixes #471255.
svn path=/trunk/mono/; revision=125402
Mark Probst [Mon, 2 Feb 2009 18:26:21 +0000 (18:26 -0000)]
2009-02-02 Mark Probst <mark.probst@gmail.com>
* generic-sharing.c (lookup_or_register_other_info): Make sure the
loader lock is not taken while the templates lock is held. Fixes
#471089.
svn path=/trunk/mono/; revision=125388
Zoltan Varga [Mon, 2 Feb 2009 17:40:17 +0000 (17:40 -0000)]
2009-02-02 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_line_number_info): Optimize the size of the emitted
line number info.
svn path=/trunk/mono/; revision=125385
Rodrigo Kumpera [Mon, 2 Feb 2009 17:24:29 +0000 (17:24 -0000)]
2009-02-02 Rodrigo Kumpera <rkumpera@novell.com>
* configure.in: Add --with-mcs-docs to make it possible to disable building of documentation under mcs.
svn path=/trunk/mono/; revision=125382
Rodrigo Kumpera [Mon, 2 Feb 2009 17:19:47 +0000 (17:19 -0000)]
2009-02-02 Rodrigo Kumpera <rkumpera@novell.com>
* docs/Makefile: Don't build build-documentation if DISABLE_MCS_DOCS
is defined.
svn path=/trunk/mcs/; revision=125381
Rodrigo Kumpera [Mon, 2 Feb 2009 17:19:46 +0000 (17:19 -0000)]
2009-01-31 Rodrigo Kumpera <rkumpera@novell.com>
* docs/Makefile: use -f with rm on the clean target so
rm doesn't complain about missing files.
svn path=/trunk/mcs/; revision=125380
Carlos Alberto Cortez [Mon, 2 Feb 2009 17:13:44 +0000 (17:13 -0000)]
2009-02-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TreeView.cs: When drawing the node's image, check that the index
specified by the node is valid for the ImageList.
Fixes #471094.
svn path=/trunk/mcs/; revision=125379
Zoltan Varga [Mon, 2 Feb 2009 16:59:18 +0000 (16:59 -0000)]
2009-02-02 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_line_number_info): Optimize this.
svn path=/trunk/mono/; revision=125375
Mark Probst [Mon, 2 Feb 2009 16:42:37 +0000 (16:42 -0000)]
2009-02-02 Mark Probst <mark.probst@gmail.com>
* metadata.c (type_in_image): Added a check to fix a monodis
crash.
svn path=/trunk/mono/; revision=125371
Jb Evain [Mon, 2 Feb 2009 16:17:32 +0000 (16:17 -0000)]
2009-02-02 Jb Evain <jbevain@novell.com>
* Mono.Cecil.Mdb/MdbWriter.cs: add a GetDebugHeader method
that will be used by the image writer.
svn path=/trunk/mcs/; revision=125364
Andrés G. Aragoneses [Mon, 2 Feb 2009 15:28:01 +0000 (15:28 -0000)]
2009-02-02 Andrés G. Aragoneses <aaragoneses@novell.com>
* ToolBar.cs: Add new UIAPerformClick method to be called by
UIAutomationWinforms when someone calls Invoke() on the
ToolBarButtonProvider. r: jpobst
svn path=/trunk/mcs/; revision=125354
Zoltan Varga [Mon, 2 Feb 2009 15:04:25 +0000 (15:04 -0000)]
2009-02-02 Zoltan Varga <vargaz@gmail.com>
* generics-invoke-byref.2.cs: Add a test for #471259.
svn path=/trunk/mono/; revision=125352
Zoltan Varga [Mon, 2 Feb 2009 15:01:55 +0000 (15:01 -0000)]
2009-02-02 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_runtime_invoke): Add support for byref
nullable arguments.
* object.c (mono_runtime_invoke_array): Ditto.
svn path=/trunk/mono/; revision=125351
Zoltan Varga [Mon, 2 Feb 2009 14:28:41 +0000 (14:28 -0000)]
2009-02-02 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_free_dynamic_wrappers): New function for
freeing wrappers of dynamic methods.
* loader.c (mono_free_method): Call it. Fixes #463323.
svn path=/trunk/mono/; revision=125349
Zoltan Varga [Mon, 2 Feb 2009 14:11:35 +0000 (14:11 -0000)]
2009-02-02 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_runtime_invoke): Disable sharing for
methods taking vtype/byref arguments, to fix yet another bug caused by
the sharing of runtime invoke wrappers. Partly fixes #471259.
svn path=/trunk/mono/; revision=125348
Atsushi Eno [Mon, 2 Feb 2009 12:38:03 +0000 (12:38 -0000)]
2009-02-02 Atsushi Enomoto <atsushi@ximian.com>
* JsonReader.cs : show invalid input character in the error
message.
svn path=/trunk/mcs/; revision=125341
Atsushi Eno [Mon, 2 Feb 2009 11:35:56 +0000 (11:35 -0000)]
2009-02-02 Atsushi Enomoto <atsushi@ximian.com>
* TypeMap.cs : in 2.1 do not use non-2.1 CreateInstance().
svn path=/trunk/mcs/; revision=125338
Marek Safar [Mon, 2 Feb 2009 11:33:39 +0000 (11:33 -0000)]
New test.
svn path=/trunk/mcs/; revision=125337
Marek Safar [Mon, 2 Feb 2009 11:33:28 +0000 (11:33 -0000)]
New test.
svn path=/trunk/mcs/; revision=125336
Marek Safar [Mon, 2 Feb 2009 11:32:43 +0000 (11:32 -0000)]
2009-02-02 Marek Safar <marek.safar@gmail.com>
A fix for bug #471213
* class.cs: Avoid emitting backing field for abstract event fields.
svn path=/trunk/mcs/; revision=125334
Veerapuram Varadhan [Mon, 2 Feb 2009 11:05:18 +0000 (11:05 -0000)]
TDS 8 changes
svn path=/trunk/mcs/; revision=125333
Atsushi Eno [Mon, 2 Feb 2009 10:50:33 +0000 (10:50 -0000)]
2009-02-02 Atsushi Enomoto <atsushi@ximian.com>
* TypeMap.cs : allow get-only collections. Note that they are not
always deserializable (in .NET either).
* DataContractJsonSerializerTest.cs : fixed some tests to match
.NET RTM behavior. Added read-only collection case, (but [Ignore]d).
svn path=/trunk/mcs/; revision=125332
Atsushi Eno [Mon, 2 Feb 2009 09:38:03 +0000 (09:38 -0000)]
2009-02-02 Atsushi Enomoto <atsushi@ximian.com>
* TypeMap.cs : DataContractJsonSerializer in RTM does not seem to
reject contract-less types. So populate map for public members.
* DataContractJsonSerializer.cs : close XmlWriter to flush stream
(and it closes the stream by default).
* DataContractJsonSerializerTest.cs : added test for contract-less
serialization.
* Makefile : add -d:NET_3_5.
svn path=/trunk/mcs/; revision=125328
Carlos Alberto Cortez [Mon, 2 Feb 2009 09:30:48 +0000 (09:30 -0000)]
2009-02-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* FormEventTest.cs: New test for VisibleChanged event (and children
controls as well).
svn path=/trunk/mcs/; revision=125326
Carlos Alberto Cortez [Mon, 2 Feb 2009 09:28:08 +0000 (09:28 -0000)]
2009-02-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* XplatUIX11.cs: Don't send a WM_SHOWWINDOW message when receiving
MapNotify/UnmapNotify events - we are already firing those events in
the proper places, so we avoid this way to send the same message two
times. I'm leaving the handling code in case we could break something
in the future, as this change seems dangerous (but needed).
Fixes #467546.
svn path=/trunk/mcs/; revision=125325
Veerapuram Varadhan [Mon, 2 Feb 2009 09:26:36 +0000 (09:26 -0000)]
TDS 8 Changes
svn path=/trunk/mcs/; revision=125324
Veerapuram Varadhan [Mon, 2 Feb 2009 09:24:39 +0000 (09:24 -0000)]
TDS 8 changes
svn path=/trunk/mcs/; revision=125323
Veerapuram Varadhan [Mon, 2 Feb 2009 09:23:17 +0000 (09:23 -0000)]
TDS 8 changes
svn path=/trunk/mcs/; revision=125322
Veerapuram Varadhan [Mon, 2 Feb 2009 09:13:24 +0000 (09:13 -0000)]
TDS 8 changes
svn path=/trunk/mcs/; revision=125321
Veerapuram Varadhan [Mon, 2 Feb 2009 09:10:15 +0000 (09:10 -0000)]
TDS 8 changes
svn path=/trunk/mcs/; revision=125320
Raja R Harinath [Mon, 2 Feb 2009 06:41:28 +0000 (06:41 -0000)]
Fix #463999
* CommittableTransaction.cs (CommitCallback): Handle the case
where the callback is invoked before BeginCommit ends due to the
async call ending synchronously.
svn path=/trunk/mcs/; revision=125314
Andreia Gaita [Mon, 2 Feb 2009 02:52:45 +0000 (02:52 -0000)]
2009-02-02 Andreia Gaita <avidigal@novell.com>
* JsonSerializationReader.cs : Use 2.1 "approved" calls for Enum.Parse
and Convert.ChangeType
svn path=/trunk/mcs/; revision=125298
Ankit Jain [Mon, 2 Feb 2009 00:01:53 +0000 (00:01 -0000)]
* Microsoft.CSharp.targets: Add targets to generate resource ids.
* Microsoft.Common.targets: Add targets for generating resources,
generate and deploy satellite assemblies, resolve project and assembly
references. All intermediate build output goes into a 'obj/' dir by
default. 'Clean' target enabled.
svn path=/trunk/mcs/; revision=125293
Ankit Jain [Mon, 2 Feb 2009 00:01:47 +0000 (00:01 -0000)]
* MSBuild.cs (Execute): Disable incorrect 'rebaseOutputs' behavior.
svn path=/trunk/mcs/; revision=125292
Ankit Jain [Mon, 2 Feb 2009 00:01:25 +0000 (00:01 -0000)]
* ResolveAssemblyReference.cs: Honor SearchPaths and the special
items like '{HintPathFromItem}', '{TargetFrameworkDirectory}' etc.
* AssemblyResolver.cs: Add api for more specific search, like search
in a directory, target frameworks, gac etc.
svn path=/trunk/mcs/; revision=125291
Ivan Zlatev [Sun, 1 Feb 2009 19:58:57 +0000 (19:58 -0000)]
2009-02-01 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Complete incomplete rows when they are added to
the grid.
[Fixes bug #471068]
svn path=/trunk/mcs/; revision=125277
Zoltan Varga [Sun, 1 Feb 2009 19:46:51 +0000 (19:46 -0000)]
2009-02-01 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Disassemble tokens in the IL disassembly.
svn path=/trunk/mono/; revision=125276
Zoltan Varga [Sun, 1 Feb 2009 19:13:54 +0000 (19:13 -0000)]
2009-02-01 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Add debug info for methods without debug info by
emitting an IL file and having the line number info referencing that file.
svn path=/trunk/mono/; revision=125273
Ivan Zlatev [Sun, 1 Feb 2009 18:32:16 +0000 (18:32 -0000)]
2009-02-01 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs, DataGridViewColumnCollection.cs: Ensure that the
binding is cleared prior to setting it to null. Fixes a regression
causing exceptions when the DataSource is set to null and then set
again to a data source.
svn path=/trunk/mcs/; revision=125271
Marek Safar [Sun, 1 Feb 2009 18:23:32 +0000 (18:23 -0000)]
New test.
svn path=/trunk/mcs/; revision=125269
Marek Safar [Sun, 1 Feb 2009 18:23:13 +0000 (18:23 -0000)]
2009-02-01 Marek Safar <marek.safar@gmail.com>
A fix for bug #359731
* cs-tokenizer.cs, cs-parser.jay: Correctly parse nested query
expressions.
svn path=/trunk/mcs/; revision=125268
Zoltan Varga [Sun, 1 Feb 2009 17:06:55 +0000 (17:06 -0000)]
2009-02-01 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Optimize the size of the generated line number info.
svn path=/trunk/mono/; revision=125264
Zoltan Varga [Sun, 1 Feb 2009 16:32:20 +0000 (16:32 -0000)]
2009-02-01 Zoltan Varga <vargaz@gmail.com>
* debug-mono-symfile.c (check_line): Return NULL instead of returning
<first file in file table>:1 when the IL offset does not have an associated
line number.
svn path=/trunk/mono/; revision=125261
Ivan Zlatev [Sun, 1 Feb 2009 16:30:17 +0000 (16:30 -0000)]
2009-02-01 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs, DataGridViewImageColumn.cs, DataGridViewCell.cs:
- Make Image/Bitmap cells work.
- Handle images with size greater than the cell.
- Default to MiddleCenter alignment for image cells.
[Fixes bug #471101]
svn path=/trunk/mcs/; revision=125258
Zoltan Varga [Sun, 1 Feb 2009 14:05:35 +0000 (14:05 -0000)]
2009-02-01 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Emit line number info in xdebug mode.
svn path=/trunk/mono/; revision=125255
Zoltan Varga [Sun, 1 Feb 2009 01:47:31 +0000 (01:47 -0000)]
2009-02-01 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (mono_save_xdebug_info): Receive a MonoCompile instead of a
million arguments.
svn path=/trunk/mono/; revision=125235
Ankit Jain [Sun, 1 Feb 2009 00:30:54 +0000 (00:30 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* BuildEngine.cs (BuildProjectFile): Use
BuildSettings.DoNotResetPreviouslyBuiltTargets for building projects.
* Engine.cs (BuiltTargetsOutputByName): New. Table of targets already
built. Move logging of project start/finish to ..
* Project.cs: .. here. Build a target only if hasn't been built already.
Keep track of target outputs, and return those even if an already built
target has been invoked again.
Honor BuildSettings.None and DoNotResetPreviouslyBuiltTargets .
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
* ProjectTest.cs (TestBuild[23]): Check number of task started/finished
events.
(TestResetBuildStat): Remove "NotWorking".
(TestBuild4): Likewise. Check number of task started/finished events.
* TargetTest.cs (TestTargetOutputs1): New.
svn path=/trunk/mcs/; revision=125234
Ankit Jain [Sun, 1 Feb 2009 00:30:48 +0000 (00:30 -0000)]
* CallTarget.cs: Copy all items from target to TargetOutputs.
svn path=/trunk/mcs/; revision=125233
Ankit Jain [Sun, 1 Feb 2009 00:30:40 +0000 (00:30 -0000)]
* Csc.cs (AddResponseFileCommands):
* ManagedCompiler.cs (AddResponseFileCommands): 'AddModules' and
'AdditionalLibPaths' can be empty.
svn path=/trunk/mcs/; revision=125232
Zoltan Varga [Sat, 31 Jan 2009 22:54:11 +0000 (22:54 -0000)]
2009-01-31 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_method_dwarf_info): Emit names for local variables.
* driver.c (mono_main): Enable debugging support automatically if XDEBUG
is used.
svn path=/trunk/mono/; revision=125231
Zoltan Varga [Sat, 31 Jan 2009 22:52:39 +0000 (22:52 -0000)]
2009-01-31 Zoltan Varga <vargaz@gmail.com>
* mono-debug.c (mono_debug_lookup_locals): New function to return local
variable info for a method.
* debug-mono-symfile.c (mono_debug_symfile_lookup_locals): Ditto.
svn path=/trunk/mono/; revision=125230
Miguel de Icaza [Sat, 31 Jan 2009 15:55:46 +0000 (15:55 -0000)]
Add OpenBSD support
svn path=/trunk/mono/; revision=125218
Miguel de Icaza [Sat, 31 Jan 2009 15:52:00 +0000 (15:52 -0000)]
Build fixes for OpenBSD
svn path=/trunk/mono/; revision=125217
Miguel de Icaza [Sat, 31 Jan 2009 15:29:33 +0000 (15:29 -0000)]
Add support for OpenBSD
svn path=/trunk/mono/; revision=125216
Rodrigo Kumpera [Sat, 31 Jan 2009 03:51:45 +0000 (03:51 -0000)]
2009-01-31 Rodrigo Kumpera <rkumpera@novell.com>
* basic-calls.cs: Test for the weird crash found on arm.
svn path=/trunk/mono/; revision=125206
Rodrigo Kumpera [Sat, 31 Jan 2009 03:51:38 +0000 (03:51 -0000)]
2009-01-31 Rodrigo Kumpera <rkumpera@novell.com>
* cpu-arm.md: Increase the size of storer8_membase_reg and
loadr8_membase_reg to 24 bytes to accomodate the extra add.
* mini-arm.c (mono_arch_output_basic_block): Under FPA, when emitting
OP_STORER8_MEMBASE_REG and OP_LOADR8_MEMBASE_REG, add the original
reg to LR otherwise we'll be loading/storing from just the offset.
svn path=/trunk/mono/; revision=125205
Miguel de Icaza [Sat, 31 Jan 2009 00:32:23 +0000 (00:32 -0000)]
Indent all continuation lines
svn path=/trunk/mono/; revision=125186
Miguel de Icaza [Fri, 30 Jan 2009 23:35:10 +0000 (23:35 -0000)]
2009-01-30 Miguel de Icaza <miguel@novell.com>
Question: if we are storing gint32's inside the "*native_offset",
should we change the signature to "gint32 *native_offset" to
ensure that we do not have type definition problems?
* mini-exceptions.c (ves_icall_get_frame_info): Cast the gint32 to
an int * as this is what the other function expects, causes
problems with Freescale's compiler that defined int32_t to be a
long and makes int incompatible
svn path=/trunk/mono/; revision=125175
Miguel de Icaza [Fri, 30 Jan 2009 23:34:15 +0000 (23:34 -0000)]
2009-01-30 Miguel de Icaza <miguel@novell.com>
* Rename generic-sharing.c to mini-generic-sharing.c to avoid the
filename conflict with bjam.
svn path=/trunk/mono/; revision=125174
Jb Evain [Fri, 30 Jan 2009 23:08:18 +0000 (23:08 -0000)]
update backlinq tests
svn path=/trunk/mcs/; revision=125173
Rodrigo Kumpera [Fri, 30 Jan 2009 23:04:33 +0000 (23:04 -0000)]
2009-01-30 Rodrigo Kumpera <rkumpera@novell.com>
* cpu-arm.md: Increase the size of storer8_membase_reg to 20 bytes
as it might use decomposed ops.
svn path=/trunk/mono/; revision=125172
Andreia Gaita [Fri, 30 Jan 2009 22:52:29 +0000 (22:52 -0000)]
2009-01-30 Andreia Gaita <avidigal@novell.com>
* SynchronizationContext.cs: Remove moonlight hacks, dispatcher should
be able to handle this now.
svn path=/trunk/mcs/; revision=125170
Zoltan Varga [Fri, 30 Jan 2009 21:58:28 +0000 (21:58 -0000)]
2009-01-30 Zoltan Varga <vargaz@gmail.com>
* jit-icalls.c (mono_imul_ovf): Fix one of the literals.
* mini.c (mini_init): Emulate mul.ovf opcodes if MONO_ARCH_EMULATE_MUL_OVF
is defined.
* mini-arm.h (MONO_ARCH_EMULATE_MUL_OVF): New define.
svn path=/trunk/mono/; revision=125166
Ankit Jain [Fri, 30 Jan 2009 21:28:13 +0000 (21:28 -0000)]
In class/Microsoft.Build.Engine:
* Microsoft.Build.Engine_test.dll.sources: Replace BatchingImpl.cs with
BatchingImplBase.cs, TargetBatchingImpl.cs and TaskBatchingImpl.cs
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* BatchingImpl.cs: Split into ..
* BatchingImplBase.cs: .. this,
* TaskBatchingImpl.cs: .. this ..
* TargetBatchingImpl.cs: .. and this. Implement target batching here.
* Target.cs (DoBuild): Use TargetBatchingImpl for building.
(Log*): Move to TargetBatchingImpl .
(BuildTasks): New.
(Engine): New.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* TaskBatchingTest.cs (*): Add tests for target/task events.
(TestTargetBatching*): New tests for target batching.
* TestMessageLogger.cs: Add counts for target/task started/finished
events.
(NormalMessageCount): New.
svn path=/trunk/mcs/; revision=125159
Zoltan Varga [Fri, 30 Jan 2009 21:21:44 +0000 (21:21 -0000)]
2009-01-30 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c (mono_arch_build_imt_thunk): Rewrite this to allow large vtable
offsets.
svn path=/trunk/mono/; revision=125155
Jb Evain [Fri, 30 Jan 2009 18:18:20 +0000 (18:18 -0000)]
2009-01-30 Jb Evain <jbevain@novell.com>
* pedump.c: reuse code from monodis to make sure pedump honors
MONO_PATH, which is needed to verify net_2_1 assemblies.
svn path=/trunk/mono/; revision=125124
Zoltan Varga [Fri, 30 Jan 2009 17:35:19 +0000 (17:35 -0000)]
2009-01-30 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c (mono_arch_context_get_int_reg): Adapt this to the "clever"
way registers are stored in MonoContext on arm.
svn path=/trunk/mono/; revision=125118
Marek Habersack [Fri, 30 Jan 2009 16:52:34 +0000 (16:52 -0000)]
2009-01-30 Marek Habersack <mhabersack@novell.com>
* Control.cs: don't save the control's state if it's
disabled. Fixes bug #470993
svn path=/trunk/mcs/; revision=125111
Ivan Zlatev [Fri, 30 Jan 2009 16:10:23 +0000 (16:10 -0000)]
2009-01-30 Ivan N. Zlatev <contact@i-nz.net>
* UpDownBase.cs: Force Height to PreferredHeight.
* NumericUpDownTest.cs: Add a test to check Height == PreferredHeight.
svn path=/trunk/mcs/; revision=125102
Zoltan Varga [Fri, 30 Jan 2009 15:40:46 +0000 (15:40 -0000)]
2009-01-30 Zoltan Varga <vargaz@gmail.com>
* unwind.c: Rewrite the handling of the cached_info array to use hazard pointers
instead of locking so mono_get_cached_unwind_info () becomes signal safe.
svn path=/trunk/mono/; revision=125100
Marek Safar [Fri, 30 Jan 2009 14:54:22 +0000 (14:54 -0000)]
New test.
svn path=/trunk/mcs/; revision=125098
Marek Safar [Fri, 30 Jan 2009 14:41:37 +0000 (14:41 -0000)]
2009-01-30 Marek Safar <marek.safar@gmail.com>
A fix for bug #470767
* statement.cs: Introduced BlockScopeExpression, needed when
expression tree conversion has to emit scope variables.
svn path=/trunk/mcs/; revision=125094
Zoltan Varga [Fri, 30 Jan 2009 13:45:39 +0000 (13:45 -0000)]
2009-01-30 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_init): Emuate OP_FCONV_TO_I when using soft float.
* mini-arm.c (emit_load_volatile_arguments): Avoid an unneccesary assert.
svn path=/trunk/mono/; revision=125088
Zoltan Varga [Fri, 30 Jan 2009 13:32:51 +0000 (13:32 -0000)]
2009-01-30 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_init): Register mono_isfinite.
* jit-icalls.c (mono_isfinite): New jit icall.
* method-to-ir.c (mono_decompose_soft_float): Add support for OP_CKFINITE.
svn path=/trunk/mono/; revision=125086
Zoltan Varga [Fri, 30 Jan 2009 13:01:02 +0000 (13:01 -0000)]
2009-01-30 Zoltan Varga <vargaz@gmail.com>
* exceptions-arm.c (mono_arch_find_jit_info): When unwinding using the LMF,
set esp to ARMREG_FP instead of R12, since R12 stores the value of sp for
the parent frame.
svn path=/trunk/mono/; revision=125081
Rodrigo Kumpera [Fri, 30 Jan 2009 12:48:29 +0000 (12:48 -0000)]
2009-01-30 Rodrigo Kumpera <rkumpera@novell.com>
* exceptions-arm.c (mono_arch_find_jit_info): The frame layout on arm have
separate frame and stack pointers, so we must use FP to find the register
spill area.
The FP reg is retrieved from the MonoContext::regs array.
svn path=/trunk/mono/; revision=125079
Rodrigo Kumpera [Fri, 30 Jan 2009 12:48:22 +0000 (12:48 -0000)]
2009-01-30 Rodrigo Kumpera <rkumpera@novell.com>
* mini-arm.c (mono_arch_output_basic_block): Emit two cond ops for OP_FBGE
as FPA requires it.
svn path=/trunk/mono/; revision=125078