roebe 0.5.120 → 0.5.121

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of roebe might be problematic. Click here for more details.

Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +57 -34
  3. data/doc/README.gen +56 -33
  4. data/doc/add_ons_for_ruby/fxruby.md +14 -0
  5. data/doc/add_ons_for_ruby/prawn.md +12 -0
  6. data/doc/sinatra_tutorial/sinatra_tutorial.rb +52 -22
  7. data/lib/roebe/base/colours.rb +59 -50
  8. data/lib/roebe/classes/create_file_skeleton/generate_ruby_string.rb +1 -0
  9. data/lib/roebe/classes/current_monitor_resolution.rb +27 -9
  10. data/lib/roebe/classes/do_install.rb +1 -9
  11. data/lib/roebe/classes/done.rb +1 -9
  12. data/lib/roebe/classes/done_and_open.rb +2 -13
  13. data/lib/roebe/classes/email.rb +36 -26
  14. data/lib/roebe/classes/find_out_version_of.rb +1 -5
  15. data/lib/roebe/classes/find_static_libraries.rb +1 -18
  16. data/lib/roebe/classes/fluxbox/generate_fluxbox_apps_file.rb +1 -9
  17. data/lib/roebe/classes/generate_fstab_file/generate_fstab_file.rb +1 -9
  18. data/lib/roebe/classes/generate_master_shell_script.rb +1 -13
  19. data/lib/roebe/classes/generate_system_values.rb +1 -9
  20. data/lib/roebe/classes/get_dependencies.rb +1 -9
  21. data/lib/roebe/classes/good_night.rb +1 -5
  22. data/lib/roebe/classes/google_url_cleaner.rb +1 -9
  23. data/lib/roebe/classes/grant_superuser_rights.rb +0 -5
  24. data/lib/roebe/classes/run/run.rb +130 -105
  25. data/lib/roebe/classes/symlink_files_from_that_directory_to_the_current_directory/symlink_files_from_that_directory_to_the_current_directory.rb +10 -1
  26. data/lib/roebe/classes/time/current_time_in_singapore.rb +1 -5
  27. data/lib/roebe/classes/umlaut_converter.rb +1 -1
  28. data/lib/roebe/classes/use_jruby.rb +68 -0
  29. data/lib/roebe/documentation/prawn.md +0 -11
  30. data/lib/roebe/gui/gtk3/shell/misc.rb +94 -0
  31. data/lib/roebe/gui/gtk3/shell/shell.rb +690 -10
  32. data/lib/roebe/gui/libui/shell/shell.rb +107 -0
  33. data/lib/roebe/gui/shared_code/shell/shell_module.rb +0 -601
  34. data/lib/roebe/pdf/README.md +1 -0
  35. data/lib/roebe/pdf/prawn/all_in_one_showcasing_prawn.rb +160 -0
  36. data/lib/roebe/requires/require_the_run_class.rb +7 -0
  37. data/lib/roebe/shell/shell/class_methods.rb +25 -0
  38. data/lib/roebe/shell/shell/core/browser.rb +4 -1
  39. data/lib/roebe/shell/shell/core/cat.rb +34 -28
  40. data/lib/roebe/shell/shell/core/disable.rb +12 -1
  41. data/lib/roebe/shell/shell/core/esystem.rb +10 -1
  42. data/lib/roebe/shell/shell/core/help.rb +24 -21
  43. data/lib/roebe/shell/shell/core/queries.rb +7 -7
  44. data/lib/roebe/shell/shell/core/set.rb +15 -0
  45. data/lib/roebe/shell/shell/core/show_display_feedback_and_report.rb +11 -7
  46. data/lib/roebe/shell/shell/core/stat.rb +4 -1
  47. data/lib/roebe/shell/shell/menu.rb +231 -173
  48. data/lib/roebe/shell/shell/shell.rb +77 -77
  49. data/lib/roebe/toplevel_methods/unicode/popular_unicode_symbols.rb +9 -0
  50. data/lib/roebe/version/version.rb +2 -2
  51. data/lib/roebe/www/cancer/cancer.rb +10 -5
  52. data/lib/roebe/www/cellbiology/cellbiology.rb +4 -0
  53. data/lib/roebe/www/covid19/covid19.rb +32 -6
  54. data/lib/roebe/www/developmental_biology/developmental_biology.rb +16 -4
  55. data/lib/roebe/www/genomics/genomics.rb +27 -3
  56. data/lib/roebe/www/hardware/computersysteme/computersysteme.rb +25 -13
  57. data/lib/roebe/www/libreoffice/libreoffice.rb +22 -5
  58. data/lib/roebe/www/lighttpd/autogenerated_lighttpd.conf +1 -1
  59. data/lib/roebe/www/lighttpd/configuration/redirects.conf +1 -1
  60. data/lib/roebe/www/links/links.rb +1 -1
  61. data/lib/roebe/www/mathematics/mathematics.rb +48 -24
  62. data/lib/roebe/www/neurobiology/neurobiology.rb +13 -3
  63. data/lib/roebe/www/virology/virology.rb +81 -58
  64. data/lib/roebe/www/weechat/weechat.cgi +1 -1
  65. data/lib/roebe/www/weechat/weechat.rb +4 -5
  66. data/lib/roebe/www/wlan/wlan.rb +9 -3
  67. metadata +12 -7
  68. data/lib/roebe/classes/monitor_resolution.rb +0 -95
  69. data/lib/roebe/gui/gtk2/shell/shell.rb +0 -37
  70. data/lib/roebe/gui/shared_code/shell/connect_skeleton.rb +0 -53
  71. data/lib/roebe/gui/shared_code/shell/constants.rb +0 -82
@@ -1,53 +0,0 @@
1
- #!/usr/bin/ruby -w
2
- # Encoding: UTF-8
3
- # frozen_string_literal: true
4
- # =========================================================================== #
5
- # require 'roebe/gui/shared_code/shell/connect_skeleton.rb'
6
- # =========================================================================== #
7
- module Roebe
8
-
9
- module GUI
10
-
11
- module Gtk
12
-
13
- module ShellModule
14
-
15
- # ========================================================================= #
16
- # === connect_skeleton (connect tag)
17
- # ========================================================================= #
18
- def connect_skeleton
19
- abort_on_exception
20
- update_the_current_working_directory
21
- create_the_title_label
22
- @top_widget.minimal(@label_title, 1)
23
- @top_widget.maximal(@entry_for_user_input, 1)
24
- big_outer_vbox = gtk_vbox
25
- big_outer_vbox.add(@top_widget)
26
- mini_hbox = gtk_hbox
27
- mini_hbox.minimal(@eventbox_label_current_working_directory, 3)
28
- # ======================================================================= #
29
- # Next, add the entry that shows the current working directory.
30
- # ======================================================================= #
31
- mini_hbox.maximal(@entry_showing_the_current_working_directory, 3)
32
- # ======================================================================= #
33
- # Add a small clock next.
34
- # ======================================================================= #
35
- mini_hbox.minimal(emoji(:clock))
36
- mini_hbox.minimal(::Gtk.return_simple_clock_widget { :bold }, 0)
37
-
38
- widget_with_a_resize_grip = gtk_resize_grip(
39
- mini_hbox,
40
- @drag_top_to_bottom_pane
41
- )
42
- @bottom_widget.maximal(widget_with_a_resize_grip, 2)
43
- @bottom_widget.minimal(create_then_return_statusbar)
44
- big_outer_vbox.minimal(return_the_bottom_widget_finally)
45
- big_outer_vbox.minimal(
46
- @directory_content_widget, 2 # Add the directory-content widget.
47
- )
48
- # big_outer_vbox.minimal(@vte, 1)
49
- add(big_outer_vbox)
50
- show_all
51
- end
52
-
53
- end; end; end; end
@@ -1,82 +0,0 @@
1
- #!/usr/bin/ruby -w
2
- # Encoding: UTF-8
3
- # frozen_string_literal: true
4
- # =========================================================================== #
5
- # require 'roebe/gui/shared_code/shell/constants.rb'
6
- # =========================================================================== #
7
- module Roebe
8
-
9
- module GUI
10
-
11
- module Gtk
12
-
13
- module ShellModule
14
-
15
- # ========================================================================= #
16
- # === NAMESPACE
17
- # ========================================================================= #
18
- NAMESPACE = inspect
19
-
20
- # ========================================================================= #
21
- # === N
22
- # ========================================================================= #
23
- N = "\n"
24
-
25
- # ========================================================================= #
26
- # === TITLE
27
- #
28
- # This constant sets the main title for this widget. It currently
29
- # includes a :: to indicate the namespace within module Roebe.
30
- # ========================================================================= #
31
- TITLE = 'Roebe::Shell'
32
-
33
- # ========================================================================= #
34
- # === EMPTY_STRING
35
- # ========================================================================= #
36
- EMPTY_STRING = ''
37
-
38
- # ========================================================================= #
39
- # === INPUT_WAS_NOT_FOUND
40
- # ========================================================================= #
41
- INPUT_WAS_NOT_FOUND = 'Input was not found.'
42
-
43
- # ========================================================================= #
44
- # === WIDTH
45
- # ========================================================================= #
46
- WIDTH = 1820
47
-
48
- # ========================================================================= #
49
- # === HEIGHT
50
- # ========================================================================= #
51
- HEIGHT = 960
52
-
53
- # ========================================================================= #
54
- # === PADDING_TO_USE_FOR_THE_USER_INPUT
55
- # ========================================================================= #
56
- PADDING_TO_USE_FOR_THE_USER_INPUT = 12
57
-
58
- # ========================================================================= #
59
- # === USE_THIS_FONT
60
- # ========================================================================= #
61
- USE_THIS_FONT = :hack_23
62
-
63
- # ========================================================================= #
64
- # === HASH_DESIGNATED_KEY_COMBINATIONS
65
- #
66
- # If we need more key-combinations to work quickly, we can simply add
67
- # them here. As of May 2021, only the first four are in use.
68
- # ========================================================================= #
69
- HASH_DESIGNATED_KEY_COMBINATIONS = {
70
- 'Alt+w' => 'report_return_date',
71
- 'Alt+e' => 'show_path_in_use',
72
- 'Alt+r' => 'cd_one_down',
73
- 'Alt+t' => 'll',
74
- 'Alt+z' => 'NOT_YET_DEFINED',
75
- 'Alt+u' => 'NOT_YET_DEFINED',
76
- 'Alt+i' => 'NOT_YET_DEFINED',
77
- 'Alt+o' => 'NOT_YET_DEFINED',
78
- 'Alt+p' => 'NOT_YET_DEFINED',
79
- 'Alt+ü' => 'NOT_YET_DEFINED',
80
- }
81
-
82
- end; end; end; end