merge other branches into master
This commit is contained in:
commit
343df37b7c
@ -0,0 +1,148 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Generated with glade 3.22.2 -->
|
||||||
|
<interface>
|
||||||
|
<requires lib="gtk+" version="3.20"/>
|
||||||
|
<object class="GtkWindow">
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<child type="titlebar">
|
||||||
|
<placeholder/>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="orientation">vertical</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkToolbar" id="tbItems">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkToolButton" id="tsbItemAdd">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="label" translatable="yes">_Add</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="stock_id">gtk-add</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="homogeneous">True</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkToolButton" id="tsbItemEdit">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="label" translatable="yes">_Edit</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="stock_id">gtk-edit</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="homogeneous">True</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkToolButton" id="tsbItemRemove">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="label" translatable="yes">_Remove</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="stock_id">gtk-remove</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="homogeneous">True</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkSeparatorToolItem">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="homogeneous">True</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkToolButton" id="tsbItemMoveUp">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="label" translatable="yes">Move _Up</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="stock_id">gtk-go-up</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="homogeneous">True</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkToolButton" id="tsbItemMoveDown">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="label" translatable="yes">Move _Down</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="stock_id">gtk-go-down</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="homogeneous">True</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkSeparatorToolItem">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="homogeneous">True</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkToolButton" id="tsbItemsClear">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="label" translatable="yes">Remove All</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="stock_id">gtk-clear</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="homogeneous">True</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">0</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkScrolledWindow">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="shadow_type">in</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkTreeView" id="tvItems">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<child internal-child="selection">
|
||||||
|
<object class="GtkTreeSelection"/>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</interface>
|
||||||
@ -0,0 +1,108 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Generated with glade 3.22.2 -->
|
||||||
|
<interface>
|
||||||
|
<requires lib="gtk+" version="3.20"/>
|
||||||
|
<object class="GtkTreeStore" id="tm">
|
||||||
|
<columns>
|
||||||
|
<!-- column-name colVersion -->
|
||||||
|
<column type="gchararray"/>
|
||||||
|
<!-- column-name colPreviousBlockHash -->
|
||||||
|
<column type="gchararray"/>
|
||||||
|
<!-- column-name colMerkelRoot -->
|
||||||
|
<column type="gchararray"/>
|
||||||
|
<!-- column-name colTimestamp -->
|
||||||
|
<column type="gchararray"/>
|
||||||
|
</columns>
|
||||||
|
</object>
|
||||||
|
<object class="GtkWindow">
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<child type="titlebar">
|
||||||
|
<placeholder/>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="orientation">vertical</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkScrolledWindow">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="shadow_type">in</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkTreeView" id="tv">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="model">tm</property>
|
||||||
|
<child internal-child="selection">
|
||||||
|
<object class="GtkTreeSelection"/>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkTreeViewColumn" id="tvcVersion">
|
||||||
|
<property name="resizable">True</property>
|
||||||
|
<property name="title" translatable="yes">Version</property>
|
||||||
|
<property name="clickable">True</property>
|
||||||
|
<property name="reorderable">True</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkCellRendererText"/>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="text">0</attribute>
|
||||||
|
</attributes>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkTreeViewColumn" id="tvcPreviousBlockHash">
|
||||||
|
<property name="resizable">True</property>
|
||||||
|
<property name="title" translatable="yes">Previous Block Hash</property>
|
||||||
|
<property name="clickable">True</property>
|
||||||
|
<property name="reorderable">True</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkCellRendererText"/>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="text">1</attribute>
|
||||||
|
</attributes>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkTreeViewColumn" id="tvcMerkelRoot">
|
||||||
|
<property name="resizable">True</property>
|
||||||
|
<property name="title" translatable="yes">Merkel Root</property>
|
||||||
|
<property name="clickable">True</property>
|
||||||
|
<property name="reorderable">True</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkCellRendererText"/>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="text">2</attribute>
|
||||||
|
</attributes>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkTreeViewColumn" id="tvcTimestamp">
|
||||||
|
<property name="resizable">True</property>
|
||||||
|
<property name="title" translatable="yes">Timestamp</property>
|
||||||
|
<property name="clickable">True</property>
|
||||||
|
<property name="reorderable">True</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkCellRendererText"/>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="text">3</attribute>
|
||||||
|
</attributes>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">0</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</interface>
|
||||||
@ -0,0 +1,354 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Generated with glade 3.22.1 -->
|
||||||
|
<interface>
|
||||||
|
<requires lib="gtk+" version="3.20"/>
|
||||||
|
<object class="GtkImage" id="icoAdd">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="margin_left">8</property>
|
||||||
|
<property name="margin_right">8</property>
|
||||||
|
<property name="margin_top">8</property>
|
||||||
|
<property name="margin_bottom">8</property>
|
||||||
|
<property name="stock">gtk-add</property>
|
||||||
|
<property name="icon_size">6</property>
|
||||||
|
</object>
|
||||||
|
<object class="GtkImage" id="icoEncrypt">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="margin_left">8</property>
|
||||||
|
<property name="margin_right">8</property>
|
||||||
|
<property name="margin_top">8</property>
|
||||||
|
<property name="margin_bottom">8</property>
|
||||||
|
<property name="stock">gtk-dialog-authentication</property>
|
||||||
|
<property name="icon_size">6</property>
|
||||||
|
</object>
|
||||||
|
<object class="GtkImage" id="icoExtract">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="margin_left">8</property>
|
||||||
|
<property name="margin_right">8</property>
|
||||||
|
<property name="margin_top">8</property>
|
||||||
|
<property name="margin_bottom">8</property>
|
||||||
|
<property name="stock">gtk-save-as</property>
|
||||||
|
<property name="icon_size">6</property>
|
||||||
|
</object>
|
||||||
|
<object class="GtkImage" id="icoFavorites">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="margin_left">8</property>
|
||||||
|
<property name="margin_right">8</property>
|
||||||
|
<property name="margin_top">8</property>
|
||||||
|
<property name="margin_bottom">8</property>
|
||||||
|
<property name="stock">gtk-directory</property>
|
||||||
|
<property name="icon_size">6</property>
|
||||||
|
</object>
|
||||||
|
<object class="GtkImage" id="icoInstall">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="margin_left">8</property>
|
||||||
|
<property name="margin_right">8</property>
|
||||||
|
<property name="margin_top">8</property>
|
||||||
|
<property name="margin_bottom">8</property>
|
||||||
|
<property name="stock">gtk-execute</property>
|
||||||
|
<property name="icon_size">6</property>
|
||||||
|
</object>
|
||||||
|
<object class="GtkImage" id="icoNew">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="margin_left">8</property>
|
||||||
|
<property name="margin_right">8</property>
|
||||||
|
<property name="margin_top">8</property>
|
||||||
|
<property name="margin_bottom">8</property>
|
||||||
|
<property name="stock">gtk-new</property>
|
||||||
|
<property name="icon_size">6</property>
|
||||||
|
</object>
|
||||||
|
<object class="GtkImage" id="icoOpen">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="margin_left">8</property>
|
||||||
|
<property name="margin_right">8</property>
|
||||||
|
<property name="margin_top">8</property>
|
||||||
|
<property name="margin_bottom">8</property>
|
||||||
|
<property name="stock">gtk-open</property>
|
||||||
|
<property name="icon_size">6</property>
|
||||||
|
</object>
|
||||||
|
<object class="GtkImage" id="icoView">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="margin_left">8</property>
|
||||||
|
<property name="margin_right">8</property>
|
||||||
|
<property name="margin_top">8</property>
|
||||||
|
<property name="margin_bottom">8</property>
|
||||||
|
<property name="stock">gtk-find</property>
|
||||||
|
<property name="icon_size">6</property>
|
||||||
|
</object>
|
||||||
|
<object class="GtkImage" id="icoWizard">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="margin_left">8</property>
|
||||||
|
<property name="margin_right">8</property>
|
||||||
|
<property name="margin_top">8</property>
|
||||||
|
<property name="margin_bottom">8</property>
|
||||||
|
<property name="stock">gtk-preferences</property>
|
||||||
|
<property name="icon_size">6</property>
|
||||||
|
</object>
|
||||||
|
<object class="GtkWindow">
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="orientation">vertical</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton">
|
||||||
|
<property name="label" translatable="yes">New</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">True</property>
|
||||||
|
<property name="image">icoNew</property>
|
||||||
|
<property name="relief">none</property>
|
||||||
|
<property name="image_position">top</property>
|
||||||
|
<property name="always_show_image">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">0</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton">
|
||||||
|
<property name="label" translatable="yes">Open</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">True</property>
|
||||||
|
<property name="image">icoOpen</property>
|
||||||
|
<property name="relief">none</property>
|
||||||
|
<property name="image_position">top</property>
|
||||||
|
<property name="always_show_image">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton">
|
||||||
|
<property name="label" translatable="yes">Favorites</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">True</property>
|
||||||
|
<property name="image">icoFavorites</property>
|
||||||
|
<property name="relief">none</property>
|
||||||
|
<property name="image_position">top</property>
|
||||||
|
<property name="always_show_image">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">2</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton">
|
||||||
|
<property name="label" translatable="yes">Add</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">True</property>
|
||||||
|
<property name="image">icoAdd</property>
|
||||||
|
<property name="relief">none</property>
|
||||||
|
<property name="image_position">top</property>
|
||||||
|
<property name="always_show_image">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">3</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton">
|
||||||
|
<property name="label" translatable="yes">Extract</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">True</property>
|
||||||
|
<property name="image">icoExtract</property>
|
||||||
|
<property name="relief">none</property>
|
||||||
|
<property name="image_position">top</property>
|
||||||
|
<property name="always_show_image">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">4</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton">
|
||||||
|
<property name="label" translatable="yes">Encrypt</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">True</property>
|
||||||
|
<property name="image">icoEncrypt</property>
|
||||||
|
<property name="relief">none</property>
|
||||||
|
<property name="image_position">top</property>
|
||||||
|
<property name="always_show_image">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">5</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton">
|
||||||
|
<property name="label" translatable="yes">View</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">True</property>
|
||||||
|
<property name="image">icoView</property>
|
||||||
|
<property name="relief">none</property>
|
||||||
|
<property name="image_position">top</property>
|
||||||
|
<property name="always_show_image">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">6</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton">
|
||||||
|
<property name="label" translatable="yes">Install</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">True</property>
|
||||||
|
<property name="image">icoInstall</property>
|
||||||
|
<property name="relief">none</property>
|
||||||
|
<property name="image_position">top</property>
|
||||||
|
<property name="always_show_image">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">7</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton">
|
||||||
|
<property name="label" translatable="yes">Wizard</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">True</property>
|
||||||
|
<property name="image">icoWizard</property>
|
||||||
|
<property name="relief">none</property>
|
||||||
|
<property name="image_position">top</property>
|
||||||
|
<property name="always_show_image">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">8</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="padding">16</property>
|
||||||
|
<property name="position">0</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkTreeView" id="tv">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="model">tm</property>
|
||||||
|
<property name="search_column">0</property>
|
||||||
|
<child internal-child="selection">
|
||||||
|
<object class="GtkTreeSelection"/>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkTreeViewColumn" id="tvcFileName">
|
||||||
|
<property name="resizable">True</property>
|
||||||
|
<property name="title" translatable="yes">Name</property>
|
||||||
|
<property name="clickable">True</property>
|
||||||
|
<property name="reorderable">True</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkCellRendererText"/>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="text">0</attribute>
|
||||||
|
</attributes>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkTreeViewColumn" id="tvcFileSize">
|
||||||
|
<property name="resizable">True</property>
|
||||||
|
<property name="title" translatable="yes">Size</property>
|
||||||
|
<property name="clickable">True</property>
|
||||||
|
<property name="reorderable">True</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkCellRendererText"/>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="text">1</attribute>
|
||||||
|
</attributes>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkTreeViewColumn" id="tvcFileType">
|
||||||
|
<property name="resizable">True</property>
|
||||||
|
<property name="title" translatable="yes">Type</property>
|
||||||
|
<property name="clickable">True</property>
|
||||||
|
<property name="reorderable">True</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkCellRendererText"/>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="text">2</attribute>
|
||||||
|
</attributes>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkTreeViewColumn" id="tvcFileDateModified">
|
||||||
|
<property name="resizable">True</property>
|
||||||
|
<property name="title" translatable="yes">Date modified</property>
|
||||||
|
<property name="clickable">True</property>
|
||||||
|
<property name="reorderable">True</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkCellRendererText"/>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="text">3</attribute>
|
||||||
|
</attributes>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<object class="GtkTreeStore" id="tm">
|
||||||
|
<columns>
|
||||||
|
<!-- column-name colFileName -->
|
||||||
|
<column type="gchararray"/>
|
||||||
|
<!-- column-name colFileSize -->
|
||||||
|
<column type="gchararray"/>
|
||||||
|
<!-- column-name colFileType -->
|
||||||
|
<column type="gchararray"/>
|
||||||
|
<!-- column-name colFileDateModified -->
|
||||||
|
<column type="gchararray"/>
|
||||||
|
</columns>
|
||||||
|
</object>
|
||||||
|
</interface>
|
||||||
@ -0,0 +1,27 @@
|
|||||||
|
<UniversalEditor Version="5.0">
|
||||||
|
<Editors>
|
||||||
|
<Editor ID="{0EE62532-88BF-4A4A-9DA3-43E79F015DF1}" TypeName="UniversalEditor.Plugins.Multimedia.UserInterface.Editors.Multimedia.Audio.Waveform.WaveformAudioEditor">
|
||||||
|
<Commands>
|
||||||
|
|
||||||
|
<Command ID="WaveformAudioEditor_ContextMenu_Playback_Play" Title="_Play" />
|
||||||
|
<Command ID="WaveformAudioEditor_ContextMenu_Playback">
|
||||||
|
<Items>
|
||||||
|
<CommandReference CommandID="WaveformAudioEditor_ContextMenu_Playback_Play" />
|
||||||
|
</Items>
|
||||||
|
</Command>
|
||||||
|
|
||||||
|
<Command ID="WaveformAudioEditor_Playback" Title="P_layback">
|
||||||
|
<Items>
|
||||||
|
<CommandReference CommandID="WaveformAudioEditor_ContextMenu_Playback_Play" />
|
||||||
|
</Items>
|
||||||
|
</Command>
|
||||||
|
|
||||||
|
</Commands>
|
||||||
|
<MenuBar>
|
||||||
|
<Items>
|
||||||
|
<CommandReference CommandID="WaveformAudioEditor_Playback" InsertAfter="Project" />
|
||||||
|
</Items>
|
||||||
|
</MenuBar>
|
||||||
|
</Editor>
|
||||||
|
</Editors>
|
||||||
|
</UniversalEditor>
|
||||||
@ -0,0 +1,194 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Generated with glade 3.22.1 -->
|
||||||
|
<interface>
|
||||||
|
<requires lib="gtk+" version="3.20"/>
|
||||||
|
<object class="GtkListStore" id="lsShortcutTargetType">
|
||||||
|
<columns>
|
||||||
|
<!-- column-name colShortcutTargetType -->
|
||||||
|
<column type="gchararray"/>
|
||||||
|
</columns>
|
||||||
|
<data>
|
||||||
|
<row>
|
||||||
|
<col id="0" translatable="yes">Local file/directory</col>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<col id="0" translatable="yes">Shell namespace extension</col>
|
||||||
|
</row>
|
||||||
|
</data>
|
||||||
|
</object>
|
||||||
|
<object class="GtkWindow">
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<child>
|
||||||
|
<placeholder/>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkStackSidebar">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="stack">stack1</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">0</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkStack" id="stack1">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkListBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkListBoxRow">
|
||||||
|
<property name="width_request">100</property>
|
||||||
|
<property name="height_request">80</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="margin_left">8</property>
|
||||||
|
<property name="margin_right">8</property>
|
||||||
|
<property name="margin_top">8</property>
|
||||||
|
<property name="margin_bottom">8</property>
|
||||||
|
<property name="label" translatable="yes">Target _type</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="xalign">1</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">0</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkComboBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="model">lsShortcutTargetType</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkCellRendererText"/>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="text">0</attribute>
|
||||||
|
</attributes>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkListBoxRow">
|
||||||
|
<property name="width_request">100</property>
|
||||||
|
<property name="height_request">80</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="label" translatable="yes">Target</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">0</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkEntry">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton">
|
||||||
|
<property name="label" translatable="yes">_Browse...</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">True</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">2</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkListBoxRow">
|
||||||
|
<property name="width_request">100</property>
|
||||||
|
<property name="height_request">80</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<child>
|
||||||
|
<placeholder/>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkListBoxRow">
|
||||||
|
<property name="width_request">100</property>
|
||||||
|
<property name="height_request">80</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<child>
|
||||||
|
<placeholder/>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="name">page0</property>
|
||||||
|
<property name="title" translatable="yes">General</property>
|
||||||
|
<property name="icon_name">document-properties</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<placeholder/>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<placeholder/>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">True</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</interface>
|
||||||
@ -315,6 +315,7 @@
|
|||||||
<Content Include="Templates\Project\SCE\PSM\content\shaders\Simple.fcg" />
|
<Content Include="Templates\Project\SCE\PSM\content\shaders\Simple.fcg" />
|
||||||
<Content Include="ProjectTypes\{69878862-DA7D-4DC6-B0A1-50D8FAB4242F}.uexml" />
|
<Content Include="ProjectTypes\{69878862-DA7D-4DC6-B0A1-50D8FAB4242F}.uexml" />
|
||||||
<Content Include="ProjectTypes\{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}.uexml" />
|
<Content Include="ProjectTypes\{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}.uexml" />
|
||||||
|
<Content Include="Editors\Blockchain\BlockchainEditor.glade" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="Configuration\Application.upl" />
|
<Content Include="Configuration\Application.upl" />
|
||||||
|
|||||||
Binary file not shown.
@ -0,0 +1,52 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{D28CBD31-EE2D-47DE-9305-3FD5AFB43FB2}</ProjectGuid>
|
||||||
|
<OutputType>Library</OutputType>
|
||||||
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
|
<RootNamespace>UniversalEditor.Extensions.Sony</RootNamespace>
|
||||||
|
<AssemblyName>UniversalEditor.Extensions.Sony</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<TargetFrameworkProfile />
|
||||||
|
<SignAssembly>true</SignAssembly>
|
||||||
|
<AssemblyOriginatorKeyFile>..\..\..\..\Production.snk</AssemblyOriginatorKeyFile>
|
||||||
|
<ReleaseVersion>4.0.2019.12</ReleaseVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>..\..\Output\Debug\Extensions</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>..\..\Output\Release\Extensions</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="DataFormats\" />
|
||||||
|
<Folder Include="Associations\" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Templates\Project\SCE.PSM.BasicProject.uetx" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="..\..\UniversalEditor.Compiler.targets" />
|
||||||
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
<Target Name="BeforeBuild">
|
||||||
|
</Target>
|
||||||
|
<Target Name="AfterBuild">
|
||||||
|
</Target>
|
||||||
|
-->
|
||||||
|
</Project>
|
||||||
74
NTFSAlternativeStreamReader.cs
Executable file
74
NTFSAlternativeStreamReader.cs
Executable file
@ -0,0 +1,74 @@
|
|||||||
|
// one line to give the program's name and an idea of what it does.
|
||||||
|
// Copyright (C) yyyy name of author
|
||||||
|
//
|
||||||
|
// This program is free software; you can redistribute it and/or
|
||||||
|
// modify it under the terms of the GNU General Public License
|
||||||
|
// as published by the Free Software Foundation; either version 2
|
||||||
|
// of the License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with this program; if not, write to the Free Software
|
||||||
|
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
namespace ExtensibleDataStorage
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Description of NTFSAlternativeStreamReader.
|
||||||
|
/// </summary>
|
||||||
|
public class NTFSAlternativeStreamReader
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
[DllImport("ntoskrnl.exe")]
|
||||||
|
private static extern int NtQueryInformationFile(IntPtr handle, ref IO_STATUS_BLOCK IoStatusBlock, ref FILE_STREAM_INFORMATION[] FileInformation, ulong length, FILE_INFORMATION_CLASS FileInformationClass);
|
||||||
|
[DllImport("kernel32.dll")]
|
||||||
|
private static extern IntPtr CreateFile(string lpFileName, int dwDesiredAccess, int dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, int dwCreationDisposition, int dwFlagsAndAttributes, IntPtr hTemplateFile);
|
||||||
|
*/
|
||||||
|
|
||||||
|
public static string[] EnumerateStreamNames(string path)
|
||||||
|
{
|
||||||
|
string[] val = new string[] { };
|
||||||
|
if (System.Environment.OSVersion.Platform == PlatformID.MacOSX)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
else if (System.Environment.OSVersion.Platform == PlatformID.Unix)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
else if (System.Environment.OSVersion.Platform == PlatformID.Xbox)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
// Open a file and obtain stream information
|
||||||
|
PFILE_STREAM_INFORMATION[] pStreamInfo = new FILE_STREAM_INFORMATION[] { };
|
||||||
|
IO_STATUS_BLOCK ioStatus;
|
||||||
|
|
||||||
|
HANDLE hFile = CreateFile(szPath, 0, FILE_SHARE_READ | FILE_SHARE_WRITE,
|
||||||
|
NULL, OPEN_EXISTING, 0, NULL);
|
||||||
|
NtQueryInformationFile(hFile, ref ioStatus, ref pStreamInfo, sizeof(FILE_STREAM_INFORMATION), FILE_INFORMATION_CLASS.FileStreamInformation);
|
||||||
|
CloseHandle(hFile);
|
||||||
|
|
||||||
|
while(true)
|
||||||
|
{
|
||||||
|
// Get null-terminated stream name
|
||||||
|
string szStreamName = pStreamInfo.StreamName;
|
||||||
|
|
||||||
|
if (pStreamInfo.NextEntryOffset == 0) break; // No more stream records
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
return val;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,81 @@
|
|||||||
|
//
|
||||||
|
// MyClass.cs
|
||||||
|
//
|
||||||
|
// Author:
|
||||||
|
// Michael Becker <alcexhim@gmail.com>
|
||||||
|
//
|
||||||
|
// Copyright (c) 2020 Mike Becker's Software
|
||||||
|
//
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
using System;
|
||||||
|
using MBS.Framework.UserInterface;
|
||||||
|
using MBS.Framework.UserInterface.Controls.ListView;
|
||||||
|
using UniversalEditor.Plugins.Blockchain.Bitcoin.ObjectModels;
|
||||||
|
using UniversalEditor.UserInterface;
|
||||||
|
|
||||||
|
namespace UniversalEditor.Plugins.Blockchain.UserInterface
|
||||||
|
{
|
||||||
|
[ContainerLayout("~/Editors/Blockchain/BlockchainEditor.glade")]
|
||||||
|
public class BlockchainEditor : Editor
|
||||||
|
{
|
||||||
|
private ListViewControl tv;
|
||||||
|
|
||||||
|
private static EditorReference _er = null;
|
||||||
|
public override EditorReference MakeReference()
|
||||||
|
{
|
||||||
|
if (_er == null)
|
||||||
|
{
|
||||||
|
_er = base.MakeReference();
|
||||||
|
_er.SupportedObjectModels.Add(typeof(BitcoinBlockchainObjectModel));
|
||||||
|
}
|
||||||
|
return _er;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void OnCreated(EventArgs e)
|
||||||
|
{
|
||||||
|
base.OnCreated(e);
|
||||||
|
OnObjectModelChanged(e);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void OnObjectModelChanged(EventArgs e)
|
||||||
|
{
|
||||||
|
base.OnObjectModelChanged(e);
|
||||||
|
|
||||||
|
BitcoinBlockchainObjectModel bc = (ObjectModel as BitcoinBlockchainObjectModel);
|
||||||
|
if (bc == null) return;
|
||||||
|
|
||||||
|
if (!IsCreated) return;
|
||||||
|
|
||||||
|
for (int i = 0; i < Math.Min(6500, bc.Blocks.Count); i++)
|
||||||
|
{
|
||||||
|
tv.Model.Rows.Add(new TreeModelRow(new TreeModelRowColumn[]
|
||||||
|
{
|
||||||
|
new TreeModelRowColumn(tv.Model.Columns[0], bc.Blocks[i].Version.ToString()),
|
||||||
|
new TreeModelRowColumn(tv.Model.Columns[1], bc.Blocks[i].PreviousBlockHash.ToString()),
|
||||||
|
new TreeModelRowColumn(tv.Model.Columns[2], bc.Blocks[i].MerkelRoot.ToString()),
|
||||||
|
new TreeModelRowColumn(tv.Model.Columns[3], bc.Blocks[i].Timestamp.ToString())
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void UpdateSelections()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override Selection CreateSelectionInternal(object content)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,46 @@
|
|||||||
|
//
|
||||||
|
// AssemblyInfo.cs
|
||||||
|
//
|
||||||
|
// Author:
|
||||||
|
// Michael Becker <alcexhim@gmail.com>
|
||||||
|
//
|
||||||
|
// Copyright (c) 2020 Mike Becker's Software
|
||||||
|
//
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
|
||||||
|
// Information about this assembly is defined by the following attributes.
|
||||||
|
// Change them to the values specific to your project.
|
||||||
|
|
||||||
|
[assembly: AssemblyTitle("UniversalEditor.Plugins.Blockchain.UserInterface")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("Mike Becker's Software")]
|
||||||
|
[assembly: AssemblyProduct("")]
|
||||||
|
[assembly: AssemblyCopyright("Mike Becker's Software")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
|
||||||
|
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
|
||||||
|
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
|
||||||
|
|
||||||
|
[assembly: AssemblyVersion("1.0.*")]
|
||||||
|
|
||||||
|
// The following attributes are used to specify the signing key for the assembly,
|
||||||
|
// if desired. See the Mono documentation for more information about signing.
|
||||||
|
|
||||||
|
//[assembly: AssemblyDelaySign(false)]
|
||||||
|
//[assembly: AssemblyKeyFile("")]
|
||||||
@ -0,0 +1,60 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{B6E600F5-E5BC-4DC2-8B41-7B11EB0A11B3}</ProjectGuid>
|
||||||
|
<OutputType>Library</OutputType>
|
||||||
|
<RootNamespace>UniversalEditor.Plugins.Blockchain.UserInterface</RootNamespace>
|
||||||
|
<AssemblyName>UniversalEditor.Plugins.Blockchain.UserInterface</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
|
||||||
|
<ReleaseVersion>4.0.2019.12</ReleaseVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>..\..\Output\Debug\Plugins</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<ConsolePause>false</ConsolePause>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>..\..\Output\Release\Plugins</OutputPath>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<ConsolePause>false</ConsolePause>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="System" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="BlockchainEditor.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\..\Libraries\UniversalEditor.Core\UniversalEditor.Core.csproj">
|
||||||
|
<Project>{2D4737E6-6D95-408A-90DB-8DFF38147E85}</Project>
|
||||||
|
<Name>UniversalEditor.Core</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\..\Libraries\UniversalEditor.Essential\UniversalEditor.Essential.csproj">
|
||||||
|
<Project>{30467E5C-05BC-4856-AADC-13906EF4CADD}</Project>
|
||||||
|
<Name>UniversalEditor.Essential</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\..\Libraries\UniversalEditor.UserInterface\UniversalEditor.UserInterface.csproj">
|
||||||
|
<Project>{8622EBC4-8E20-476E-B284-33D472081F5C}</Project>
|
||||||
|
<Name>UniversalEditor.UserInterface</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\..\..\MBS.Framework\MBS.Framework\MBS.Framework.csproj">
|
||||||
|
<Project>{00266B21-35C9-4A7F-A6BA-D54D7FDCC25C}</Project>
|
||||||
|
<Name>MBS.Framework</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\..\..\MBS.Framework.UserInterface\Libraries\MBS.Framework.UserInterface\MBS.Framework.UserInterface.csproj">
|
||||||
|
<Project>{29E1C1BB-3EA5-4062-B62F-85EEC703FE07}</Project>
|
||||||
|
<Name>MBS.Framework.UserInterface</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
||||||
@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<UniversalEditor Version="4.0">
|
||||||
|
<Associations>
|
||||||
|
<Association>
|
||||||
|
<Filters>
|
||||||
|
<Filter Title="Bitcoin blockchain data">
|
||||||
|
<MagicByteSequences>
|
||||||
|
<MagicByteSequence>
|
||||||
|
<MagicByte Type="HexString">F9BEB4D9</MagicByte>
|
||||||
|
</MagicByteSequence>
|
||||||
|
</MagicByteSequences>
|
||||||
|
</Filter>
|
||||||
|
</Filters>
|
||||||
|
<ObjectModels>
|
||||||
|
<ObjectModel TypeName="UniversalEditor.Plugins.Blockchain.Bitcoin.ObjectModels.BitcoinBlockchainObjectModel" />
|
||||||
|
</ObjectModels>
|
||||||
|
<DataFormats>
|
||||||
|
<DataFormat TypeName="UniversalEditor.Plugins.Blockchain.Bitcoin.DataFormats.BitcoinBlockchainDataFormat" />
|
||||||
|
</DataFormats>
|
||||||
|
</Association>
|
||||||
|
</Associations>
|
||||||
|
</UniversalEditor>
|
||||||
@ -0,0 +1,98 @@
|
|||||||
|
using System;
|
||||||
|
using UniversalEditor.IO;
|
||||||
|
using UniversalEditor.Plugins.Blockchain.Bitcoin.ObjectModels;
|
||||||
|
|
||||||
|
namespace UniversalEditor.Plugins.Blockchain.Bitcoin.DataFormats
|
||||||
|
{
|
||||||
|
public class BitcoinBlockchainDataFormat : DataFormat
|
||||||
|
{
|
||||||
|
private static DataFormatReference _dfr = null;
|
||||||
|
protected override DataFormatReference MakeReferenceInternal()
|
||||||
|
{
|
||||||
|
if (_dfr == null)
|
||||||
|
{
|
||||||
|
_dfr = base.MakeReferenceInternal();
|
||||||
|
_dfr.Capabilities.Add(typeof(BitcoinBlockchainObjectModel), DataFormatCapabilities.All);
|
||||||
|
}
|
||||||
|
return _dfr;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int HashLength { get; set; } = 32;
|
||||||
|
|
||||||
|
private readonly DateTime UNIX_EPOCH = new DateTime(1970, 01, 01, 00, 00, 00);
|
||||||
|
|
||||||
|
protected override void LoadInternal(ref ObjectModel objectModel)
|
||||||
|
{
|
||||||
|
BitcoinBlockchainObjectModel blockchain = (objectModel as BitcoinBlockchainObjectModel);
|
||||||
|
if (blockchain == null)
|
||||||
|
throw new ObjectModelNotSupportedException();
|
||||||
|
|
||||||
|
Reader reader = Accessor.Reader;
|
||||||
|
|
||||||
|
while (!reader.EndOfStream)
|
||||||
|
{
|
||||||
|
uint signature = reader.ReadUInt32();
|
||||||
|
if (signature != 0xD9B4BEF9)
|
||||||
|
throw new InvalidDataFormatException("file does not begin with 0xD9B4BEF9");
|
||||||
|
|
||||||
|
BitcoinBlock block = new BitcoinBlock();
|
||||||
|
uint datasize = reader.ReadUInt32();
|
||||||
|
block.Version = reader.ReadUInt32();
|
||||||
|
block.PreviousBlockHash = reader.ReadBytes(HashLength);
|
||||||
|
block.MerkelRoot = reader.ReadBytes(HashLength);
|
||||||
|
uint timestamp = reader.ReadUInt32();
|
||||||
|
block.Timestamp = UNIX_EPOCH.AddSeconds(timestamp);
|
||||||
|
block.Bits = reader.ReadUInt32();
|
||||||
|
block.Nonce = reader.ReadUInt32();
|
||||||
|
ulong transactionCount = ReadCompactNumber(reader);
|
||||||
|
for (ulong i = 0; i < transactionCount; i++)
|
||||||
|
{
|
||||||
|
BitcoinBlockTransaction transaction = new BitcoinBlockTransaction();
|
||||||
|
uint transactionVersion = reader.ReadUInt32();
|
||||||
|
ulong inputs = ReadCompactNumber(reader);
|
||||||
|
for (ulong j = 0; j < inputs; j++)
|
||||||
|
{
|
||||||
|
byte[] previousOutput = reader.ReadBytes(HashLength);
|
||||||
|
uint previousOutput2 = reader.ReadUInt32();
|
||||||
|
ulong scriptLength = ReadCompactNumber(reader);
|
||||||
|
byte[] scriptData = reader.ReadBytes(scriptLength);
|
||||||
|
uint sequence = reader.ReadUInt32();
|
||||||
|
}
|
||||||
|
byte outputs = reader.ReadByte();
|
||||||
|
for (int j = 0; j < outputs; j++)
|
||||||
|
{
|
||||||
|
ulong output_c = reader.ReadUInt64();
|
||||||
|
ulong publicKeyScriptLength = ReadCompactNumber(reader);
|
||||||
|
transaction.PublicKeyScript = reader.ReadBytes(publicKeyScriptLength);
|
||||||
|
}
|
||||||
|
uint locktime = reader.ReadUInt32();
|
||||||
|
block.Transactions.Add(transaction);
|
||||||
|
}
|
||||||
|
blockchain.Blocks.Add(block);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private ulong ReadCompactNumber(Reader reader)
|
||||||
|
{
|
||||||
|
byte num = reader.ReadByte();
|
||||||
|
if (num == 0xFD)
|
||||||
|
{
|
||||||
|
return reader.ReadUInt16();
|
||||||
|
}
|
||||||
|
else if (num == 0xFE)
|
||||||
|
{
|
||||||
|
return reader.ReadUInt32();
|
||||||
|
}
|
||||||
|
else if (num == 0xFF)
|
||||||
|
{
|
||||||
|
return reader.ReadUInt64();
|
||||||
|
}
|
||||||
|
return num;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void SaveInternal(ObjectModel objectModel)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,27 @@
|
|||||||
|
using System;
|
||||||
|
namespace UniversalEditor.Plugins.Blockchain.Bitcoin.ObjectModels
|
||||||
|
{
|
||||||
|
public class BitcoinBlock : Block
|
||||||
|
{
|
||||||
|
public class BitcoinBlockCollection
|
||||||
|
: System.Collections.ObjectModel.Collection<BitcoinBlock>
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public uint Version { get; internal set; }
|
||||||
|
public byte[] PreviousBlockHash { get; set; }
|
||||||
|
public byte[] MerkelRoot { get; set; }
|
||||||
|
public DateTime Timestamp { get; set; }
|
||||||
|
public uint Bits { get; set; }
|
||||||
|
public uint Nonce { get; set; }
|
||||||
|
public BitcoinBlockTransaction.BitcoinBlockTransactionCollection Transactions { get; } = new BitcoinBlockTransaction.BitcoinBlockTransactionCollection();
|
||||||
|
|
||||||
|
public override object Clone()
|
||||||
|
{
|
||||||
|
BitcoinBlock clone = new BitcoinBlock();
|
||||||
|
clone.Version = Version;
|
||||||
|
return clone;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,20 @@
|
|||||||
|
using System;
|
||||||
|
namespace UniversalEditor.Plugins.Blockchain.Bitcoin.ObjectModels
|
||||||
|
{
|
||||||
|
public class BitcoinBlockTransaction : BlockTransaction
|
||||||
|
{
|
||||||
|
public byte[] PublicKeyScript { get; set; }
|
||||||
|
|
||||||
|
public class BitcoinBlockTransactionCollection
|
||||||
|
: System.Collections.ObjectModel.Collection<BitcoinBlockTransaction>
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public override object Clone()
|
||||||
|
{
|
||||||
|
BitcoinBlockTransaction clone = new BitcoinBlockTransaction();
|
||||||
|
return clone;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,36 @@
|
|||||||
|
using System;
|
||||||
|
namespace UniversalEditor.Plugins.Blockchain.Bitcoin.ObjectModels
|
||||||
|
{
|
||||||
|
public class BitcoinBlockchainObjectModel : ObjectModel
|
||||||
|
{
|
||||||
|
private static ObjectModelReference _omr = null;
|
||||||
|
protected override ObjectModelReference MakeReferenceInternal()
|
||||||
|
{
|
||||||
|
if (_omr == null)
|
||||||
|
{
|
||||||
|
_omr = base.MakeReferenceInternal();
|
||||||
|
_omr.Path = new string[] { "Blockchain", "Bitcoin" };
|
||||||
|
}
|
||||||
|
return _omr;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BitcoinBlock.BitcoinBlockCollection Blocks { get; } = new BitcoinBlock.BitcoinBlockCollection();
|
||||||
|
|
||||||
|
public override void Clear()
|
||||||
|
{
|
||||||
|
Blocks.Clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void CopyTo(ObjectModel where)
|
||||||
|
{
|
||||||
|
BitcoinBlockchainObjectModel clone = (where as BitcoinBlockchainObjectModel);
|
||||||
|
if (clone == null)
|
||||||
|
throw new ObjectModelNotSupportedException();
|
||||||
|
|
||||||
|
for (int i = 0; i < Blocks.Count;i++)
|
||||||
|
{
|
||||||
|
clone.Blocks.Add(Blocks[i].Clone() as BitcoinBlock);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
8
Plugins/UniversalEditor.Plugins.Blockchain/Block.cs
Normal file
8
Plugins/UniversalEditor.Plugins.Blockchain/Block.cs
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
using System;
|
||||||
|
namespace UniversalEditor.Plugins.Blockchain
|
||||||
|
{
|
||||||
|
public abstract class Block : ICloneable
|
||||||
|
{
|
||||||
|
public abstract object Clone();
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
using System;
|
||||||
|
namespace UniversalEditor.Plugins.Blockchain
|
||||||
|
{
|
||||||
|
public abstract class BlockTransaction : ICloneable
|
||||||
|
{
|
||||||
|
public abstract object Clone();
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,26 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
|
||||||
|
// Information about this assembly is defined by the following attributes.
|
||||||
|
// Change them to the values specific to your project.
|
||||||
|
|
||||||
|
[assembly: AssemblyTitle("UniversalEditor.Plugins.Blockchain")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("Mike Becker's Software")]
|
||||||
|
[assembly: AssemblyProduct("")]
|
||||||
|
[assembly: AssemblyCopyright("Mike Becker's Software")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
|
||||||
|
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
|
||||||
|
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
|
||||||
|
|
||||||
|
[assembly: AssemblyVersion("1.0.*")]
|
||||||
|
|
||||||
|
// The following attributes are used to specify the signing key for the assembly,
|
||||||
|
// if desired. See the Mono documentation for more information about signing.
|
||||||
|
|
||||||
|
//[assembly: AssemblyDelaySign(false)]
|
||||||
|
//[assembly: AssemblyKeyFile("")]
|
||||||
@ -0,0 +1,58 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{C54F6BCD-60CD-4603-B0C9-CD0864455CB1}</ProjectGuid>
|
||||||
|
<OutputType>Library</OutputType>
|
||||||
|
<RootNamespace>UniversalEditor.Plugins.Blockchain</RootNamespace>
|
||||||
|
<AssemblyName>UniversalEditor.Plugins.Blockchain</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
|
||||||
|
<ReleaseVersion>4.0.2019.12</ReleaseVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>..\..\Output\Debug\Plugins</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<ConsolePause>false</ConsolePause>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>..\..\Output\Release\Plugins</OutputPath>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<ConsolePause>false</ConsolePause>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="System" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="BlockTransaction.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<Compile Include="Bitcoin\DataFormats\BitcoinBlockchainDataFormat.cs" />
|
||||||
|
<Compile Include="Bitcoin\ObjectModels\BitcoinBlock.cs" />
|
||||||
|
<Compile Include="Bitcoin\ObjectModels\BitcoinBlockchainObjectModel.cs" />
|
||||||
|
<Compile Include="Bitcoin\ObjectModels\BitcoinBlockTransaction.cs" />
|
||||||
|
<Compile Include="Block.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="Bitcoin\" />
|
||||||
|
<Folder Include="Bitcoin\DataFormats\" />
|
||||||
|
<Folder Include="Bitcoin\ObjectModels\" />
|
||||||
|
<Folder Include="Associations\" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\..\Libraries\UniversalEditor.Core\UniversalEditor.Core.csproj">
|
||||||
|
<Project>{2D4737E6-6D95-408A-90DB-8DFF38147E85}</Project>
|
||||||
|
<Name>UniversalEditor.Core</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Include="Associations\BitcoinBlockchain.uexml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
||||||
@ -211,6 +211,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UniversalEditor.Plugins.Mul
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MBS.Audio", "..\MBS.Audio\MBS.Audio\MBS.Audio.csproj", "{E0897B7B-617A-4709-A4C6-FC0F6B441B2A}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MBS.Audio", "..\MBS.Audio\MBS.Audio\MBS.Audio.csproj", "{E0897B7B-617A-4709-A4C6-FC0F6B441B2A}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UniversalEditor.Plugins.Blockchain", "Plugins\UniversalEditor.Plugins.Blockchain\UniversalEditor.Plugins.Blockchain.csproj", "{C54F6BCD-60CD-4603-B0C9-CD0864455CB1}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UniversalEditor.Plugins.Blockchain.UserInterface", "Plugins.UserInterface\UniversalEditor.Plugins.Blockchain.UserInterface\UniversalEditor.Plugins.Blockchain.UserInterface.csproj", "{B6E600F5-E5BC-4DC2-8B41-7B11EB0A11B3}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
@ -607,6 +611,14 @@ Global
|
|||||||
{E0897B7B-617A-4709-A4C6-FC0F6B441B2A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{E0897B7B-617A-4709-A4C6-FC0F6B441B2A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{E0897B7B-617A-4709-A4C6-FC0F6B441B2A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{E0897B7B-617A-4709-A4C6-FC0F6B441B2A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{E0897B7B-617A-4709-A4C6-FC0F6B441B2A}.Release|Any CPU.Build.0 = Release|Any CPU
|
{E0897B7B-617A-4709-A4C6-FC0F6B441B2A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{C54F6BCD-60CD-4603-B0C9-CD0864455CB1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{C54F6BCD-60CD-4603-B0C9-CD0864455CB1}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{C54F6BCD-60CD-4603-B0C9-CD0864455CB1}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{C54F6BCD-60CD-4603-B0C9-CD0864455CB1}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{B6E600F5-E5BC-4DC2-8B41-7B11EB0A11B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{B6E600F5-E5BC-4DC2-8B41-7B11EB0A11B3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{B6E600F5-E5BC-4DC2-8B41-7B11EB0A11B3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{B6E600F5-E5BC-4DC2-8B41-7B11EB0A11B3}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(NestedProjects) = preSolution
|
GlobalSection(NestedProjects) = preSolution
|
||||||
{6F0AB1AF-E1A1-4D19-B19C-05BBB15C94B2} = {05D15661-E684-4EC9-8FBD-C014BA433CC5}
|
{6F0AB1AF-E1A1-4D19-B19C-05BBB15C94B2} = {05D15661-E684-4EC9-8FBD-C014BA433CC5}
|
||||||
@ -706,6 +718,8 @@ Global
|
|||||||
{37504ECC-D87F-4E93-8E08-89C03BAAA6D9} = {2ED32D16-6C06-4450-909A-40D32DA67FB4}
|
{37504ECC-D87F-4E93-8E08-89C03BAAA6D9} = {2ED32D16-6C06-4450-909A-40D32DA67FB4}
|
||||||
{75C99631-122C-4880-806E-646FCB021730} = {7B535D74-5496-4802-B809-89ED88274A91}
|
{75C99631-122C-4880-806E-646FCB021730} = {7B535D74-5496-4802-B809-89ED88274A91}
|
||||||
{E0897B7B-617A-4709-A4C6-FC0F6B441B2A} = {20F315E0-52AE-479F-AF43-3402482C1FC8}
|
{E0897B7B-617A-4709-A4C6-FC0F6B441B2A} = {20F315E0-52AE-479F-AF43-3402482C1FC8}
|
||||||
|
{C54F6BCD-60CD-4603-B0C9-CD0864455CB1} = {2ED32D16-6C06-4450-909A-40D32DA67FB4}
|
||||||
|
{B6E600F5-E5BC-4DC2-8B41-7B11EB0A11B3} = {7B535D74-5496-4802-B809-89ED88274A91}
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(MonoDevelopProperties) = preSolution
|
GlobalSection(MonoDevelopProperties) = preSolution
|
||||||
Policies = $0
|
Policies = $0
|
||||||
|
|||||||
15
after.UniversalEditor.sln.targets
Normal file
15
after.UniversalEditor.sln.targets
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Target Name="AfterBuild" AfterTargets="Build">
|
||||||
|
<message text="copying UWT engine to output directory" importance="high" />
|
||||||
|
|
||||||
|
<Copy SourceFiles="../MBS.Framework.UserInterface/Output/$(Configuration)/MBS.Framework.UserInterface.Engines.GTK.dll" DestinationFolder="Output/$(Configuration)" Condition=" '$(OS)' != 'Windows_NT' " />
|
||||||
|
<Copy SourceFiles="../MBS.Framework.UserInterface/Output/$(Configuration)/MBS.Framework.UserInterface.Engines.GTK.pdb" DestinationFolder="Output/$(Configuration)" Condition=" '$(OS)' != 'Windows_NT' " />
|
||||||
|
<Copy SourceFiles="../MBS.Framework.UserInterface/Output/$(Configuration)/MBS.Framework.UserInterface.Engines.GTK.xml" DestinationFolder="Output/$(Configuration)" Condition=" '$(OS)' != 'Windows_NT' " />
|
||||||
|
<Copy SourceFiles="../MBS.Framework.UserInterface/Output/$(Configuration)/MBS.Framework.UserInterface.Engines.GTK.dll.config" DestinationFolder="Output/$(Configuration)" Condition=" '$(OS)' != 'Windows_NT' " />
|
||||||
|
|
||||||
|
<Copy SourceFiles="../MBS.Framework.UserInterface/Output/$(Configuration)/MBS.Framework.UserInterface.Engines.WindowsForms.dll" DestinationFolder="Output/$(Configuration)" Condition=" '$(OS)' == 'Windows_NT' " />
|
||||||
|
<Copy SourceFiles="../MBS.Framework.UserInterface/Output/$(Configuration)/MBS.Framework.UserInterface.Engines.WindowsForms.pdb" DestinationFolder="Output/$(Configuration)" Condition=" '$(OS)' == 'Windows_NT' " />
|
||||||
|
<Copy SourceFiles="../MBS.Framework.UserInterface/Output/$(Configuration)/MBS.Framework.UserInterface.Engines.WindowsForms.xml" DestinationFolder="Output/$(Configuration)" Condition=" '$(OS)' == 'Windows_NT' " />
|
||||||
|
|
||||||
|
</Target>
|
||||||
|
</Project>
|
||||||
97
universal-editor.svg
Normal file
97
universal-editor.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 11 KiB |
Loading…
x
Reference in New Issue
Block a user