Marek Safar [Thu, 18 Dec 2008 22:02:33 +0000 (22:02 -0000)]
2008-12-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #460229
* cs-tokenizer.cs: Ignore wrongly placed BOM markers.
svn path=/trunk/mcs/; revision=121810
Brad Taylor [Thu, 18 Dec 2008 19:47:32 +0000 (19:47 -0000)]
2008-12-18 Brad Taylor <brad@getcoded.net>
* DateTimePicker.cs: Add a few UIA specific events, and a couple
internal methods useful for UIA.
svn path=/trunk/mcs/; revision=121803
Mark Mason [Thu, 18 Dec 2008 19:07:47 +0000 (19:07 -0000)]
2008-12-18 Mark Mason <mmason@upwardaccess.com>
* method-to-ir.c: use SIZEOF_REGISTER instead of SIZEOF_VOID_P or sizeof(gpointer) when appropriate.
* mini.h: Move typedef to mgreg_t up above include of mini-arch.h
* local-propogation.c: use SIZEOF_REGISTER instead of SIZEOF_VOID_P when appropriate
* cpu-mips.md: correct lengths for certain long_ opcodes.
* mini-mips.h: Only emulate long operations when SIZEOF_REGISTER==4. Add missing func decl.
* mini-mips.c: Add support for more long operations. Fix issues with stack frame layout for n32 (still not perfect yet). Add mips_emit_load_const().
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=121800
Marek Safar [Thu, 18 Dec 2008 19:01:46 +0000 (19:01 -0000)]
New tests.
svn path=/trunk/mcs/; revision=121799
Marek Safar [Thu, 18 Dec 2008 19:00:44 +0000 (19:00 -0000)]
2008-12-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #459952
* decl.cs, namespace.cs: Use common CheckAccessLevel.
svn path=/trunk/mcs/; revision=121798
Jonathan Pobst [Thu, 18 Dec 2008 18:41:27 +0000 (18:41 -0000)]
fix 1.1 build
svn path=/trunk/mcs/; revision=121796
Paolo Molaro [Thu, 18 Dec 2008 18:29:41 +0000 (18:29 -0000)]
A stupid test case requires a badimage exception.
svn path=/trunk/mono/; revision=121795
Paolo Molaro [Thu, 18 Dec 2008 15:36:25 +0000 (15:36 -0000)]
Thu Dec 18 16:35:22 CET 2008 Paolo Molaro <lupus@ximian.com>
* image.c: deal with the mmap failing when loading an image.
svn path=/trunk/mono/; revision=121785
Jb Evain [Thu, 18 Dec 2008 15:34:59 +0000 (15:34 -0000)]
2008-12-18 Jb Evain <jbevain@novell.com>
* String.cs: the Compare methods that were specific to SL2 are now
also in .net 2/3.5 sp1.
svn path=/trunk/mcs/; revision=121783
Mario Carrion [Thu, 18 Dec 2008 14:51:03 +0000 (14:51 -0000)]
2008-12-18 Mario Carrion <mcarrion@novell.com>
* ListBox.cs: Fixed GetItemRectangle when MultiColumn is true.
[Fixes Bug #455752]
svn path=/trunk/mcs/; revision=121780
Marek Safar [Thu, 18 Dec 2008 13:21:56 +0000 (13:21 -0000)]
New test.
svn path=/trunk/mcs/; revision=121777
Marek Safar [Thu, 18 Dec 2008 13:21:39 +0000 (13:21 -0000)]
2008-12-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #459630
* convert.cs: Enum to valuetype conversion is not allowed.
svn path=/trunk/mcs/; revision=121776
Marek Safar [Thu, 18 Dec 2008 10:56:34 +0000 (10:56 -0000)]
2008-12-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #457087
* generic.cs: Don't crash when constraint comes from type
declaration.
svn path=/trunk/mcs/; revision=121768
Gonzalo Paniagua Javier [Thu, 18 Dec 2008 06:31:36 +0000 (06:31 -0000)]
2008-12-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ResourceManager.cs: avoid duplication of keys if more than one
thread is creating the ResourceSet.
svn path=/trunk/mcs/; revision=121766
Marek Habersack [Thu, 18 Dec 2008 01:18:50 +0000 (01:18 -0000)]
2008-12-18 Marek Habersack <mhabersack@novell.com>
* ControlBuilder.cs: BindingContainerType returns typeof (Page)
only when the current object is a RootBuilder and it's been
created for a page parser. Otherwise it returns typeof
(Control). Fixes bug #45630
svn path=/trunk/mcs/; revision=121752
Chris Toshok [Thu, 18 Dec 2008 00:35:43 +0000 (00:35 -0000)]
Mono.Moonlight.dll is dead. Long live System.Windows.dll.
svn path=/trunk/mcs/; revision=121750
Veerapuram Varadhan [Wed, 17 Dec 2008 23:13:03 +0000 (23:13 -0000)]
* OciDefineHandle.cs (GetValue): Use connection's environment
handle instead of Parent handle.
svn path=/trunk/mcs/; revision=121735
Jb Evain [Wed, 17 Dec 2008 22:54:50 +0000 (22:54 -0000)]
2008-12-17 Jb Evain <jbevain@novell.com>
* ExpressionTransformer.cs: fix VisitList.
svn path=/trunk/mcs/; revision=121732
Mike Gorse [Wed, 17 Dec 2008 22:41:44 +0000 (22:41 -0000)]
* ListView.cs, ListViewItem.cs: Send OnUIAFocusedItemChanged if an
item's Focused property is set.
svn path=/trunk/mcs/; revision=121731
Geoff Norton [Wed, 17 Dec 2008 20:11:13 +0000 (20:11 -0000)]
2008-12-17 Geoff Norton <gnorton@novell.com>
* threadpool.c: Ensure that the io_queue_lock is initialized
in all circumstances, as we always attempt to cleanup against it.
svn path=/trunk/mono/; revision=121725
Ankit Jain [Wed, 17 Dec 2008 19:20:58 +0000 (19:20 -0000)]
* BuildTask.cs (Execute): PublishOutput only if task runs successfully.
svn path=/trunk/mcs/; revision=121723
Ankit Jain [Wed, 17 Dec 2008 19:08:17 +0000 (19:08 -0000)]
* Sample.cs: Remove execute perm.
svn path=/trunk/mcs/; revision=121721
Ankit Jain [Wed, 17 Dec 2008 19:04:34 +0000 (19:04 -0000)]
* Sample.cs: Required for CreateCSharpManifestResourceName tests.
svn path=/trunk/mcs/; revision=121720
Ankit Jain [Wed, 17 Dec 2008 18:32:59 +0000 (18:32 -0000)]
* Copy.cs: Always overwrite destination files.
svn path=/trunk/mcs/; revision=121719
Ankit Jain [Wed, 17 Dec 2008 18:15:02 +0000 (18:15 -0000)]
* GenerateResource.cs (Execute): Items in 'OutputResources' correspond to
items in 'Sources', handle correctly.
svn path=/trunk/mcs/; revision=121717
Miguel de Icaza [Wed, 17 Dec 2008 18:08:43 +0000 (18:08 -0000)]
2008-12-17 Miguel de Icaza <miguel@novell.com>
* icall.c (ves_icall_System_Environment_get_Platform): For
compatibility reasons for existing client code we will keep
returning 4 for a while.
For how long will depend on the documentation being updated, and
for us to give client code a chance to be updated.
This reverts the original decison on #433108 since we did not
catch roughly 33 instances of the broken code in our own source
code base, we did not catch failures on the buildbots, and QA did
not bring this as a problem.
Only today I found some customer's code breaking due to our own
class libraries not being fully updated and tracked it down to
this change. I am reverting it because if we could not even get
our story straight in our own code base, how can we hope that our
end user code be fixed?
As of this morning, our Wiki page that documents how to detect
Unix had not been fixed.
svn path=/trunk/mono/; revision=121714
Sandy Armstrong [Wed, 17 Dec 2008 18:02:06 +0000 (18:02 -0000)]
* Managed.Windows.Forms/System.Windows.Forms/TreeView.cs:
* Managed.Windows.Forms/System.Windows.Forms/TreeNode.cs:
* Managed.Windows.Forms/System.Windows.Forms/TreeNodeCollection.cs: Add
events for UIA support: UIACheckBoxesChanged, UIALabelEditChanged,
UIANodeTextChanged, and UIACollectionChanged.
svn path=/trunk/mcs/; revision=121712
Miguel de Icaza [Wed, 17 Dec 2008 17:56:25 +0000 (17:56 -0000)]
Multiple files:
Deals with the extension to Environment.OSVersion.Platform that might return a new
value MacOSX (6) on .NET
svn path=/trunk/mcs/; revision=121711
Jonathan Pobst [Wed, 17 Dec 2008 17:47:17 +0000 (17:47 -0000)]
2008-12-17 Bill Holmes <billholmes54@gmail.com>
* ListViewItem.cs (ListViewSubItem.ctor): Initalizing the
SubItemStyle member field.
Contributed under MIT/X11 license.
2008-12-17 Jonathan Pobst <monkey@jpobst.com>
* ListViewItemTest.cs: Add test for empty constructor.
svn path=/trunk/mcs/; revision=121709
Ankit Jain [Wed, 17 Dec 2008 17:11:28 +0000 (17:11 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* MetadataReference.cs (ConvertToITaskItemArray): In case of batching,
only one instance of unique metadata value is required.
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
* ProjectTest.cs (TestBatchedMetadataRef1): Modify to check for multiple
items with same metadata value.
svn path=/trunk/mcs/; revision=121708
Jb Evain [Wed, 17 Dec 2008 16:39:04 +0000 (16:39 -0000)]
more tests
svn path=/trunk/mcs/; revision=121706
Jb Evain [Wed, 17 Dec 2008 16:31:59 +0000 (16:31 -0000)]
fix properly
svn path=/trunk/mcs/; revision=121704
Jb Evain [Wed, 17 Dec 2008 16:14:55 +0000 (16:14 -0000)]
2008-12-17 Jb Evain <jbevain@novell.com>
* HashSetTest.cs: add test for CopyTo.
svn path=/trunk/mcs/; revision=121701
Jb Evain [Wed, 17 Dec 2008 16:11:39 +0000 (16:11 -0000)]
2008-12-17 Jb Evain <jbevain@novell.com>
* HashSet.cs (CopyTo): fix logic.
svn path=/trunk/mcs/; revision=121700
Jb Evain [Wed, 17 Dec 2008 16:00:18 +0000 (16:00 -0000)]
update scripts
svn path=/trunk/mcs/; revision=121696
Jb Evain [Wed, 17 Dec 2008 15:55:02 +0000 (15:55 -0000)]
inline variable
svn path=/trunk/mcs/; revision=121693
Mark Mason [Wed, 17 Dec 2008 14:59:30 +0000 (14:59 -0000)]
2008-12-17 Mark Mason <mmason@upwardaccess.com>
* exceptions-mips.c (mono_arch_find_jit_info): decode sd instructions as well when looking for registers.
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=121689
Mark Mason [Wed, 17 Dec 2008 14:44:47 +0000 (14:44 -0000)]
2008-12-17 Mark Mason <mmason@upwardaccess.com>
* mini-mips.c (mono_arch_output_basic_block): OP_JUMP_TABLE stores patch type in inst_c1, not inst_i1.
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=121688
Jb Evain [Wed, 17 Dec 2008 10:19:00 +0000 (10:19 -0000)]
revert accidental changes
svn path=/trunk/mcs/; revision=121670
Jb Evain [Wed, 17 Dec 2008 09:56:14 +0000 (09:56 -0000)]
2008-12-17 Jb Evain <jbevain@novell.com>
* mono-api-info.cs: don't add Finalizers to the api definition.
svn path=/trunk/mcs/; revision=121669
Jb Evain [Wed, 17 Dec 2008 09:54:51 +0000 (09:54 -0000)]
update projects as well
svn path=/trunk/mcs/; revision=121668
Jb Evain [Wed, 17 Dec 2008 09:43:57 +0000 (09:43 -0000)]
update
svn path=/trunk/mcs/; revision=121667
Gonzalo Paniagua Javier [Wed, 17 Dec 2008 08:21:55 +0000 (08:21 -0000)]
2008-12-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ResourceManager.cs: cache ResourceSets instead of loading them from
their assembly every time they are needed.
svn path=/trunk/mcs/; revision=121664
Carlos Alberto Cortez [Wed, 17 Dec 2008 00:49:28 +0000 (00:49 -0000)]
2008-12-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBox.cs: In MultiColumn mode don't use top_index to calculate the
y coord, since it's useless in this case, and we need to rely only on
the number of rows and ItemHeight to compute this value.
Fixes part of #257471.
svn path=/trunk/mcs/; revision=121656
Rodrigo Kumpera [Tue, 16 Dec 2008 22:56:50 +0000 (22:56 -0000)]
2008-12-16 Rodrigo Kumpera <rkumpera@novell.com>
* branch-opts.c (remove_block_if_useless): Even if BB0 falls through, don't add a br to the
next basic block.
svn path=/trunk/mono/; revision=121643
Jb Evain [Tue, 16 Dec 2008 22:36:13 +0000 (22:36 -0000)]
add utility function
svn path=/trunk/mcs/; revision=121642
Jb Evain [Tue, 16 Dec 2008 22:21:31 +0000 (22:21 -0000)]
2008-12-16 Jb Evain <jbevain@novell.com>
* Mono.Cecil.Signatures/SignatureReader.cs: fix reading of wrong
modifiers.
svn path=/trunk/mcs/; revision=121641
Marek Habersack [Tue, 16 Dec 2008 22:00:56 +0000 (22:00 -0000)]
2008-12-16 Marek Habersack <mhabersack@novell.com>
* WebConfigurationHost.cs: IsDefinitionAllowed should treat
configPath == "~" as the root application path.
svn path=/trunk/mcs/; revision=121636
Marek Habersack [Tue, 16 Dec 2008 21:05:48 +0000 (21:05 -0000)]
2008-12-16 Marek Habersack <mhabersack@novell.com>
* data/system.web.extensions.design_1.0.pc.in: added
* data/Makefile.am (EXTRA_DIST): added
system.web.extensions.design_1.0.pc.in. Also added to
pkgconfig_DATA
* configure.in: added data/system.web.extensions_1.0.pc to
AC_OUTPUT
svn path=/trunk/mono/; revision=121629
Mike Gorse [Tue, 16 Dec 2008 20:16:41 +0000 (20:16 -0000)]
* StatusBar.cs: Send OnUIACollectionChanged in Remove().
svn path=/trunk/mcs/; revision=121627
Jonathan Pobst [Tue, 16 Dec 2008 19:10:00 +0000 (19:10 -0000)]
Change exit code to number of tests failed instead of hardcoded zero.
svn path=/trunk/mono/; revision=121623
Marek Habersack [Tue, 16 Dec 2008 19:00:27 +0000 (19:00 -0000)]
2008-12-16 Marek Habersack <mhabersack@novell.com>
* StaticFileHandler.cs: use HttpRuntime.RunningOnWindows instead
of checking the platform directly.
svn path=/trunk/mcs/; revision=121621
Mark Mason [Tue, 16 Dec 2008 19:00:18 +0000 (19:00 -0000)]
2008-12-16 Mark Mason <mmason@upwardaccess.com>
* mini.h: Allow MonoInst 'p' field to alias with the low-order bits of the 'const_val' fields correctly on big-endian systems when SIZEOF_VOID_P < SIZEOF_REGISTER
* ir-emit.h: Change SIZEOF_VOID_P to SIZEOF_REGISTER, init instruction through inst_c* fields instead of inst_p* fields in case sizeof(inst_p) < sizeof(inst_c)
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=121620
Jb Evain [Tue, 16 Dec 2008 17:34:30 +0000 (17:34 -0000)]
fix the build
svn path=/trunk/mcs/; revision=121617
Bill Holmes [Tue, 16 Dec 2008 17:26:54 +0000 (17:26 -0000)]
2008-12-16 Bill Holmes <billholmes54@gmail.com>
* winconfig.h : Defining the SIZEOF_REGISTER variable for the MSVC builds.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=121616
Jb Evain [Tue, 16 Dec 2008 16:47:10 +0000 (16:47 -0000)]
in tools/linker:
2008-12-16 Jb Evain <jbevain@novell.com>
* Makefile: build monolinker.exe in the profile directory instead of
the current one.
in tools/tuner and tools/moon:
2008-12-16 Jb Evain <jbevain@novell.com>
* Makefile: use the monolinker.exe from the profile directory.
svn path=/trunk/mcs/; revision=121613
Gonzalo Paniagua Javier [Tue, 16 Dec 2008 15:43:29 +0000 (15:43 -0000)]
2008-12-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SqlParameter.cs: don't allocate error strings until the error
actually happens. Compare types instead of strings. Use a Hashtable
for type mappings.
svn path=/trunk/mcs/; revision=121605
Gonzalo Paniagua Javier [Tue, 16 Dec 2008 14:56:21 +0000 (14:56 -0000)]
revert
svn path=/trunk/mcs/; revision=121599
Zoltan Varga [Tue, 16 Dec 2008 14:18:00 +0000 (14:18 -0000)]
2008-12-16 Zoltan Varga <vargaz@gmail.com>
* metadata.c (inflated_method_in_image): Add a workaround for #458168.
svn path=/trunk/mono/; revision=121596
Marek Safar [Tue, 16 Dec 2008 13:57:50 +0000 (13:57 -0000)]
New tests.
svn path=/trunk/mcs/; revision=121595
Marek Safar [Tue, 16 Dec 2008 13:57:23 +0000 (13:57 -0000)]
2008-12-16 Marek Safar <marek.safar@gmail.com>
A fix for bug #459221
* anonymous.cs, statement.cs: Delay only captured this
initialization.
svn path=/trunk/mcs/; revision=121594
Mark Mason [Tue, 16 Dec 2008 07:55:45 +0000 (07:55 -0000)]
2008-12-15 Mark Mason <mmason@upwardaccess.com>
* trace.c (mono_trace_enter_method): correctly handle arguments smaller than the stack slot size on big endian systems.
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=121579
Zoltan Varga [Tue, 16 Dec 2008 02:07:07 +0000 (02:07 -0000)]
2008-12-16 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_get_fields): Handle loading errors.
svn path=/trunk/mono/; revision=121570
Mario Carrion [Mon, 15 Dec 2008 22:49:50 +0000 (22:49 -0000)]
2008-12-15 Mario Carrion <mcarrion@novell.com>
* Control.cs: Accessibility properties instantiate AccessibilityObject when needed.
[Fixes Bug #459223]
svn path=/trunk/mcs/; revision=121561
Mario Carrion [Mon, 15 Dec 2008 22:39:30 +0000 (22:39 -0000)]
2008-12-15 Mario Carrion <mcarrion@novell.com>
* ControlTest.cs: New test added: AccessibilityPropertiesTest to test
accessibility properties: AccessibleName, AccessibleDescription,
AccessibleDefaultActionDescription and AccessibleRole.
[Test for bug #459223]
svn path=/trunk/mcs/; revision=121558
Marek Habersack [Mon, 15 Dec 2008 22:36:35 +0000 (22:36 -0000)]
2008-12-15 Marek Habersack <mhabersack@novell.com>
* data/Makefile.am (EXTRA_DIST): added
system.web.extensions_1.0.pc.in. Also added to pkgconfig_DATA
* data/system.web.extensions_1.0.pc.in: added. This file serves
the purpose of making MonoDevelop see the 1.0 version of the
System.Web.Extensions assembly in the project references
editor. This will also make legacy 2.0 ASP.NET apps not fail when
they reference the 1.0 version of the assembly in their project
files.
* configure.in: added data/system.web.extensions_1.0.pc to AC_OUTPUT
svn path=/trunk/mono/; revision=121557
Marek Habersack [Mon, 15 Dec 2008 21:42:52 +0000 (21:42 -0000)]
Reverting r121536
svn path=/trunk/mcs/; revision=121552
Marek Habersack [Mon, 15 Dec 2008 19:16:27 +0000 (19:16 -0000)]
2008-12-15 Marek Habersack <mhabersack@novell.com>
* Configuration.cs: do not reset empty sections - it results in
the elements from the parent sections being re-added to the
current section with their default values which, in turn, can lead
to duplicate keys being added to the collections in some cases.
svn path=/trunk/mcs/; revision=121536
Brad Taylor [Mon, 15 Dec 2008 19:02:41 +0000 (19:02 -0000)]
2008-12-15 Brad Taylor <brad@getcoded.net>
* ToolStripItem.cs: Add a UIA specific event for listening for when a
ToolStripItem becomes selected or deselected.
svn path=/trunk/mcs/; revision=121534
Atsushi Eno [Mon, 15 Dec 2008 10:49:12 +0000 (10:49 -0000)]
2008-12-15 Atsushi Enomoto <atsushi@ximian.com>
* import-subst-dbr-base.xsd, import-subst-dbr-ext.xsd :
new test files.
svn path=/trunk/mcs/; revision=121510
Atsushi Eno [Mon, 15 Dec 2008 10:39:00 +0000 (10:39 -0000)]
2008-12-15 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchema.cs, XmlSchemaSet.cs : move substitutionGroup processing
from validation phase to post-subset-collection phase. It caused
inconsistent substitutionGroup processing among import and
schemaSet.Schemas(). Fixed possible XBRL schema processing.
* XmlSchemaSetTests.cs : added test for Compile() after "duplicating"
call to Add() for such schemas that also have xs:import of the
same schema that causes errors on processing substitutionGroup.
svn path=/trunk/mcs/; revision=121509
Carlos Alberto Cortez [Mon, 15 Dec 2008 09:36:58 +0000 (09:36 -0000)]
2008-12-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MonthCalendar.cs: Select the date in MouseDown, not in MouseUp, as
.net does. Use the date in the point of the mouse move coords as the
new range as well, if the left button of the mouse is being pressed.
Fixes #364914.
svn path=/trunk/mcs/; revision=121507
Zoltan Varga [Sun, 14 Dec 2008 09:44:51 +0000 (09:44 -0000)]
2008-12-14 Zoltan Varga <vargaz@gmail.com>
* liveness.c (mono_analyze_liveness): Avoid eliminating the 'this' var in
gshared code. Fixes #458947.
* generics.cs: Add a test.
svn path=/trunk/mono/; revision=121496
Mark Mason [Sat, 13 Dec 2008 06:58:32 +0000 (06:58 -0000)]
2008-12-12 Mark Mason <mmason@upwardaccess.com>
* method-to-ir.c: replace SIZEOF_VOID_P with SIZEOF_REGISTER
* where needed.
* mini-mips.c: first pass n32 code generation.
* mini-mips.h: datatypes and defines for n32 support.
* exceptions-mips.c: first pass n32 code generation.
* tramp-mips.c: first pass n32 code generation.
* cpu-mips.md: add long_ opcodes.
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=121489
Mark Mason [Sat, 13 Dec 2008 06:54:25 +0000 (06:54 -0000)]
2008-12-12 Mark Mason <mmason@upwardaccess.com>
* mips/mips-codegen.h: Changes to support n32.
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=121488
Mark Mason [Sat, 13 Dec 2008 06:48:38 +0000 (06:48 -0000)]
2008-12-12 Mark Mason <mmason@upwardaccess.com>
* liveness.c: replace SIZEOF_VOID_P with SIZEOF_REGISTER where
* needed.
* cfold.c: replace SIZEOF_VOID_P with SIZEOF_REGISTER where
* needed.
* local-propogation.c: replace SIZEOF_VOID_P with
* SIZEOF_REGISTER where needed.
* regalloc2.c: replace SIZEOF_VOID_P with SIZEOF_REGISTER where
* needed.
* mini.c: replace SIZEOF_VOID_P with SIZEOF_REGISTER where
* needed.
* mini-codegen.c: replace SIZEOF_VOID_P with SIZEOF_REGISTER
* where needed.
* ssa.c: replace SIZEOF_VOID_P with SIZEOF_REGISTER where
* needed.
* decompose.c: replace SIZEOF_VOID_P with SIZEOF_REGISTER where
* needed.
* helpers.c: for mips/n32, don't pass -mips32 to objdump
Some of the simpler changes of SIZEOF_VOID_P to SIZEOF_REGISTER. Tested
on mips/o32, mips/n32 and x86.
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=121487
Gonzalo Paniagua Javier [Sat, 13 Dec 2008 01:51:41 +0000 (01:51 -0000)]
2008-12-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SqlParameter.cs: use the underlying type when inferring the type for
enumerations.
svn path=/trunk/mcs/; revision=121485
Mark Mason [Sat, 13 Dec 2008 00:09:56 +0000 (00:09 -0000)]
2008-12-12 Mark Mason <mmason@upwardaccess.com>
* metadata.c (mono_type_stack_size_internal): If SIZEOF_REGISTER > SIZEOF_VOID_P then use SIZEOF_REGISTER as the size and alignment of the stack slots.
Contributed under the MIT X11 license
svn path=/trunk/mono/; revision=121482
Gonzalo Paniagua Javier [Fri, 12 Dec 2008 22:19:07 +0000 (22:19 -0000)]
2008-12-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
* mono-perfcounters.c: avoid warning.
svn path=/trunk/mono/; revision=121472
Zoltan Varga [Fri, 12 Dec 2008 19:49:41 +0000 (19:49 -0000)]
2008-12-12 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c tramp-arm.c: Fix calls to mono_arch_flush_icache.
svn path=/trunk/mono/; revision=121457
Andrés G. Aragoneses [Fri, 12 Dec 2008 19:31:11 +0000 (19:31 -0000)]
* driver.c: Sync --help-trace with man page (EXPR,EXPR).
svn path=/trunk/mono/; revision=121456
Rodrigo Kumpera [Fri, 12 Dec 2008 19:30:07 +0000 (19:30 -0000)]
2008-12-12 Rodrigo Kumpera <rkumpera@novell.com>
* bug-389886-sre-generic-interface-instances.cs: New regression test.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=121455
Rodrigo Kumpera [Fri, 12 Dec 2008 19:29:56 +0000 (19:29 -0000)]
2008-12-12 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.c (ensure_runtime_vtable): Work on generic instances and
make sure all interfaces have MonoClass::interface_id set.
* reflection.c (ensure_generic_class_runtime_vtable): Ensure the
method table is property set.
svn path=/trunk/mono/; revision=121454
Rodrigo Kumpera [Fri, 12 Dec 2008 19:29:46 +0000 (19:29 -0000)]
2008-12-12 Rodrigo Kumpera <rkumpera@novell.com>
* class.c: New function mono_class_setup_interface_id that setup
MonoClass::interface_id if needed.
* class-internals.h: Export new function.
svn path=/trunk/mono/; revision=121453
Rodrigo Kumpera [Fri, 12 Dec 2008 19:29:37 +0000 (19:29 -0000)]
2008-12-12 Rodrigo Kumpera <rkumpera@novell.com>
* class.c: Add code to sanity check the vtable after setup_vtable_general
has done it's work.
svn path=/trunk/mono/; revision=121452
Mark Probst [Fri, 12 Dec 2008 19:23:58 +0000 (19:23 -0000)]
2008-12-12 Mark Probst <mark.probst@gmail.com>
* mini-porting.txt: Added some details about function descriptors
and emulated opcodes.
svn path=/trunk/mono/; revision=121451
Mark Probst [Fri, 12 Dec 2008 19:22:38 +0000 (19:22 -0000)]
2008-12-12 Mark Probst <mark.probst@gmail.com>
* mini-ppc.h, exceptions-ppc.c, tramp-ppc.c: Create function
descriptors for helper functions directly in front of the code.
svn path=/trunk/mono/; revision=121450
Raja R Harinath [Fri, 12 Dec 2008 18:39:50 +0000 (18:39 -0000)]
* rules.make (topdir): Don't use $(shell ...).
Reported by Jonathan Chambers.
svn path=/trunk/mcs/; revision=121446
Ankit Jain [Fri, 12 Dec 2008 16:43:56 +0000 (16:43 -0000)]
In class/Microsoft.Build.Tasks:
* Microsoft.Build.Tasks_test.dll.sources: Added
CreateCSharpManifestResourceNameTest.cs
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* CreateManifestResourceName.cs: Implement.
* CreateCSharpManifestResourceName.cs: Implement.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* CreateCSharpManifestResourceNameTest.cs: New.
In tools/xbuild:
* Microsoft.CSharp.targets: Add CreateCSharpManifestResourceName task.
svn path=/trunk/mcs/; revision=121439
Massimiliano Mantione [Fri, 12 Dec 2008 15:14:25 +0000 (15:14 -0000)]
Proper remember already opened ELF files, and ensure that the index in the statistical hits never trips over and becomes negative.
svn path=/trunk/mono/; revision=121422
Massimiliano Mantione [Fri, 12 Dec 2008 15:14:21 +0000 (15:14 -0000)]
Added defaults to command line options.
svn path=/trunk/mono/; revision=121421
Carlos Alberto Cortez [Fri, 12 Dec 2008 11:51:39 +0000 (11:51 -0000)]
2008-12-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MonthCalendar.cs: When modifying either AnnuallyBoldedDates,
MonthlyBoldedDates or BoldedDates call UpdateBoldedDates, to
effectively repaint the control.
Fixes the remaining bits of #417961.
svn path=/trunk/mcs/; revision=121416
Carlos Alberto Cortez [Fri, 12 Dec 2008 11:09:57 +0000 (11:09 -0000)]
2008-12-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MonthCalendar.cs: When setting MaxDate/MinDate, adjust the selected
range to contain only dates within the new possible range.
Fixes part of #417961.
svn path=/trunk/mcs/; revision=121414
Marek Safar [Fri, 12 Dec 2008 10:10:56 +0000 (10:10 -0000)]
New tests.
svn path=/trunk/mcs/; revision=121410
Marek Safar [Fri, 12 Dec 2008 10:10:39 +0000 (10:10 -0000)]
2008-12-12 Marek Safar <marek.safar@gmail.com>
A fix for bug #457489
* anonymous.cs, statement.cs: Split anonymous storey instantiation
and initialization to capture scope initializers correctly.
svn path=/trunk/mcs/; revision=121409
Dean Brettle [Fri, 12 Dec 2008 09:43:04 +0000 (09:43 -0000)]
Changes approved via private email from Marek Habersack <mhabersack@novell.com> on 2008-10-05.
In System.Web.Configuration_2.0:
2008-12-12 Owen Brady <Ocean@owenbrady.net>
* nBrowser/File.cs, nBrowser/Identification.cs, nBrowser/Node.cs, nBrowser/NodeTypes.cs,
nBrowser/Result.cs, nBrowser/Build.cs, nBrowser/Exception.cs, CapabilitiesBuild.cs,
CapabilitiesResult.cs: Updated Copyright information to include updated contact information.
* nBrowser/Build.cs: Removed LoadDefaultEmbeddedResource function, the embeded resource
it is referring too was never included in Mono. And was designed for a free standing
browser identification libary.
* nBrowser/Exception.cs: Removed Compile Attributes and related comments which were left
in from the original free standing browser libary.
* CapabilitiesBuild.cs: Removed Header Checksum related coding since it is not required
for the Mono implementation.
* CapabilitiesResult.cs: Updated Copyright information to include updated contact information.
Removed functions which were designed to make use of features of a embeded browser file which
is not present in Mono.
* CapabilitiesChecksum.cs, RandomRoboBotKeywords.txt: Deleted
In .:
2008-12-12 Dean Brettle <dean@brettle.com>
* System.Web.dll.sources: deleted
System.Web.Configuration_2.0/CapabilitiesChecksum.cs
* Makefile (RESOURCE_FILES_2): deleted
System.Web.Configuration_2.0/RandomRoboBotKeywords.txt
svn path=/trunk/mcs/; revision=121408
Rolf Bjarne Kvinge [Fri, 12 Dec 2008 08:51:43 +0000 (08:51 -0000)]
2008-12-12 Rolf Bjarne Kvinge <RKvinge@novell.com>
* Makefile.am, vbnc.1: Remove vbnc.1. It's living in the
mono-basic module now.
svn path=/trunk/mono/; revision=121406
Gonzalo Paniagua Javier [Thu, 11 Dec 2008 21:06:47 +0000 (21:06 -0000)]
2008-12-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
* icall.c: make Assembly.GetExecutingAssembly work properly when
reflection is used to invoke the method.
Bug #321781 fixed.
svn path=/trunk/mono/; revision=121352
Mark Mason [Thu, 11 Dec 2008 15:24:49 +0000 (15:24 -0000)]
2008-12-11 Mark Mason <mmason@upwardaccess.com>
* configure.in: introduce SIZEOF_REGISTER - usually ==SIZEOF_VOID_P, except on mips/n32
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=121295
Mark Probst [Thu, 11 Dec 2008 14:55:41 +0000 (14:55 -0000)]
2008-12-11 Mark Probst <mark.probst@gmail.com>
* metadata/generic-sharing.c: Look for constraints in all type
arguments, not just the first one.
2008-12-11 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c: Removed an unnecessary assertion.
2008-12-11 Mark Probst <mark.probst@gmail.com>
* generic-marshalbyref.2.cs: Test for calls to marshal-by-ref
objects.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=121292