rwdgutenberg 0.08 → 0.09
Sign up to get free protection for your applications and to get access to all the features.
- data/Books/Mariposa.gut +0 -0
- data/Books/Shannon.gut +0 -0
- data/Books/marip10.txt +0 -0
- data/Readme.txt +459 -112
- data/code/01rwdcore/01rwdcore.rb +1 -0
- data/code/01rwdcore/02helptexthashbegin.rb +0 -0
- data/code/01rwdcore/03helptexthash.rb +1 -9
- data/code/01rwdcore/04helptextend.rb +0 -0
- data/code/01rwdcore/jumplinkcommand.rb +1 -1
- data/code/01rwdcore/openhelpwindow.rb +0 -0
- data/code/01rwdcore/returntomain.rb +0 -0
- data/code/01rwdcore/rundocuments.rb +0 -0
- data/code/01rwdcore/runeditconfiguration.rb +0 -0
- data/code/01rwdcore/runhelpabout.rb +0 -0
- data/code/01rwdcore/runopentinkerdocument.rb +0 -0
- data/code/01rwdcore/rwdtinkerversion.rb +0 -0
- data/code/01rwdcore/rwdwindowreturn.rb +0 -0
- data/code/01rwdcore/selectiontab.rb +0 -0
- data/code/01rwdcore/setuphelpaboutoptions.rb +0 -0
- data/code/01rwdcore/setuptinkerdocuments.rb +0 -0
- data/code/01rwdcore/test_cases.rb +0 -0
- data/code/01rwdcore/test_harness.rb +0 -0
- data/code/01rwdcore/uploadreturns.rb +0 -0
- data/code/dd0viewphoto/dd0viewphoto.rb +0 -0
- data/code/superant.com.gutenberg/0uninstallapplet.rb +11 -0
- data/code/superant.com.gutenberg/changegutenbergname.rb +0 -0
- data/code/superant.com.gutenberg/clearbookscreendisplay.rb +0 -0
- data/code/superant.com.gutenberg/cleargutenbergfiles.rb +0 -0
- data/code/superant.com.gutenberg/cleargutrecordfiles.rb +0 -0
- data/code/superant.com.gutenberg/copyfilename.rb +0 -0
- data/code/superant.com.gutenberg/deletegutenbergrecord.rb +0 -0
- data/code/superant.com.gutenberg/gutenbergcreatefile.rb +0 -0
- data/code/superant.com.gutenberg/helptexthashrwdgutenberg.rb +0 -0
- data/code/superant.com.gutenberg/listnamerecord.rb +0 -0
- data/code/superant.com.gutenberg/listtextfilesgutenberg.rb +0 -0
- data/code/superant.com.gutenberg/loadbookrecord.rb +0 -0
- data/code/superant.com.gutenberg/loadconfigurationrecord.rb +2 -2
- data/code/superant.com.gutenberg/loadconfigurationvariables.rb +0 -0
- data/code/superant.com.gutenberg/openhelpwindowgutenberg.rb +0 -0
- data/code/superant.com.gutenberg/runbackwindow.rb +0 -0
- data/code/superant.com.gutenberg/rungutenbergwindow.rb +0 -0
- data/code/superant.com.gutenberg/rwdgutenbergbackward.rb +0 -0
- data/code/superant.com.gutenberg/rwdhypernotehelpabout.rb +0 -0
- data/code/superant.com.gutenberg/rwdtinkerversion.rb +0 -0
- data/code/superant.com.gutenberg/saveconfigurationrecord.rb +1 -1
- data/code/superant.com.gutenberg/savegutenbergrecord.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/diagnostictab.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +239 -0
- data/code/superant.com.rwdtinkerbackwindow/installapplet.rb +3 -1
- data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +17 -4
- data/code/superant.com.rwdtinkerbackwindow/installremotegem.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/listgemdirs.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/listinstalledfiles.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/listzips.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/network.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/openappletname.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/remotegemlist.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/removeapplet.rb +19 -6
- data/code/superant.com.rwdtinkerbackwindow/removeappletvariables.rb +52 -0
- data/code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb +4 -0
- data/code/superant.com.rwdtinkerbackwindow/rwdtinkerwin2version.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +0 -0
- data/code/zz0applicationend/zz0end.rb +0 -0
- data/configuration/language.dist +1 -1
- data/configuration/rwdapplicationidentity.dist +0 -0
- data/configuration/rwdtinker.dist +4 -5
- data/configuration/{rwdgutenberg.dist → rwdwgutenberg-0.09.dist} +8 -4
- data/configuration/tinkerwin2variables.dist +0 -0
- data/ev/browser.rb +0 -0
- data/ev/ftools.rb +0 -0
- data/ev/mime.rb +0 -0
- data/ev/net.rb +2 -2
- data/ev/ruby.rb +0 -0
- data/ev/rwd.rb +30 -10
- data/ev/sgml.rb +0 -0
- data/ev/thread.rb +0 -0
- data/ev/tree.rb +0 -0
- data/ev/xml.rb +0 -0
- data/extras/rconftool.rb +0 -0
- data/extras/zip/ioextras.rb +0 -0
- data/extras/zip/stdrubyext.rb +0 -0
- data/extras/zip/tempfile_bugfixed.rb +0 -0
- data/extras/zip/zip.rb +3 -2
- data/extras/zip/zipfilesystem.rb +0 -0
- data/extras/zip/ziprequire.rb +0 -0
- data/gui/00coreguibegin/applicationguitop.rwd +1 -1
- data/gui/frontwindow0/viewlogo/cc0openphoto.rwd +22 -0
- data/gui/frontwindowselectionbegin/selectiontabbegin/00selectiontabbegin.rwd +0 -0
- data/gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd +0 -0
- data/gui/frontwindowselectionzend/viewselectionzend/wwselectionend.rwd +0 -0
- data/gui/frontwindowselectionzend/viewselectionzend/zzdocumentbegin.rwd +0 -0
- data/gui/frontwindowtdocuments/superant.com.documents/tinkerdocuments.rwd +0 -0
- data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzdocumentend.rwd +0 -0
- data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzzrwdlasttab.rwd +0 -0
- data/gui/helpaboutbegin/superant.com.helpaboutbegin/zzzzhelpscreenstart.rwd +0 -0
- data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/helpabouttab.rwd +0 -0
- data/gui/helpaboutzend/superant.com.helpaboutend/helpscreenend.rwd +0 -0
- data/gui/helpaboutzend/superant.com.helpaboutend/zhelpscreenstart2.rwd +0 -0
- data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpabout2.rwd +0 -0
- data/gui/helpaboutzend/superant.com.helpaboutend/zzzzhelpscreen2end.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/10appletbegin.rwd +4 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/{10viewnote.rwd → 1tabfirst.rwd} +0 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/20listfiles.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/30booklistutilities.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/35displaytab.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/36displaytab.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/40rwdgutenberg.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/40rwdgutenberghtml.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/67viewconfiguration.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/81jumplinkcommands.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.gutenberg/9end.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.gutendisplay/gutendisplayhtmlwindow.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.gutendisplay/gutendisplaywindow.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/1appname.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40rwdlistzips.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/45installremotezip.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/9backend.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/9end.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.versionwindow/helpaboutwindow.rwd +0 -0
- data/gui/zzcoreguiend/tinkerapplicationguiend/yy9rwdend.rwd +0 -0
- data/init.rb +5 -5
- data/installed/{rwdwgutenberg-0.06.inf → rwdwgutenberg-0.09.inf} +5 -3
- data/installed/temp.rb +1 -0
- data/lang/en/rwdcore/languagefile.rb +0 -6
- data/lang/es/rwdcore/languagefile-es.rb +0 -6
- data/lang/jp/rwdcore/languagefile.rb +0 -0
- data/lang/nl/rwdcore/languagefile.rb +0 -6
- data/lib/temp.rb +0 -0
- data/rwd_files/HowTo_Gutenberg.txt +48 -2
- data/rwd_files/HowTo_Tinker.txt +0 -0
- data/rwd_files/HowTo_TinkerWin2.txt +0 -0
- data/rwd_files/Readme.txt +0 -0
- data/rwd_files/RubyWebDialogs.html +0 -0
- data/rwd_files/favicon.ico +0 -0
- data/rwd_files/rdoc-style.css +0 -0
- data/rwd_files/rwdapplications.html +0 -0
- data/rwd_files/tinker.png +0 -0
- data/rwdconfig.dist +4 -2
- data/rwdgutenberg.rb +1 -0
- data/tests/checkdepends.sh +0 -0
- data/tests/cleancnf.sh +2 -1
- data/tests/makedist-rwdwgutenberg.rb +56 -0
- data/tests/makedist.rb +11 -5
- data/tests/rdep.rb +0 -0
- data/tests/totranslate.lang +0 -0
- metadata +15 -16
- data/code/superant.com.gutenberg/jumplinkupdate.rb +0 -6
- data/code/superant.com.gutenberg/returntomain.rb +0 -10
- data/gui/frontwindow0/superant.com.gutenberg/10viewnote.rwd +0 -40
- data/gui/frontwindow0/superant.com.gutenberg/20listfiles.rwd +0 -36
- data/gui/frontwindow0/superant.com.gutenberg/30booklistutilities.rwd +0 -28
- data/gui/frontwindow0/superant.com.gutenberg/35displaytab.rwd +0 -15
- data/gui/frontwindow0/superant.com.gutenberg/36displaytab.rwd +0 -15
- data/gui/frontwindow0/superant.com.gutenberg/40rwdgutenberg.rwd +0 -16
- data/gui/frontwindow0/superant.com.gutenberg/40rwdgutenberghtml.rwd +0 -16
- data/gui/frontwindow0/superant.com.gutenberg/67viewconfiguration.rwd +0 -29
data/ev/rwd.rb
CHANGED
@@ -635,7 +635,7 @@ class RWDWindow
|
|
635
635
|
|
636
636
|
def initialize(rwd, window=nil)
|
637
637
|
rwd = rwd.join("\n") if rwd.kind_of?(Array)
|
638
|
-
|
638
|
+
|
639
639
|
if @@windows[rwd].nil?
|
640
640
|
@@windows[rwd] = {}
|
641
641
|
@@helpwindows[rwd] = {}
|
@@ -666,6 +666,8 @@ class RWDWindow
|
|
666
666
|
|
667
667
|
vars = vars.deep_dup
|
668
668
|
|
669
|
+
begin # error wrap
|
670
|
+
|
669
671
|
vars.each do |key, value|
|
670
672
|
if not key.empty?
|
671
673
|
if value.respond_to? "to_s"
|
@@ -721,6 +723,12 @@ class RWDWindow
|
|
721
723
|
|
722
724
|
html
|
723
725
|
end
|
726
|
+
|
727
|
+
rescue
|
728
|
+
if $DEBUG
|
729
|
+
$stderr.puts "error in RWDWindow - render method"
|
730
|
+
end
|
731
|
+
end
|
724
732
|
end
|
725
733
|
|
726
734
|
class RWDMessage < RWDWindow
|
@@ -763,8 +771,10 @@ class RWDDone < RWDWindow
|
|
763
771
|
end
|
764
772
|
|
765
773
|
class RWDialog
|
774
|
+
|
766
775
|
def initialize(xml)
|
767
|
-
@rwd_xml =
|
776
|
+
@rwd_xml = $rwd_gui_tinker
|
777
|
+
# change from default ev - was xml
|
768
778
|
@rwd_exitbrowser = false
|
769
779
|
@rwd_history = []
|
770
780
|
@rwd_ignore_vars = []
|
@@ -818,6 +828,7 @@ class RWDialog
|
|
818
828
|
help = false
|
819
829
|
back = false
|
820
830
|
tab = ""
|
831
|
+
@rwd_progress_thread = nil
|
821
832
|
@rwd_msgtype = nil if @rwd_progress_thread.nil?
|
822
833
|
@rwd_download = nil
|
823
834
|
@rwd_download_file = nil
|
@@ -833,7 +844,7 @@ class RWDialog
|
|
833
844
|
# Copy the vars from the window to vars. vars wil later on be copied to instance variables.
|
834
845
|
|
835
846
|
post.sort.each do |key, value|
|
836
|
-
puts
|
847
|
+
puts "Post: #{key} -> #{value.from_html.inspect}" if $rwd_debug
|
837
848
|
|
838
849
|
vars[key] = value.from_html
|
839
850
|
end
|
@@ -910,7 +921,7 @@ class RWDialog
|
|
910
921
|
|
911
922
|
if (not back) or @rwd_call_after_back.include?(@rwd_action)
|
912
923
|
unless @rwd_action =~ /^rwd_/
|
913
|
-
puts
|
924
|
+
puts "Method: #{@rwd_action}(#{@rwd_args.join(", ")})" if $rwd_debug
|
914
925
|
if methods.include?(@rwd_action)
|
915
926
|
method(@rwd_action).call(*@rwd_args)
|
916
927
|
else
|
@@ -948,7 +959,7 @@ class RWDialog
|
|
948
959
|
# just ignore.
|
949
960
|
|
950
961
|
vars.sort.each do |key, value|
|
951
|
-
puts
|
962
|
+
puts "Pre: #{key} -> #{value.inspect}" if $rwd_debug
|
952
963
|
end
|
953
964
|
|
954
965
|
|
@@ -971,11 +982,20 @@ class RWDialog
|
|
971
982
|
res << RWDError.new(@rwd_msg).render(pda) if @rwd_msgtype == "error"
|
972
983
|
res << @rwd_msg if @rwd_msgtype == "text"
|
973
984
|
else
|
974
|
-
|
975
|
-
puts
|
976
|
-
|
977
|
-
|
978
|
-
|
985
|
+
puts "Window: #{@rwd_window}" if $rwd_debug
|
986
|
+
puts "Tab: #{@rwd_tab}" if $rwd_debug
|
987
|
+
|
988
|
+
begin # error block
|
989
|
+
if @rwd_window.empty?
|
990
|
+
@rwd_window = "main"
|
991
|
+
end
|
992
|
+
res << RWDWindow.new($rwd_gui_tinker, @rwd_window).render(pda, @rwd_refresh_action, vars, @rwd_switches, help, @rwd_tab)
|
993
|
+
rescue
|
994
|
+
if $DEBUG
|
995
|
+
$stderr.puts "error in render"
|
996
|
+
end
|
997
|
+
end
|
998
|
+
end
|
979
999
|
end
|
980
1000
|
end
|
981
1001
|
end
|
data/ev/sgml.rb
CHANGED
File without changes
|
data/ev/thread.rb
CHANGED
File without changes
|
data/ev/tree.rb
CHANGED
File without changes
|
data/ev/xml.rb
CHANGED
File without changes
|
data/extras/rconftool.rb
CHANGED
File without changes
|
data/extras/zip/ioextras.rb
CHANGED
File without changes
|
data/extras/zip/stdrubyext.rb
CHANGED
File without changes
|
File without changes
|
data/extras/zip/zip.rb
CHANGED
@@ -1047,8 +1047,9 @@ module Zip
|
|
1047
1047
|
|
1048
1048
|
def write_file(entry, destPath, continueOnExistsProc = proc { false })
|
1049
1049
|
if File.exists?(destPath) && ! yield(entry, destPath)
|
1050
|
-
|
1051
|
-
|
1050
|
+
|
1051
|
+
# raise ZipDestinationFileExistsError,
|
1052
|
+
$stderr.puts "Destination '#{destPath}' already exists"
|
1052
1053
|
end
|
1053
1054
|
File.open(destPath, "wb") {
|
1054
1055
|
|os|
|
data/extras/zip/zipfilesystem.rb
CHANGED
File without changes
|
data/extras/zip/ziprequire.rb
CHANGED
File without changes
|
@@ -0,0 +1,22 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
|
3
|
+
"
|
4
|
+
<tab name=\"viewtinkerlogo\" caption=\"Tinker\">
|
5
|
+
|
6
|
+
<table>
|
7
|
+
<row> <p align=\"right\">#{Message[:tinker_logo]}</row>
|
8
|
+
|
9
|
+
</table>
|
10
|
+
<image src=\"tinker.png\"> </image>
|
11
|
+
<table>
|
12
|
+
<row> <p></row>
|
13
|
+
|
14
|
+
</table>
|
15
|
+
<horizontal>
|
16
|
+
|
17
|
+
<button caption=#{Message[:help]} action=\"runhelpwindow\"/>
|
18
|
+
|
19
|
+
|
20
|
+
</horizontal>
|
21
|
+
|
22
|
+
</tab>"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,17 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<tab name=selectiontab caption=#{Message[:selection_tab]}>
|
4
|
+
<horizontal>
|
5
|
+
<button caption=#{Message[:showjump_links]} action=\"showjumplinkoptions\"/>
|
6
|
+
|
7
|
+
</horizontal>
|
8
|
+
<table>
|
9
|
+
<select name=\"a_jumplinkinput\"> %%jumplinkoptions%% </select>
|
10
|
+
|
11
|
+
</table>
|
12
|
+
|
13
|
+
<horizontal>
|
14
|
+
<button caption=#{Message[:jumptoapplication_location]} action=\"runjumplinkcommand\"/>
|
15
|
+
</horizontal>
|
16
|
+
</tab>
|
17
|
+
"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
$rwdguivar=
|
2
2
|
"
|
3
|
-
<window name=\"gutendisplayhtmlwindowtwo\" title=\"Auto HTML Display\" refresh=#{
|
3
|
+
<window name=\"gutendisplayhtmlwindowtwo\" title=\"Auto HTML Display\" refresh=#{$bookviewdisplay}>
|
4
4
|
<small>
|
5
5
|
<p>%%gutendisplayvariable%%</p>
|
6
6
|
</small>
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/init.rb
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
19
19
|
#*
|
20
20
|
#* For further information please contact the author by e-mail
|
21
|
-
#* at "
|
21
|
+
#* at "smalllinux@gmail.com".
|
22
22
|
#***********************************************************************/
|
23
23
|
|
24
24
|
require "ev/rwd"
|
@@ -234,8 +234,8 @@ Rconftool::install(configdist,confignew) #integrates new file with old
|
|
234
234
|
end
|
235
235
|
|
236
236
|
# gui variable is done
|
237
|
-
guiRWD =
|
238
|
-
|
237
|
+
guiRWD = ""
|
238
|
+
$rwd_gui_tinker = $tempdoc
|
239
239
|
require 'socket' # Network stuff
|
240
240
|
host = "127.0.0.1"
|
241
241
|
port = $port
|
@@ -273,5 +273,5 @@ Rconftool::install(configdist,confignew) #integrates new file with old
|
|
273
273
|
|
274
274
|
end
|
275
275
|
|
276
|
-
|
277
|
-
RwdTinker.new(
|
276
|
+
|
277
|
+
RwdTinker.new( $rwd_gui_tinker ).serve(port) # start the main class and program
|
@@ -1,7 +1,9 @@
|
|
1
1
|
#rwdgutenberg - text reading frontend
|
2
|
-
configuration/rwdgutenberg.dist
|
3
2
|
gui/tinkerbackwindows/superant.com.gutenberg
|
4
3
|
gui/tinkerbackwindows/superant.com.gutendisplay
|
5
|
-
rwd_files/HowTo_Gutenberg.txt
|
6
4
|
code/superant.com.gutenberg
|
7
|
-
tests/
|
5
|
+
tests/gemspec-rwdwgutenberg
|
6
|
+
tests/makedist-rwdwgutenberg.rb
|
7
|
+
rwd_files/HowTo_Gutenberg.txt
|
8
|
+
configuration/rwdwgutenberg-0.09.cnf
|
9
|
+
configuration/rwdwgutenberg-0.09.dist
|
data/installed/temp.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# this file does nothing
|
@@ -10,13 +10,8 @@
|
|
10
10
|
:edit => "edit" ,
|
11
11
|
:file_name => '"File Name:"',
|
12
12
|
:fill_record => '"Fill Record"',
|
13
|
-
:gemcommands => '"Gem Commands"',
|
14
|
-
:gemfiles => '"Gem Files"' ,
|
15
|
-
:gemdocs => '"Gem Documents"' ,
|
16
|
-
:gem_name => '"Gem Name"' ,
|
17
13
|
:help => '"Help"',
|
18
14
|
:help_about => '"Help About"',
|
19
|
-
:installgem => '"Install Gem"' ,
|
20
15
|
:install_applet => '"install (rwdtinker) applet"',
|
21
16
|
:jumptoapplication_location => '"Jump to Application Location"',
|
22
17
|
:list_applets => '"List Applets"',
|
@@ -57,7 +52,6 @@
|
|
57
52
|
:view_platform => '"view platform"',
|
58
53
|
:viewplatform_information => '"View Platform Information"',
|
59
54
|
:view_event => '"View event"',
|
60
|
-
:view_gem => '"View Gem"',
|
61
55
|
:viewinstall_text => '"View Install Text"' ,
|
62
56
|
:viewlistinstall_files => '"View List of Installed Files"',
|
63
57
|
:view_photo => '"View Photo"',
|
@@ -10,13 +10,8 @@
|
|
10
10
|
:edit => "Editar" ,
|
11
11
|
:file_name => '"Fila Nombre:"',
|
12
12
|
:fill_record => '"Fill Record"',
|
13
|
-
:gem_commands => '"Comando de Gems"',
|
14
|
-
:gem_files => '"Gem Archivos"' ,
|
15
|
-
:gem_docs => '"Gem Documentos"' ,
|
16
|
-
:gem_name => '"Gem Nombre"' ,
|
17
13
|
:help => '"Ayuda"',
|
18
14
|
:help_about => '"Ayuda sobre"',
|
19
|
-
:install_gem => '"instale Gem"' ,
|
20
15
|
:install_applet => '"instale (rwdtinker) applet"',
|
21
16
|
:jumptoapplication_location => '"Jump to Application Location"',
|
22
17
|
:list_applets => '"List Applets"',
|
@@ -61,7 +56,6 @@
|
|
61
56
|
:view_platform => '"view platform"',
|
62
57
|
:viewplatform_information => '"View Platform Information"',
|
63
58
|
:view_event => '"Ver evento"',
|
64
|
-
:view_gem => '"Ver Gem"',
|
65
59
|
:viewinstall_text => '"Ver Texto"' ,
|
66
60
|
:viewlistinstall_files => '"View List of Installed Files"',
|
67
61
|
:view_photo => '"Ver Photo"' ,
|
File without changes
|
@@ -29,13 +29,8 @@
|
|
29
29
|
:edit => "edit" ,
|
30
30
|
:file_name => '"File Name:"',
|
31
31
|
:fill_record => '"Fill Record"',
|
32
|
-
:gem_commands => '"Gem Commands"',
|
33
|
-
:gem_files => '"Gem Files"' ,
|
34
|
-
:gem_docs => '"Gem Documents"' ,
|
35
|
-
:gem_name => '"Gem Name"' ,
|
36
32
|
:help => '"Help"',
|
37
33
|
:help_about => '"Help About"',
|
38
|
-
:installgem => '"Install Gem"' ,
|
39
34
|
:install_applet => '"install (rwdtinker) applet"',
|
40
35
|
:jumptoapplication_location => '"Jump to Application Location"',
|
41
36
|
:list_applets => '"List Applets"',
|
@@ -74,7 +69,6 @@
|
|
74
69
|
:view_platform => '"view platform"',
|
75
70
|
:viewplatform_information => '"View Platform Information"',
|
76
71
|
:view_event => '"View event"',
|
77
|
-
:view_gem => '"View Gem"',
|
78
72
|
:viewinstall_text => '"View Install Text"' ,
|
79
73
|
:viewlistinstall_files => '"View List of Installed Files"',
|
80
74
|
:view_photo => '"View Photo"',
|
data/lib/temp.rb
CHANGED
File without changes
|
@@ -35,7 +35,43 @@ To exit, press the x inside the browser window.
|
|
35
35
|
|
36
36
|
Edit Configuration - to change the configuration of rwdgutenberg
|
37
37
|
|
38
|
-
|
38
|
+
== Help
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
Helptext.update( :rwdgutenberg_generalhelp => "This program is a text file reader
|
43
|
+
|
44
|
+
links to a text file can be saved in the Books directory
|
45
|
+
|
46
|
+
There are tabs to enter notes and links and edit configurations
|
47
|
+
|
48
|
+
'View/Edit Booklist' - to create or edit a file
|
49
|
+
|
50
|
+
'Booklist Utilities' - to rename or delete files
|
51
|
+
|
52
|
+
'Edit Configuration' - to change the configuration of rwdgutenberg
|
53
|
+
|
54
|
+
edit_help: You can create or edit booklists
|
55
|
+
click the bottom button 'list Booklists' to see a lists
|
56
|
+
of the notes you already have.
|
57
|
+
'save changes' to save your edits
|
58
|
+
'clear' to clear the screen
|
59
|
+
'Create New List' to start a new booklist
|
60
|
+
After creating a new note, you must list below to find it
|
61
|
+
and select it, or it will NOT be SAVED
|
62
|
+
|
63
|
+
utility_help: You can change the file
|
64
|
+
rename
|
65
|
+
delete
|
66
|
+
copy name
|
67
|
+
|
68
|
+
configuration: click on 'Edit Configuration'
|
69
|
+
You can view the configuration file
|
70
|
+
You can edit the configuration
|
71
|
+
Remember to reload the configuration variables if you want your
|
72
|
+
changes used.
|
73
|
+
|
74
|
+
|
39
75
|
== Using over a Network
|
40
76
|
|
41
77
|
To serve the application over your local LAN,change the last line in the
|
@@ -80,7 +116,17 @@ Don't use the back-button of the browser! Strange and unpredictable things may a
|
|
80
116
|
Steven Gibson
|
81
117
|
steven@superant.com
|
82
118
|
|
83
|
-
== Changelog
|
119
|
+
== Changelog
|
120
|
+
Version 0.09
|
121
|
+
refactored to load and unload under rwdtinker 1.73
|
122
|
+
|
123
|
+
Version 0.08
|
124
|
+
updated to tinker 1.69
|
125
|
+
|
126
|
+
Version 0.07
|
127
|
+
fixed file creation from directory search
|
128
|
+
added clear file list
|
129
|
+
|
84
130
|
Version 0.06
|
85
131
|
Add html viewing tab
|
86
132
|
added reset button
|
data/rwd_files/HowTo_Tinker.txt
CHANGED
File without changes
|
File without changes
|
data/rwd_files/Readme.txt
CHANGED
File without changes
|
File without changes
|
data/rwd_files/favicon.ico
CHANGED
File without changes
|
data/rwd_files/rdoc-style.css
CHANGED
File without changes
|
File without changes
|
data/rwd_files/tinker.png
CHANGED
File without changes
|
data/rwdconfig.dist
CHANGED
@@ -14,6 +14,8 @@ $testharness=true
|
|
14
14
|
$tinkerhelpaboutarray = ["Tinker"]
|
15
15
|
##NAME:$tinkerdocumentsarray:0
|
16
16
|
$tinkerdocumentsarray = ["Readme.txt"]
|
17
|
-
|
18
|
-
|
17
|
+
##NAME:$tinkeruninstallarray:0
|
18
|
+
$tinkeruninstallarray = ["Tinker"]
|
19
|
+
##NAME:JumpLink:0
|
20
|
+
JumpLink = Hash.new { |hh, kk| hh[kk] = "ERROR: link not found: #{kk.inspect}."; hh[kk] }
|
19
21
|
|
data/rwdgutenberg.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# this file does nothing
|
data/tests/checkdepends.sh
CHANGED
File without changes
|
data/tests/cleancnf.sh
CHANGED
@@ -0,0 +1,56 @@
|
|
1
|
+
#!/usr/bin/ruby -w
|
2
|
+
#***********************************************************************
|
3
|
+
#* Rwd/Tinker -- A Ruby program for the RudyWebDialog.
|
4
|
+
#* Copyright (c) 2004, 2005 by Steven Gibson. All Rights Reserved.
|
5
|
+
#* at "steven@superant.com".
|
6
|
+
#***********************************************************************/
|
7
|
+
$progdir =""
|
8
|
+
$tinkerhelpaboutarray = [""]
|
9
|
+
$tinkerdocumentsarray = [""]
|
10
|
+
$testharnessarray = [""]
|
11
|
+
$rwdjumplink = [""]
|
12
|
+
JumpLink = Hash.new("default")
|
13
|
+
require 'fileutils'
|
14
|
+
DistroName = "rwdwgutenberg"
|
15
|
+
DistroVersion=0.09
|
16
|
+
load "configuration/#{DistroName}-#{DistroVersion}.dist"
|
17
|
+
|
18
|
+
|
19
|
+
DistroTitle="#{DistroName}-#{DistroVersion}"
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
$progdir = File::expand_path( File.dirname(__FILE__))
|
24
|
+
results = " "
|
25
|
+
|
26
|
+
puts "creating #{DistroName} distribution files version #{DistroVersion}"
|
27
|
+
|
28
|
+
#puts "moving up one directory"
|
29
|
+
#Dir.chdir("..")
|
30
|
+
|
31
|
+
|
32
|
+
FileUtils.rm_rf("#{DistroTitle}.zip")
|
33
|
+
zipcreatecmd = "zip -r #{DistroTitle}.zip *"
|
34
|
+
puts "#{zipcreatecmd}"
|
35
|
+
`#{zipcreatecmd}`
|
36
|
+
|
37
|
+
gemspecfilename = "rwdzip#{DistroTitle}.gemspec"
|
38
|
+
tobject = Time.now
|
39
|
+
year = tobject.year.to_s
|
40
|
+
month = tobject.mon.to_s
|
41
|
+
daydate = tobject.day.to_s
|
42
|
+
|
43
|
+
fd = File.open(gemspecfilename,"w")
|
44
|
+
fd.print("Gem::Specification.new do |s|\n")
|
45
|
+
fd.print(" s.name = %q{rwdzip#{DistroName}}\n")
|
46
|
+
fd.print(" s.version = \"#{DistroVersion}\"\n")
|
47
|
+
fd.print(" s.date = %q{#{year}-#{month}-#{daydate}}")
|
48
|
+
load "tests/gemspec-#{DistroName}"
|
49
|
+
fd.print($gemspecvar)
|
50
|
+
fd.close
|
51
|
+
|
52
|
+
ListingCommand = "ls -1 -s -h rwdzip#{DistroTitle}*"
|
53
|
+
|
54
|
+
puts `#{ListingCommand}`
|
55
|
+
|
56
|
+
print "Build finished\n"
|
data/tests/makedist.rb
CHANGED
@@ -5,15 +5,21 @@
|
|
5
5
|
#* at "steven@superant.com".
|
6
6
|
#***********************************************************************/
|
7
7
|
$progdir =""
|
8
|
+
$tinkerhelpaboutarray = [""]
|
9
|
+
$tinkerdocumentsarray = [""]
|
10
|
+
$testharnessarray = [""]
|
11
|
+
$rwdjumplink = [""]
|
12
|
+
JumpLink = Hash.new("default")
|
8
13
|
require 'fileutils'
|
9
|
-
load 'rwdconfig.dist'
|
10
|
-
DistroName = "rwdgutenberg"
|
11
|
-
load "configuration/#{DistroName}.dist"
|
12
|
-
DistroVersion=RwdGutenbergVersion
|
13
14
|
|
14
|
-
|
15
|
+
DistroName = "rwdwgutenberg"
|
15
16
|
|
17
|
+
DistroVersion="0.09"
|
16
18
|
|
19
|
+
DistroTitle="#{DistroName}-#{DistroVersion}.dist"
|
20
|
+
load "configuration/#{DistroTitle}"
|
21
|
+
DistroTitle = "rwdgutenberg-#{DistroVersion}"
|
22
|
+
DistroName = "rwdgutenberg"
|
17
23
|
|
18
24
|
$progdir = File::expand_path( File.dirname(__FILE__))
|
19
25
|
results = " "
|
data/tests/rdep.rb
CHANGED
File without changes
|
data/tests/totranslate.lang
CHANGED
File without changes
|