diff --git a/doc/abstractclass.svg b/doc/abstractclass.svg new file mode 100644 index 0000000..1c3e080 --- /dev/null +++ b/doc/abstractclass.svg @@ -0,0 +1,180 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/abstractmethod.svg b/doc/abstractmethod.svg new file mode 100644 index 0000000..891d09f --- /dev/null +++ b/doc/abstractmethod.svg @@ -0,0 +1,163 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/abstractproperty.svg b/doc/abstractproperty.svg new file mode 100644 index 0000000..11245d8 --- /dev/null +++ b/doc/abstractproperty.svg @@ -0,0 +1,138 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/class.svg b/doc/class.svg new file mode 100644 index 0000000..c39ba13 --- /dev/null +++ b/doc/class.svg @@ -0,0 +1,168 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/clean.svg b/doc/clean.svg new file mode 100644 index 0000000..46e8eff --- /dev/null +++ b/doc/clean.svg @@ -0,0 +1,102 @@ + + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + + + + + + + + diff --git a/doc/coll_close.svg b/doc/coll_close.svg new file mode 100644 index 0000000..8ddd96b --- /dev/null +++ b/doc/coll_close.svg @@ -0,0 +1,61 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + diff --git a/doc/coll_open.svg b/doc/coll_open.svg new file mode 100644 index 0000000..1cf11ae --- /dev/null +++ b/doc/coll_open.svg @@ -0,0 +1,61 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + diff --git a/doc/constant.svg b/doc/constant.svg new file mode 100644 index 0000000..43cd478 --- /dev/null +++ b/doc/constant.svg @@ -0,0 +1,170 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/constructor.svg b/doc/constructor.svg new file mode 100644 index 0000000..2f6caeb --- /dev/null +++ b/doc/constructor.svg @@ -0,0 +1,237 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/delegate.svg b/doc/delegate.svg new file mode 100644 index 0000000..d45e57c --- /dev/null +++ b/doc/delegate.svg @@ -0,0 +1,126 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/devhelpstyle.css b/doc/devhelpstyle.css new file mode 100644 index 0000000..1fb803d --- /dev/null +++ b/doc/devhelpstyle.css @@ -0,0 +1,578 @@ +* { + font-family: 'Times New Roman'; + font-size: 12pt; +} + +ul.external_link { +} + +.main_optional_parameter { + font-style: italic; +} + +.main_diagram { + border-style: none; + display: block; + margin: 0px auto; +} + + +.main_notification { + padding-right: 10px; + padding-left: 60px; + padding-bottom: 5px; + padding-top: 5px; + border-color: #aaaaff; + background-color: #eeeeff; + border-style: solid; + border-width: 1px; + margin: 10px; + min-height: 48px; + background-position: 6px 0.5em; + background-repeat: no-repeat; + background-image: url(warning.png); +} + +.main_table { + border-collapse: collapse; + border: 1px solid #aaaaff; + background: #eeeeff; + margin-right:auto; + margin-left:auto; +} + +.main_source, .main_sourcesample { + padding-right: 10px; + padding-left: 5px; + padding-bottom: 5px; + padding-top: 5px; + margin: 10px; + + border-color: #aaaaff; + background-color: #eeeeff; + border-style: solid; + border-width: 1px; +} + + +input { + border-color: #aaaaff; + border-style: solid; + border-width: 1px; +} + + + + +.site_header { + font-size: 25px; + padding-bottom: 10px; + padding-top: 10px; + background-color: #aaaaff; + width: 100%; +} + + +div { + font-family:'Verdana'; + font-size: 12; +} + + +.site_title { + text-align: left; + font-size: 40; +} + +div.site_footer { + text-align: center; + background-color: #aaaaff; + padding-bottom: 5px; + padding-top: 5px; + width: 100%; + clear: left; +} + + +div.site_body { + font-size: 10; +} + + +.site_content { + font-size: 12px; + margin-left: 5px; + margin-right: 5px; + text-align: left; +} + + +.main_type { + text-decoration: none; + font-style: italic; + color: #000000; +} + +.main_basic_type { + text-decoration: none; + font-weight: bold; + color: #2e8b57; +} + +.main_keyword { + text-decoration: none; + font-weight: bold; + color: #a52a2a; +} + +.main_source .main_literal { + text-decoration: none; + color: #ff0000; +} + +.main_comment { + text-decoration: none; + color: #888a85; +} + +.main_preprocessor { + text-decoration: none; + color: #ad7fa8; +} + +div.main_code_definition { + padding-right: 10px; + padding-left: 10px; + padding-bottom: 5px; + padding-top: 5px; + + font-family: monospace; + border-color: #aaaaff; + background-color: #eeeeff; + border-style: solid; + border-width: 1px; + margin: 10px; +} + +div.main_notification_block { + padding-right: 10px; + padding-left: 10px; + padding-bottom: 5px; + padding-top: 5px; + + border-color: #d08717; + background-color: #fbf2c3; + border-style: solid; + border-width: 1px; + margin: 10px; +} + +span.main_block_headline { + background-image:url(tip.png); + background-repeat:no-repeat; + background-position:center right; + font-weight:bold; + display:block; +} + +div.main_block_content { + margin-left:15px; +} + +span.leaf_code_definition { + font-family: monospace; +} + + +div.leaf_brief_description { + display: block; + margin-left: 40px; +} + + +h1.main_title { + font-size: 20px; + margin-bottom: 0px; +} + +h2.main_title { + margin-bottom: 0px; +} + +h3.main_title { + margin-bottom: 0px; +} + +.main_hr { + border: 0; + color: #aaaaff; + background-color: #aaaaff; + height: 1px; + margin-top: 5px; + margin-bottom: 5px; +} + + + +.main_parameter_table_text, .main_errordomain_table_text, .main_enum_table_text { +} + +.main_parameter_table_unknown_parameter { + color: GREY; +} + +.main_parameter_table_name, .main_errordomain_table_name, .main_enum_table_name { + vertical-align: top; + text-align: right; + font-weight: bold; + width: 120px; + padding-right: 10px; +} + +.main_parameter_table, .main_errordomain_table, .main_enum_table { + margin-weight: 20px; + margin-left: 20px; +} + + + +.description a.constant, .brief_description a.constant { + background-image:url(constant.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.description a.namespace, .brief_description a.namespace { + background-image:url(namespace.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.description a.struct, .brief_description a.struct { + background-image:url(struct.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.description a.interface, .brief_description a.interface { + background-image:url(interface.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.description a.enum, .brief_description a.enum { + background-image:url(enum.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.description a.errordomain, .brief_description a.errordomain { + background-image:url(errordomain.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.description a.delegate, .brief_description a.delegate { + background-image:url(delegate.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.description a.signal, .brief_description a.signal { + background-image:url(signal.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.description a.field, .brief_description a.field { + background-image:url(field.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.description a.enumvalue, .brief_description a.enumvalue { + background-image:url(enumvalue.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.description a.errorcode, .brief_description a.errorcode { + background-image:url(errorcode.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.description a.class, .brief_description a.class { + background-image:url(class.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.description a.abstract_class, .brief_description a.abstract_class { + background-image:url(abstractclass.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; + font-style: italic; +} +.description a.property, .brief_description a.property { + background-image:url(property.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.description a.virtual_property, .brief_description a.virtual_property { + background-image:url(virtualproperty.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.description a.abstract_property, .brief_description a.abstract_property { + background-image:url(abstractproperty.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.description a.method, .brief_description a.method { + background-image:url(method.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.description a.static_method, .brief_description a.static_method { + background-image:url(staticmethod.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.description a.virtual_method, .brief_description a.virtual_method { + background-image:url(virtualmethod.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.description a.abstract_method, .brief_description a.abstract_method { + background-image:url(abstractmethod.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.description a.creation_method, .brief_description a.creation_method { + background-image:url(constructor.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} + +.navi_main .errorcode, .navi_inline .errorcode { + list-style-image:url(errorcode.png); +} +.navi_main .enumvalue, .navi_inline .enumvalue { + list-style-image:url(enumvalue.png); +} +.navi_main .abstract_class, .navi_inline .abstract_class { + list-style-image: url(abstractclass.png); +} +.navi_main .abstract_method, .navi_inline .abstract_method { + list-style-image: url( abstractmethod.png ); +} +.navi_main .creation_method, .navi_inline .creation_method, .main_list_m { + list-style-image: url(constructor.png); +} +.navi_main .static_method, .navi_inline .static_method { + list-style-image: url(staticmethod.png); +} +.navi_main .package_index { + list-style-image: url(packages.png); +} +.navi_main .virtual_method, .navi_inline .virtual_method { + list-style-image: url(virtualmethod.png); +} +.navi_main .errordomain, .navi_inline .errordomain, .main_list_errdom { + list-style-image: url(errordomain.png); +} +.navi_main .namespace, .navi_inline .namespace, .main_list_ns { + list-style-image: url(namespace.png); +} +.navi_main .method, .navi_inline .method { + list-style-image: url(method.png); +} +.navi_main .struct, .navi_inline .struct, .main_list_stru { + list-style-image: url(struct.png); +} +.navi_main .interface, .navi_inline .interface, .main_list_iface { + list-style-image: url(interface.png); +} +.navi_main .field, .navi_inline .field, .main_list_field { + list-style-image: url(field.png); +} +.navi_main .class, .navi_inline .class, .main_list_cl { + list-style-image: url(class.png); +} +.navi_main .enum, .navi_inline .enum, .main_list_en { + list-style-image: url(enum.png); +} +.navi_main .property, .navi_inline .property, .main_list_prop { + list-style-image: url(property.png); +} +.navi_main .abstract_property, .navi_inline .abstract_property { + list-style-image: url(abstractproperty.png); +} +.navi_main .virtual_property, .navi_inline .virtual_property { + list-style-image: url(virtualproperty.png); +} +.navi_main .delegate, .navi_inline .delegate, .main_list_del { + list-style-image: url(delegate.png); +} +.navi_main .signal, .navi_inline .signal, .main_list_sig { + list-style-image: url(signal.png); +} +.navi_main .package, .navi_inline .package { + list-style-image: url(package.png); +} +.navi_main .constant, .navi_inline .constant { + list-style-image: url(constant.png); +} + + +.navi_main { + margin-top: 10px; + margin-bottom: 10px; + padding-left: 30px; +} + +.navi_hr { + border: 0; + color: #aaaaff; + background-color: #aaaaff; + height: 1px; + margin-left: 10px; + margin-right: 10px; + margin-top: 5px; + margin-bottom: 5px; +} + + + +.navi_main a, .navi_inline a, +a.external_link +{ + text-decoration: none; + color: #214b87; +} + +.navi_main .abstract_class > a, .navi_inline .abstract_class > a { + font-style: italic; +} + +a.navi_link:hover, a.external_link:hover { + text-decoration: underline; +} + +ul.no_bullet li { + list-style-type: none; +} + +.main_see_list { +} + +.navi_inline { +} + +.css_content_literal { + font-family: monospace; + color: #ff01ff; +} + +code { + font-family: monospace; +} + +.main_code_definition a, .leaf_code_definition a { + text-decoration: none; + color: inherit; +} + +.main_code_definition a:hover, .leaf_code_definition a:hover { + text-decoration: underline; +} + +.box { +} +.box .headline { + background-image: url("coll_open.png"); + background-position: calc(100% - 1px) center; + background-repeat: no-repeat; + background-color: #eeeeff; + border-color: #aaaaff; + border-style: solid; + border-width: 1px; + margin: auto; + width: 90%; + margin-top: 20px; + font-weight: bold; +} +.box .content { + border-color: #aaaaff; + border-width: 0 1 1 1; + border-style: solid; + overflow: auto; + display: none; + margin: auto; + width: 90%; +} +.box .column { + float: left; + width: 33%; +} + +.namespace_note { +} +.package_note { +} + +.deprecated { + text-decoration:line-through; +} diff --git a/doc/document.svg b/doc/document.svg new file mode 100644 index 0000000..d239314 --- /dev/null +++ b/doc/document.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + diff --git a/doc/enum.svg b/doc/enum.svg new file mode 100644 index 0000000..0cd3c62 --- /dev/null +++ b/doc/enum.svg @@ -0,0 +1,304 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/enumvalue.svg b/doc/enumvalue.svg new file mode 100644 index 0000000..984d346 --- /dev/null +++ b/doc/enumvalue.svg @@ -0,0 +1,120 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/errorcode.svg b/doc/errorcode.svg new file mode 100644 index 0000000..fb1d873 --- /dev/null +++ b/doc/errorcode.svg @@ -0,0 +1,138 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/errordomain.svg b/doc/errordomain.svg new file mode 100644 index 0000000..e1bc113 --- /dev/null +++ b/doc/errordomain.svg @@ -0,0 +1,322 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/external_link.svg b/doc/external_link.svg new file mode 100644 index 0000000..2b74911 --- /dev/null +++ b/doc/external_link.svg @@ -0,0 +1,50 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + + elementary Symbolic Icon Theme + + + + + diff --git a/doc/favicon.ico b/doc/favicon.ico new file mode 100644 index 0000000..cbef281 Binary files /dev/null and b/doc/favicon.ico differ diff --git a/doc/field.svg b/doc/field.svg new file mode 100644 index 0000000..b071a4a --- /dev/null +++ b/doc/field.svg @@ -0,0 +1,170 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/icon.svg b/doc/icon.svg new file mode 100644 index 0000000..542bea3 --- /dev/null +++ b/doc/icon.svg @@ -0,0 +1,45 @@ + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/doc/index.html b/doc/index.html new file mode 100644 index 0000000..ef7f26b --- /dev/null +++ b/doc/index.html @@ -0,0 +1,34 @@ + + + + + pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

Packages:

+
+

Content:

+

Packages:

+ +
+

+ + + \ No newline at end of file diff --git a/doc/interface.svg b/doc/interface.svg new file mode 100644 index 0000000..58fc2fe --- /dev/null +++ b/doc/interface.svg @@ -0,0 +1,42 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + diff --git a/doc/logo.svg b/doc/logo.svg new file mode 100644 index 0000000..ab16fc0 --- /dev/null +++ b/doc/logo.svg @@ -0,0 +1,35 @@ + + + + + + + image/svg+xml + + + + + + + + + diff --git a/doc/method.svg b/doc/method.svg new file mode 100644 index 0000000..a310e37 --- /dev/null +++ b/doc/method.svg @@ -0,0 +1,151 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/namespace.svg b/doc/namespace.svg new file mode 100644 index 0000000..282b5c3 --- /dev/null +++ b/doc/namespace.svg @@ -0,0 +1,36 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + + elementary Symbolic Icon Theme + + + diff --git a/doc/package.svg b/doc/package.svg new file mode 100644 index 0000000..4ec6ad1 --- /dev/null +++ b/doc/package.svg @@ -0,0 +1,40 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + diff --git a/doc/packages.svg b/doc/packages.svg new file mode 100644 index 0000000..f5d62dd --- /dev/null +++ b/doc/packages.svg @@ -0,0 +1,83 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + go-home + + + + + + + + + diff --git a/doc/pluie-echo-0.1/Pluie.Color.Color.html b/doc/pluie-echo-0.1/Pluie.Color.Color.html new file mode 100644 index 0000000..886f66b --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Color.Color.html @@ -0,0 +1,73 @@ + + + + + Pluie.Color.Color – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

Color

+
+

Description:

+
public Color (uint8? fg = 15, bool bold = false, uint8? bg = null) +
+
+

Parameters:

+ + + + + + + + + + + + + +
fg +

foreground color code - 0 to 255

+
bold +

bold attribute

+
bg +

background color code - 0 to 255

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Color.bg.html b/doc/pluie-echo-0.1/Pluie.Color.bg.html new file mode 100644 index 0000000..8f12277 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Color.bg.html @@ -0,0 +1,53 @@ + + + + + Pluie.Color.bg – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

bg

+
+

Description:

+
public uint8? bg { set; get; } +
+
+

background color code - 0 to 255

+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Color.bold.html b/doc/pluie-echo-0.1/Pluie.Color.bold.html new file mode 100644 index 0000000..81d16f8 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Color.bold.html @@ -0,0 +1,53 @@ + + + + + Pluie.Color.bold – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

bold

+
+

Description:

+
public bool bold { set; get; } +
+
+

enable bold attribute

+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Color.fg.html b/doc/pluie-echo-0.1/Pluie.Color.fg.html new file mode 100644 index 0000000..535c916 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Color.fg.html @@ -0,0 +1,53 @@ + + + + + Pluie.Color.fg – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

fg

+
+

Description:

+
public uint8? fg { set; get; } +
+
+

foreground color code - 0 to 255

+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Color.html b/doc/pluie-echo-0.1/Pluie.Color.html new file mode 100644 index 0000000..bb7f1cd --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Color.html @@ -0,0 +1,108 @@ + + + + + Pluie.Color – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

Color

+
+

Object Hierarchy:

+ Object hierarchy for Color + + + + + +

Description:

+
public class Color +
+
+

a Class representing an Ansi Extended 8 bit Color with foreground, background and bold attributes

+

using Pluie;

int main (string[] args)
{
var c1 = new Color(37, false);
var c2 = new Color(204, true);
var c3 = new Color(15, true, 24);
stdout.printf ("[%s][%s] %s ", c1.s ("oki"), c2.s ("very"), c3.s ("cool"));
return 0;
}
+

+

valac --pkg pluie-echo-0.1 color.vala

+

+
Namespace: Pluie +
+
Package: pluie-echo-0.1 +
+

Content:

+

Properties:

+ +

Static methods:

+ +

Creation methods:

+ +

Methods:

+ +
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Color.off.html b/doc/pluie-echo-0.1/Pluie.Color.off.html new file mode 100644 index 0000000..ff08173 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Color.off.html @@ -0,0 +1,53 @@ + + + + + Pluie.Color.off – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

off

+
+

Description:

+
public static string off () +
+
+

disable escape color sequence

+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Color.s.html b/doc/pluie-echo-0.1/Pluie.Color.s.html new file mode 100644 index 0000000..557d883 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Color.s.html @@ -0,0 +1,82 @@ + + + + + Pluie.Color.s – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

s

+
+

Description:

+
public string s (string? label = null, bool off = true, bool? bold = null) +
+
+

colorize a string

+

Parameters:

+ + + + + + + + + + + + + +
label +

the string to colorize

+
off +

enable/disable off sequence at end of label

+
bold +

override bold attribute for label

+
+

Returns:

+ + + + +
+

the colorized string with proper ansi escape color sequence

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Color.to_string.html b/doc/pluie-echo-0.1/Pluie.Color.to_string.html new file mode 100644 index 0000000..4a709ab --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Color.to_string.html @@ -0,0 +1,53 @@ + + + + + Pluie.Color.to_string – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

to_string

+
+

Description:

+
public string to_string () +
+
+

return ansi extended color escape string sequence

+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ColorConf.@get.html b/doc/pluie-echo-0.1/Pluie.ColorConf.@get.html new file mode 100644 index 0000000..56f6440 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ColorConf.@get.html @@ -0,0 +1,66 @@ + + + + + Pluie.ColorConf.@get – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

@get

+
+

Description:

+
public weak Color? @get (ECHO name) +
+
+

get specifiyed ECHO color instance

+

Parameters:

+ + + + + +
name +

the choosen color

+
+

Returns:

+ + + + +
+

the corresponding Color instance

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ColorConf.ColorConf.html b/doc/pluie-echo-0.1/Pluie.ColorConf.ColorConf.html new file mode 100644 index 0000000..bcc6d44 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ColorConf.ColorConf.html @@ -0,0 +1,58 @@ + + + + + Pluie.ColorConf.ColorConf – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

ColorConf

+
+

Description:

+
public ColorConf (string path) +
+
+

see resources/echo.ini file

+

Parameters:

+ + + + + +
path +

config ini file path overriding Pluie.ECHO color values

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ColorConf.html b/doc/pluie-echo-0.1/Pluie.ColorConf.html new file mode 100644 index 0000000..eba4b66 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ColorConf.html @@ -0,0 +1,80 @@ + + + + + Pluie.ColorConf – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

ColorConf

+
+

Object Hierarchy:

+ Object hierarchy for ColorConf + + + + + +

Description:

+
public class ColorConf +
+
+

a Class representing a set of Color mapping ECHO + colors with values coming from the specifyed ini config file

+

+
Namespace: Pluie +
+
Package: pluie-echo-0.1 +
+

Content:

+

Creation methods:

+ +

Methods:

+ +
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ColorConf.param.html b/doc/pluie-echo-0.1/Pluie.ColorConf.param.html new file mode 100644 index 0000000..087bda5 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ColorConf.param.html @@ -0,0 +1,66 @@ + + + + + Pluie.ColorConf.param – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

param

+
+

Description:

+
public int param (string name) +
+
+

get value for Term parameter

+

Parameters:

+ + + + + +
name +

from { "term_width", "indent", "key_maxlen" }

+
+

Returns:

+ + + + +
+

corresponding value define in config file

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Dbg.@in.html b/doc/pluie-echo-0.1/Pluie.Dbg.@in.html new file mode 100644 index 0000000..fa95898 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Dbg.@in.html @@ -0,0 +1,85 @@ + + + + + Pluie.Dbg.@in – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

@in

+
+

Description:

+
public void @in (string method, string? @params = null, int line = 0, string? file = null) +
+
+

log method entering

+

Parameters:

+ + + + + + + + + + + + + + + + + +
method +

the method name

+
line +

optional current file line

+
file +

optional current file

+
params +

optional parameters string to display on entering

+
+

+
Namespace: Pluie.Dbg +
+
Package: pluie-echo-0.1 +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Dbg.@out.html b/doc/pluie-echo-0.1/Pluie.Dbg.@out.html new file mode 100644 index 0000000..682c2df --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Dbg.@out.html @@ -0,0 +1,85 @@ + + + + + Pluie.Dbg.@out – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

@out

+
+

Description:

+
public void @out (string method, string? @params = null, int line = 0, string? file = null) +
+
+

log method leaving

+

Parameters:

+ + + + + + + + + + + + + + + + + +
method +

the method name

+
line +

optional current file line

+
file +

optional current file

+
params +

optional parameters string to display on entering

+
+

+
Namespace: Pluie.Dbg +
+
Package: pluie-echo-0.1 +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Dbg.DBG_ENABLED.html b/doc/pluie-echo-0.1/Pluie.Dbg.DBG_ENABLED.html new file mode 100644 index 0000000..8ce7acf --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Dbg.DBG_ENABLED.html @@ -0,0 +1,58 @@ + + + + + Pluie.Dbg.DBG_ENABLED – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

DBG_ENABLED

+
+

Description:

+
public bool DBG_ENABLED +
+
+

enable/disable log messages

+

+
Namespace: Pluie.Dbg +
+
Package: pluie-echo-0.1 +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Dbg.DBG_ENTER.html b/doc/pluie-echo-0.1/Pluie.Dbg.DBG_ENTER.html new file mode 100644 index 0000000..fbeeec5 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Dbg.DBG_ENTER.html @@ -0,0 +1,58 @@ + + + + + Pluie.Dbg.DBG_ENTER – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

DBG_ENTER

+
+

Description:

+
public const int8 DBG_ENTER +

+
Namespace: Pluie.Dbg +
+
Package: pluie-echo-0.1 +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Dbg.DBG_ERROR.html b/doc/pluie-echo-0.1/Pluie.Dbg.DBG_ERROR.html new file mode 100644 index 0000000..35d577f --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Dbg.DBG_ERROR.html @@ -0,0 +1,58 @@ + + + + + Pluie.Dbg.DBG_ERROR – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

DBG_ERROR

+
+

Description:

+
public const int8 DBG_ERROR +
+
+

type log error

+

+
Namespace: Pluie.Dbg +
+
Package: pluie-echo-0.1 +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Dbg.DBG_INLINE.html b/doc/pluie-echo-0.1/Pluie.Dbg.DBG_INLINE.html new file mode 100644 index 0000000..f7b79b9 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Dbg.DBG_INLINE.html @@ -0,0 +1,58 @@ + + + + + Pluie.Dbg.DBG_INLINE – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

DBG_INLINE

+
+

Description:

+
public const int8 DBG_INLINE +

+
Namespace: Pluie.Dbg +
+
Package: pluie-echo-0.1 +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Dbg.DBG_LEAVE.html b/doc/pluie-echo-0.1/Pluie.Dbg.DBG_LEAVE.html new file mode 100644 index 0000000..708551e --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Dbg.DBG_LEAVE.html @@ -0,0 +1,58 @@ + + + + + Pluie.Dbg.DBG_LEAVE – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

DBG_LEAVE

+
+

Description:

+
public const int8 DBG_LEAVE +

+
Namespace: Pluie.Dbg +
+
Package: pluie-echo-0.1 +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Dbg.DBG_WARN.html b/doc/pluie-echo-0.1/Pluie.Dbg.DBG_WARN.html new file mode 100644 index 0000000..5a28afa --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Dbg.DBG_WARN.html @@ -0,0 +1,58 @@ + + + + + Pluie.Dbg.DBG_WARN – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

DBG_WARN

+
+

Description:

+
public const int8 DBG_WARN +
+
+

type log warn

+

+
Namespace: Pluie.Dbg +
+
Package: pluie-echo-0.1 +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Dbg.error.html b/doc/pluie-echo-0.1/Pluie.Dbg.error.html new file mode 100644 index 0000000..7309bef --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Dbg.error.html @@ -0,0 +1,91 @@ + + + + + Pluie.Dbg.error – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

error

+
+

Description:

+
public void error (string msg, string method, int line = 0, string? file = null, int8 mode = DBG_ERROR) +
+
+

log error

+

Parameters:

+ + + + + + + + + + + + + + + + + + + + + +
msg +

the error msg to log

+
method +

the method name logging the error

+
line +

optional current file line

+
file +

optional current file

+
mode +

optional log mode (DBG_ERROR|DBG_WARN)

+
+

+
Namespace: Pluie.Dbg +
+
Package: pluie-echo-0.1 +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Dbg.html b/doc/pluie-echo-0.1/Pluie.Dbg.html new file mode 100644 index 0000000..e24a20b --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Dbg.html @@ -0,0 +1,91 @@ + + + + + Pluie.Dbg – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

Pluie.Dbg

+
+

Description:

+

Content:

+

Constants:

+ +

Functions:

+ +

Fields:

+ +
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Dbg.init.html b/doc/pluie-echo-0.1/Pluie.Dbg.init.html new file mode 100644 index 0000000..8d1fb02 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Dbg.init.html @@ -0,0 +1,73 @@ + + + + + Pluie.Dbg.init – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

init

+
+

Description:

+
public void init (OutputFormatter of, bool debug = false) +
+
+

initialize logging

+

Parameters:

+ + + + + + + + + +
of +

the outputFormatter to use for logging

+
debug +

enable disable log messages

+
+

+
Namespace: Pluie.Dbg +
+
Package: pluie-echo-0.1 +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Dbg.log.html b/doc/pluie-echo-0.1/Pluie.Dbg.log.html new file mode 100644 index 0000000..22fc8e1 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Dbg.log.html @@ -0,0 +1,59 @@ + + + + + Pluie.Dbg.log – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

log

+
+

Description:

+
public void log (string msg, int line = 0, int8 mode = DBG_INLINE, string? file = null) +

+
Namespace: Pluie.Dbg +
+
Package: pluie-echo-0.1 +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Dbg.msg.html b/doc/pluie-echo-0.1/Pluie.Dbg.msg.html new file mode 100644 index 0000000..98bc10d --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Dbg.msg.html @@ -0,0 +1,79 @@ + + + + + Pluie.Dbg.msg – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

msg

+
+

Description:

+
public void msg (string msg, int line = 0, string? file = null) +
+
+

log a message

+

Parameters:

+ + + + + + + + + + + + + +
msg +

the msg to log

+
line +

optional current file line

+
file +

optional current file

+
+

+
Namespace: Pluie.Dbg +
+
Package: pluie-echo-0.1 +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.ACTION.html b/doc/pluie-echo-0.1/Pluie.ECHO.ACTION.html new file mode 100644 index 0000000..b8a0e53 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.ACTION.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.ACTION – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

ACTION

+
+

Description:

+
ACTION +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.ARG.html b/doc/pluie-echo-0.1/Pluie.ECHO.ARG.html new file mode 100644 index 0000000..e6bb33a --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.ARG.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.ARG – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

ARG

+
+

Description:

+
ARG +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.ARG_SEP.html b/doc/pluie-echo-0.1/Pluie.ECHO.ARG_SEP.html new file mode 100644 index 0000000..cc5759b --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.ARG_SEP.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.ARG_SEP – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

ARG_SEP

+
+

Description:

+
ARG_SEP +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.COMMENT.html b/doc/pluie-echo-0.1/Pluie.ECHO.COMMENT.html new file mode 100644 index 0000000..0ab2874 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.COMMENT.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.COMMENT – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

COMMENT

+
+

Description:

+
COMMENT +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.DATE.html b/doc/pluie-echo-0.1/Pluie.ECHO.DATE.html new file mode 100644 index 0000000..9c02760 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.DATE.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.DATE – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

DATE

+
+

Description:

+
DATE +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.DEFAULT.html b/doc/pluie-echo-0.1/Pluie.ECHO.DEFAULT.html new file mode 100644 index 0000000..a1038d6 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.DEFAULT.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.DEFAULT – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

DEFAULT

+
+

Description:

+
DEFAULT +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.DONE.html b/doc/pluie-echo-0.1/Pluie.ECHO.DONE.html new file mode 100644 index 0000000..94093bf --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.DONE.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.DONE – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

DONE

+
+

Description:

+
DONE +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.ENTER.html b/doc/pluie-echo-0.1/Pluie.ECHO.ENTER.html new file mode 100644 index 0000000..dd6eb6c --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.ENTER.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.ENTER – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

ENTER

+
+

Description:

+
ENTER +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.ERROR.html b/doc/pluie-echo-0.1/Pluie.ECHO.ERROR.html new file mode 100644 index 0000000..07a1f7f --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.ERROR.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.ERROR – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

ERROR

+
+

Description:

+
ERROR +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.FAIL.html b/doc/pluie-echo-0.1/Pluie.ECHO.FAIL.html new file mode 100644 index 0000000..ded1eb2 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.FAIL.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.FAIL – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

FAIL

+
+

Description:

+
FAIL +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.FILE.html b/doc/pluie-echo-0.1/Pluie.ECHO.FILE.html new file mode 100644 index 0000000..7eb12aa --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.FILE.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.FILE – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

FILE

+
+

Description:

+
FILE +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.ITEM.html b/doc/pluie-echo-0.1/Pluie.ECHO.ITEM.html new file mode 100644 index 0000000..9dbdcda --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.ITEM.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.ITEM – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

ITEM

+
+

Description:

+
ITEM +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.KEY.html b/doc/pluie-echo-0.1/Pluie.ECHO.KEY.html new file mode 100644 index 0000000..40b30f0 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.KEY.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.KEY – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

KEY

+
+

Description:

+
KEY +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.LEAVE.html b/doc/pluie-echo-0.1/Pluie.ECHO.LEAVE.html new file mode 100644 index 0000000..7371b91 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.LEAVE.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.LEAVE – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

LEAVE

+
+

Description:

+
LEAVE +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.MICROTIME.html b/doc/pluie-echo-0.1/Pluie.ECHO.MICROTIME.html new file mode 100644 index 0000000..b944ba2 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.MICROTIME.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.MICROTIME – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

MICROTIME

+
+

Description:

+
MICROTIME +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.NUM.html b/doc/pluie-echo-0.1/Pluie.ECHO.NUM.html new file mode 100644 index 0000000..6cb2b92 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.NUM.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.NUM – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

NUM

+
+

Description:

+
NUM +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.OPTION.html b/doc/pluie-echo-0.1/Pluie.ECHO.OPTION.html new file mode 100644 index 0000000..0bb50ab --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.OPTION.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.OPTION – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

OPTION

+
+

Description:

+
OPTION +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.OPTION_SEP.html b/doc/pluie-echo-0.1/Pluie.ECHO.OPTION_SEP.html new file mode 100644 index 0000000..3ae488f --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.OPTION_SEP.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.OPTION_SEP – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

OPTION_SEP

+
+

Description:

+
OPTION_SEP +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.SECTION.html b/doc/pluie-echo-0.1/Pluie.ECHO.SECTION.html new file mode 100644 index 0000000..6aa0b53 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.SECTION.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.SECTION – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

SECTION

+
+

Description:

+
SECTION +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.SEP.html b/doc/pluie-echo-0.1/Pluie.ECHO.SEP.html new file mode 100644 index 0000000..64d6c8b --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.SEP.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.SEP – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

SEP

+
+

Description:

+
SEP +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.TIME.html b/doc/pluie-echo-0.1/Pluie.ECHO.TIME.html new file mode 100644 index 0000000..9c23c94 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.TIME.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.TIME – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

TIME

+
+

Description:

+
TIME +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.TITLE.html b/doc/pluie-echo-0.1/Pluie.ECHO.TITLE.html new file mode 100644 index 0000000..ec2bdda --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.TITLE.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.TITLE – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

TITLE

+
+

Description:

+
TITLE +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.TITLE_ITEM.html b/doc/pluie-echo-0.1/Pluie.ECHO.TITLE_ITEM.html new file mode 100644 index 0000000..371e045 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.TITLE_ITEM.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.TITLE_ITEM – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

TITLE_ITEM

+
+

Description:

+
TITLE_ITEM +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.TITLE_SEP.html b/doc/pluie-echo-0.1/Pluie.ECHO.TITLE_SEP.html new file mode 100644 index 0000000..b04e190 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.TITLE_SEP.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.TITLE_SEP – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

TITLE_SEP

+
+

Description:

+
TITLE_SEP +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.VAL.html b/doc/pluie-echo-0.1/Pluie.ECHO.VAL.html new file mode 100644 index 0000000..d3ac4cb --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.VAL.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.VAL – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

VAL

+
+

Description:

+
VAL +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.WARN.html b/doc/pluie-echo-0.1/Pluie.ECHO.WARN.html new file mode 100644 index 0000000..d941785 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.WARN.html @@ -0,0 +1,47 @@ + + + + + Pluie.ECHO.WARN – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

WARN

+
+

Description:

+
WARN +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.ECHO.html b/doc/pluie-echo-0.1/Pluie.ECHO.html new file mode 100644 index 0000000..e4b280e --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.ECHO.html @@ -0,0 +1,106 @@ + + + + + Pluie.ECHO – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

ECHO

+
+

Description:

+
public enum ECHO +
+
+

enumerate predefined Color mapped to default config file see resources/echo.ini

+

+
Namespace: Pluie +
+
Package: pluie-echo-0.1 +
+

Content:

+

Enum values:

+ +
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Echo.DATA_PATH.html b/doc/pluie-echo-0.1/Pluie.Echo.DATA_PATH.html new file mode 100644 index 0000000..5acfa58 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Echo.DATA_PATH.html @@ -0,0 +1,52 @@ + + + + + Pluie.Echo.DATA_PATH – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

DATA_PATH

+
+

Description:

+
protected const unowned string DATA_PATH +

+
Namespace: Pluie.Echo +
+
Package: pluie-echo-0.1 +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Echo.INSTALL_PATH.html b/doc/pluie-echo-0.1/Pluie.Echo.INSTALL_PATH.html new file mode 100644 index 0000000..4e69c31 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Echo.INSTALL_PATH.html @@ -0,0 +1,52 @@ + + + + + Pluie.Echo.INSTALL_PATH – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

INSTALL_PATH

+
+

Description:

+
protected const unowned string INSTALL_PATH +

+
Namespace: Pluie.Echo +
+
Package: pluie-echo-0.1 +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Echo.VERSION.html b/doc/pluie-echo-0.1/Pluie.Echo.VERSION.html new file mode 100644 index 0000000..5e756fe --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Echo.VERSION.html @@ -0,0 +1,52 @@ + + + + + Pluie.Echo.VERSION – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

VERSION

+
+

Description:

+
protected const unowned string VERSION +

+
Namespace: Pluie.Echo +
+
Package: pluie-echo-0.1 +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Echo.html b/doc/pluie-echo-0.1/Pluie.Echo.html new file mode 100644 index 0000000..36fbc4a --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Echo.html @@ -0,0 +1,76 @@ + + + + + Pluie.Echo – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

Pluie.Echo

+
+

Description:

+

Content:

+

Constants:

+ +

Functions:

+ +

Fields:

+ +
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Echo.init.html b/doc/pluie-echo-0.1/Pluie.Echo.init.html new file mode 100644 index 0000000..f611e0f --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Echo.init.html @@ -0,0 +1,52 @@ + + + + + Pluie.Echo.init – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

init

+
+

Description:

+
public OutputFormatter init (bool debug, string? path = null) +

+
Namespace: Pluie.Echo +
+
Package: pluie-echo-0.1 +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Echo.of.html b/doc/pluie-echo-0.1/Pluie.Echo.of.html new file mode 100644 index 0000000..57ab637 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Echo.of.html @@ -0,0 +1,52 @@ + + + + + Pluie.Echo.of – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

of

+
+

Description:

+
public OutputFormatter of +

+
Namespace: Pluie.Echo +
+
Package: pluie-echo-0.1 +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.OutputFormatter.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.OutputFormatter.html new file mode 100644 index 0000000..416323b --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.OutputFormatter.html @@ -0,0 +1,75 @@ + + + + + Pluie.OutputFormatter.OutputFormatter – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

OutputFormatter

+
+

Description:

+
public OutputFormatter (ColorConf conf) +
+
+

Parameters:

+ + + + + +
conf +

the ColorConf to use for printing ansi escape sequences

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.action.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.action.html new file mode 100644 index 0000000..5acbc03 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.action.html @@ -0,0 +1,82 @@ + + + + + Pluie.OutputFormatter.action – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

action

+
+

Description:

+
public void action (string name, string? val = "") +
+
+

display an action

+

Parameters:

+ + + + + + + + + +
name +

name of current action

+
val +

optional action parameter

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.c.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.c.html new file mode 100644 index 0000000..bc9eb64 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.c.html @@ -0,0 +1,76 @@ + + + + + Pluie.OutputFormatter.c – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

c

+
+

Description:

+
public weak Color c (ECHO name) +
+
+

get Color instance corresponding to ECHO color

+

Parameters:

+ + + + + +
name +

the ECHO color

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.conf.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.conf.html new file mode 100644 index 0000000..39da55b --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.conf.html @@ -0,0 +1,64 @@ + + + + + Pluie.OutputFormatter.conf – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

conf

+
+

Description:

+
protected ColorConf conf +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.echo.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.echo.html new file mode 100644 index 0000000..a3d32b9 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.echo.html @@ -0,0 +1,94 @@ + + + + + Pluie.OutputFormatter.echo – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

echo

+
+

Description:

+
public void echo (string? data = "", bool lf = true, bool indent_all = false, ECHO color = DEFAULT, int8 indent_adjust = 0) +
+
+

generic method to display messages

+

Parameters:

+ + + + + + + + + + + + + + + + + +
data +

the message to display

+
lf +

enable line feed

+
indent_all +

enable multiple line indentation

+
color +

use color ECHO to display the message

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.echo_up.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.echo_up.html new file mode 100644 index 0000000..75deb20 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.echo_up.html @@ -0,0 +1,82 @@ + + + + + Pluie.OutputFormatter.echo_up – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

echo_up

+
+

Description:

+
public void echo_up (int line, string s) +
+
+

display a message up tp x lines

+

Parameters:

+ + + + + + + + + +
line +

number of line to move up

+
s +

the message to display

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.error.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.error.html new file mode 100644 index 0000000..a7b9411 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.error.html @@ -0,0 +1,76 @@ + + + + + Pluie.OutputFormatter.error – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

error

+
+

Description:

+
public void error (string label, bool warn = false) +
+
+

display an error

+

Parameters:

+ + + + + +
label +

the error message to display

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.html new file mode 100644 index 0000000..0914a83 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.html @@ -0,0 +1,175 @@ + + + + + Pluie.OutputFormatter – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

OutputFormatter

+
+

Object Hierarchy:

+ Object hierarchy for OutputFormatter + + + + + +

Description:

+
public class OutputFormatter +
+
+

A class managing display on stdout & stderror with Color styles defined by specifiyed + ColorConf

+

using GLib;
using Pluie;

errordomain MyError {
CODE
}

int main (string[] args)
{
var of = Echo.init (true, "resources/echo.ini");
Dbg.in (Log.METHOD, null, Log.LINE, Log.FILE);

of.title ("MyApp", "0.2.2", "a-sansara");

of.echo ("sample echo\n");

of.keyval ("path", "/tmp/blob");
of.keyval ("otherlongoption", "other value");

of.echo ("\nsample echo\non multiple\nline", true, true);

of.action ("reading config", "toto.conf");

of.state (false);

of.warn ("boloss warning");
of.echo ();

var cmd = new Sys.Cmd ("ls -la");

int status = cmd.run();
of.action ("running cmd", cmd.name);
of.echo ("\n%s".printf (cmd.output), true, true);

of.state (status == 0);

try {
throw new MyError.CODE("this is the error message");
}
catch (MyError e) {
of.error (e.message);
}
of.rs (true);
of.rs (true, "ok");
of.rs (false, "", "exit");

of.echo();

string com = "Vala is syntactically similar to C# and includes several features such as: anonymous functions, signals, properties, generics, assisted memory management, exception handling, type inference, and foreach statements.[3] Its developers Jürg Billeter and Raffaele Sandrini aim to bring these features to the plain C runtime with little overhead and no special runtime support by targeting the GObject object system";
string mycom = of.wordwrap (com, of.term_width-44);
int line = mycom.split("\n").length;
of.echo (mycom, true, true, ECHO.COMMENT, 40);

of.usage_option ("quiet", "q", "SHUTUP", false, line);
of.echo();

of.echo (mycom, true, true, ECHO.COMMENT, 40);
of.usage_option ("record-desktop", "r", "TIME", false, line);

of.echo();
Dbg.out (Log.METHOD, null, Log.LINE, Log.FILE);
return 0;
}
+ valac --pkg pluie-echo-0.1 outputFormatter.vala

+

+
Namespace: Pluie +
+
Package: pluie-echo-0.1 +
+

Content:

+

Creation methods:

+ +

Methods:

+ +

Fields:

+ +
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.indent.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.indent.html new file mode 100644 index 0000000..ffcc75d --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.indent.html @@ -0,0 +1,67 @@ + + + + + Pluie.OutputFormatter.indent – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

indent

+
+

Description:

+
public int indent +
+
+

number of space defining default indentation

+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.keyval.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.keyval.html new file mode 100644 index 0000000..5b513ab --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.keyval.html @@ -0,0 +1,82 @@ + + + + + Pluie.OutputFormatter.keyval – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

keyval

+
+

Description:

+
public void keyval (string key, string val) +
+
+

display a key value message

+

Parameters:

+ + + + + + + + + +
key +

the key name

+
val +

the key value

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.move_down.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.move_down.html new file mode 100644 index 0000000..9e83252 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.move_down.html @@ -0,0 +1,76 @@ + + + + + Pluie.OutputFormatter.move_down – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

move_down

+
+

Description:

+
public string move_down (int line) +
+
+

get ansi escape sequence moving down lines

+

Parameters:

+ + + + + +
line +

number of line to move down

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.move_up.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.move_up.html new file mode 100644 index 0000000..4d50e34 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.move_up.html @@ -0,0 +1,76 @@ + + + + + Pluie.OutputFormatter.move_up – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

move_up

+
+

Description:

+
public string move_up (int line) +
+
+

get ansi escape sequence moving up lines

+

Parameters:

+ + + + + +
line +

number of line to move up

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.rs.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.rs.html new file mode 100644 index 0000000..fedc9d4 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.rs.html @@ -0,0 +1,88 @@ + + + + + Pluie.OutputFormatter.rs – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

rs

+
+

Description:

+
public void rs (bool test, string done = "done", string fail = "fail") +
+
+

display a test result

+

Parameters:

+ + + + + + + + + + + + + +
test +

the result of test

+
done +

the done label to display if test succeed

+
done +

the fail label to display if test fail

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.s_indent.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.s_indent.html new file mode 100644 index 0000000..1a2436d --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.s_indent.html @@ -0,0 +1,76 @@ + + + + + Pluie.OutputFormatter.s_indent – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

s_indent

+
+

Description:

+
public string s_indent (int8 adjust = 0) +
+
+

get an indentation only string

+

Parameters:

+ + + + + +
adjust +

number of space indentation adjustment

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.state.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.state.html new file mode 100644 index 0000000..8da7136 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.state.html @@ -0,0 +1,76 @@ + + + + + Pluie.OutputFormatter.state – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

state

+
+

Description:

+
public void state (bool test) +
+
+

display a state for specifiyed test

+

Parameters:

+ + + + + +
test +

the test result

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.term_width.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.term_width.html new file mode 100644 index 0000000..ac4b152 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.term_width.html @@ -0,0 +1,67 @@ + + + + + Pluie.OutputFormatter.term_width – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

term_width

+
+

Description:

+
public int term_width +
+
+

max terminal with to considerate when printing messages

+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.test.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.test.html new file mode 100644 index 0000000..812053b --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.test.html @@ -0,0 +1,64 @@ + + + + + Pluie.OutputFormatter.test – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

test

+
+

Description:

+
protected Color test (bool exp, bool error = false) +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.title.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.title.html new file mode 100644 index 0000000..db77731 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.title.html @@ -0,0 +1,88 @@ + + + + + Pluie.OutputFormatter.title – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

title

+
+

Description:

+
public void title (string label, string? version = null, string? author = null) +
+
+

display a title

+

Parameters:

+ + + + + + + + + + + + + +
label +

generally title of program

+
version +

version of program

+
author +

author of program

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.title_sep.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.title_sep.html new file mode 100644 index 0000000..6f54f88 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.title_sep.html @@ -0,0 +1,64 @@ + + + + + Pluie.OutputFormatter.title_sep – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

title_sep

+
+

Description:

+
protected string title_sep () +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.usage_option.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.usage_option.html new file mode 100644 index 0000000..4a42f51 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.usage_option.html @@ -0,0 +1,100 @@ + + + + + Pluie.OutputFormatter.usage_option – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

usage_option

+
+

Description:

+
public void usage_option (string? name = null, string? shortname = null, string? argname = null, bool val = false, int echo_up = 0) +
+
+

display usage option

+

Parameters:

+ + + + + + + + + + + + + + + + + + + + + +
name +

the option name

+
shortname +

the option shortname

+
argname +

the option argument

+
val +

specifyed optional value argument

+
echo_up +

line to move up on displaying option definition

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.warn.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.warn.html new file mode 100644 index 0000000..479a761 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.warn.html @@ -0,0 +1,76 @@ + + + + + Pluie.OutputFormatter.warn – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

warn

+
+

Description:

+
public void warn (string label) +
+
+

display a warning

+

Parameters:

+ + + + + +
label +

the warn message to display

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.OutputFormatter.wordwrap.html b/doc/pluie-echo-0.1/Pluie.OutputFormatter.wordwrap.html new file mode 100644 index 0000000..7d65c9d --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.OutputFormatter.wordwrap.html @@ -0,0 +1,88 @@ + + + + + Pluie.OutputFormatter.wordwrap – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

wordwrap

+
+

Description:

+
public string wordwrap (string str, int width, bool cut = false) +
+
+

wordwrap paragraph

+

Parameters:

+ + + + + + + + + + + + + +
str +

the paragraph to wordwrap

+
width +

maximum width of each lines

+
cut +

cur word rather than wordwrap [not implemented]

+
+
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Sys.Cmd.Cmd.html b/doc/pluie-echo-0.1/Pluie.Sys.Cmd.Cmd.html new file mode 100644 index 0000000..89c02cd --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Sys.Cmd.Cmd.html @@ -0,0 +1,53 @@ + + + + + Pluie.Sys.Cmd.Cmd – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

Cmd

+
+

Description:

+
public Cmd (string name) +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Sys.Cmd.error.html b/doc/pluie-echo-0.1/Pluie.Sys.Cmd.error.html new file mode 100644 index 0000000..0e6bdab --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Sys.Cmd.error.html @@ -0,0 +1,53 @@ + + + + + Pluie.Sys.Cmd.error – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

error

+
+

Description:

+
public string error { get; } +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Sys.Cmd.html b/doc/pluie-echo-0.1/Pluie.Sys.Cmd.html new file mode 100644 index 0000000..3918032 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Sys.Cmd.html @@ -0,0 +1,98 @@ + + + + + Pluie.Sys.Cmd – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

Cmd

+
+

Object Hierarchy:

+ Object hierarchy for Cmd + + + + + +

Description:

+
public class Cmd +

+
Namespace: Pluie.Sys +
+
Package: pluie-echo-0.1 +
+

Content:

+

Properties:

+ +

Creation methods:

+ +

Methods:

+ +
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Sys.Cmd.name.html b/doc/pluie-echo-0.1/Pluie.Sys.Cmd.name.html new file mode 100644 index 0000000..20724d8 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Sys.Cmd.name.html @@ -0,0 +1,53 @@ + + + + + Pluie.Sys.Cmd.name – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

name

+
+

Description:

+
public string name { get; } +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Sys.Cmd.output.html b/doc/pluie-echo-0.1/Pluie.Sys.Cmd.output.html new file mode 100644 index 0000000..657f92e --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Sys.Cmd.output.html @@ -0,0 +1,53 @@ + + + + + Pluie.Sys.Cmd.output – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

output

+
+

Description:

+
public string output { get; } +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Sys.Cmd.run.html b/doc/pluie-echo-0.1/Pluie.Sys.Cmd.run.html new file mode 100644 index 0000000..80134be --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Sys.Cmd.run.html @@ -0,0 +1,53 @@ + + + + + Pluie.Sys.Cmd.run – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

run

+
+

Description:

+
public int run (bool display = false, string? name = null) +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Sys.Cmd.status.html b/doc/pluie-echo-0.1/Pluie.Sys.Cmd.status.html new file mode 100644 index 0000000..2210834 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Sys.Cmd.status.html @@ -0,0 +1,53 @@ + + + + + Pluie.Sys.Cmd.status – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

status

+
+

Description:

+
public int status { get; } +
+
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.Sys.html b/doc/pluie-echo-0.1/Pluie.Sys.html new file mode 100644 index 0000000..3889981 --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.Sys.html @@ -0,0 +1,47 @@ + + + + + Pluie.Sys – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

Pluie.Sys

+
+

Description:

+

Content:

+

Classes:

+ +
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/Pluie.html b/doc/pluie-echo-0.1/Pluie.html new file mode 100644 index 0000000..b799cac --- /dev/null +++ b/doc/pluie-echo-0.1/Pluie.html @@ -0,0 +1,67 @@ + + + + + Pluie – pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

Pluie

+
+

Description:

+

Content:

+

Namespaces:

+ +

Classes:

+ +

Enums:

+ +
+

+ + + \ No newline at end of file diff --git a/doc/pluie-echo-0.1/img/Pluie.Color.png b/doc/pluie-echo-0.1/img/Pluie.Color.png new file mode 100644 index 0000000..55a5226 Binary files /dev/null and b/doc/pluie-echo-0.1/img/Pluie.Color.png differ diff --git a/doc/pluie-echo-0.1/img/Pluie.ColorConf.png b/doc/pluie-echo-0.1/img/Pluie.ColorConf.png new file mode 100644 index 0000000..7785524 Binary files /dev/null and b/doc/pluie-echo-0.1/img/Pluie.ColorConf.png differ diff --git a/doc/pluie-echo-0.1/img/Pluie.OutputFormatter.png b/doc/pluie-echo-0.1/img/Pluie.OutputFormatter.png new file mode 100644 index 0000000..f633187 Binary files /dev/null and b/doc/pluie-echo-0.1/img/Pluie.OutputFormatter.png differ diff --git a/doc/pluie-echo-0.1/img/Pluie.Sys.Cmd.png b/doc/pluie-echo-0.1/img/Pluie.Sys.Cmd.png new file mode 100644 index 0000000..ae17502 Binary files /dev/null and b/doc/pluie-echo-0.1/img/Pluie.Sys.Cmd.png differ diff --git a/doc/pluie-echo-0.1/index.htm b/doc/pluie-echo-0.1/index.htm new file mode 100644 index 0000000..9ac76dc --- /dev/null +++ b/doc/pluie-echo-0.1/index.htm @@ -0,0 +1,135 @@ + + + + + pluie-echo-0.1 – Vala Binding Reference + + + + +
+ +
+

pluie-echo-0.1

+
+

Description:

+

Content:

+

Namespaces:

+ +
+

+ + + \ No newline at end of file diff --git a/doc/preview.svg b/doc/preview.svg new file mode 100644 index 0000000..dcbbd80 --- /dev/null +++ b/doc/preview.svg @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + Valadoc + Valadoc + diff --git a/doc/property.svg b/doc/property.svg new file mode 100644 index 0000000..724345d --- /dev/null +++ b/doc/property.svg @@ -0,0 +1,126 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/scripts.js b/doc/scripts.js new file mode 100644 index 0000000..94b15b0 --- /dev/null +++ b/doc/scripts.js @@ -0,0 +1,56 @@ +/* markupwriter.vala + * + * Copyright (C) 2008-2009 Florian Brosch + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * Author: + * Florian Brosch + */ + +function get_path (path) { + var pos = path.lastIndexOf ('/'); + if (pos < 0) { + return ''; + } + + return path.substring (pos, -1) + '/'; +} + +function toggle_box (self, id) { + var element = document.getElementById (id); + if (element == null) { + return ; + } + + var style = self.currentStyle || window.getComputedStyle (self, false); + var orig_path = /url[ \t]*\(('(.*)'|"(.*)")\)/.exec (style.backgroundImage)[1].slice(1, -1); + var orig_dir = get_path (orig_path); + if (element.style.display == 'block') { + element.style.display = 'none'; + self.style.backgroundImage = "url('" + orig_dir + 'coll_open.svg' + "')"; + } else { + element.style.display = 'block'; + self.style.backgroundImage = "url('" + orig_dir + 'coll_close.svg' + "')"; + } +} + +window.onload = function() { + var nav = document.querySelector('.site_navigation'); + nav.innerHTML = ''; + var header = document.querySelector('.site_header'); + var data = header.innerHTML.split("–"); + header.innerHTML = data[0] + (data[1] ? '
'+data[1]+'
' : ''); +} diff --git a/doc/signal.svg b/doc/signal.svg new file mode 100644 index 0000000..210ea33 --- /dev/null +++ b/doc/signal.svg @@ -0,0 +1,116 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/staticmethod.svg b/doc/staticmethod.svg new file mode 100644 index 0000000..a251483 --- /dev/null +++ b/doc/staticmethod.svg @@ -0,0 +1,163 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/struct.svg b/doc/struct.svg new file mode 100644 index 0000000..56a0e2d --- /dev/null +++ b/doc/struct.svg @@ -0,0 +1,148 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/style.css b/doc/style.css new file mode 100644 index 0000000..8782a82 --- /dev/null +++ b/doc/style.css @@ -0,0 +1,2 @@ +@import url('https://fonts.googleapis.com/css?family=family=Open+Sans:300,400%7CDroid+Serif:400%7CRoboto+Mono:400,500,700,400italic'); +*{font-family:"Open Sans","Droid Sans",Helvetica,sans-serif}a{outline:none!important}h2,h3{font-family:"Droid Serif",serif;font-weight:300}h3{font-size:15px;font-weight:300}body{margin:0}.main_optional_parameter{font-style:italic}.main_diagram{border-style:none;display:block;margin:0 auto}.site_navi{text-align:right}.main_notification{padding-right:10px;padding-left:60px;padding-bottom:5px;padding-top:5px;border-color:#aaf;background-color:#eef;border-style:solid;border-width:1px;margin:10px;min-height:48px;background-position:6px .5em;background-repeat:no-repeat;background-image:url(warning.svg)}.main_table{border-collapse:collapse;border:1px solid #aaf;background:#eef;margin-right:auto;margin-left:auto}.main_source,.main_sourcesample{background-color:#FAFAFA;border-radius:6px;font-family:"Roboto Mono",monospace;margin:12px;padding:12px}input{border-color:#aaf;border-style:solid;border-width:1px}.site_header{align-items:center;background-color:#403757;box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);display:flex;font-size:24px;justify-content:space-between;padding:9px 6px;position:fixed;top:0;width:100%;z-index:1000;color:white}div{font-size:14px}.site_title{text-align:left;font-size:40px}div.site_footer{position:fixed;bottom:0;text-align:center;padding-bottom:5px;padding-top:5px;width:100%;background-color:#fafafa}div.site_body{font-size:10;margin-top:50px}#nav_content{overflow:auto;position:fixed;height:100%;width:240px;font-size:16px;background-color:#f7f6f8}div.site_navigation{float:left;width:240px;border-color:#eceaf0;border-style:solid;border-width:1px;margin-bottom:40px;background-color:#f7f6f8}.site_content{font-size:14px;margin-left:300px;margin-right:5px;padding-top:20px;text-align:left}.main_type{text-decoration:none;font-style:italic;color:#000}.main_basic_type{text-decoration:none;font-weight:700;color:#2B9C5D}.main_keyword{text-decoration:none;font-weight:700;color:brown}.main_escape{text-decoration:none;color:#6a5acd}.xml_cdata{text-decoration:none;font-weight:400;color:#a020f0}.xml_escape{text-decoration:none;font-weight:400;color:#a020f0}.xml_element{text-decoration:none;font-weight:400;color:#008a8c}.xml_attribute{text-decoration:none;font-weight:700;color:#6a5acd}.xml_attribute_value{text-decoration:none;font-weight:400;color:#f0f}.xml_comment{text-decoration:none;font-weight:400;color:#0202ff}.main_source .main_literal{text-decoration:none;color:#2ba199}.main_comment{text-decoration:none;color:#888a85}.main_preprocessor{text-decoration:none;color:#ad7fa8}div.main_code_definition{background-color:#eee;border-radius:6px;font-family:"Roboto Mono",monospace;margin:12px;padding:12px}div.main_notification_block{padding-right:10px;padding-left:10px;padding-bottom:5px;padding-top:5px;border-color:#d08717;background-color:#fbf2c3;border-style:solid;border-width:1px;margin:10px}span.main_block_headline{background-image:url(tip.svg);background-repeat:no-repeat;background-position:center right;font-weight:700;display:block}div.main_block_content{margin-left:15px}span.leaf_code_definition{font-family:"Roboto Mono",monospace;font-size:15px;font-weight:200}div.leaf_brief_description{display:block;margin-left:40px}h1.main_title{font-size:20px;margin-bottom:0}h2.main_title{margin-bottom:0}h3.main_title{margin-bottom:0}.main_hr{border:0;color:#b4a0c1;background-color:#b4a0c1;height:1px;margin-top:6px;margin-bottom:6px}.main_parameter_table_unknown_parameter{color:GREY}.main_parameter_table_name,.main_errordomain_table_name,.main_enum_table_name{vertical-align:top;text-align:right;font-weight:700;width:120px;padding-right:10px}.main_parameter_table,.main_errordomain_table,.main_enum_table{margin-weight:20px;margin-left:20px}.description a.constant,.brief_description a.constant{background-image:url(constant.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.namespace,.brief_description a.namespace{background-image:url(namespace.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.struct,.brief_description a.struct{background-image:url(struct.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.interface,.brief_description a.interface{background-image:url(interface.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.enum,.brief_description a.enum{background-image:url(enum.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.errordomain,.brief_description a.errordomain{background-image:url(errordomain.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.delegate,.brief_description a.delegate{background-image:url(delegate.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.signal,.brief_description a.signal{background-image:url(signal.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.field,.brief_description a.field{background-image:url(field.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.enumvalue,.brief_description a.enumvalue{background-image:url(enumvalue.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.errorcode,.brief_description a.errorcode{background-image:url(errorcode.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.class,.brief_description a.class{background-image:url(class.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}a.abstract_class,.description a.abstract_class,.brief_description a.abstract_class{background-image:url(abstractclass.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0;font-style:italic}.description a.property,.brief_description a.property{background-image:url(property.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.virtual_property,.brief_description a.virtual_property{background-image:url(virtualproperty.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.abstract_property,.brief_description a.abstract_property{background-image:url(abstractproperty.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.method,.brief_description a.method{background-image:url(method.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.static_method,.brief_description a.static_method{background-image:url(staticmethod.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}a.virtual_method,.description a.virtual_method,.brief_description a.virtual_method{background-image:url(virtualmethod.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.abstract_method,.brief_description a.abstract_method{background-image:url(abstractmethod.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.creation_method,.brief_description a.creation_method{background-image:url(constructor.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.navi_main li,.navi_inline li{background-image:url(method.svg);background-repeat:no-repeat!important;background-position:left center!important;background-color:transparent;vertical-align:middle;list-style-type:none;margin:0;padding:0 0 0 20px;transition:all 0.5s ease-out}.navi_inline li{background-position:left 12px!important;padding:10px 0 10px 20px}.navi_main li.errorcode,.navi_inline li.errorcode{background-image:url(errorcode.svg)}.navi_main li.enumvalue,.navi_inline li.enumvalue{background-image:url(enumvalue.svg)}.navi_main li.abstract_class,.navi_inline li.abstract_class{background-image:url(abstractclass.svg)}.navi_main li.abstract_method,.navi_inline li.abstract_method{background-image:url(abstractmethod.svg)}.navi_main li.creation_method,.navi_inline li.creation_method,.main_list_m{background-image:url(constructor.svg)}.navi_main li.static_method,.navi_inline li.static_method{background-image:url(staticmethod.svg)}.navi_main li.package_index{background-image:url(packages.svg)}.navi_main li.virtual_method,.navi_inline li.virtual_method{background-image:url(virtualmethod.svg)}.navi_main li.errordomain,.navi_inline li.errordomain,.main_list_errdom{background-image:url(errordomain.svg)}.navi_main li.namespace,.navi_inline li.namespace,.main_list_ns{background-image:url(namespace.svg)}.navi_main li.method,.navi_inline li.method{background-image:url(method.svg)}.navi_main li.struct,.navi_inline li.struct,.main_list_stru{background-image:url(struct.svg)}.navi_main li.interface,.navi_inline li.interface,.main_list_iface{background-image:url(interface.svg)}.navi_main li.field,.navi_inline li.field,.main_list_field{background-image:url(field.svg)}.navi_main li.class,.navi_inline li.class,.main_list_cl{background-image:url(class.svg)}.navi_main li.enum,.navi_inline li.enum,.main_list_en{background-image:url(enum.svg)}.navi_main li.property,.navi_inline li.property,.main_list_prop{background-image:url(property.svg)}.navi_main li.abstract_property,.navi_inline li.abstract_property{background-image:url(abstractproperty.svg)}.navi_main li.virtual_property,.navi_inline li.virtual_property{background-image:url(virtualproperty.svg)}.navi_main li.delegate,.navi_inline li.delegate,.main_list_del{background-image:url(delegate.svg)}.navi_main li.signal,.navi_inline li.signal,.main_list_sig{background-image:url(signal.svg)}.navi_main li.package,.navi_inline li.package{background-image:url(package.svg)}.navi_main li.constant,.navi_inline li.constant{background-image:url(constant.svg)}.navi_main{margin-top:10px;margin-bottom:10px;padding-left:5px}.navi_main:last-child{padding-left:5px}.navi_hr{background-color:#dedede;border:0;border-top-width:0;border-bottom-width:0;border-top-style:none;border-bottom-style:none;border-top-color:currentcolor;border-bottom-color:currentcolor;border-bottom:1px solid #fff;border-top:1px solid #dedede;height:0;margin:6px 0}.navi_main a{text-decoration:none;color:#887E9C;line-height:26px;width:100%;display:inline-block;padding-left:0}a,.navi_inline a,a.external_link{text-decoration:none;color:#50A3BE;transition:all 0.5s ease-out}.navi_main li:hover{background-color:rgba(0,0,0,.1)}div.site_content .navi_main li:hover{background-color:transparent}a:hover,.navi_inline a:hover,a.external_link:hover,div.site_content .navi_main li a:hover{text-decoration:underline;color:#6A6576}.navi_main li:hover a{text-decoration:none}.navi_main .abstract_class>a,.navi_inline .abstract_class>a{font-style:italic}a.navi_link:hover,a.external_link:hover{text-decoration:underline}ul.no_bullet li{list-style-type:none}.navi_inline{}.css_content_literal{font-family:monospace;color:#ff01ff}code{font-family:monospace}.main_code_definition a,.leaf_code_definition a{text-decoration:none;color:inherit}.main_code_definition a:hover,.leaf_code_definition a:hover{text-decoration:underline}.box .headline{background-image:url(coll_open.svg);background-position:calc(100% - 1px) center;background-repeat:no-repeat;background-color:#eef;border-color:#aaf;border-style:solid;border-width:1px;margin:auto;width:90%;margin-top:20px;font-weight:700}.box .content{border-color:#aaf;border-width:0 1 1 1;border-style:solid;overflow:auto;display:none;margin:auto;width:90%}.box .column{float:left;width:33%}.package_note{}.deprecated{text-decoration:line-through} diff --git a/doc/tip.svg b/doc/tip.svg new file mode 100644 index 0000000..0effdb1 --- /dev/null +++ b/doc/tip.svg @@ -0,0 +1,50 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/doc/video.svg b/doc/video.svg new file mode 100644 index 0000000..bdd25b4 --- /dev/null +++ b/doc/video.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + diff --git a/doc/virtualmethod.svg b/doc/virtualmethod.svg new file mode 100644 index 0000000..ec720df --- /dev/null +++ b/doc/virtualmethod.svg @@ -0,0 +1,163 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/virtualproperty.svg b/doc/virtualproperty.svg new file mode 100644 index 0000000..a115d6d --- /dev/null +++ b/doc/virtualproperty.svg @@ -0,0 +1,138 @@ + + + + + + image/svg+xml + + elementary Symbolic Icon Theme + + + + elementary Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/warning.svg b/doc/warning.svg new file mode 100644 index 0000000..180f361 --- /dev/null +++ b/doc/warning.svg @@ -0,0 +1,118 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/wikistyle.css b/doc/wikistyle.css new file mode 100644 index 0000000..459f91a --- /dev/null +++ b/doc/wikistyle.css @@ -0,0 +1,547 @@ +ul.external_link { +} + +.main_optional_parameter { + font-style: italic; +} + +.main_diagram { + border-style: none; + display: block; + margin: 0px auto; + width: 100px; +} + +.site_navi { + text-align: right; +} + +.main_notification { + padding-right: 10px; + padding-left: 60px; + padding-bottom: 5px; + padding-top: 5px; + border-color: #aaaaff; + background-color: #eeeeff; + border-style: solid; + border-width: 1px; + margin: 10px; + min-height: 48px; + background-position: 6px 0.5em; + background-repeat: no-repeat; + background-image: url(warning.png); +} + +div.main_notification_block { + padding-right: 10px; + padding-left: 10px; + padding-bottom: 5px; + padding-top: 5px; + + border-color: #d08717; + background-color: #fbf2c3; + border-style: solid; + border-width: 1px; + margin: 10px; +} + +span.main_block_headline { + background-image:url(tip.png); + background-repeat:no-repeat; + background-position:center right; + font-weight:bold; + display:block; +} + +div.main_block_content { + margin-left:15px; +} + +.main_source, .main_sourcesample { + padding-right: 10px; + padding-left: 5px; + padding-bottom: 5px; + padding-top: 5px; + margin: 10px; + + border-color: #aaaaff; + background-color: #eeeeff; + border-style: solid; + border-width: 1px; +} + +input { + border-color: #aaaaff; + border-style: solid; + border-width: 1px; +} + +.main_table { + border-collapse: collapse; + border: 1px solid #aaaaff; + background: #eeeeff; + margin-right:auto; + margin-left:auto; +} + +.site_header { + font-size: 25px; + padding-bottom: 10px; + padding-top: 10px; + background-color: #aaaaff; + width: 100%; +} + + +div { + font-family:'Verdana'; + font-size: 12; +} + + +.site_title { + text-align: left; + font-size: 40; +} + +div.site_footer { + text-align: center; + background-color: #aaaaff; + padding-bottom: 5px; + padding-top: 5px; + width: 100%; + clear: left; +} + + +div.site_body { + font-size: 10; +} + + +div.site_navigation { + float: left; + + width: 240px; + border-color: #aaaaff; + border-style: solid; + border-width: 1px; + background-color: #eeeeff; +} + + +.site_content { + font-size: 12px; + margin-left: 5px; + margin-right: 5px; + text-align: left; +} + + +.main_type { + text-decoration: none; + font-style: italic; + color: #000000; +} + +.main_basic_type { + text-decoration: none; + font-weight: bold; + color: #2e8b57; +} + +.main_keyword { + text-decoration: none; + font-weight: bold; + color: #a52a2a; +} + +.main_source .main_literal { + text-decoration: none; + color: #ff0000; +} + +.main_comment { + text-decoration: none; + color: #888a85; +} + +.main_preprocessor { + text-decoration: none; + color: #ad7fa8; +} + +div.main_code_definition { + padding-right: 10px; + padding-left: 10px; + padding-bottom: 5px; + padding-top: 5px; + + font-family: monospace; + font-size: 10; + border-color: #aaaaff; + background-color: #eeeeff; + border-style: solid; + border-width: 1px; + margin: 10px; +} + + + + + +h1.main_title { + font-size: 20px; + margin-bottom: 0px; +} + +h2.main_title { + margin-bottom: 0px; +} + +h3.main_title { + margin-bottom: 0px; +} + +.main_hr { + border: 0; + color: #aaaaff; + background-color: #aaaaff; + height: 1px; + margin-top: 5px; + margin-bottom: 5px; +} + + + +.main_parameter_table_text, .main_errordomain_table_text, .main_enum_table_text { +} + +.main_parameter_table_unknown_parameter { + color: GREY; +} + +.main_parameter_table_name, .main_errordomain_table_name, .main_enum_table_name { + vertical-align: top; + text-align: right; + font-weight: bold; + width: 120px; + padding-right: 10px; +} + +.main_parameter_table, .main_errordomain_table, .main_enum_table { + margin-weight: 20px; + margin-left: 20px; +} + + + + +.main_inline_navigation_virtual_property { + list-style-image: url(virtualproperty.png); +} +.main_inline_navigation_abstract_property { + list-style-image: url(abstractproperty.png); +} +.navi_abstract_prop { + list-style-image: url(abstractproperty.png); +} +.navi_virtual_prop { + list-style-image: url(virtualproperty.png); +} + + + +.css_content_link_constant { + background-image:url(constant.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.css_content_link_namespace { + background-image:url(namespace.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.css_content_link_struct { + background-image:url(struct.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.css_content_link_interface { + background-image:url(interface.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.css_content_link_enum { + background-image:url(enum.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.css_content_link_errordomain { + background-image:url(errordomain.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.css_content_link_delegate { + background-image:url(delegate.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.css_content_link_signal { + background-image:url(signal.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.css_content_link_field { + background-image:url(field.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.css_content_link_enumvalue { + background-image:url(enumvalue.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.css_content_link_errorcode { + background-image:url(errorcode.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.css_content_link_class { + background-image:url(class.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.css_content_link_abstract_class { + background-image:url(abstractclass.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.css_content_link_property { + background-image:url(property.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.css_content_link_virtual_property { + background-image:url(virtualproperty.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.css_content_link_abstract_property { + background-image:url(abstractproperty.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.css_content_link_method { + background-image:url(method.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.css_content_link_static_method { + background-image:url(staticmethod.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.css_content_link_virtual_method { + background-image:url(virtualmethod.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.css_content_link_abstract_method { + background-image:url( abstractmethod.png ); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} +.css_content_link_construction_method { + background-image:url(constructor.png); + display:inline-block; + padding-right:17px; + background-repeat:no-repeat; + background-position:center right; + border:0px; +} + +.main_inline_navigation_virtual_method { + list-style-image:url(virtualmethod.png); +} +.main_inline_navigation_errorcode { + list-style-image:url(errorcode.png); +} +.main_inline_navigation_enumvalue { + list-style-image:url(enumvalue.png); +} +.navi_abstract_class, .main_inline_navigation_abstract_class { + list-style-image: url(abstractclass.png); +} +.main_inline_navigation_abstract_method, .navi_abstract_method { + list-style-image: url( abstractmethod.png ); +} +.navi_construction_method, .main_list_m, .main_inline_navigation_construction_method { + list-style-image: url(constructor.png); +} +.navi_static_method, .main_inline_navigation_static_method { + list-style-image: url(staticmethod.png); +} + +.navi_package_index, .main_inline_navigation_package { + list-style-image: url(packages.png); +} +.main_navi_enval { + list-style-image: url(enumvalue.png); +} +.main_navi_errdomcode { + list-style-image: url(errorcode.png); +} +.navi_error_domain, .main_list_errdom, .main_inline_navigation_errordomain { + list-style-image: url(errordomain.png); +} +.navi_namespace, .main_list_ns, .main_inline_navigation_namespace { + list-style-image: url(namespace.png); +} +.navi_method, .main_inline_navigation_method { + list-style-image: url(method.png); +} +.navi_virtual_method { + list-style-image: url(virtualmethod.png); +} +.navi_struct, .main_list_stru, .main_inline_navigation_struct { + list-style-image: url(struct.png); +} +.navi_iface, .main_navigation_interface, .main_list_iface { + list-style-image: url(interface.png); +} +.navi_field, .main_inline_navigation_fields, .main_list_field { + list-style-image: url(field.png); +} +.navi_class, .main_inline_navigation_class, .main_list_cl { + list-style-image: url(class.png); +} +.navi_enum, .main_list_en, .main_inline_navigation_enum { + list-style-image: url(enum.png); +} +.navi_prop, .main_inline_navigation_property, .main_list_prop { + list-style-image: url(property.png); +} +.navi_del, .main_list_del, .main_inline_navigation_delegate { + list-style-image: url(delegate.png); +} +.navi_sig, .main_inline_navigation_signal, .main_list_sig { + list-style-image: url(signal.png); +} +.navi_package, .main_inline_navigation_package { + list-style-image: url(package.png); +} + +.main_inline_navigation_constant, .navi_constant { + list-style-image: url(constant.png); +} + + +.navi_main { + margin-top: 10px; + margin-bottom: 10px; + padding-left: 30px; +} + +.navi_hr { + border: 0; + color: #aaaaff; + background-color: #aaaaff; + height: 1px; + margin-left: 10px; + margin-right: 10px; + margin-top: 5px; + margin-bottom: 5px; +} + +a.navi_link, a.external_link { + text-decoration: none; + color: #214b87; +} + +a.navi_link:hover, a.external_link:hover { + text-decoration: underline; +} + +ul.no_bullet li { + list-style-type: none; +} + +.main_see_list { +} + +.main_inline_navigation { +} + +.css_content_literal { + font-family: monospace; + color: #ff01ff; +} + +code { + font-family: monospace; +} + +.deprecated { + text-decoration:line-through; +} diff --git a/install.vala.in b/install.vala.in index ee82108..2b61e5c 100644 --- a/install.vala.in +++ b/install.vala.in @@ -1,7 +1,7 @@ namespace Pluie { namespace Echo - { + { protected const string INSTALL_PATH = "@INSTALL_PATH@"; protected const string DATA_PATH = "@DATA_PATH@"; protected const string VERSION = "@VERSION@"; diff --git a/resources/doc-scripts.js b/resources/doc-scripts.js new file mode 100644 index 0000000..94b15b0 --- /dev/null +++ b/resources/doc-scripts.js @@ -0,0 +1,56 @@ +/* markupwriter.vala + * + * Copyright (C) 2008-2009 Florian Brosch + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * Author: + * Florian Brosch + */ + +function get_path (path) { + var pos = path.lastIndexOf ('/'); + if (pos < 0) { + return ''; + } + + return path.substring (pos, -1) + '/'; +} + +function toggle_box (self, id) { + var element = document.getElementById (id); + if (element == null) { + return ; + } + + var style = self.currentStyle || window.getComputedStyle (self, false); + var orig_path = /url[ \t]*\(('(.*)'|"(.*)")\)/.exec (style.backgroundImage)[1].slice(1, -1); + var orig_dir = get_path (orig_path); + if (element.style.display == 'block') { + element.style.display = 'none'; + self.style.backgroundImage = "url('" + orig_dir + 'coll_open.svg' + "')"; + } else { + element.style.display = 'block'; + self.style.backgroundImage = "url('" + orig_dir + 'coll_close.svg' + "')"; + } +} + +window.onload = function() { + var nav = document.querySelector('.site_navigation'); + nav.innerHTML = ''; + var header = document.querySelector('.site_header'); + var data = header.innerHTML.split("–"); + header.innerHTML = data[0] + (data[1] ? '
'+data[1]+'
' : ''); +} diff --git a/resources/doc-style.css b/resources/doc-style.css new file mode 100644 index 0000000..8782a82 --- /dev/null +++ b/resources/doc-style.css @@ -0,0 +1,2 @@ +@import url('https://fonts.googleapis.com/css?family=family=Open+Sans:300,400%7CDroid+Serif:400%7CRoboto+Mono:400,500,700,400italic'); +*{font-family:"Open Sans","Droid Sans",Helvetica,sans-serif}a{outline:none!important}h2,h3{font-family:"Droid Serif",serif;font-weight:300}h3{font-size:15px;font-weight:300}body{margin:0}.main_optional_parameter{font-style:italic}.main_diagram{border-style:none;display:block;margin:0 auto}.site_navi{text-align:right}.main_notification{padding-right:10px;padding-left:60px;padding-bottom:5px;padding-top:5px;border-color:#aaf;background-color:#eef;border-style:solid;border-width:1px;margin:10px;min-height:48px;background-position:6px .5em;background-repeat:no-repeat;background-image:url(warning.svg)}.main_table{border-collapse:collapse;border:1px solid #aaf;background:#eef;margin-right:auto;margin-left:auto}.main_source,.main_sourcesample{background-color:#FAFAFA;border-radius:6px;font-family:"Roboto Mono",monospace;margin:12px;padding:12px}input{border-color:#aaf;border-style:solid;border-width:1px}.site_header{align-items:center;background-color:#403757;box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);display:flex;font-size:24px;justify-content:space-between;padding:9px 6px;position:fixed;top:0;width:100%;z-index:1000;color:white}div{font-size:14px}.site_title{text-align:left;font-size:40px}div.site_footer{position:fixed;bottom:0;text-align:center;padding-bottom:5px;padding-top:5px;width:100%;background-color:#fafafa}div.site_body{font-size:10;margin-top:50px}#nav_content{overflow:auto;position:fixed;height:100%;width:240px;font-size:16px;background-color:#f7f6f8}div.site_navigation{float:left;width:240px;border-color:#eceaf0;border-style:solid;border-width:1px;margin-bottom:40px;background-color:#f7f6f8}.site_content{font-size:14px;margin-left:300px;margin-right:5px;padding-top:20px;text-align:left}.main_type{text-decoration:none;font-style:italic;color:#000}.main_basic_type{text-decoration:none;font-weight:700;color:#2B9C5D}.main_keyword{text-decoration:none;font-weight:700;color:brown}.main_escape{text-decoration:none;color:#6a5acd}.xml_cdata{text-decoration:none;font-weight:400;color:#a020f0}.xml_escape{text-decoration:none;font-weight:400;color:#a020f0}.xml_element{text-decoration:none;font-weight:400;color:#008a8c}.xml_attribute{text-decoration:none;font-weight:700;color:#6a5acd}.xml_attribute_value{text-decoration:none;font-weight:400;color:#f0f}.xml_comment{text-decoration:none;font-weight:400;color:#0202ff}.main_source .main_literal{text-decoration:none;color:#2ba199}.main_comment{text-decoration:none;color:#888a85}.main_preprocessor{text-decoration:none;color:#ad7fa8}div.main_code_definition{background-color:#eee;border-radius:6px;font-family:"Roboto Mono",monospace;margin:12px;padding:12px}div.main_notification_block{padding-right:10px;padding-left:10px;padding-bottom:5px;padding-top:5px;border-color:#d08717;background-color:#fbf2c3;border-style:solid;border-width:1px;margin:10px}span.main_block_headline{background-image:url(tip.svg);background-repeat:no-repeat;background-position:center right;font-weight:700;display:block}div.main_block_content{margin-left:15px}span.leaf_code_definition{font-family:"Roboto Mono",monospace;font-size:15px;font-weight:200}div.leaf_brief_description{display:block;margin-left:40px}h1.main_title{font-size:20px;margin-bottom:0}h2.main_title{margin-bottom:0}h3.main_title{margin-bottom:0}.main_hr{border:0;color:#b4a0c1;background-color:#b4a0c1;height:1px;margin-top:6px;margin-bottom:6px}.main_parameter_table_unknown_parameter{color:GREY}.main_parameter_table_name,.main_errordomain_table_name,.main_enum_table_name{vertical-align:top;text-align:right;font-weight:700;width:120px;padding-right:10px}.main_parameter_table,.main_errordomain_table,.main_enum_table{margin-weight:20px;margin-left:20px}.description a.constant,.brief_description a.constant{background-image:url(constant.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.namespace,.brief_description a.namespace{background-image:url(namespace.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.struct,.brief_description a.struct{background-image:url(struct.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.interface,.brief_description a.interface{background-image:url(interface.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.enum,.brief_description a.enum{background-image:url(enum.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.errordomain,.brief_description a.errordomain{background-image:url(errordomain.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.delegate,.brief_description a.delegate{background-image:url(delegate.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.signal,.brief_description a.signal{background-image:url(signal.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.field,.brief_description a.field{background-image:url(field.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.enumvalue,.brief_description a.enumvalue{background-image:url(enumvalue.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.errorcode,.brief_description a.errorcode{background-image:url(errorcode.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.class,.brief_description a.class{background-image:url(class.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}a.abstract_class,.description a.abstract_class,.brief_description a.abstract_class{background-image:url(abstractclass.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0;font-style:italic}.description a.property,.brief_description a.property{background-image:url(property.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.virtual_property,.brief_description a.virtual_property{background-image:url(virtualproperty.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.abstract_property,.brief_description a.abstract_property{background-image:url(abstractproperty.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.method,.brief_description a.method{background-image:url(method.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.static_method,.brief_description a.static_method{background-image:url(staticmethod.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}a.virtual_method,.description a.virtual_method,.brief_description a.virtual_method{background-image:url(virtualmethod.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.abstract_method,.brief_description a.abstract_method{background-image:url(abstractmethod.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.description a.creation_method,.brief_description a.creation_method{background-image:url(constructor.svg);display:inline-block;padding-right:17px;background-repeat:no-repeat;background-position:center right;border:0}.navi_main li,.navi_inline li{background-image:url(method.svg);background-repeat:no-repeat!important;background-position:left center!important;background-color:transparent;vertical-align:middle;list-style-type:none;margin:0;padding:0 0 0 20px;transition:all 0.5s ease-out}.navi_inline li{background-position:left 12px!important;padding:10px 0 10px 20px}.navi_main li.errorcode,.navi_inline li.errorcode{background-image:url(errorcode.svg)}.navi_main li.enumvalue,.navi_inline li.enumvalue{background-image:url(enumvalue.svg)}.navi_main li.abstract_class,.navi_inline li.abstract_class{background-image:url(abstractclass.svg)}.navi_main li.abstract_method,.navi_inline li.abstract_method{background-image:url(abstractmethod.svg)}.navi_main li.creation_method,.navi_inline li.creation_method,.main_list_m{background-image:url(constructor.svg)}.navi_main li.static_method,.navi_inline li.static_method{background-image:url(staticmethod.svg)}.navi_main li.package_index{background-image:url(packages.svg)}.navi_main li.virtual_method,.navi_inline li.virtual_method{background-image:url(virtualmethod.svg)}.navi_main li.errordomain,.navi_inline li.errordomain,.main_list_errdom{background-image:url(errordomain.svg)}.navi_main li.namespace,.navi_inline li.namespace,.main_list_ns{background-image:url(namespace.svg)}.navi_main li.method,.navi_inline li.method{background-image:url(method.svg)}.navi_main li.struct,.navi_inline li.struct,.main_list_stru{background-image:url(struct.svg)}.navi_main li.interface,.navi_inline li.interface,.main_list_iface{background-image:url(interface.svg)}.navi_main li.field,.navi_inline li.field,.main_list_field{background-image:url(field.svg)}.navi_main li.class,.navi_inline li.class,.main_list_cl{background-image:url(class.svg)}.navi_main li.enum,.navi_inline li.enum,.main_list_en{background-image:url(enum.svg)}.navi_main li.property,.navi_inline li.property,.main_list_prop{background-image:url(property.svg)}.navi_main li.abstract_property,.navi_inline li.abstract_property{background-image:url(abstractproperty.svg)}.navi_main li.virtual_property,.navi_inline li.virtual_property{background-image:url(virtualproperty.svg)}.navi_main li.delegate,.navi_inline li.delegate,.main_list_del{background-image:url(delegate.svg)}.navi_main li.signal,.navi_inline li.signal,.main_list_sig{background-image:url(signal.svg)}.navi_main li.package,.navi_inline li.package{background-image:url(package.svg)}.navi_main li.constant,.navi_inline li.constant{background-image:url(constant.svg)}.navi_main{margin-top:10px;margin-bottom:10px;padding-left:5px}.navi_main:last-child{padding-left:5px}.navi_hr{background-color:#dedede;border:0;border-top-width:0;border-bottom-width:0;border-top-style:none;border-bottom-style:none;border-top-color:currentcolor;border-bottom-color:currentcolor;border-bottom:1px solid #fff;border-top:1px solid #dedede;height:0;margin:6px 0}.navi_main a{text-decoration:none;color:#887E9C;line-height:26px;width:100%;display:inline-block;padding-left:0}a,.navi_inline a,a.external_link{text-decoration:none;color:#50A3BE;transition:all 0.5s ease-out}.navi_main li:hover{background-color:rgba(0,0,0,.1)}div.site_content .navi_main li:hover{background-color:transparent}a:hover,.navi_inline a:hover,a.external_link:hover,div.site_content .navi_main li a:hover{text-decoration:underline;color:#6A6576}.navi_main li:hover a{text-decoration:none}.navi_main .abstract_class>a,.navi_inline .abstract_class>a{font-style:italic}a.navi_link:hover,a.external_link:hover{text-decoration:underline}ul.no_bullet li{list-style-type:none}.navi_inline{}.css_content_literal{font-family:monospace;color:#ff01ff}code{font-family:monospace}.main_code_definition a,.leaf_code_definition a{text-decoration:none;color:inherit}.main_code_definition a:hover,.leaf_code_definition a:hover{text-decoration:underline}.box .headline{background-image:url(coll_open.svg);background-position:calc(100% - 1px) center;background-repeat:no-repeat;background-color:#eef;border-color:#aaf;border-style:solid;border-width:1px;margin:auto;width:90%;margin-top:20px;font-weight:700}.box .content{border-color:#aaf;border-width:0 1 1 1;border-style:solid;overflow:auto;display:none;margin:auto;width:90%}.box .column{float:left;width:33%}.package_note{}.deprecated{text-decoration:line-through} diff --git a/resources/echo.ini b/resources/echo.ini index ef3ff2f..d039266 100644 --- a/resources/echo.ini +++ b/resources/echo.ini @@ -12,9 +12,9 @@ option = 37,1 option_sep = 158 arg = 97,1 arg_sep = 147,1 -title = 15,1,97 +title = 15,1,24 title_item = 220,1 -title_sep = 97,1 +title_sep = 24,1 section = 37 sep = 59 item = 215,1 diff --git a/src/Pluie.Color.vala b/src/Pluie.Color.vala index d5636e8..080df7f 100644 --- a/src/Pluie.Color.vala +++ b/src/Pluie.Color.vala @@ -1,11 +1,42 @@ +/** + * a Class representing an Ansi Extended 8 bit Color + * with foreground, background and bold attributes + * + * {{{ + * using Pluie; + * + * int main (string[] args) + * { + * var c1 = new Color(37, false); + * var c2 = new Color(204, true); + * var c3 = new Color(15, true, 24); + * stdout.printf ("[%s][%s] %s ", c1.s ("oki"), c2.s ("very"), c3.s ("cool")); + * return 0; + * } + * }}} + * + * valac --pkg pluie-echo-0.1 color.vala + **/ public class Pluie.Color { - + /** + * foreground color code - 0 to 255 + **/ public uint8? fg { get; set; default = 15; } + /** + * background color code - 0 to 255 + **/ public uint8? bg { get; set; default = null; } + /** + * enable bold attribute + **/ public bool bold { get; set; default = false; } - + /** + * @param fg foreground color code - 0 to 255 + * @param bold bold attribute + * @param bg background color code - 0 to 255 + **/ public Color (uint8? fg = 15, bool bold = false, uint8? bg = null) { this.fg = fg; @@ -13,7 +44,9 @@ public class Pluie.Color this.bold = bold; } - + /** + * return ansi extended color escape string sequence + **/ public string to_string () { string s = "\033[%s%sm".printf ( @@ -25,7 +58,13 @@ public class Pluie.Color return s; } - + /** + * colorize a string + * @param label the string to colorize + * @param off enable/disable off sequence at end of label + * @param bold override bold attribute for label + * @return the colorized string with proper ansi escape color sequence + **/ public string s (string? label = null, bool off = true, bool? bold = null) { bool prevbold = this.bold; @@ -45,7 +84,9 @@ public class Pluie.Color return "%s%s%s".printf (this.to_string (), label, off ? Color.off() : ""); } - + /** + * disable escape color sequence + **/ public static string off () { return "\033[m"; diff --git a/src/Pluie.ColorConf.vala b/src/Pluie.ColorConf.vala index d24647c..6791709 100644 --- a/src/Pluie.ColorConf.vala +++ b/src/Pluie.ColorConf.vala @@ -1,6 +1,11 @@ using GLib; using Pluie; +/** + * a Class representing a set of {@link Color} + * mapping {@link ECHO} colors with values coming from + * the specifyed ini config file + **/ public class Pluie.ColorConf { @@ -11,7 +16,10 @@ public class Pluie.ColorConf string[] keys; Array colors = new Array (); - + /** + * see resources/echo.ini file + * @param path config ini file path overriding Pluie.ECHO color values + **/ public ColorConf(string path) { Dbg.in (Log.METHOD, "path:'%s'".printf (path), Log.LINE, Log.FILE); @@ -20,7 +28,11 @@ public class Pluie.ColorConf Dbg.out (Log.METHOD, null, Log.LINE, Log.FILE); } - + /** + * get specifiyed ECHO color instance + * @param name the choosen color + * @return the corresponding Color instance + **/ public new unowned Color? @get (ECHO name) { unowned Color c = this.colors.index ((int)name); @@ -64,7 +76,11 @@ public class Pluie.ColorConf return v; } - + /** + * get value for Term parameter + * @param name from { "term_width", "indent", "key_maxlen" } + * @return corresponding value define in config file + **/ public int param (string name) { string[] plist = { "term_width", "indent", "key_maxlen" }; diff --git a/src/Pluie.Dbg.vala b/src/Pluie.Dbg.vala index 79f5863..94e1b17 100644 --- a/src/Pluie.Dbg.vala +++ b/src/Pluie.Dbg.vala @@ -4,15 +4,28 @@ namespace Pluie.Dbg { static OutputFormatter o; + /** + * enable/disable log messages + **/ public static bool DBG_ENABLED = false; - public const int8 DBG_ENTER = 1; - public const int8 DBG_LEAVE = 2; - public const int8 DBG_INLINE = 0; + const int8 DBG_ENTER = 1; + const int8 DBG_LEAVE = 2; + const int8 DBG_INLINE = 0; + /** + * type log error + **/ public const int8 DBG_ERROR = 8; + /** + * type log warn + **/ public const int8 DBG_WARN = 9; - - public void init (OutputFormatter of, bool debug = false) + /** + * initialize logging + * @param of the outputFormatter to use for logging + * @param debug enable disable log messages + **/ + public static void init (OutputFormatter of, bool debug = false) { o = of; Pluie.Dbg.DBG_ENABLED = debug; @@ -35,24 +48,49 @@ namespace Pluie.Dbg return str; } + /** + * log method entering + * @param method the method name + * @param params optional parameters string to display on entering + * @param line optional current file line + * @param file optional current file + **/ public static void @in(string method, string? params = null, int line = 0, string? file = null) { Dbg.log ("%s (%s)".printf (method, Dbg.parse_params(params)), line, DBG_ENTER, file); } - + /** + * log method leaving + * @param method the method name + * @param params optional parameters string to display on entering + * @param line optional current file line + * @param file optional current file + **/ public static void @out(string method, string? params = null, int line = 0, string? file = null) { Dbg.log ("%s (%s)".printf (method, Dbg.parse_params(params)), line, DBG_LEAVE, file); } - + /** + * log a message + * @param msg the msg to log + * @param line optional current file line + * @param file optional current file + **/ public static void msg(string msg, int line = 0, string? file = null) { Dbg.log (msg, line, DBG_INLINE, file); } - + /** + * log error + * @param msg the error msg to log + * @param method the method name logging the error + * @param line optional current file line + * @param file optional current file + * @param mode optional log mode (DBG_ERROR|DBG_WARN) + **/ public static void @error(string msg, string method, int line = 0, string? file = null, int8 mode = DBG_ERROR) { Dbg.log (file != null ? "%s %s (in %s)".printf (msg, Color.off (), method) : msg, line, mode, file == null ? "%s".printf (method) : file); @@ -73,7 +111,7 @@ namespace Pluie.Dbg } - public static void log (string msg, int line = 0, int8 mode = DBG_INLINE, string? file = null) + private static void log (string msg, int line = 0, int8 mode = DBG_INLINE, string? file = null) { if (DBG_ENABLED) { var time = new DateTime.now_local (); diff --git a/src/Pluie.OutputFormatter.vala b/src/Pluie.OutputFormatter.vala index 56f4ac7..cfcbb0f 100644 --- a/src/Pluie.OutputFormatter.vala +++ b/src/Pluie.OutputFormatter.vala @@ -1,18 +1,101 @@ using GLib; using Pluie; +/** + * A class managing display on stdout & stderror with {@link Color} styles defined by + * specifiyed {@link ColorConf} + * + * {{{ + * using GLib; + * using Pluie; + * + * errordomain MyError { + * CODE + * } + * + * int main (string[] args) + * { + * var of = Echo.init (true, "resources/echo.ini"); + * Dbg.in (Log.METHOD, null, Log.LINE, Log.FILE); + * + * of.title ("MyApp", "0.2.2", "a-sansara"); + * + * of.echo ("sample echo\n"); + * + * of.keyval ("path", "/tmp/blob"); + * of.keyval ("otherlongoption", "other value"); + * + * of.echo ("\nsample echo\non multiple\nline", true, true); + * + * of.action ("reading config", "toto.conf"); + * + * of.state (false); + * + * of.warn ("boloss warning"); + * of.echo (); + * + * var cmd = new Sys.Cmd ("ls -la"); + * + * int status = cmd.run(); + * of.action ("running cmd", cmd.name); + * of.echo ("\n%s".printf (cmd.output), true, true); + * + * of.state (status == 0); + * + * try { + * throw new MyError.CODE("this is the error message"); + * } + * catch (MyError e) { + * of.error (e.message); + * } + * of.rs (true); + * of.rs (true, "ok"); + * of.rs (false, "", "exit"); + * + * of.echo(); + * + * string com = "Vala is syntactically similar to C# and includes several features such as: anonymous functions, signals, properties, generics, assisted memory management, exception handling, type inference, and foreach statements.[3] Its developers Jürg Billeter and Raffaele Sandrini aim to bring these features to the plain C runtime with little overhead and no special runtime support by targeting the GObject object system"; + * string mycom = of.wordwrap (com, of.term_width-44); + * int line = mycom.split("\n").length; + * of.echo (mycom, true, true, ECHO.COMMENT, 40); + * + * of.usage_option ("quiet", "q", "SHUTUP", false, line); + * of.echo(); + * + * of.echo (mycom, true, true, ECHO.COMMENT, 40); + * of.usage_option ("record-desktop", "r", "TIME", false, line); + * + * of.echo(); + * Dbg.out (Log.METHOD, null, Log.LINE, Log.FILE); + * return 0; + * } + * + * }}} + * valac --pkg pluie-echo-0.1 outputFormatter.vala + **/ public class Pluie.OutputFormatter { string sep = "──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────"; string space = " "; string symbol = "➤"; + /** + * number of space defining default indentation + **/ public int indent; + /** + * max terminal with to considerate when printing messages + **/ public int term_width; + /** + * max padding to use for keys in {@see OutputFormatter.keyval} method + **/ int key_maxlen; protected ColorConf conf; - + /** + * @param conf the ColorConf to use for printing ansi escape sequences + **/ public OutputFormatter (ColorConf conf) { this.conf = conf; @@ -21,20 +104,29 @@ public class Pluie.OutputFormatter this.key_maxlen = conf.param("key_maxlen"); } - + /** + * get Color instance corresponding to ECHO color + * @param name the ECHO color + **/ public unowned Color c (ECHO name) { unowned Color color = this.conf.get (name); return color; } - + /** + * get ansi escape sequence moving up lines + * @param line number of line to move up + **/ public string move_up (int line) { return "\033[%dA".printf (line); } - + /** + * get ansi escape sequence moving down lines + * @param line number of line to move down + **/ public string move_down (int line) { return "\033[%dB".printf (line); @@ -46,7 +138,10 @@ public class Pluie.OutputFormatter return !error ? (exp ? this.c (ECHO.DONE) : this.c (ECHO.FAIL)) : (exp ? this.c (ECHO.ERROR) : this.c (ECHO.WARN)); } - + /** + * get an indentation only string + * @param adjust number of space indentation adjustment + **/ public string s_indent (int8 adjust = 0) { return "%.*s".printf (this.indent+adjust, this.space); @@ -58,7 +153,12 @@ public class Pluie.OutputFormatter return this.c (ECHO.TITLE_SEP).s (" %.*s".printf ((this.term_width-1)*3, this.sep)); } - + /** + * display a title + * @param label generally title of program + * @param version version of program + * @param author author of program + **/ public void title (string label, string? version = null, string? author = null) { string s = version == null ? " " : this.c (ECHO.TITLE_ITEM).s (" v" + version+" ", false); @@ -75,7 +175,11 @@ public class Pluie.OutputFormatter ); } - + /** + * display an action + * @param name name of current action + * @param val optional action parameter + **/ public void action (string name, string? val = "") { stdout.printf ( @@ -87,13 +191,19 @@ public class Pluie.OutputFormatter ); } - + /** + * display a warning + * @param label the warn message to display + **/ public void warn (string label) { this.error (label, true); } - + /** + * display an error + * @param label the error message to display + **/ public void error (string label, bool warn = false) { stderr.printf ( @@ -103,7 +213,12 @@ public class Pluie.OutputFormatter ); } - + /** + * display a test result + * @param test the result of test + * @param done the done label to display if test succeed + * @param done the fail label to display if test fail + **/ public void rs (bool test, string done = "done", string fail = "fail") { stdout.printf ( @@ -113,13 +228,23 @@ public class Pluie.OutputFormatter ); } - + /** + * display a message up tp x lines + * @param line number of line to move up + * @param s the message to display + **/ public void echo_up (int line, string s) { stdout.printf ("%s\r%s%s\r", this.move_up(line), s, this.move_down(line)); } - + /** + * generic method to display messages + * @param data the message to display + * @param lf enable line feed + * @param indent_all enable multiple line indentation + * @param color use color ECHO to display the message + **/ public void echo (string? data = "", bool lf = true, bool indent_all = false, ECHO color = ECHO.DEFAULT, int8 indent_adjust = 0) { string s; @@ -144,7 +269,10 @@ public class Pluie.OutputFormatter ); } - + /** + * display a state for specifiyed test + * @param test the test result + **/ public void state (bool test) { int len = (this.term_width)*3 - 14 - this.indent-3; @@ -157,7 +285,12 @@ public class Pluie.OutputFormatter ); } - + /** + * wordwrap paragraph + * @param str the paragraph to wordwrap + * @param width maximum width of each lines + * @param cut cur word rather than wordwrap [not implemented] + **/ public string wordwrap (string str, int width, bool cut = false) { unichar c; @@ -187,7 +320,14 @@ public class Pluie.OutputFormatter return sb.str; } - + /** + * display usage option + * @param name the option name + * @param shortname the option shortname + * @param argname the option argument + * @param val specifyed optional value argument + * @param echo_up line to move up on displaying option definition + **/ public void usage_option (string? name = null, string? shortname=null, string? argname = null, bool val = false, int echo_up = 0) { string opt = ""; @@ -217,7 +357,11 @@ public class Pluie.OutputFormatter } } - + /** + * display a key value message + * @param key the key name + * @param val the key value + **/ public void keyval (string key, string val) { int len = this.key_maxlen - (int) key.length; diff --git a/src/Pluie.global.vala b/src/Pluie.global.vala index 29089a6..86a5a13 100644 --- a/src/Pluie.global.vala +++ b/src/Pluie.global.vala @@ -3,6 +3,10 @@ using Pluie; namespace Pluie { + /** + * enumerate predefined {@link Color} mapped to default config file + * see resources/echo.ini + **/ public enum ECHO { DEFAULT, @@ -32,12 +36,13 @@ namespace Pluie WARN, ERROR; } - + + namespace Echo { public static OutputFormatter of; - public OutputFormatter init (bool debug, string? path = null) + public static OutputFormatter init (bool debug, string? path = null) { var conf = new ColorConf (path ?? Path.build_filename (DATA_PATH, "echo.ini")); Echo.of = new OutputFormatter (conf); diff --git a/valadoc.sh b/valadoc.sh new file mode 100755 index 0000000..b8467a4 --- /dev/null +++ b/valadoc.sh @@ -0,0 +1,5 @@ +#!/bin/bash +valadoc --package-name=pluie-echo-0.1 --verbose --force -o ./doc --pkg glib-2.0 ./src/*.vala ./build/install.vala +rm doc/*.png +cp resources/doc-scripts.js ./doc/scripts.js +cp resources/doc-style.css ./doc/style.css