<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,7 +10,7 @@ using System.Windows.Input;
 
 namespace IronNails.Library.Behaviors
 {
-    public class ClickBehavior 
+    public class ClickBehavior : DependencyObject
     {
         public static DependencyProperty DoubleClickCommandProperty =
             DependencyProperty.RegisterAttached(&quot;DoubleClick&quot;,</diff>
      <filename>IronNails.Library/Behaviors/ClickBehavior.cs</filename>
    </modified>
    <modified>
      <diff>@@ -80,8 +80,9 @@ namespace IronNails.Library
         /// &lt;param name=&quot;arg&quot;&gt;The arg.&lt;/param&gt;
         void ICommand.Execute(object arg)
         {
+          ((UIElement) arg).Dispatcher.BeginInvoke(DispatcherPriority.Normal, _handler);
             //((UIElement) arg).Dispatcher.Invoke(DispatcherPriority.Normal, _handler);
-            _handler();
+            //_handler();
         }
 
         #endregion</diff>
      <filename>IronNails.Library/DelegateCommand.cs</filename>
    </modified>
    <modified>
      <diff>@@ -1,12 +1,12 @@
 namespace IronNails.View
 {
-    /// &lt;summary&gt;
-    /// This is just a placeholder class the real behavior is added
-    /// in IronRuby but this way there is a common extension point for 
-    /// DLR and CLR based languages.
-    /// &lt;/summary&gt;
-    public class XamlProxy
-    {
-        public XamlProxy(string name){}
-    }
+//    /// &lt;summary&gt;
+//    /// This is just a placeholder class the real behavior is added
+//    /// in IronRuby but this way there is a common extension point for 
+//    /// DLR and CLR based languages.
+//    /// &lt;/summary&gt;
+//    public class XamlProxy
+//    {
+//        public XamlProxy(string name){}
+//    }
 }
\ No newline at end of file</diff>
      <filename>IronNails.Library/XamlProxy.cs</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 #libs_include = &quot;-I 'C:\\tools\\ironruby\\libs;C:\\tools\\ruby\\lib\\ruby\\site_ruby\\1.8;C:\\tools\\ruby\\lib\\ruby\\1.8'&quot;
 require 'yaml'
 require 'ftools'
-libs_include = &quot;&quot;
+libs_include = &quot;&quot; #= &quot;-I 'C:\tools\ironruby\merlin\external\languages\ruby\redist-libs\ruby;C:\tools\ironruby\merlin\external\languages\ironruby&quot;
 
 
 def exec_sys(cmd)
@@ -31,6 +31,8 @@ end
 desc &quot;Builds the helpers and the contracts projects&quot;
 task :build =&gt; ['build:helpers', 'build:contracts', &quot;build:copy_assemblies&quot;]
 
+desc &quot;Cleans and rebuilds the helpers and the contracts projects&quot;
+task :rebuild =&gt; ['build:rebuild_helpers', 'build:rebuild_contracts', &quot;build:copy_assemblies&quot;]
 
 namespace :build do
 
@@ -49,17 +51,29 @@ namespace :build do
     system &quot;msbuild /clp:ErrorsOnly;WarningsOnly /nologo ../IronNails.Library/IronNails.Library.csproj&quot; 
   end
   
+  desc &quot;Cleans and builds the helpers project&quot; 
+  task :rebuild_helpers do
+    puts &quot;Reuilding the helpers project&quot;
+    system &quot;msbuild /clp:ErrorsOnly;WarningsOnly  /t:Clean /nologo ../IronNails.Library/IronNails.Library.csproj&quot; 
+  end
+  
   desc &quot;Build the contracts project&quot; 
   task :contracts do
     puts &quot;Building the contracts project&quot;
     system &quot;msbuild /clp:ErrorsOnly;WarningsOnly /nologo ../IronNails.Contracts/IronNails.Contracts.csproj&quot; 
   end
+  
+  desc &quot;Cleans and builds the contracts project&quot;
+  task :rebuild_contracts do
+	puts &quot;Rebuilding the contracts project&quot;
+	system &quot;msbuild /clp:ErrorsOnly;WarningsOnly /nologo /t:Clean ../IronNails.Contracts/IronNails.Contracts.csproj&quot;
+  end
 
 end
 
 desc &quot;Opens a console with the environment of the application initialized (Doesn't work at the moment)&quot;
 task :console do
-  system &quot;ir #{libs_include} -D -i config/boot.rb&quot;
+  system &quot;ir #{libs_include} '-D -i config/boot.rb'&quot;
 end
 
 task :default do </diff>
      <filename>IronNails/Rakefile.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,64 +5,67 @@ module IronNails
     
     class Status
       
-      def self.timeline_with_friends(credentials, &amp;callback)
-        options = { :url =&gt; Constants::Urls::FRIENDS_TIMELINE, :credentials =&gt; credentials, :root_path =&gt; 'statuses/status' }
-        internal_request options, &amp;callback        
-      end
-      
-      def self.replies_timeline(credentials, &amp;callback)
-        options = { :url =&gt; Constants::Urls::REPLIES_TIMELINE, :credentials =&gt; credentials, :root_path =&gt; 'statuses/status' }
-        internal_request options, &amp;callback        
-      end 
-      
-      def self.timeline_for_user(user, credentials, &amp;callback)
-        options = { :url =&gt; &quot;#{Constants::Urls::USERS_TIMELINE}#{user}#{Constants::RESPONSE_FORMAT}&quot;, :credentials =&gt; credentials, :root_path =&gt; 'statuses/status' }
-        internal_request options, &amp;callback 
-      end
+      class &lt;&lt; self
       
-      def self.update_status(message, credentials, &amp;callback)
-        request = WebClient.new Constants::Urls::UPDATE_STATUS, credentials
-        params = {:status =&gt; message, :source =&gt; &quot;Sylvester&quot; }
-        parse_response = lambda{ |rdr| parse_post_response rdr, message }       
+        def timeline_with_friends(credentials, &amp;callback)
+          options = { :url =&gt; Constants::Urls::FRIENDS_TIMELINE, :credentials =&gt; credentials, :root_path =&gt; 'statuses/status' }
+          internal_request options, &amp;callback        
+        end
         
-        request.post_and_return params, parse_response, &amp;callback        
-      end
-      
-      def self.delete(message, credentials, &amp;callback)
-        request = WebClient.new &quot;#{Constants::Urls::DESTROY_TWEET}#{message}#{Constants::RESPONSE_FORMAT}&quot;, credentials
-        request.get
-      end
-      
-      def self.properties
-        %w(created_at id text source truncated in_reply_to_status_id in_reply_to_user_id favorited)
-      end
-      
-      def self.children
-        %w(user)
-      end
-      
-      def self.parse_post_response(reader, original_message)
-        item = nil 
-        IronXml.parse(reader, :stream) do |doc|
-          item = self.build_from_post(doc.element('status'), original_message) 
+        def replies_timeline(credentials, &amp;callback)
+          options = { :url =&gt; Constants::Urls::REPLIES_TIMELINE, :credentials =&gt; credentials, :root_path =&gt; 'statuses/status' }
+          internal_request options, &amp;callback        
+        end 
+        
+        def timeline_for_user(user, credentials, &amp;callback)
+          options = { :url =&gt; &quot;#{Constants::Urls::USERS_TIMELINE}#{user}#{Constants::RESPONSE_FORMAT}&quot;, :credentials =&gt; credentials, :root_path =&gt; 'statuses/status' }
+          internal_request options, &amp;callback 
+        end
+        
+        def update_status(message, credentials, &amp;callback)
+          request = WebClient.new Constants::Urls::UPDATE_STATUS, credentials
+          params = {:status =&gt; message, :source =&gt; &quot;Sylvester&quot; }
+          parse_response = lambda{ |rdr| parse_post_response rdr, message }       
+          
+          request.post_and_return params, parse_response, &amp;callback        
+        end
+        
+        def delete(message, credentials, &amp;callback)
+          request = WebClient.new &quot;#{Constants::Urls::DESTROY_TWEET}#{message}#{Constants::RESPONSE_FORMAT}&quot;, credentials
+          request.get
+        end
+        
+        def properties
+          %w(created_at id text source truncated in_reply_to_status_id in_reply_to_user_id favorited)
+        end
+        
+        def children
+          %w(user)
+        end
+        
+        def parse_post_response(reader, original_message)
+          item = nil 
+          IronXml.parse(reader, :stream) do |doc|
+            item = self.build_from_post(doc.element('status'), original_message) 
+          end
+          item
         end
-        item
-      end
-      
-      def self.build_from_post(element, original_message)
-        return nil if element.nil?
         
-        item = self.new      
-        item.populate_properties_from(element) do |val|
-          if original_message.is_direct_message?
-            item.text = original_message
-          else
-            item.text = HttpUtility.html_decode val
+        def build_from_post(element, original_message)
+          return nil if element.nil?
+          
+          item = self.new      
+          item.populate_properties_from(element) do |val|
+            if original_message.is_direct_message?
+              item.text = original_message
+            else
+              item.text = HttpUtility.html_decode val
+            end
           end
+          item.populate_children_from element
+          item.is_new = true
+          item
         end
-        item.populate_children_from element
-        item.is_new = true
-        item
       end
       
     end</diff>
      <filename>IronNails/app/models/status.rb</filename>
    </modified>
    <modified>
      <diff></diff>
      <filename>IronNails/bin/IronNails.Contracts.dll</filename>
    </modified>
    <modified>
      <diff></diff>
      <filename>IronNails/bin/IronNails.Contracts.pdb</filename>
    </modified>
    <modified>
      <diff></diff>
      <filename>IronNails/bin/IronNails.Library.dll</filename>
    </modified>
    <modified>
      <diff>@@ -1,2 +1,2 @@
 ---
-ironruby_path: C:\tools\ironruby\build\debug
+ironruby_path: C:\tools\ironruby\merlin\main\bin\debug</diff>
      <filename>IronNails/config/build_config.yml</filename>
    </modified>
    <modified>
      <diff></diff>
      <filename>IronNails/vendor/iron_nails/bin/IronNails.Library.dll</filename>
    </modified>
    <modified>
      <diff></diff>
      <filename>IronNails/vendor/iron_nails/bin/IronNails.Library.pdb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,7 @@
+  def include_global_namespaces(namespaces)
+    namespaces.each { |namespace| include(eval(namespace)) }
+  end
+
 module IronNails
 
   class &lt;&lt; self
@@ -117,7 +121,8 @@ module IronNails
     
     def include_namespaces
       logger.debug &quot;Including namespaces&quot;, IRONNAILS_FRAMEWORKNAME
-      configuration.namespaces.each { |namespace| Object.include eval(namespace) }
+      #include_global_namespaces configuration.namespaces
+      configuration.namespaces.each { |namespace| Object.send :include, eval(namespace) }
     end 
     
     def require_application_files</diff>
      <filename>IronNails/vendor/iron_nails/config/initializer.rb</filename>
    </modified>
    <modified>
      <diff>@@ -36,10 +36,10 @@ module IronNails
       def refresh_view(name=nil)
         name ||= view_name.to_sym
         setup_for_showing_view
-		nails_engine.refresh_view(nails_engine.find_view(controller_name, name))
-		on_view(name) do |proxy|
-		  proxy.refresh
-		end
+		    nails_engine.refresh_view(nails_engine.find_view(controller_name, name))
+        on_view(name) do |proxy|
+          proxy.refresh
+        end
       end
       
       def on_view(name=nil, options={}, &amp;b)</diff>
      <filename>IronNails/vendor/iron_nails/lib/controller/base.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,8 +4,8 @@ module IronNails
   
   module Logging
     
-    FRAMEWORK_LOGGING = true
-    CONSOLE_LOGGING = true
+    FRAMEWORK_LOGGING = true unless defined? FRAMEWORK_LOGGING
+    CONSOLE_LOGGING = true unless defined? CONSOLE_LOGGING
     
     class BufferedLogger
       module Severity</diff>
      <filename>IronNails/vendor/iron_nails/lib/logging/buffered_logger.rb</filename>
    </modified>
    <modified>
      <diff>@@ -206,7 +206,7 @@ module IronNails
         #       should work as normally. Will revisit this later to properly fix it.        
         vm_name = controller.view_model_name
         klass = Object.const_get vm_name.camelize
-        klass.include IronNails::View::ViewModelMixin
+        klass.send :include, IronNails::View::ViewModelMixin
         key = vm_name.to_sym
         view_models[key] = klass.new if view_models[key].nil?
         registry.register_viewmodel_for controller, view_models[key]</diff>
      <filename>IronNails/vendor/iron_nails/lib/nails_engine.rb</filename>
    </modified>
    <modified>
      <diff>@@ -13,8 +13,8 @@ module IronNails
       alias_method :nails_base_command_read_options, :read_options
       def read_options(options)
         nails_base_command_read_options options
-        raise ArgumentError.new &quot;We need a target to be defined by the :to parameter&quot; if options[:to].nil?
-        raise ArgumentError.new &quot;We need a controller instance to be defined in the :controller parameter&quot; if options[:controller].nil? || !options[:controller].respond_to?(:current_view)
+        raise ArgumentError.new(&quot;We need a target to be defined by the :to parameter&quot;) if options[:to].nil?
+        raise ArgumentError.new(&quot;We need a controller instance to be defined in the :controller parameter&quot;) if options[:controller].nil? || !options[:controller].respond_to?(:current_view)
         
         @controller = options[:controller]
         @target = options[:to]</diff>
      <filename>IronNails/vendor/iron_nails/lib/view/commands/add_sub_view_command.rb</filename>
    </modified>
    <modified>
      <diff>@@ -223,4 +223,18 @@ module IronNails
     
   end
   
-end
\ No newline at end of file
+end
+
+#module IronNails
+#
+#  module View
+  
+    class XamlProxy
+    
+      def initialize
+        puts &quot;Hello world&quot;
+      end 
+    end
+    
+#  end
+#end
\ No newline at end of file</diff>
      <filename>IronNails/vendor/iron_nails/lib/view/xaml_proxy.rb</filename>
    </modified>
    <modified>
      <diff></diff>
      <filename>libs/IronNails.Library.dll</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>762490d5aea751be76125c18134c0ad048adf856</id>
    </parent>
  </parents>
  <author>
    <name>Ivan Porto Carrero</name>
    <email>ivan@flanders.co.nz</email>
  </author>
  <url>http://github.com/casualjim/ironnails/commit/1e3c37ad8af5bdfa3a6788fbef8f00ed875a1ea0</url>
  <id>1e3c37ad8af5bdfa3a6788fbef8f00ed875a1ea0</id>
  <committed-date>2008-12-30T06:37:01-08:00</committed-date>
  <authored-date>2008-12-30T06:37:01-08:00</authored-date>
  <message>It's working against the latest IronRuby revision</message>
  <tree>1d460719d6363a2b4e229618901c7eaeba588472</tree>
  <committer>
    <name>Ivan Porto Carrero</name>
    <email>ivan@flanders.co.nz</email>
  </committer>
</commit>
