vedeu 0.8.31 → 0.8.32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/configuration/compression.md +1 -0
- data/docs/configuration/cooked.md +1 -1
- data/docs/configuration/debug.md +1 -0
- data/docs/configuration/drb.md +1 -0
- data/docs/configuration/drb_height.md +4 -0
- data/docs/configuration/drb_host.md +4 -0
- data/docs/configuration/drb_port.md +4 -0
- data/docs/configuration/drb_width.md +4 -0
- data/docs/configuration/fake.md +4 -0
- data/docs/configuration/height.md +3 -0
- data/docs/configuration/interactive.md +5 -0
- data/docs/configuration/log.md +4 -0
- data/docs/configuration/log_except.md +4 -0
- data/docs/configuration/log_only.md +4 -0
- data/docs/configuration/mouse.md +6 -0
- data/docs/configuration/profile.md +5 -0
- data/docs/configuration/raw.md +4 -0
- data/docs/configuration/renderer.md +4 -0
- data/docs/configuration/root.md +4 -0
- data/docs/configuration/run_once.md +4 -0
- data/docs/configuration/standalone.md +7 -6
- data/docs/configuration/stderr.md +4 -0
- data/docs/configuration/stdin.md +4 -0
- data/docs/configuration/stdout.md +4 -0
- data/docs/configuration/terminal_mode.md +3 -0
- data/docs/configuration/threaded.md +10 -0
- data/docs/configuration/width.md +4 -0
- data/docs/dsl/by_method/add_command.md +1 -0
- data/docs/dsl/by_method/add_keypress.md +1 -0
- data/docs/dsl/by_method/all_commands.md +1 -0
- data/docs/dsl/by_method/all_keypresses.md +1 -0
- data/docs/dsl/by_method/background_colours.md +1 -0
- data/docs/dsl/by_method/bind.md +1 -0
- data/docs/dsl/by_method/bind_alias.md +1 -0
- data/docs/dsl/by_method/borders.md +1 -0
- data/docs/dsl/by_method/bottom.md +1 -0
- data/docs/dsl/by_method/bottom_horizontal.md +1 -0
- data/docs/dsl/by_method/bottom_left.md +1 -0
- data/docs/dsl/by_method/bottom_right.md +1 -0
- data/docs/dsl/by_method/bound.md +1 -0
- data/docs/dsl/by_method/buffers.md +1 -0
- data/docs/dsl/by_method/caption.md +1 -0
- data/docs/dsl/by_method/clear.md +1 -0
- data/docs/dsl/by_method/clear_by_group.md +1 -0
- data/docs/dsl/by_method/clear_by_name.md +1 -0
- data/docs/dsl/by_method/clear_content_by_name.md +1 -0
- data/docs/dsl/by_method/configuration.md +1 -0
- data/docs/dsl/by_method/configure.md +1 -0
- data/docs/dsl/by_method/cursor.md +1 -0
- data/docs/dsl/by_method/cursors.md +1 -0
- data/docs/dsl/by_method/debug.md +1 -0
- data/docs/dsl/by_method/disable.md +1 -0
- data/docs/dsl/by_method/documents.md +1 -0
- data/docs/dsl/by_method/drb_restart.md +1 -0
- data/docs/dsl/by_method/drb_start.md +1 -0
- data/docs/dsl/by_method/drb_status.md +1 -0
- data/docs/dsl/by_method/drb_stop.md +1 -0
- data/docs/dsl/by_method/enable.md +1 -0
- data/docs/dsl/by_method/esc.md +1 -0
- data/docs/dsl/by_method/events.md +1 -0
- data/docs/dsl/by_method/exit.md +1 -0
- data/docs/dsl/by_method/focus.md +1 -0
- data/docs/dsl/by_method/focus_by_name.md +1 -0
- data/docs/dsl/by_method/focus_next.md +1 -0
- data/docs/dsl/by_method/focus_previous.md +1 -0
- data/docs/dsl/by_method/focussed.md +1 -0
- data/docs/dsl/by_method/foreground_colours.md +1 -0
- data/docs/dsl/by_method/geometries.md +1 -0
- data/docs/dsl/by_method/geometry.md +1 -0
- data/docs/dsl/by_method/goto.md +1 -0
- data/docs/dsl/by_method/group.md +1 -0
- data/docs/dsl/by_method/groups.md +1 -0
- data/docs/dsl/by_method/height.md +1 -0
- data/docs/dsl/by_method/hide_cursor.md +1 -0
- data/docs/dsl/by_method/hide_group.md +1 -0
- data/docs/dsl/by_method/hide_interface.md +1 -0
- data/docs/dsl/by_method/horizontal.md +1 -0
- data/docs/dsl/by_method/interface.md +1 -0
- data/docs/dsl/by_method/interfaces.md +1 -0
- data/docs/dsl/by_method/keymap.md +1 -0
- data/docs/dsl/by_method/keymaps.md +1 -0
- data/docs/dsl/by_method/keypress.md +1 -0
- data/docs/dsl/by_method/last_command.md +1 -0
- data/docs/dsl/by_method/last_keypress.md +1 -0
- data/docs/dsl/by_method/left.md +1 -0
- data/docs/dsl/by_method/left_vertical.md +1 -0
- data/docs/dsl/by_method/log.md +1 -0
- data/docs/dsl/by_method/log_stderr.md +1 -0
- data/docs/dsl/by_method/log_stdout.md +1 -0
- data/docs/dsl/by_method/log_timestamp.md +1 -0
- data/docs/dsl/by_method/menu.md +1 -0
- data/docs/dsl/by_method/menus.md +1 -0
- data/docs/dsl/by_method/profile.md +1 -0
- data/docs/dsl/by_method/ready.md +1 -0
- data/docs/dsl/by_method/refresh.md +1 -0
- data/docs/dsl/by_method/renderer.md +1 -0
- data/docs/dsl/by_method/renderers.md +1 -0
- data/docs/dsl/by_method/resize.md +1 -0
- data/docs/dsl/by_method/right.md +1 -0
- data/docs/dsl/by_method/right_vertical.md +1 -0
- data/docs/dsl/by_method/show_cursor.md +1 -0
- data/docs/dsl/by_method/show_group.md +1 -0
- data/docs/dsl/by_method/show_interface.md +1 -0
- data/docs/dsl/by_method/timer.md +1 -0
- data/docs/dsl/by_method/title.md +1 -0
- data/docs/dsl/by_method/toggle_cursor.md +1 -0
- data/docs/dsl/by_method/toggle_group.md +1 -0
- data/docs/dsl/by_method/toggle_interface.md +1 -0
- data/docs/dsl/by_method/top.md +1 -0
- data/docs/dsl/by_method/top_horizontal.md +1 -0
- data/docs/dsl/by_method/top_left.md +1 -0
- data/docs/dsl/by_method/top_right.md +1 -0
- data/docs/dsl/by_method/trigger.md +1 -0
- data/docs/dsl/by_method/unbind.md +1 -0
- data/docs/dsl/by_method/unbind_alias.md +1 -0
- data/docs/dsl/by_method/vertical.md +1 -0
- data/docs/dsl/by_method/view/repositories.md +1 -0
- data/docs/dsl/by_method/width.md +1 -0
- data/docs/dsl/by_method/write.md +1 -0
- data/docs/events/by_name/cleanup.md +1 -0
- data/docs/events/by_name/clear.md +1 -0
- data/docs/events/by_name/clear_group.md +1 -0
- data/docs/events/by_name/clear_view.md +1 -0
- data/docs/events/by_name/clear_view_content.md +1 -0
- data/docs/events/by_name/command.md +1 -0
- data/docs/events/by_name/cursor_bottom.md +1 -0
- data/docs/events/by_name/cursor_down.md +1 -0
- data/docs/events/by_name/cursor_left.md +1 -0
- data/docs/events/by_name/cursor_origin.md +1 -0
- data/docs/events/by_name/cursor_position.md +1 -0
- data/docs/events/by_name/cursor_reposition.md +1 -0
- data/docs/events/by_name/cursor_right.md +1 -0
- data/docs/events/by_name/cursor_top.md +1 -0
- data/docs/events/by_name/cursor_up.md +1 -0
- data/docs/events/by_name/drb_input.md +1 -0
- data/docs/events/by_name/drb_restart.md +1 -0
- data/docs/events/by_name/drb_retrieve_output.md +1 -0
- data/docs/events/by_name/drb_start.md +1 -0
- data/docs/events/by_name/drb_status.md +1 -0
- data/docs/events/by_name/drb_stop.md +1 -0
- data/docs/events/by_name/drb_store_output.md +1 -0
- data/docs/events/by_name/editor.md +1 -0
- data/docs/events/by_name/editor_delete_character.md +1 -0
- data/docs/events/by_name/editor_delete_line.md +1 -0
- data/docs/events/by_name/editor_down.md +1 -0
- data/docs/events/by_name/editor_insert_character.md +1 -0
- data/docs/events/by_name/editor_insert_line.md +1 -0
- data/docs/events/by_name/editor_left.md +1 -0
- data/docs/events/by_name/editor_right.md +1 -0
- data/docs/events/by_name/editor_up.md +1 -0
- data/docs/events/by_name/exit.md +1 -0
- data/docs/events/by_name/focus_by_name.md +1 -0
- data/docs/events/by_name/focus_next.md +1 -0
- data/docs/events/by_name/focus_prev.md +1 -0
- data/docs/events/by_name/goto.md +1 -0
- data/docs/events/by_name/hide_cursor.md +1 -0
- data/docs/events/by_name/hide_group.md +1 -0
- data/docs/events/by_name/hide_interface.md +1 -0
- data/docs/events/by_name/initialize.md +1 -0
- data/docs/events/by_name/keypress.md +1 -0
- data/docs/events/by_name/log.md +1 -0
- data/docs/events/by_name/maximise.md +1 -0
- data/docs/events/by_name/menu_bottom.md +1 -0
- data/docs/events/by_name/menu_current.md +1 -0
- data/docs/events/by_name/menu_deselect.md +1 -0
- data/docs/events/by_name/menu_items.md +1 -0
- data/docs/events/by_name/menu_next.md +1 -0
- data/docs/events/by_name/menu_prev.md +1 -0
- data/docs/events/by_name/menu_select.md +1 -0
- data/docs/events/by_name/menu_selected.md +1 -0
- data/docs/events/by_name/menu_top.md +1 -0
- data/docs/events/by_name/menu_view.md +1 -0
- data/docs/events/by_name/mode_switch.md +1 -0
- data/docs/events/by_name/movement_refresh.md +1 -0
- data/docs/events/by_name/refresh.md +1 -0
- data/docs/events/by_name/refresh_border.md +1 -0
- data/docs/events/by_name/refresh_cursor.md +1 -0
- data/docs/events/by_name/refresh_group.md +1 -0
- data/docs/events/by_name/refresh_view.md +1 -0
- data/docs/events/by_name/refresh_view_content.md +1 -0
- data/docs/events/by_name/resize.md +1 -0
- data/docs/events/by_name/set_border_caption.md +1 -0
- data/docs/events/by_name/set_border_title.md +1 -0
- data/docs/events/by_name/show_cursor.md +1 -0
- data/docs/events/by_name/show_group.md +1 -0
- data/docs/events/by_name/show_interface.md +1 -0
- data/docs/events/by_name/toggle_cursor.md +1 -0
- data/docs/events/by_name/toggle_group.md +1 -0
- data/docs/events/by_name/toggle_interface.md +1 -0
- data/docs/events/by_name/unmaximise.md +1 -0
- data/docs/events/by_name/view_down.md +1 -0
- data/docs/events/by_name/view_left.md +1 -0
- data/docs/events/by_name/view_right.md +1 -0
- data/docs/events/by_name/view_up.md +1 -0
- data/examples/dsl_alignment.rb +1 -1
- data/examples/dsl_colours.rb +1 -1
- data/examples/dsl_demo_groups.rb +1 -1
- data/examples/dsl_editor.rb +1 -1
- data/examples/dsl_hello_worlds.rb +1 -1
- data/examples/dsl_horizontal_alignment.rb +4 -3
- data/examples/dsl_menus.rb +1 -1
- data/examples/dsl_vertical_alignment.rb +4 -3
- data/examples/views/empty_template.rb +1 -1
- data/examples/views/full_screen.rb +1 -1
- data/examples/views/misc_view.rb +1 -1
- data/examples/views/wordwrap.rb +1 -1
- data/integrations/342_streams.rb +1 -1
- data/integrations/dsl_app_001.rb +1 -1
- data/integrations/dsl_app_002.rb +1 -1
- data/integrations/dsl_app_003.rb +1 -1
- data/integrations/dsl_app_004.rb +1 -1
- data/integrations/dsl_app_005.rb +1 -1
- data/integrations/dsl_app_006.rb +1 -1
- data/integrations/dsl_app_007.rb +1 -1
- data/integrations/dsl_app_008.rb +1 -1
- data/integrations/dsl_app_009.rb +1 -1
- data/integrations/dsl_app_010.rb +1 -1
- data/integrations/dsl_app_011.rb +1 -1
- data/integrations/dsl_app_012.rb +1 -1
- data/integrations/dsl_app_013.rb +1 -1
- data/integrations/dsl_app_014.rb +1 -1
- data/integrations/dsl_app_015.rb +1 -1
- data/integrations/dsl_app_016.rb +1 -1
- data/integrations/dsl_app_017.rb +1 -1
- data/integrations/dsl_app_018.rb +1 -1
- data/integrations/dsl_app_019.rb +1 -1
- data/integrations/dsl_app_020.rb +1 -1
- data/integrations/dsl_app_021.rb +1 -1
- data/integrations/dsl_app_022.rb +1 -1
- data/integrations/dsl_app_030.rb +1 -1
- data/integrations/dsl_app_031.rb +1 -1
- data/integrations/dsl_app_040.rb +1 -1
- data/integrations/dsl_app_041.rb +1 -1
- data/integrations/dsl_app_042.rb +1 -1
- data/integrations/dsl_app_border_001.rb +1 -1
- data/integrations/dsl_app_border_002.rb +1 -1
- data/integrations/dsl_app_border_003.rb +1 -1
- data/integrations/dsl_app_border_004.rb +1 -1
- data/integrations/dsl_app_border_005.rb +1 -1
- data/integrations/dsl_app_border_006.rb +1 -1
- data/integrations/dsl_app_border_007.rb +1 -1
- data/integrations/dsl_app_border_008.rb +1 -1
- data/integrations/dsl_app_border_009.rb +1 -1
- data/integrations/dsl_app_border_010.rb +1 -1
- data/integrations/dsl_app_border_011.rb +1 -1
- data/integrations/dsl_app_border_012.rb +1 -1
- data/integrations/dsl_app_geometry_001.rb +1 -1
- data/integrations/dsl_app_geometry_002.rb +1 -1
- data/integrations/dsl_app_geometry_003.rb +1 -1
- data/integrations/dsl_app_geometry_004.rb +1 -1
- data/integrations/dsl_app_geometry_005.rb +16 -7
- data/integrations/expected/dsl_app_geometry_005.out +1 -1
- data/lib/vedeu/borders/refresh.rb +1 -1
- data/lib/vedeu/output/compressor.rb +1 -19
- data/lib/vedeu/output/compressors/all.rb +1 -0
- data/lib/vedeu/output/compressors/character.rb +6 -11
- data/lib/vedeu/output/compressors/empty.rb +56 -0
- data/lib/vedeu/output/compressors/simple.rb +10 -23
- data/lib/vedeu/version.rb +1 -1
- data/test/lib/vedeu/output/compressors/character_test.rb +5 -5
- data/test/lib/vedeu/output/compressors/empty_test.rb +38 -0
- data/test/lib/vedeu/output/compressors/simple_test.rb +4 -6
- data/test/support/examples/focus_app.rb +1 -1
- data/test/support/examples/hello_world.rb +1 -1
- data/test/support/examples/material_colours_app.rb +1 -1
- data/test/support/examples/view_templates_app/view_templates_app.rb +1 -1
- data/test/test_helper.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c6a63a708b1da36cce817a2cf967c797568f38d
|
4
|
+
data.tar.gz: 7d2dacec9712ceec80f1dde0cbe978cb3244ddd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be12e0fe16084dc19477645d29a26f56e49f647ae81065a448842460a385b820a12d96f35304e0e9c2c2faf25fa7afb97e211fac182ae2deacc76b248325fc30
|
7
|
+
data.tar.gz: 380948fa0c9f567df1b3bb776bea188ee075c5d3976e77bf26cc240cfff34e9d3f1ba82471085ef62963ff0c38f8681abb8e3b8d86e39be5f405d61506a1b140
|
data/docs/configuration/debug.md
CHANGED
data/docs/configuration/drb.md
CHANGED
data/docs/configuration/fake.md
CHANGED
@@ -2,6 +2,7 @@ Sets boolean to allow user input. The default behaviour of Vedeu is to
|
|
2
2
|
be interactive. This is the same as setting
|
3
3
|
{Vedeu::Config::API#standalone} to false.
|
4
4
|
|
5
|
+
# Set:
|
5
6
|
# same as `interactive true` or `standalone false`.
|
6
7
|
Vedeu.configure do
|
7
8
|
interactive!
|
@@ -19,3 +20,7 @@ be interactive. This is the same as setting
|
|
19
20
|
interactive false
|
20
21
|
# ...
|
21
22
|
end
|
23
|
+
|
24
|
+
# Get:
|
25
|
+
Vedeu.config.interactive?
|
26
|
+
Vedeu.config.interactive
|
data/docs/configuration/log.md
CHANGED
@@ -3,6 +3,7 @@ the log file is set to '/tmp/vedeu_bootstrap.log'. Note: On Windows
|
|
3
3
|
systems, the log directory is determined by the output from
|
4
4
|
`Dir.tmpdir`.
|
5
5
|
|
6
|
+
# Set:
|
6
7
|
# Log messages will be sent to the path given.
|
7
8
|
Vedeu.configure do
|
8
9
|
log '/var/log/vedeu.log'
|
@@ -15,3 +16,6 @@ systems, the log directory is determined by the output from
|
|
15
16
|
# ...
|
16
17
|
end
|
17
18
|
|
19
|
+
# Get:
|
20
|
+
Vedeu.config.log? # Returns whether logging is enabled
|
21
|
+
Vedeu.config.log # Returns the configured log file.
|
@@ -1,6 +1,7 @@
|
|
1
1
|
Log specific message types except those given. A complete list of
|
2
2
|
message types can be found at {Vedeu::LOG_TYPES}.
|
3
3
|
|
4
|
+
# Set:
|
4
5
|
Vedeu.configure do
|
5
6
|
log_except :debug, :event
|
6
7
|
|
@@ -9,3 +10,6 @@ message types can be found at {Vedeu::LOG_TYPES}.
|
|
9
10
|
|
10
11
|
# ...
|
11
12
|
end
|
13
|
+
|
14
|
+
# Get:
|
15
|
+
Vedeu.config.log_except
|
@@ -1,6 +1,7 @@
|
|
1
1
|
Only log specific message types. A complete list of message types can
|
2
2
|
be found at {Vedeu::LOG_TYPES}.
|
3
3
|
|
4
|
+
# Set:
|
4
5
|
Vedeu.configure do
|
5
6
|
log_only :debug, :event
|
6
7
|
|
@@ -9,3 +10,6 @@ be found at {Vedeu::LOG_TYPES}.
|
|
9
10
|
|
10
11
|
# ...
|
11
12
|
end
|
13
|
+
|
14
|
+
# Get:
|
15
|
+
Vedeu.config.log_only
|
data/docs/configuration/mouse.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
Sets boolean to enable/disable mouse support.
|
2
2
|
|
3
|
+
# Set:
|
3
4
|
Vedeu.configure do
|
4
5
|
mouse! # => same as `mouse true`
|
5
6
|
|
@@ -8,4 +9,9 @@ Sets boolean to enable/disable mouse support.
|
|
8
9
|
|
9
10
|
mouse false
|
10
11
|
|
12
|
+
# ...
|
11
13
|
end
|
14
|
+
|
15
|
+
# Get:
|
16
|
+
Vedeu.config.mouse?
|
17
|
+
Vedeu.config.mouse
|
@@ -12,6 +12,7 @@ Note:
|
|
12
12
|
Be aware that running an application with profiling enabled will
|
13
13
|
affect performance considerably.
|
14
14
|
|
15
|
+
# Set:
|
15
16
|
Vedeu.configure do
|
16
17
|
profile!
|
17
18
|
# ...
|
@@ -21,3 +22,7 @@ affect performance considerably.
|
|
21
22
|
profile false
|
22
23
|
# ...
|
23
24
|
end
|
25
|
+
|
26
|
+
# Get:
|
27
|
+
Vedeu.config.profile?
|
28
|
+
Vedeu.config.profile
|
data/docs/configuration/raw.md
CHANGED
@@ -2,6 +2,7 @@ Sets the renderers for Vedeu. Each renderer added must have the class
|
|
2
2
|
method '.render' defined as this will be called when rendering
|
3
3
|
content.
|
4
4
|
|
5
|
+
# Set:
|
5
6
|
Vedeu.configure do
|
6
7
|
renderer MyRenderer
|
7
8
|
# ...
|
@@ -11,3 +12,6 @@ content.
|
|
11
12
|
renderers MyRenderer, MyOtherRenderer
|
12
13
|
# ...
|
13
14
|
end
|
15
|
+
|
16
|
+
# Get:
|
17
|
+
Vedeu.config.renderers
|
data/docs/configuration/root.md
CHANGED
@@ -2,7 +2,11 @@ Sets boolean to run the Vedeu main application loop once. In effect,
|
|
2
2
|
using `run_once!` or setting `run_once` to true will allow Vedeu to
|
3
3
|
initialize, run any client application code, cleanup, then terminate.
|
4
4
|
|
5
|
+
# Set:
|
5
6
|
Vedeu.configure do
|
6
7
|
run_once!
|
7
8
|
# ...
|
8
9
|
end
|
10
|
+
|
11
|
+
# Get:
|
12
|
+
Vedeu.config.run_once
|
@@ -1,20 +1,21 @@
|
|
1
1
|
Sets boolean to prevent user intervention. This is the same as setting
|
2
2
|
{Vedeu::Config::API#interactive} to false.
|
3
3
|
|
4
|
-
#
|
4
|
+
# Set:
|
5
5
|
Vedeu.configure do
|
6
|
-
standalone!
|
6
|
+
standalone! # Same as `standalone true` or `interactive false`.
|
7
7
|
# ...
|
8
8
|
end
|
9
9
|
|
10
|
-
# => Disallow user input.
|
11
10
|
Vedeu.configure do
|
12
|
-
standalone true
|
11
|
+
standalone true # Disallow user input.
|
13
12
|
# ...
|
14
13
|
end
|
15
14
|
|
16
|
-
# => Allow user input.
|
17
15
|
Vedeu.configure do
|
18
|
-
standalone false
|
16
|
+
standalone false # Allow user input.
|
19
17
|
# ...
|
20
18
|
end
|
19
|
+
|
20
|
+
# Get:
|
21
|
+
Vedeu.config.standalone
|
data/docs/configuration/stdin.md
CHANGED
data/docs/configuration/width.md
CHANGED
data/docs/dsl/by_method/bind.md
CHANGED