Commits on Apr 26, 2009
  1. 2009-04-27 Zoltan Varga <>

    	* mini-llvm.c (mono_llvm_emit_method): Implement OP_CHECK_THIS using
    	a volatile load. Get rid of get_tempname (), llvm assigns names
    	* mini-llvm-cpp.cpp (mono_llvm_build_volatile_load): New instruction
    	builder function.
    svn path=/trunk/mono/; revision=132691
    vargaz committed Apr 26, 2009
  2. 2009-04-27 Zoltan Varga <>

    	* mini-llvm.c (mono_llvm_emit_method): Don't call LLVMGetParam on
    	a value.
    	* abcremoval.c (REPORT_ABC_REMOVAL): Don't output messages at verbose
    	level 1.
    svn path=/trunk/mono/; revision=132690
    vargaz committed Apr 26, 2009
  3. 2009-04-27 Zoltan Varga <>

    	* mini-codegen.c (mono_local_regalloc): Prevent sreg1/dreg to be allocated
    	to the same register as a fixed sreg2. Fixes #497271.
    	* Add a new test.
    svn path=/trunk/mono/; revision=132689
    vargaz committed Apr 26, 2009
  4. 2009-04-26 Zoltan Varga <>

    	* mini-amd64.c: Use moves instead of pushes for passing arguments on the
    	stack, since pushes complicate exception handling.
    	* exceptions-amd64.c (mono_arch_find_jit_info): Don't pop the arguments of
    	the stack if they are passed using moves.
    svn path=/trunk/mono/; revision=132687
    vargaz committed Apr 26, 2009
  5. 2009-04-26 Zoltan Varga <>

    	* mini-trampolines.c (mono_llvm_vcall_trampoline): Add an assert.
    	* method-to-ir.c (mono_method_to_ir): Disable fast virtual generic methods
    	when using llvm.
    	* mini-llvm.c (mono_llvm_emit_method): Call jit icall wrappers, not the
    	icalls themselves. Convert arguments of FCOMPARE. Convert the destination
    	of FMOVE if it is an R4.
    svn path=/trunk/mono/; revision=132686
    vargaz committed Apr 26, 2009
  6. Disable track resurrection hashes if using SGen.

    2009-04-26  Mark Probst  <>
            * domain.c, domain-internals.h: Disable
            track_resurrection_{objects,handles}_hash in MonoDomain if using
    svn path=/trunk/mono/; revision=132681
    schani committed Apr 26, 2009
Commits on Apr 25, 2009
  1. Add comment after much debate

    svn path=/trunk/mcs/; revision=132672
    migueldeicaza committed Apr 25, 2009
  2. 2009-04-25 Miguel de Icaza <>

    	* TermInfoDriver.cs: Use the new StreamReader.DataAvailable to
    	load all the data that was added into the `stdin' stream when we
    	did the `Read'.
    2009-04-25  Miguel de Icaza  <>
    	* StreamReader.cs (DataAvailable): New internal function to work
    	around the fact that StreamReaders are now blocking on Peek(), and
    	that our own Console.TermInfoDriver used Peek() as a way of
    	probing if there was data on a stream before to avoid blocking. o
    svn path=/trunk/mcs/; revision=132670
    migueldeicaza committed Apr 25, 2009
  3. Apply Gonzalo's patch to fix TermInfoDriver after his StreamReader ch…

    svn path=/trunk/mcs/; revision=132667
    migueldeicaza committed Apr 25, 2009
  4. Reapply

    svn path=/trunk/mcs/; revision=132666
    migueldeicaza committed Apr 25, 2009
  5. 2009-04-25 Zoltan Varga <>

    	* mini-ops.h: Add OP_LLVM_OUTARG_VT opcode.
    	* mini.h (LLVMCallInfo): New structure to store calling convention
    	information for the LLVM back end similar to the CallInfo structures in
    	the back-ends.
    	* mini-amd64.c (mono_arch_get_llvm_call_info): New arch function to return
    	call information in a format usable by LLVM.
    	(mono_arch_emit_call): Move the LLVM handling code to mono_llvm_emit_call ().
    	* method-to-ir.c (mono_emit_call_args): Emit calls using
    	mono_llvm_emit_call () when compiling using LLVM.
    	* mini-llvm.c: Implement support for passing/receiving valuetypes. Add
    	comments to all functions. Fix memory leaks. Add a public init/cleanup
    	* mini.c: Call the llvm init/cleanup functions in mini_init()/cleanup().
    	* method-to-ir.c (handle_array_new): Disable llvm when calling the vararg
    	mono_array_new_va () jit icall.
    svn path=/trunk/mono/; revision=132665
    vargaz committed Apr 25, 2009
  6. 2009-04-25 Carlos Alberto Cortez <>

    	* ToolStrip.cs: Even if we are not exactly a MenuStrip instance, close
    	any ToolStripDropDownItem when receiving a mouse down event in an
    	empty area.
    svn path=/trunk/mcs/; revision=132664
    carlosalberto committed Apr 25, 2009
  7. 2009-04-25 Sebastien Pouliot <>

    	* *.cs: Exclude the files for the NET_2_1 profile, since they are
    	unneeded and adds a bunch (23) [SecuritySafeCritical] to audit for
    svn path=/trunk/mcs/; revision=132663
    Sebastien Pouliot committed Apr 25, 2009
  8. 2009-04-24 Sebastien Pouliot <>

    	* Environment.cs: #ifdef out code that use the registry for the 
    	NET_2_1 profile and some other properties (2) that added
    	[SecuritySafeCritical] methods to audit inside Moonlight.
    svn path=/trunk/mcs/; revision=132662
    Sebastien Pouliot committed Apr 25, 2009
  9. 2009-04-25 Daniel Nauck <>

            Fix bug #484649:
            * LoggerInfo.cs: fixed the parsing of the /logger: argument as described in
            Added logger class detection if it's not explicit specified in the argument.
    svn path=/trunk/mcs/; revision=132660
    dnauck committed Apr 25, 2009
  10. 2009-04-25 Jonathan Chambers <>

            * Makefile: Add Microsoft.Build.* to 3.5 profile.
    svn path=/trunk/mcs/; revision=132649
    joncham committed Apr 25, 2009
  11. 2009-04-24 Kostyantyn Gushtin, Yevgen Kiruha, Serhiy Naumenko, Serhiy…

    … Stetskovych and Ian Dichkovsky <>
    	* include/private/gcconfig.h: Changes to support 64-bit ABI on MIPS.
    	Add an additional condition for a proper defining of  ALIGNMENT
    	and CPP_WORDSZ.
    svn path=/trunk/mono/; revision=132645
    vargaz committed Apr 25, 2009
  12. * src/**/*: Add missing files (doh!). Fixes the build.

    svn path=/trunk/mcs/; revision=132643
    Jonathan Pryor committed Apr 25, 2009
  13. 2009-04-24 Miguel de Icaza <>

    	* complete.cs: No idea how gonzalo got a null in the list, but
    	avoid crashing.
    svn path=/trunk/mcs/; revision=132641
    migueldeicaza committed Apr 25, 2009
Commits on Apr 24, 2009
  1. * src/**/*: Flush; syncs to DbLinq r1053. Adds

    	  DataContext(string,MappingSource) support, the beginnings of object
    	  tracking, more tests...
    svn path=/trunk/mcs/; revision=132640
    Jonathan Pryor committed Apr 24, 2009
  2. Revert 132601, 132602 as it made the csharp console stop working

    svn path=/trunk/mcs/; revision=132638
    migueldeicaza committed Apr 24, 2009
  3. Without this I am unable to install

    svn path=/trunk/mono/; revision=132637
    migueldeicaza committed Apr 24, 2009
  4. 2009-04-24 Rodrigo Kumpera <>

    	* get.c (dis_stringify_method_signature_full): Don't assert
    	if no marshal info is found.
    svn path=/trunk/mono/; revision=132636
    kumpera committed Apr 24, 2009
  5. 2009-04-24 Rodrigo Kumpera <>

    	* assembly-with-params.cs: New test file with all sort of param kinds.
    	* assembly-with-methods.cs: Added more stuff to test paramlist.
    	* Makefile: Add new dependencies.
    	* Tests for methoddef's paramlist.
    	Tests for the param table.
    svn path=/trunk/mono/; revision=132635
    kumpera committed Apr 24, 2009
  6. 2009-04-24 Rodrigo Kumpera <>

    	* metadata-verify.c: Verify the param table.
    svn path=/trunk/mono/; revision=132634
    kumpera committed Apr 24, 2009
  7. 2009-04-24 Rodrigo Kumpera <>

    	* metadata-verify.c (verify_typedef_table): Range check FieldList and
    	* metadata-verify.c (verify_method_table): Proper check the ParamList
    svn path=/trunk/mono/; revision=132633
    kumpera committed Apr 24, 2009
  8. 2009-04-24 Rodrigo Kumpera <>

    	* metadata-verify.c (verify_method_table): Check for runtime
    	implemented functions such as delegate .ctors. Remove spurious
    svn path=/trunk/mono/; revision=132632
    kumpera committed Apr 24, 2009
  9. 2009-04-24 Rodrigo Kumpera <>

    	* pedump.c: Proper initialize the runtime forcing the 2.0 profile.
    svn path=/trunk/mono/; revision=132631
    kumpera committed Apr 24, 2009
  10. Update this

    svn path=/trunk/mcs/; revision=132627
    migueldeicaza committed Apr 24, 2009
  11. Reapply this patch, but keep in mind, it does introduce

    a new shift/reduce conflict which is bothering me:
    625: shift/reduce conflict (shift 452, reduce 890) on COMPLETE_COMPLETION
    state 625
    	member_initializer : non_assignment_expression . opt_COMPLETE_COMPLETION  (452)
    	opt_COMPLETE_COMPLETION : .  (890)
    	CLOSE_BRACE  reduce 890
    	COMMA  reduce 890
    	opt_COMPLETE_COMPLETION  goto 807
    2009-04-24  Miguel de Icaza  <>
    	* complete.cs (CompletionElementInitializer): New completion class
    	to support completing inside a C# 3 element initializer, so this
    	allows completion for Silverlight situations where it is very
    	common to do:
    	new TextBlock () { Fo<TAB>
    	(CompletionSimpleName): Expose the prefix that was
    	passed to the simple name.
    	* cs-parser.jay (object_or_collection_initializer): Add support
    	for element_initializers.
    	* expression.cs (CollectionOrObjectInitializers.DoResolve):
    	special case completion expressions as this method aggressively
    	collects data before it operates, and errors were being thrown
    	earlier than we were able to complete.
    svn path=/trunk/mcs/; revision=132626
    migueldeicaza committed Apr 24, 2009
  12. 2009-04-24 Andrés G. Aragoneses <>

            * ToolBarButton.cs: add UIA events for style and dropdownmenu changes.
    svn path=/trunk/mcs/; revision=132625
    knocte committed Apr 24, 2009
  13. 2009-04-24 Andrés G. Aragoneses <>

            * ToolBarButton.cs: rename a method to include UIA prefix.    
    svn path=/trunk/mcs/; revision=132624
    knocte committed Apr 24, 2009
  14. doh, fix build

    svn path=/trunk/mcs/; revision=132623
    knocte committed Apr 24, 2009
  15. 2009-04-24 Bill Holmes <>

    	Fixing the glib targets for Winx64.
    	* libmono.vcproj, mono.vcproj: Correcting the ProgramDatabaseFile
    	  value for the Winx64 glib build.
    	* mono.sln: Enabling the glib targets for Winx64.
    	Code is contributed under MIT/X11 license.
    svn path=/trunk/mono/; revision=132622
    Bill Holmes committed Apr 24, 2009
  16. 2009-04-24 Andrés G. Aragoneses <>

            * ToolBarButton.cs: change visibility of some UIA methods to private.
    svn path=/trunk/mcs/; revision=132621
    knocte committed Apr 24, 2009