diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 9acca10..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "vendor/ironruby_inline"] - path = vendor/ironruby_inline - url = git://github.com/rvernagus/IronRubyInline.git diff --git a/IronNails.Contracts/Controls/FilterText.xaml b/IronNails.Contracts/Controls/FilterText.xaml deleted file mode 100644 index c8d136f..0000000 --- a/IronNails.Contracts/Controls/FilterText.xaml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/IronNails/skins/AeroCompact.xaml b/IronNails/skins/AeroCompact.xaml deleted file mode 100644 index 80794a5..0000000 --- a/IronNails/skins/AeroCompact.xaml +++ /dev/null @@ -1,954 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/IronNails/skins/CoolBlue.xaml b/IronNails/skins/CoolBlue.xaml deleted file mode 100644 index 429c24d..0000000 --- a/IronNails/skins/CoolBlue.xaml +++ /dev/null @@ -1,914 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/IronNails/vendor/ironnails/lib/ironnails/bin/IronNails.Library.dll b/IronNails/vendor/ironnails/lib/ironnails/bin/IronNails.Library.dll deleted file mode 100644 index 3a0f727..0000000 Binary files a/IronNails/vendor/ironnails/lib/ironnails/bin/IronNails.Library.dll and /dev/null differ diff --git a/IronNails/vendor/ironnails/lib/ironnails/bin/IronRuby.dll b/IronNails/vendor/ironnails/lib/ironnails/bin/IronRuby.dll deleted file mode 100644 index d0e0d2e..0000000 Binary files a/IronNails/vendor/ironnails/lib/ironnails/bin/IronRuby.dll and /dev/null differ diff --git a/IronNails/vendor/ironnails/lib/ironnails/bin/Microsoft.Dynamic.dll b/IronNails/vendor/ironnails/lib/ironnails/bin/Microsoft.Dynamic.dll deleted file mode 100644 index 38eeef6..0000000 Binary files a/IronNails/vendor/ironnails/lib/ironnails/bin/Microsoft.Dynamic.dll and /dev/null differ diff --git a/IronNails/vendor/ironnails/lib/ironnails/bin/Microsoft.Scripting.Core.dll b/IronNails/vendor/ironnails/lib/ironnails/bin/Microsoft.Scripting.Core.dll deleted file mode 100644 index df130f4..0000000 Binary files a/IronNails/vendor/ironnails/lib/ironnails/bin/Microsoft.Scripting.Core.dll and /dev/null differ diff --git a/IronNails/vendor/ironnails/lib/ironnails/bin/Microsoft.Scripting.ExtensionAttribute.dll b/IronNails/vendor/ironnails/lib/ironnails/bin/Microsoft.Scripting.ExtensionAttribute.dll deleted file mode 100644 index d08ba28..0000000 Binary files a/IronNails/vendor/ironnails/lib/ironnails/bin/Microsoft.Scripting.ExtensionAttribute.dll and /dev/null differ diff --git a/IronNails/vendor/ironnails/lib/ironnails/bin/Microsoft.Scripting.dll b/IronNails/vendor/ironnails/lib/ironnails/bin/Microsoft.Scripting.dll deleted file mode 100644 index c50ffd5..0000000 Binary files a/IronNails/vendor/ironnails/lib/ironnails/bin/Microsoft.Scripting.dll and /dev/null differ diff --git a/playground/databind/app.rb b/playground/databind/app.rb deleted file mode 100644 index ec33339..0000000 --- a/playground/databind/app.rb +++ /dev/null @@ -1,127 +0,0 @@ -require 'System' -require 'WindowsBase' -require 'PresentationCore' -require 'PresentationFramework' -require 'System.Windows.Forms' - -include System -include System::Windows -include System::Collections::ObjectModel - -class System::Windows::Markup::XamlReader - - def self.load_from_path(path) - f = System::IO::FileStream.new(path, System::IO::FileMode.Open, System::IO::FileAccess.Read) - begin - element = Markup::XamlReader::Load(f) - ensure - f.close - end - element - end -end - -module WpfBehavior - - module Databinding - - module ClassMethods - - # defines a write-only attribute on an object - # this would map to a property setter in different languages - def attr_writer(*names) - names.each do |nm| - mn = nm - self.send :define_method, "#{nm}=".to_sym do |arg| - __vr__ = instance_variable_get :"@#{mn}" - return __vr__ if __vr__ == arg - instance_variable_set :"@#{mn}", arg - raise_property_changed mn - end - end - end - - # defines a read/write attribute on an object. - # this would map to a property with a getter and a setter in different langauages - def attr_accessor(*names) - attr_reader *names - attr_writer *names - end - - - end - - # extend the class with the class methods defined in this module - def self.included(base) - base.send :include, System::ComponentModel::INotifyPropertyChanged unless base.ancestors.include? System::ComponentModel::INotifyPropertyChanged - base.extend ClassMethods - end - - def add_PropertyChanged(handler=nil) - @__handlers__ ||= [] - @__handlers__ << handler - end - - def remove_PropertyChanged(handler=nil) - @__handlers__ ||= [] - @__handlers__.delete handler - end - - private - def raise_property_changed(name) - return unless @__handlers__ - @__handlers__.each do |ev| - ev.invoke self, System::ComponentModel::PropertyChangedEventArgs.new(name) if ev.respond_to? :invoke - ev.call self, System::ComponentModel::PropertyChangedEventArgs.new(name) if ev.respond_to? :call - end - end - - end - -end - -class Person - - include WpfBehavior::Databinding - - attr_accessor :name, :age - - - def to_s - "" - end - - def initialize(attrs={}) - attrs.each do |k, v| - self.send :"#{k}=", v - end - end - -end - -class ViewModel - - include WpfBehavior::Databinding - - attr_accessor :people, :new_name - -end - -if $0 == __FILE__ - view_path = File.expand_path(File.join(File.dirname(__FILE__), 'main.xaml')) - window = Markup::XamlReader.load_from_path view_path if File.exists? view_path - vm = ViewModel.new - window.data_context = vm - people_list = window.find_name("people_list") - vm.people= ObservableCollection.of(Person).new - [Person.new( :name => "Ivan", :age => 32), Person.new(:name => "Adam", :age => 27), Person.new(:name => "Maurits", :age => 31)].each { |p| vm.people.add p } - people_list.items_source = vm.people - - btn = window.find_name("change_name") - btn.click do |s, a| - vm.people.first.name = vm.send :new_name - end - - - Application.new.run window -end \ No newline at end of file diff --git a/playground/databind/main.xaml b/playground/databind/main.xaml deleted file mode 100644 index 20608b5..0000000 --- a/playground/databind/main.xaml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - -