Marek Safar [Fri, 7 Mar 2008 11:29:01 +0000 (11:29 -0000)]
New test + update.
svn path=/trunk/mcs/; revision=97678
Marek Safar [Fri, 7 Mar 2008 11:28:36 +0000 (11:28 -0000)]
2008-03-07 Marek Safar <marek.safar@gmail.com>
* generic.cs, typemanager.cs, parameter.cs, rootcontext.cs, ecore.cs,
class.cs, delegate.cs, iterators.cs, const.cs, constant.cs, driver.cs,
expression.cs, attribute.cs, codegen.cs, statement.cs: TypeManager optional
predefined types clean up, delayed predefined types members initialization
(work related to #364674).
svn path=/trunk/mcs/; revision=97677
Zoltan Varga [Fri, 7 Mar 2008 10:07:25 +0000 (10:07 -0000)]
2008-03-07 Zoltan Varga <vargaz@gmail.com>
* mini.c jit-icalls.h jit-icalls.c: Generalize the exception creation
optimization to ctors taking 0 or 2 arguments too.
svn path=/trunk/mono/; revision=97663
Zoltan Varga [Fri, 7 Mar 2008 09:34:35 +0000 (09:34 -0000)]
2008-03-07 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_method_to_ir): Optimalize the size of the exception throwing code
a bit.
* jit-icalls.h (mono_create_corlib_exception): New JIT icall.
svn path=/trunk/mono/; revision=97662
Zoltan Varga [Fri, 7 Mar 2008 09:32:56 +0000 (09:32 -0000)]
2008-03-07 Zoltan Varga <vargaz@gmail.com>
* exception.h exception.c (mono_exception_from_token_two_strings): New helper
function.
svn path=/trunk/mono/; revision=97661
Zoltan Varga [Fri, 7 Mar 2008 09:07:08 +0000 (09:07 -0000)]
2008-03-07 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_emit_prolog): Improve the first_bb optimization a bit.
svn path=/trunk/mono/; revision=97660
Carlos Alberto Cortez [Fri, 7 Mar 2008 06:11:20 +0000 (06:11 -0000)]
2008-03-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBoxTest.cs: New tests for 2.0 selection methods
in the different selection modes. Also, in GetSelectedTest (),
be sure that we set the right selection mode (test cleaness).
svn path=/trunk/mcs/; revision=97659
Carlos Alberto Cortez [Fri, 7 Mar 2008 06:10:53 +0000 (06:10 -0000)]
2008-03-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBox.cs: Rewrote/refactored most of selection code. We require
the following things in selection: a) keep selection sorted (both
indices and items), b) SelectedIndices automatically detect the
selection mode, c) SelectedIndex should be the first selected item
index, d) Need to Focus/adjust scroll bar when selecting a new item,
not only for SelectedIndex, which is specially important in Multi*
selection modes. To achieve this we are moving the selection core to
SelectedIndexCollection and make depend all selection modifications on
it.
Fixes #366438.
svn path=/trunk/mcs/; revision=97658
Zoltan Varga [Thu, 6 Mar 2008 21:25:18 +0000 (21:25 -0000)]
2008-03-06 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_method_to_ir): Apply one of the ldstr optimizations in the
non-aot case as well.
* cpu-amd64.md: Reduce the max size of some frequently used opcodes.
svn path=/trunk/mono/; revision=97633
Jonathan Pobst [Thu, 6 Mar 2008 21:19:32 +0000 (21:19 -0000)]
2008-03-06 Jonathan Pobst <monkey@jpobst.com>
* ToolStrip.cs: Enable implicit mnemonics for drop down
menu strips. [Fixes part of bug #367692]
svn path=/trunk/mcs/; revision=97631
Jb Evain [Thu, 6 Mar 2008 20:15:51 +0000 (20:15 -0000)]
constify
svn path=/trunk/mcs/; revision=97624
Ivan Zlatev [Thu, 6 Mar 2008 19:50:51 +0000 (19:50 -0000)]
2008-03-06 Ivan N. Zlatev <contact@i-nz.net>
* CodeDomSerializerBase.cs: Fix deserialization of
CodeFieldReference to handle static fields. This fixes enum
references.
svn path=/trunk/mcs/; revision=97622
Ivan Zlatev [Thu, 6 Mar 2008 19:45:36 +0000 (19:45 -0000)]
2008-03-06 Ivan N. Zlatev <contact@i-nz.net>
* ImageFormatConverter.cs:
- String comparison should use the InvariantCulture.
- ConvertTo string should return the name for known image formats.
[Fixes bug #366570]
svn path=/trunk/mcs/; revision=97619
Jonathan Pobst [Thu, 6 Mar 2008 19:38:10 +0000 (19:38 -0000)]
2008-03-06 Jonathan Pobst <monkey@jpobst.com>
corcompare - fix parameter names [stragglers].
Binding.cs, BindingsCollection.cs, GridColumnStylesCollection.cs,
HelpEventHandler.cs, Label.cs, ListView.cs, Message.cs,
TabControl.cs.
svn path=/trunk/mcs/; revision=97617
Ivan Zlatev [Thu, 6 Mar 2008 19:20:09 +0000 (19:20 -0000)]
2008-03-06 Ivan N. Zlatev <contact@i-nz.net>
* Container.cs: On disposal unsite the component first before
disposing in order to prevent it from asking us to remove it
through the Site property.
[Fixes bugs #367653 and #367583]
svn path=/trunk/mcs/; revision=97611
Zoltan Varga [Thu, 6 Mar 2008 19:16:03 +0000 (19:16 -0000)]
2008-03-06 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (decode_patch_info): Update this after the ldfld/stfld wrapper
changes.
* aot-compiler.c (encode_patch): Ditto.
svn path=/trunk/mono/; revision=97610
Zoltan Varga [Thu, 6 Mar 2008 18:47:18 +0000 (18:47 -0000)]
2008-03-06 Zoltan Varga <vargaz@gmail.com>
* assembly.c (build_assembly_name): Fix a warning.
svn path=/trunk/mono/; revision=97609
Paolo Molaro [Thu, 6 Mar 2008 18:16:57 +0000 (18:16 -0000)]
Update to test store as well.
svn path=/trunk/mono/; revision=97602
Paolo Molaro [Thu, 6 Mar 2008 18:09:14 +0000 (18:09 -0000)]
Thu Mar 6 19:43:41 CET 2008 Paolo Molaro <lupus@ximian.com>
* marshal.c: ldfld_remote and stfld_remote needs just one wrapper as
the called function takes an object type argument. Fixes storing or
valuetypes across remoting as well as reducing memory usage.
* image.c, metadata-internals.h: remove now unused ldfld_remote and
stfld_remote wrapper caches.
svn path=/trunk/mono/; revision=97601
Jonathan Pobst [Thu, 6 Mar 2008 17:33:09 +0000 (17:33 -0000)]
2008-03-06 Jonathan Pobst <monkey@jpobst.com>
Control.cs: Don't call ProcessMenuKey on WM_SYSKEYUP if there
was a mnemonic pressed as well as Alt. Also, if nothing handles a
mnemonic, let the ToolStripManager have it even if it doesn't
have a matching mnemonic.
[Fixes bug #367499]
svn path=/trunk/mcs/; revision=97598
Zoltan Varga [Thu, 6 Mar 2008 17:19:58 +0000 (17:19 -0000)]
2008-03-06 Zoltan Varga <vargaz@gmail.com>
* mini.h (G_MININT32): Fix the definition of this.
svn path=/trunk/mono/; revision=97596
Jonathan Pobst [Thu, 6 Mar 2008 16:52:38 +0000 (16:52 -0000)]
2008-03-06 Jonathan Pobst <monkey@jpobst.com>
corcompare - fix warning about implicit implementation
* ToolStrip.cs: Add IToolStripData interface.
* IToolStripData.cs: Add.
2008-03-06 Jonathan Pobst <monkey@jpobst.com>
* System.Windows.Forms.dll.sources: Added IToolStripData.cs.
svn path=/trunk/mcs/; revision=97595
Marek Safar [Thu, 6 Mar 2008 16:51:29 +0000 (16:51 -0000)]
New test.
svn path=/trunk/mcs/; revision=97594
Jonathan Pobst [Thu, 6 Mar 2008 16:45:29 +0000 (16:45 -0000)]
Forgot a file.
svn path=/trunk/mcs/; revision=97593
Jonathan Pobst [Thu, 6 Mar 2008 16:34:30 +0000 (16:34 -0000)]
2008-03-06 Jonathan Pobst <monkey@jpobst.com>
corcompare - fix warning about implicit implementation
* Control.cs, ToolStripPanelRow.cs: Add IBounds interface.
* IBounds.cs: Add.
2008-03-06 Jonathan Pobst <monkey@jpobst.com>
* System.Windows.Forms.dll.sources: Added IBounds.cs.
svn path=/trunk/mcs/; revision=97537
Zoltan Varga [Thu, 6 Mar 2008 16:18:31 +0000 (16:18 -0000)]
2008-03-06 Zoltan Varga <vargaz@gmail.com>
* Assembly.cs: Define GetManifestModule () for net 2.0 bootstrap as well.
svn path=/trunk/mcs/; revision=97535
Zoltan Varga [Thu, 6 Mar 2008 16:10:17 +0000 (16:10 -0000)]
Fix the previous change.
svn path=/trunk/mcs/; revision=97534
Zoltan Varga [Thu, 6 Mar 2008 16:02:52 +0000 (16:02 -0000)]
2008-03-06 Zoltan Varga <vargaz@gmail.com>
* AssemblyBuilder.cs: Define GetManifestModule () for net 2.0 bootstrap too.
svn path=/trunk/mcs/; revision=97533
Marek Safar [Thu, 6 Mar 2008 16:00:44 +0000 (16:00 -0000)]
2008-03-06 Marek Safar <marek.safar@gmail.com>
* MonoCustomAttrs (GetCustomAttributes): Type cannot be null with
typeof (MonoCustomAttrs) hack.
svn path=/trunk/mcs/; revision=97532
Zoltan Varga [Thu, 6 Mar 2008 15:31:00 +0000 (15:31 -0000)]
2008-03-06 Zoltan Varga <vargaz@gmail.com>
* DynamicMethod.cs: Create a dynamic assembly to hold the anon hosted methods.
svn path=/trunk/mcs/; revision=97530
Marek Safar [Thu, 6 Mar 2008 15:20:07 +0000 (15:20 -0000)]
2008-03-06 Marek Safar <marek.safar@gmail.com>
* MonoCustomAttrs (GetCustomAttributes): Type cannot be null.
svn path=/trunk/mcs/; revision=97528
Zoltan Varga [Thu, 6 Mar 2008 15:13:50 +0000 (15:13 -0000)]
2008-03-06 Zoltan Varga <vargaz@gmail.com>
* DynamicMethodTest.cs: Add a test for anon-hosted dynamic methods.
svn path=/trunk/mcs/; revision=97525
Zoltan Varga [Thu, 6 Mar 2008 15:13:17 +0000 (15:13 -0000)]
2008-03-06 Zoltan Varga <vargaz@gmail.com>
* DynamicMethod.cs: Add net 3.5 ctor overloads.
svn path=/trunk/mcs/; revision=97524
Jb Evain [Thu, 6 Mar 2008 14:58:29 +0000 (14:58 -0000)]
fix build
svn path=/trunk/mcs/; revision=97521
Zoltan Varga [Thu, 6 Mar 2008 14:32:36 +0000 (14:32 -0000)]
2008-03-06 Zoltan Varga <vargaz@gmail.com>
* ModuleBuilderTest.cs: Add a test for #367668.
svn path=/trunk/mcs/; revision=97520
Zoltan Varga [Thu, 6 Mar 2008 14:28:55 +0000 (14:28 -0000)]
2008-03-06 Zoltan Varga <vargaz@gmail.com>
* ModuleBuilder.cs (RegisterToken): New icall.
* MethodBuilder.cs (ctor): Call ModuleBuilder.RegisterToken (), so the token gets
added to the internal hash table. Fixes #367668.
* ConstructorBuilder.cs: Ditto.
svn path=/trunk/mcs/; revision=97519
Zoltan Varga [Thu, 6 Mar 2008 14:27:44 +0000 (14:27 -0000)]
2008-03-06 Zoltan Varga <vargaz@gmail.com>
* icall.c (mono_lookup_internal_call): Update the exception message when an icall
is not found.
* reflection.c (mono_image_register_token): New helper function to save
a token->object mapping.
* icall.c (ves_icall_ModuleBuilder_RegisterToken): New icall to access it from
managed code.
svn path=/trunk/mono/; revision=97518
Jb Evain [Thu, 6 Mar 2008 14:02:21 +0000 (14:02 -0000)]
2008-03-06 Jb Evain <jbevain@novell.com>
* EmitContext.cs: the DebugContext delegate the CreateDelegate
to a DynamicContext to avoid visibility issues in debug mode.
svn path=/trunk/mcs/; revision=97517
Jb Evain [Thu, 6 Mar 2008 13:55:36 +0000 (13:55 -0000)]
make delegate and method private
svn path=/trunk/mcs/; revision=97516
Jb Evain [Thu, 6 Mar 2008 13:54:40 +0000 (13:54 -0000)]
2008-03-06 Jb Evain <jbevain@novell.com>
* EmitContext.cs: Lambda methods bypass JIT visibility checks.
svn path=/trunk/mcs/; revision=97515
Jb Evain [Thu, 6 Mar 2008 13:30:40 +0000 (13:30 -0000)]
test compilation of invoke
svn path=/trunk/mcs/; revision=97511
Jb Evain [Thu, 6 Mar 2008 13:30:15 +0000 (13:30 -0000)]
2008-03-06 Jb Evain <jbevain@novell.com>
* MethodCallExpression.cs, Expression.cs: refactor method calling
into a more sophisticated EmitCall in Expression.
* InvocationExpression.cs (Emit): implement using the previous EmitCall.
svn path=/trunk/mcs/; revision=97510
Zoltan Varga [Thu, 6 Mar 2008 12:24:28 +0000 (12:24 -0000)]
2008-03-06 Zoltan Varga <vargaz@gmail.com>
* TypeTest.cs (PublicKeyToken): Add a test for #367670.
svn path=/trunk/mcs/; revision=97507
Zoltan Varga [Thu, 6 Mar 2008 12:21:22 +0000 (12:21 -0000)]
2008-03-06 Zoltan Varga <vargaz@gmail.com>
* reflection.c (_mono_reflection_parse_type): Distinguish between vectors and
one dimension arrays. Fixes #367670.
(mono_reflection_get_type_internal): Ditto.
svn path=/trunk/mono/; revision=97506
Jb Evain [Thu, 6 Mar 2008 12:02:43 +0000 (12:02 -0000)]
refactor
svn path=/trunk/mcs/; revision=97501
Jb Evain [Thu, 6 Mar 2008 12:01:52 +0000 (12:01 -0000)]
add tests
svn path=/trunk/mcs/; revision=97500
Jb Evain [Thu, 6 Mar 2008 12:01:24 +0000 (12:01 -0000)]
2008-03-06 Jb Evain <jbevain@novell.com>
* Expression.cs: add a EmitCall helper.
* MemberExpression.cs: implement property access.
svn path=/trunk/mcs/; revision=97499
Jb Evain [Thu, 6 Mar 2008 11:46:27 +0000 (11:46 -0000)]
2008-03-06 Jb Evain <jbevain@novell.com>
* MethodCallExpression.cs, Expression.cs: refactor a EmitLoad in Expression.
* MemberExpression.cs: use EmitLoad to load the instance field if needed.
svn path=/trunk/mcs/; revision=97497
Jb Evain [Thu, 6 Mar 2008 08:48:18 +0000 (08:48 -0000)]
this went in accidentally
svn path=/trunk/mcs/; revision=97490
Jb Evain [Thu, 6 Mar 2008 08:44:33 +0000 (08:44 -0000)]
2008-03-06 Jb Evain <jbevain@novell.com>
* ILGeneratorTest.cs: add test for #367663, checking
that EmitCalli deals with null return types.
svn path=/trunk/mcs/; revision=97489
Jb Evain [Thu, 6 Mar 2008 08:43:13 +0000 (08:43 -0000)]
2008-03-06 Jb Evain <jbevain@novell.com>
* SignatureHelper.cs (GetMethodSigHelper): if returnType
is null, use typeof (void) instead. Fixes #367663.
svn path=/trunk/mcs/; revision=97488
Marek Safar [Thu, 6 Mar 2008 08:25:30 +0000 (08:25 -0000)]
Updated.
svn path=/trunk/mcs/; revision=97487
Jb Evain [Wed, 5 Mar 2008 22:32:32 +0000 (22:32 -0000)]
we pass this guy
svn path=/trunk/mcs/; revision=97461
Jb Evain [Wed, 5 Mar 2008 22:31:43 +0000 (22:31 -0000)]
2008-03-06 Jb Evain <jbevain@novell.com>
* BinaryExpression.cs, Expression.cs: move EmitStored from
BinaryExpression to Expression.
* MethodCallExpression.cs: allow method calls on structs.
svn path=/trunk/mcs/; revision=97460
Jb Evain [Wed, 5 Mar 2008 22:12:34 +0000 (22:12 -0000)]
2008-03-05 Jb Evain <jbevain@novell.com>
* ExpressionTest_Call.cs: we pass the Call with type arguments tests.
svn path=/trunk/mcs/; revision=97457
Jb Evain [Wed, 5 Mar 2008 22:09:43 +0000 (22:09 -0000)]
2008-03-05 Jb Evain <jbevain@novell.com>
* Expression.cs: Fix the Call method which takes an array
of type arguments.
svn path=/trunk/mcs/; revision=97456
Marek Safar [Wed, 5 Mar 2008 22:08:22 +0000 (22:08 -0000)]
Updated.
svn path=/trunk/mcs/; revision=97455
Marek Safar [Wed, 5 Mar 2008 22:07:46 +0000 (22:07 -0000)]
2008-03-05 Marek Safar <marek.safar@gmail.com>
* typemanager.cs (IsFriendAssembly): InternalsVisibleTo is not mandatory.
svn path=/trunk/mcs/; revision=97454
Andreia Gaita [Wed, 5 Mar 2008 22:05:00 +0000 (22:05 -0000)]
* Mono.Mozilla/WebBrowser.cs: Fix access to the navigation object (give it a chance to initialize)
* Mono.Mozilla/AsciiString.cs,
Mono.Mozilla/UniString.cs,
Mono.Mozilla/Callback.cs: hide from the exposed api
* fix svn:eol-style property
svn path=/trunk/mcs/; revision=97453
Jonathan Pobst [Wed, 5 Mar 2008 19:58:30 +0000 (19:58 -0000)]
2008-03-05 Jonathan Pobst <monkey@jpobst.com>
corcompare - fix parameter names [N-Z].
LinkArea.cs, NativeWindow.cs, NotifyIcon.cs, PageSetupDialog.cs,
Panel.cs, PrintDialog.cs, PrintPreviewControl.cs, PropertyGrid.cs,
PropertyManager.cs, RichTextBox.cs,
ScrollBar.cs, SelectionRange.cs, SplitContainer.cs, StatusBar.cs,
StatusBarDrawItemEventArgs.cs, StatusBarPanelClickEventArgs.cs,
StatusStrip.cs, TabControl.cs, TableLayoutColumnStyleCollection.cs,
TableLayoutRowStyleCollection.cs, TableLayoutStyleCollection.cs,
TextBoxBase.cs, ThreadExceptionDialog.cs, ToolStrip.cs,
ToolStripContentPanel.cs, ToolStripDropDown.cs,
ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripMenuItem.cs,
ToolStripPanel.cs, ToolStripSeparator.cs,
TreeNode.cs, TreeView.cs, TreeViewHitTestInfo.cs,
UICuesEventHandler.cs, UpDownBase.cs.
svn path=/trunk/mcs/; revision=97437
Jb Evain [Wed, 5 Mar 2008 19:50:33 +0000 (19:50 -0000)]
tests
svn path=/trunk/mcs/; revision=97434
Jb Evain [Wed, 5 Mar 2008 19:33:15 +0000 (19:33 -0000)]
no need for this guy
svn path=/trunk/mcs/; revision=97433
Wade Berrier [Wed, 5 Mar 2008 19:29:26 +0000 (19:29 -0000)]
Fix sed command so that 'scripts_defaults' scripts work.
Add some files to the cleanup list.
svn path=/trunk/mono/; revision=97430
Paolo Molaro [Wed, 5 Mar 2008 17:54:01 +0000 (17:54 -0000)]
Wed Mar 5 19:39:01 CET 2008 Paolo Molaro <lupus@ximian.com>
* Type.cs: optimize GetTypeCode () for the common case
(fixes bug #367354).
svn path=/trunk/mcs/; revision=97421
Wade Berrier [Wed, 5 Mar 2008 17:11:30 +0000 (17:11 -0000)]
2008-03-05 Wade Berrier <wberrier@novell.com>
* scripts/Makefile.am: fix typo so that 'scripts_defaults'
scripts get installed.
svn path=/trunk/mono/; revision=97420
Jonathan Pobst [Wed, 5 Mar 2008 17:09:18 +0000 (17:09 -0000)]
2008-03-05 Jonathan Pobst <monkey@jpobst.com>
corcompare - fix parameter names [G-M].
GridColumnStylesCollection.cs, GridItemCollection.cs,
GridTableStylesCollection.cs, GroupBox.cs, Help.cs,
HelpProvider.cs, ImageListStreamer.cs, InputLanguageCollection.cs,
Label.cs, LayoutEngine.cs, LinkClickedEventArgs.cs,
LinkLabel.cs, ListBox.cs, ListView.cs, ListViewGroupCollection.cs,
ListViewItem.cs, Menu.cs, MenuItem.cs, MenuStrip.cs, MouseEventArgs.cs.
svn path=/trunk/mcs/; revision=97419
Jonathan Pobst [Wed, 5 Mar 2008 16:01:15 +0000 (16:01 -0000)]
2008-03-05 Jonathan Pobst <monkey@jpobst.com>
corcompare - fix parameter names [A-F].
Control.cs, DataGridBoolColumn.cs, DataGridColumnStyle.cs,
DataGridTextBoxColumn.cs, DataGridViewButtonCell.cs,
DataGridViewCellCollection.cs, DataGridViewCellParsingEventArgs.cs,
DataGridViewCheckBoxCell.cs, DataGridViewColumnDesignTimeVisibleAttribute.cs,
DataGridViewComboBoxCell.cs, DataGridViewHeaderCell.cs,
DataGridViewImageCell.cs, DataObject.cs, DomainUpDown.cs,
DrawItemEventArgs.cs, FolderBrowserDialog.cs, FontDialog.cs, Form.cs.
svn path=/trunk/mcs/; revision=97405
Jb Evain [Wed, 5 Mar 2008 15:00:11 +0000 (15:00 -0000)]
refactoring
svn path=/trunk/mcs/; revision=97397
Jonathan Pobst [Wed, 5 Mar 2008 14:50:10 +0000 (14:50 -0000)]
2008-03-05 Jonathan Pobst <monkey@jpobst.com>
* TableLayout.cs: Guard against an exception when a control's colspan
or rowspan is greater than the number of columns or rows.
[Fixes bug #367249]
2008-03-05 Jonathan Pobst <monkey@jpobst.com>
* TableLayoutTest.cs: Add test for bug #367249.
svn path=/trunk/mcs/; revision=97390
Jb Evain [Wed, 5 Mar 2008 13:24:23 +0000 (13:24 -0000)]
refactorings
svn path=/trunk/mcs/; revision=97384
Jb Evain [Wed, 5 Mar 2008 13:11:39 +0000 (13:11 -0000)]
refactorings
svn path=/trunk/mcs/; revision=97382
Jb Evain [Wed, 5 Mar 2008 12:40:56 +0000 (12:40 -0000)]
tests for lift/liftToNull
svn path=/trunk/mcs/; revision=97380
Jb Evain [Wed, 5 Mar 2008 12:40:03 +0000 (12:40 -0000)]
2008-03-05 Jb Evain <jbevain@novell.com>
* Expression.cs: fix for a good chunk of lifted/liftToNull tests.
svn path=/trunk/mcs/; revision=97379
Zoltan Varga [Wed, 5 Mar 2008 11:18:43 +0000 (11:18 -0000)]
2008-03-05 Zoltan Varga <vargaz@gmail.com>
* mini.h: Define G_MININT32/G_MAXINT32 if using an older glib version.
* cfold.c: Remove definition of G_MININT32 which is now in mini.h.
svn path=/trunk/mono/; revision=97377
Marek Safar [Wed, 5 Mar 2008 10:34:57 +0000 (10:34 -0000)]
2008-03-05 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, parameter.cs, rootcontext.cs, ecore.cs, class.cs, decl.cs,
delegate.cs, convert.cs, driver.cs, attribute.cs, codegen.cs: TypeManager
predefined types clean up (work related to #364674).
svn path=/trunk/mcs/; revision=97376
Jonathan Pobst [Tue, 4 Mar 2008 23:09:46 +0000 (23:09 -0000)]
2008-03-04 Jonathan Pobst <monkey@jpobst.com>
* ResXResourceWriter.cs: Implement or stub the remaining 2.0 bits
to this.
svn path=/trunk/mcs/; revision=97358
Marek Safar [Tue, 4 Mar 2008 21:34:58 +0000 (21:34 -0000)]
2008-03-04 Marek Safar <marek.safar@gmail.com>
* Makefile: Added System.Data.Linq
svn path=/trunk/mcs/; revision=97354
Ankit Jain [Tue, 4 Mar 2008 19:47:14 +0000 (19:47 -0000)]
* dis-cil.c (disassemble_cil): For catch clause, emit stringified class
with prefix.
svn path=/trunk/mono/; revision=97350
Ankit Jain [Tue, 4 Mar 2008 19:47:09 +0000 (19:47 -0000)]
* ILParser.jay (custom_type): Allow any method name.
svn path=/trunk/mcs/; revision=97349
Ankit Jain [Tue, 4 Mar 2008 19:47:03 +0000 (19:47 -0000)]
Fix bug #367024.
* ILParser.jay (seh_clause): catch can take generic class refs also.
svn path=/trunk/mcs/; revision=97348
Zoltan Varga [Tue, 4 Mar 2008 17:47:31 +0000 (17:47 -0000)]
2008-03-04 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_compute_omit_fp): Don't disable fp elimination for
methods returning vtypes in registers.
(mono_arch_allocate_vars): Ditto.
* mini-amd64.c (mono_arch_get_this_arg_reg): New arch specific helper function.
* tramp-amd64.c (mono_arch_get_unbox_trampoline): Use mono_arch_get_this_arg_reg ().
svn path=/trunk/mono/; revision=97338
Zoltan Varga [Tue, 4 Mar 2008 17:46:17 +0000 (17:46 -0000)]
Checkin file missed earlier.
svn path=/trunk/mono/; revision=97337
Zoltan Varga [Tue, 4 Mar 2008 17:37:25 +0000 (17:37 -0000)]
2008-03-04 Zoltan Varga <vargaz@gmail.com>
* generics.cs: Add a test from the linear IR branch.
svn path=/trunk/mono/; revision=97336
Zoltan Varga [Tue, 4 Mar 2008 17:36:25 +0000 (17:36 -0000)]
2008-03-04 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (emit_load_volatile_arguments): Handle vtypes passed in regs too.
svn path=/trunk/mono/; revision=97335
Paolo Molaro [Tue, 4 Mar 2008 17:21:56 +0000 (17:21 -0000)]
Test for bug #366445.
svn path=/trunk/mono/; revision=97328
Paolo Molaro [Tue, 4 Mar 2008 17:17:52 +0000 (17:17 -0000)]
Tue Mar 4 19:04:02 CET 2008 Paolo Molaro <lupus@ximian.com>
* marshal.c: mono_load_remote_field_new() always returns object.
so use the proper signature (fixes bug #366445).
svn path=/trunk/mono/; revision=97327
Zoltan Varga [Tue, 4 Mar 2008 17:02:02 +0000 (17:02 -0000)]
2008-03-04 Zoltan Varga <vargaz@gmail.com>
* mini.c (inline_method): Cache failed inline attempts.
svn path=/trunk/mono/; revision=97326
Igor Zelmanovich [Tue, 4 Mar 2008 17:01:53 +0000 (17:01 -0000)]
merge r97323
svn path=/trunk/mcs/; revision=97325
Zoltan Varga [Tue, 4 Mar 2008 17:00:40 +0000 (17:00 -0000)]
2008-03-04 Zoltan Varga <vargaz@gmail.com>
* class-internals.h (MonoMethod): Remove unused uses_this flag,
add an 'inline_failure' flag instead.
svn path=/trunk/mono/; revision=97324
Mark Probst [Tue, 4 Mar 2008 16:56:35 +0000 (16:56 -0000)]
2008-03-04 Mark Probst <mark.probst@gmail.com>
* domain-internals.h, domain.c: Replaced MonoGenericSharingContext
with a new structure, MonoGenericJitInfo, in the MonoJitInfo. It
contains the location of "this", used for exception handling.
2008-03-04 Mark Probst <mark.probst@gmail.com>
* mini.c: For shared methods of generic classes put the location
of "this" into the MonoGenericJitInfo.
* mini-x86.c, mini-amd64.c, mini.h: Added function for fetching a
register out of a MonoContext by register number. Add the generic
sharing context as an argument to mono_arch_find_this_argument().
* mini-alpha.c, mini-arm.c, mini-hppa.c, mini-ia64.c, mini-mips.c,
mini-ppc.c, mini-s390.c, mini-s390x.c, mini-sparc.c: Added stub
for new arch function.
* mini-exception.c: Handle open exception clauses in shared
generic code.
* mini-trampolines.c: Supply additional argument to
mono_arch_find_this_argument().
2008-03-04 Mark Probst <mark.probst@gmail.com>
* generics-sharing.2.c: Added test for open catch clauses in
shared generic code.
svn path=/trunk/mono/; revision=97322
Sebastien Pouliot [Tue, 4 Mar 2008 15:22:28 +0000 (15:22 -0000)]
2008-03-04 Sebastien Pouliot <sebastien@ximian.com>
* Graphics.cs: Fix CopyFromScreen for X11 when source or destination
coordinates are not 0. Fix bug #363881.
svn path=/trunk/mcs/; revision=97316
Sebastien Pouliot [Tue, 4 Mar 2008 14:51:15 +0000 (14:51 -0000)]
2008-03-04 Sebastien Pouliot <sebastien@ximian.com>
* PaddingModeTest.cs: Add test case for #366623 ANSI padding bug.
svn path=/trunk/mcs/; revision=97310
Sebastien Pouliot [Tue, 4 Mar 2008 14:49:43 +0000 (14:49 -0000)]
2008-03-04 Sebastien Pouliot <sebastien@ximian.com>
* SymmetricTransform.cs: Sync with corlib. Fix ANSIX923 padding check
(#366623)
svn path=/trunk/mcs/; revision=97309
Sebastien Pouliot [Tue, 4 Mar 2008 14:48:28 +0000 (14:48 -0000)]
2008-03-04 Sebastien Pouliot <sebastien@ximian.com>
* SymmetricTransform.cs: Fix ANSIX923 padding check (#366623) to be
just like PKCS7 (but comparing to 0).
svn path=/trunk/mcs/; revision=97308
Igor Zelmanovich [Tue, 4 Mar 2008 14:22:41 +0000 (14:22 -0000)]
merge r97304
svn path=/trunk/mcs/; revision=97305
Sebastien Pouliot [Tue, 4 Mar 2008 13:48:46 +0000 (13:48 -0000)]
corlib_test.dll.sources: Add unit tests for ResourceSet
svn path=/trunk/mcs/; revision=97301
Sebastien Pouliot [Tue, 4 Mar 2008 13:47:20 +0000 (13:47 -0000)]
2008-03-04 Sebastien Pouliot <sebastien@ximian.com>
* ResourceManagerTest.cs: Add test case for ResourceSetType which
shows that an internal type, not the basic ResourceSet, is being used
* ResourceSetTest.cs: New. Unit tests for ResourceSet
svn path=/trunk/mcs/; revision=97300
Sebastien Pouliot [Tue, 4 Mar 2008 13:45:01 +0000 (13:45 -0000)]
corlib.dll.sources: Add internal System.Resources.RuntimeResourceSet to the build.
svn path=/trunk/mcs/; revision=97298
Sebastien Pouliot [Tue, 4 Mar 2008 13:44:30 +0000 (13:44 -0000)]
2008-03-04 Sebastien Pouliot <sebastien@ximian.com>
* ResourceManager.cs: Use RuntimeResourceSet, an internal type, just
like MS does (and tell us indirectly with a Type property).
* ResourceSet.cs: Fix a few problems found with new unit tests. Also
fix some exception parameters.
* RuntimeResourceSet.cs: New. Internal type used by ResourceManager.
ResouceSet cannot be used, as is, because it does not clone objects,
when possible, leading to problems when those objects are disposed.
svn path=/trunk/mcs/; revision=97297
Igor Zelmanovich [Tue, 4 Mar 2008 13:34:01 +0000 (13:34 -0000)]
merge r97295
svn path=/trunk/mcs/; revision=97296