rwdeliza 0.03

Sign up to get free protection for your applications and to get access to all the features.
Files changed (222) hide show
  1. data/ElizaData/database/db.1 +7015 -0
  2. data/ElizaData/database/db.10 +7001 -0
  3. data/ElizaData/database/db.11 +7001 -0
  4. data/ElizaData/database/db.12 +7003 -0
  5. data/ElizaData/database/db.13 +7003 -0
  6. data/ElizaData/database/db.14 +7008 -0
  7. data/ElizaData/database/db.15 +7001 -0
  8. data/ElizaData/database/db.16 +7001 -0
  9. data/ElizaData/database/db.17 +7001 -0
  10. data/ElizaData/database/db.18 +7001 -0
  11. data/ElizaData/database/db.19 +7001 -0
  12. data/ElizaData/database/db.2 +7001 -0
  13. data/ElizaData/database/db.20 +5467 -0
  14. data/ElizaData/database/db.3 +7001 -0
  15. data/ElizaData/database/db.4 +7001 -0
  16. data/ElizaData/database/db.5 +7001 -0
  17. data/ElizaData/database/db.6 +7001 -0
  18. data/ElizaData/database/db.7 +7001 -0
  19. data/ElizaData/database/db.8 +7001 -0
  20. data/ElizaData/database/db.9 +7001 -0
  21. data/ElizaData/responses/hello.res +1 -0
  22. data/ElizaData/responses/i_agree.res +1 -0
  23. data/ElizaData/responses/i_am_listening_to_you.res +1 -0
  24. data/ElizaData/responses/please_explain.res +1 -0
  25. data/ElizaData/responses/thank_you.res +1 -0
  26. data/ElizaData/tiny.dict +211 -0
  27. data/ElizaData/words/adjectives1.words +906 -0
  28. data/ElizaData/words/adjectives2w.words +1 -0
  29. data/ElizaData/words/noun0.words +15 -0
  30. data/ElizaData/words/noun1.words +1391 -0
  31. data/ElizaData/words/noun2.words +1924 -0
  32. data/ElizaData/words/noun4.words +330 -0
  33. data/ElizaData/words/pronoun1.words +6 -0
  34. data/ElizaData/words/verb4.words +350 -0
  35. data/ElizaData/words/verb42.words +391 -0
  36. data/ElizaData/words/verb42w.words +1 -0
  37. data/ElizaData/words/verb43.words +402 -0
  38. data/ElizaData/words/verb43w.words +1 -0
  39. data/ElizaData/words/verb45.words +452 -0
  40. data/ElizaData/words/verb4w.words +1 -0
  41. data/ElizaData/words/verb5.words +13 -0
  42. data/ElizaData/words/verb61.words +35 -0
  43. data/ElizaData/words/verb62.words +41 -0
  44. data/ElizaData/words/verb83.words +17 -0
  45. data/Readme.txt +462 -0
  46. data/bin/rwdeliza +19 -0
  47. data/code/01rwdcore/01rwdcore.rb +29 -0
  48. data/code/01rwdcore/02helptexthashbegin.rb +4 -0
  49. data/code/01rwdcore/03helptexthash.rb +23 -0
  50. data/code/01rwdcore/04helptextend.rb +6 -0
  51. data/code/01rwdcore/jumplinkcommand.rb +26 -0
  52. data/code/01rwdcore/openhelpwindow.rb +31 -0
  53. data/code/01rwdcore/returntomain.rb +10 -0
  54. data/code/01rwdcore/rundocuments.rb +10 -0
  55. data/code/01rwdcore/runeditconfiguration.rb +10 -0
  56. data/code/01rwdcore/runhelpabout.rb +10 -0
  57. data/code/01rwdcore/runopentinkerdocument.rb +7 -0
  58. data/code/01rwdcore/rwdtinkerversion.rb +22 -0
  59. data/code/01rwdcore/rwdwindowreturn.rb +9 -0
  60. data/code/01rwdcore/selectiontab.rb +9 -0
  61. data/code/01rwdcore/setuphelpaboutoptions.rb +13 -0
  62. data/code/01rwdcore/setuptinkerdocuments.rb +6 -0
  63. data/code/01rwdcore/test_cases.rb +109 -0
  64. data/code/01rwdcore/test_harness.rb +13 -0
  65. data/code/01rwdcore/uploadreturns.rb +62 -0
  66. data/code/dd0viewphoto/dd0viewphoto.rb +3 -0
  67. data/code/superant.com.rwdeliza/0uninstallapplet.rb +10 -0
  68. data/code/superant.com.rwdeliza/eliza01.rb +45 -0
  69. data/code/superant.com.rwdeliza/helptexthashrwdeliza.rb +39 -0
  70. data/code/superant.com.rwdeliza/openhelpwindowrwdeliza.rb +23 -0
  71. data/code/superant.com.rwdeliza/runrwdshellwindow.rb +12 -0
  72. data/code/superant.com.rwdeliza/rwdtinkerversion.rb +10 -0
  73. data/code/superant.com.rwdeliza/tagsentence.rb +39 -0
  74. data/code/superant.com.rwdtinkerbackwindow/diagnostictab.rb +19 -0
  75. data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +61 -0
  76. data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +240 -0
  77. data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +34 -0
  78. data/code/superant.com.rwdtinkerbackwindow/installremotegem.rb +20 -0
  79. data/code/superant.com.rwdtinkerbackwindow/listgemdirs.rb +12 -0
  80. data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +53 -0
  81. data/code/superant.com.rwdtinkerbackwindow/listinstalledfiles.rb +12 -0
  82. data/code/superant.com.rwdtinkerbackwindow/listzips.rb +27 -0
  83. data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +22 -0
  84. data/code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb +14 -0
  85. data/code/superant.com.rwdtinkerbackwindow/network.rb +87 -0
  86. data/code/superant.com.rwdtinkerbackwindow/openappletname.rb +19 -0
  87. data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +38 -0
  88. data/code/superant.com.rwdtinkerbackwindow/remotegemlist.rb +24 -0
  89. data/code/superant.com.rwdtinkerbackwindow/removeapplet.rb +46 -0
  90. data/code/superant.com.rwdtinkerbackwindow/removeappletvariables.rb +52 -0
  91. data/code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb +11 -0
  92. data/code/superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb +15 -0
  93. data/code/superant.com.rwdtinkerbackwindow/rwdtinkerwin2version.rb +13 -0
  94. data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +19 -0
  95. data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +22 -0
  96. data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +24 -0
  97. data/code/superant.com.words/dictlookup.rb +20 -0
  98. data/code/superant.com.words/runfortunewindow.rb +14 -0
  99. data/code/superant.com.words/runrwdwordsbackwindow.rb +10 -0
  100. data/code/superant.com.words/runrwdwordsversion.rb +14 -0
  101. data/code/superant.com.words/rwdtinkerversion.rb +10 -0
  102. data/code/zz0applicationend/zz0end.rb +4 -0
  103. data/configuration/language.dist +8 -0
  104. data/configuration/rwdapplicationidentity.dist +3 -0
  105. data/configuration/rwdtinker.dist +18 -0
  106. data/configuration/rwdweliza-0.03.dist +31 -0
  107. data/configuration/tinkerwin2variables.dist +17 -0
  108. data/gui/00coreguibegin/applicationguitop.rwd +4 -0
  109. data/gui/frontwindow0/cc0openphoto.rwd +22 -0
  110. data/gui/frontwindowselections/00selectiontabbegin.rwd +11 -0
  111. data/gui/frontwindowselections/jumplinkcommands.rwd +15 -0
  112. data/gui/frontwindowselections/wwselectionend.rwd +3 -0
  113. data/gui/frontwindowtdocuments/00documentbegin.rwd +6 -0
  114. data/gui/frontwindowtdocuments/tinkerdocuments.rwd +14 -0
  115. data/gui/frontwindowtdocuments/zzdocumentend.rwd +8 -0
  116. data/gui/helpaboutbegin/zzzrwdlasttab.rwd +6 -0
  117. data/gui/helpaboutbegin/zzzzhelpscreenstart.rwd +3 -0
  118. data/gui/helpaboutbegin/zzzzzzhelpabouttab.rwd +15 -0
  119. data/gui/helpaboutzend/helpscreenend.rwd +3 -0
  120. data/gui/helpaboutzend/zhelpscreenstart2.rwd +3 -0
  121. data/gui/helpaboutzend/zzzzhelpabout2.rwd +15 -0
  122. data/gui/helpaboutzend/zzzzhelpscreen2end.rwd +3 -0
  123. data/gui/tinkerbackwindows/superant.com.refreshwindow/fortunerefreshwindowtwo.rwd +9 -0
  124. data/gui/tinkerbackwindows/superant.com.rwdeliza/1appname.rwd +5 -0
  125. data/gui/tinkerbackwindows/superant.com.rwdeliza/1eliza.rwd +21 -0
  126. data/gui/tinkerbackwindows/superant.com.rwdeliza/4sentance.rwd +21 -0
  127. data/gui/tinkerbackwindows/superant.com.rwdeliza/98jumplinkcommands.rwd +17 -0
  128. data/gui/tinkerbackwindows/superant.com.rwdeliza/zbackend.rwd +6 -0
  129. data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/1appname.rwd +5 -0
  130. data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/20downloadftp.rwd +45 -0
  131. data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/67viewconfiguration.rwd +29 -0
  132. data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/70rwddiagnostics.rwd +16 -0
  133. data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/m01menubegin.rwd +18 -0
  134. data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/zvbackend.rwd +6 -0
  135. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/1appname.rwd +5 -0
  136. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40rwdlistzips.rwd +41 -0
  137. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/45installremotezip.rwd +44 -0
  138. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd +44 -0
  139. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +30 -0
  140. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd +29 -0
  141. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd +17 -0
  142. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/9backend.rwd +6 -0
  143. data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd +31 -0
  144. data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/9end.rwd +4 -0
  145. data/gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd +19 -0
  146. data/gui/tinkerbackwindows/superant.com.versionwindow/helpaboutwindow.rwd +17 -0
  147. data/gui/tinkerbackwindows/superant.com.words/1appname.rwd +4 -0
  148. data/gui/tinkerbackwindows/superant.com.words/1dictionary.rwd +19 -0
  149. data/gui/tinkerbackwindows/superant.com.words/3rwdfortune.rwd +14 -0
  150. data/gui/tinkerbackwindows/superant.com.words/77jumplinkcommands.rwd +17 -0
  151. data/gui/tinkerbackwindows/superant.com.words/z9end.rwd +6 -0
  152. data/gui/zzcoreguiend/yy9rwdend.rwd +4 -0
  153. data/init.rb +277 -0
  154. data/installed/rwdweliza-0.03.inf +24 -0
  155. data/installed/temp.rb +1 -0
  156. data/lang/en/rwdcore/languagefile.rb +58 -0
  157. data/lang/es/rwdcore/languagefile-es.rb +62 -0
  158. data/lang/fr/rwdcore/languagefile.rb +64 -0
  159. data/lang/jp/rwdcore/languagefile.rb +72 -0
  160. data/lang/nl/rwdcore/languagefile.rb +75 -0
  161. data/lib/dict.rb +438 -0
  162. data/lib/druida.rb +499 -0
  163. data/lib/hashslice.rb +71 -0
  164. data/lib/linguistics.rb +360 -0
  165. data/lib/linguistics/en.rb +1601 -0
  166. data/lib/linguistics/en/infinitive.rb +1148 -0
  167. data/lib/linguistics/en/linkparser.rb +142 -0
  168. data/lib/linguistics/en/wordnet.rb +253 -0
  169. data/lib/linguistics/iso639.rb +456 -0
  170. data/lib/linkparser.rb +461 -0
  171. data/lib/linkparser/connection.rb +81 -0
  172. data/lib/linkparser/connector.rb +201 -0
  173. data/lib/linkparser/definition.rb +225 -0
  174. data/lib/linkparser/dictionary.rb +208 -0
  175. data/lib/linkparser/linkage.rb +185 -0
  176. data/lib/linkparser/log.rb +39 -0
  177. data/lib/linkparser/sentence.rb +79 -0
  178. data/lib/linkparser/utils.rb +540 -0
  179. data/lib/linkparser/word.rb +92 -0
  180. data/lib/rconftool.rb +380 -0
  181. data/lib/rwd/browser.rb +123 -0
  182. data/lib/rwd/ftools.rb +174 -0
  183. data/lib/rwd/mime.rb +328 -0
  184. data/lib/rwd/net.rb +866 -0
  185. data/lib/rwd/ruby.rb +889 -0
  186. data/lib/rwd/rwd.rb +1942 -0
  187. data/lib/rwd/sgml.rb +236 -0
  188. data/lib/rwd/thread.rb +63 -0
  189. data/lib/rwd/tree.rb +371 -0
  190. data/lib/rwd/xml.rb +101 -0
  191. data/lib/zip/ioextras.rb +114 -0
  192. data/lib/zip/stdrubyext.rb +111 -0
  193. data/lib/zip/tempfile_bugfixed.rb +195 -0
  194. data/lib/zip/zip.rb +1378 -0
  195. data/lib/zip/zipfilesystem.rb +558 -0
  196. data/lib/zip/ziprequire.rb +61 -0
  197. data/rwd_files/HowTo_Eliza.txt +195 -0
  198. data/rwd_files/HowTo_Tinker.txt +471 -0
  199. data/rwd_files/HowTo_TinkerWin2.txt +202 -0
  200. data/rwd_files/Readme.txt +57 -0
  201. data/rwd_files/RubyWebDialogs.html +6 -0
  202. data/rwd_files/favicon.ico +0 -0
  203. data/rwd_files/rdoc-style.css +175 -0
  204. data/rwd_files/rwdapplications.html +54 -0
  205. data/rwd_files/tinker.png +0 -0
  206. data/rwdconfig.dist +21 -0
  207. data/rwdeliza.rb +1 -0
  208. data/tests/RubyGauge.rb +179 -0
  209. data/tests/checkdepends.sh +4 -0
  210. data/tests/cleancnf.sh +6 -0
  211. data/tests/makedist-rwdweliza.rb +56 -0
  212. data/tests/makedist.rb +66 -0
  213. data/tests/rdep.rb +354 -0
  214. data/tests/totranslate.lang +93 -0
  215. data/zips/rwdwaddresses-1.05.zip +0 -0
  216. data/zips/rwdwcalc-0.61.zip +0 -0
  217. data/zips/rwdwgutenberg-0.09.zip +0 -0
  218. data/zips/rwdwschedule-1.04.zip +0 -0
  219. data/zips/rwdwshell-1.04.zip +0 -0
  220. data/zips/temp.rb +1 -0
  221. data/zips/wrubyslippers-1.06.zip +0 -0
  222. metadata +282 -0
@@ -0,0 +1 @@
1
+ love hate see
@@ -0,0 +1,13 @@
1
+ barge booze bottom bow branch breeze brim bulge cave
2
+ clam click clown crap crawl creep crop crouch cruise
3
+ cry dance dart dive doze drift drone fade fizzle
4
+ flock flow foam fork gang gear goof gush hurry jog
5
+ jut keel kneel knuckle lie limp linger listen loom
6
+ lunge lurch march mellow nestle opt peek peer perk
7
+ peter pig pine plonk plop puff rot sail sally
8
+ scream scurry seep shack shine shop shrivel shy sit
9
+ slack slave slide slim slink slope slump soar
10
+ soldier spurt squat stand step stoop stream stroll
11
+ strut stumble swim swoop team tense toddle tramp
12
+ trickle trudge tumble veer waft walk zero zoom
13
+ skid
@@ -0,0 +1,35 @@
1
+ average back bail bang beam beef bellow bend bind
2
+ blare bob bog boil bolt bore bounce bound bowl box
3
+ break breathe brighten bruise brush buck buckle build
4
+ bum bump bunch burn bust butt button buzz calm
5
+ camp cancel carve cash catch change chat cheat check
6
+ cheer chew chill chip choke chop churn climb clog
7
+ close cloud clump coil comb connect contract cook
8
+ cool cop cough count crack cram cross crowd crumble
9
+ crumple crunch curl dash dial dig dine drag drain
10
+ draw dress drive drop drown drum dry duck ease eat
11
+ edge empty even face fan farm fatten fend fetch
12
+ file fill filter fire firm fish flare flatten flip
13
+ float flood flunk flush fly fold follow foul freak
14
+ freeze freshen fuck fuel gallop gather glaze gobble
15
+ grind gulp hack hammer hang haul head heal heat
16
+ herd hide hike hitch hook hop hunt iron jam jerk
17
+ join jumble jump knock knot lap lash lead leak
18
+ lean leap level lick light lighten limber line liven
19
+ log loosen lose marry match melt mess miss mop
20
+ mouth move muck nod ooze open pack pair pan peel
21
+ pile piss play plough plow pluck plunge point poke
22
+ pop pound pour pry pucker pull pump quiet rake
23
+ reach reel rent rev ride ring rip rock roll root
24
+ round rub rush scout scrape scratch screw seal serve
25
+ settle sew shape shave shift ship shoot short shrug
26
+ shush sign sketch skip slip slow smarten smash
27
+ smooth snap snatch sneak sniff snuff soak sober
28
+ soften space spark speed spell spill spin spit
29
+ spring sprout spruce square squeeze squirt stagger
30
+ stamp star starve steam stick stiffen stir stock
31
+ storm straighten stretch strike strip suck sum swell
32
+ swing switch tally tangle taper thicken thin tick
33
+ tidy tighten tip tire tone topple toss trail tread
34
+ trim trip tuck tune twist type wake warm weed
35
+ weigh whip whoop win wind wipe work wrap
@@ -0,0 +1,41 @@
1
+ averages backs bails bangs beams beats beefs bellows
2
+ bends binds blares bobs bogs boils bolts bores
3
+ bounces bounds bowls boxs breaks breathes brightens
4
+ bruises brushes buckles bucks builds bumps bums
5
+ bunches burns busts buttons butts buzzes calms camps
6
+ cancels carves cashes casts catches changes chats
7
+ cheats checks cheers chews chills chips chokes chops
8
+ churns climbs clogs closes clouds clumps coils combs
9
+ connects contracts cooks cools cops coughs counts
10
+ cracks crams crosses crowds crumbles crumples crunches
11
+ curls dashes digs dines drags drains draws dresses
12
+ dries drives drops drowns drums ducks eases eats
13
+ edges empties evens faces fans farms fattens fends
14
+ fetches files fills filters fires firms fishes flares
15
+ flattens flies flips floats floods flunks flushes
16
+ folds follows fouls freaks freezes freshens fucks
17
+ fuels gallops gathers glazes gobbles grinds gulps hacks
18
+ hammers hangs hauls heads heals heats herds hides
19
+ hikes hitches hooks hops hunts irons jams jerks
20
+ joins jumbles jumps knocks knots laps lashes leads
21
+ leaks leans leaps levels licks lightens lights limbers
22
+ lines livens logs loosens loses marries matches melts
23
+ messes misses mops mouths moves mucks nods oozes opens
24
+ packs pairs pans peels piles pisses plays ploughs
25
+ plows plucks plunges points pokes pops pounds pours
26
+ pries puckers pulls pumps quiets rakes reaches reels
27
+ rents revs rides rings rips rocks rolls roots rounds
28
+ rubs runs rushes scouts scrapes scratches screws seals
29
+ serves settles sews shapes shaves shifts ships shoots
30
+ shorts shrugs shushes shuts signs sketches skips slips
31
+ slows smartens smashes smooths snaps snatches sneaks
32
+ sniffs snuffs soaks sobers softens spaces sparks
33
+ speeds spells spills spins spits splits spreads
34
+ springs sprouts spruces squares squeezes squirts
35
+ staggers stamps stars starves steams sticks stiffens
36
+ stirs stocks storms straightens stretches strikes strips
37
+ sucks sums swells swings switches tallies tangles
38
+ tapers thickens thins ticks tidies tightens tips tires
39
+ tones topples tosses trails treads trims trips tucks
40
+ tunes twists types wakes warms weaves weeds weighs
41
+ whips whoops winds wins wipes works wraps
@@ -0,0 +1,17 @@
1
+ auctioned bandied barred battened blocked blotted
2
+ blurted boarded booked booted bottled bundled buttered
3
+ caged carried carted chalked chased chucked cleaned
4
+ cluttered covered cranked dammed dished divided doled
5
+ dredged dumped egged eked factored faxed flung flinged
6
+ fixed
7
+ fobbed gouged hammed hashed hoisted jacked jazzed
8
+ jotted kicked killed laid lifted linked loaded locked
9
+ lopped mailed mapped marked meted mixed mulled mussed
10
+ nailed palmed patched paved penned phased phoned picked
11
+ pieced pinned plugged pricked propped punched pushed
12
+ racked reined rigged riled rinsed roughed
13
+ roughened saved scaled scared shored singled sized
14
+ skimmed smuggled sopped sorted spiced stacked staked
15
+ staved stringed strung stuffed sussed swept tacked
16
+ taped tided tied topped totaled touched toughened
17
+ tracked wadded washed wrung yanked zipped
@@ -0,0 +1,462 @@
1
+ = RwdTinker framework for RubyWebDialogs
2
+
3
+ RwdTinker is a web brower interface to and system for developing programs
4
+
5
+ == Usage
6
+
7
+ How to Use the Tinker framework Program (rwdtinker)
8
+
9
+ 1. stand alone application
10
+ 2. framework for building applications
11
+ 3. Open brower windows with html documents
12
+
13
+ The GUI interface used is RubyWebDialogs
14
+
15
+
16
+ Start the program by typing
17
+ ruby init.rb
18
+
19
+ Then point your web browser to:
20
+ http://localhost:7705/
21
+
22
+ Change language at:
23
+
24
+ configuration/language.dist
25
+
26
+ Change to Windows XP directory structure at:
27
+ configuration/tinkerwin2variables.dist
28
+
29
+ == Viewing installed Applets:
30
+
31
+ Go to "List Scripts" tab
32
+
33
+ You can get a list of all installed applets by clicking the listfiles button
34
+
35
+ To see the text of a install file
36
+ Type in the name of the file you want.
37
+
38
+ type it without the inf ending
39
+ rwdapplet-0.1
40
+
41
+ Then click the "View Installed File" button
42
+
43
+ If it finds the file it will open it. It displays the text the search box.
44
+
45
+ You can uninstall applets on this screen
46
+
47
+ == Installing Applets
48
+
49
+ click on the "Selection Panel"
50
+ click on Rwdtinker Back Window
51
+
52
+ You can download an applet created by someone else
53
+ put the file in the zips directory
54
+
55
+ click on the "list zips" tab
56
+ click on "list applets available for installing"
57
+
58
+ chose the applet you want
59
+ click on "install applet"
60
+ If all goes well the applet should be installed.
61
+ You will need to restart rwdtinker to see the new screens
62
+
63
+
64
+ == Changing configuration file
65
+
66
+ click on "Edit Configuration"
67
+ You can view the configuration file
68
+
69
+ You can edit the configuration
70
+
71
+ Remember to reload the configuration variables if you want your
72
+ changes used.
73
+
74
+ == Manually installing applets
75
+
76
+ * unzip an applet
77
+
78
+ unzip the applet into the program directoy
79
+ unzip randomapplet.zip
80
+
81
+ This should place the needed files in the correct directories
82
+
83
+
84
+ == Creating Applets
85
+
86
+ To add code, commands and gui tabs
87
+
88
+ Move program files into a directory under the code directory.
89
+ Move gui files into a directory under the gui directory.
90
+ The gui directory name you create is important, because the gui
91
+ rwd file is built in alpha order by directory name
92
+
93
+
94
+ There are two ways to add applets to the directories.
95
+
96
+ Creating code
97
+
98
+
99
+ * Manually write code and gui files
100
+
101
+ The files go into your code directory
102
+ the filenames for code do not matter
103
+
104
+ The gui files go into your gui directory
105
+ The gui files need to be in order by name and end with .rwd
106
+
107
+
108
+
109
+ If you need a config file that goes in the configuration directory
110
+
111
+ internationalization and localization are helped by replacing the
112
+ gui files in the subdirectories under gui
113
+
114
+
115
+ == Documents
116
+
117
+
118
+ when you click on a document name, the document should pop up in a
119
+ browser window, or in another browser tab.
120
+
121
+ To exit, press the x inside the browser window.
122
+
123
+ == To add context sensitive help
124
+
125
+ You need to add a hash file that just needs to contain
126
+ Helptext.update( :myapplet_generalhelp => " This is the general help
127
+ You can add help text hear")
128
+
129
+ And you need to add a help run script that will call runhelpwindow
130
+ This should have a method that includes:
131
+ setting $help_topic, and adds to $helptopicsarray, saves the calling window and calls runhelpwindow which will render the help message.
132
+
133
+ if @rwd_tab == "gemservescan"
134
+ $help_topic = "gemdocs_help"
135
+ end
136
+ $helptopicsarray = $helptopicsarray | ["rubyslippers_generalhelp", "Install_Gem","GemCommands_help", "gemfilesinstalled","gemdocs_help"]
137
+ if @rwd_window != "rwdtinkerhelpwindow"
138
+ $previouswindow = @rwd_window
139
+ $previoustab = @rwd_tab
140
+ end
141
+ runhelpwindow
142
+ end
143
+
144
+ == Languages
145
+
146
+
147
+ You can add tranlations in the lang subdirectory
148
+ You change the $lang constant in Tinker config file in the configuration directory
149
+ You can see one translation on the install applet tab, after you have installed and applet
150
+
151
+ == Using over a Network
152
+
153
+ To serve the application over your local LAN,change the last line in the
154
+ init.rb file to something like:
155
+ RwdTinker.file(RWDFile).serve(8080, "-r" ? ".rwduids" : nil)
156
+ Then you should be able to login at: http://yourhostname:8080
157
+
158
+ You have to authorize yourself. The .rwuids example is a string with
159
+ the name of the authorization file, relative to the home directory
160
+ of the user that started the service. This file has to be in the form of:
161
+
162
+ user1 = password
163
+ user2 = pass phrase
164
+
165
+ Thus the file .rwduids might contain:
166
+
167
+ erik = secret
168
+
169
+ == Requirements:
170
+ RubyWebDialogs - I am using 0.1.2
171
+ This package you downloaded should have a runtime version of
172
+ the needed rubywebdialog files
173
+
174
+ Ruby I am using version 1.8.2
175
+
176
+ I have tested this under Linux-Debian kernel 2.6.9
177
+
178
+ = Operation:
179
+ The code files reside in the code directory and are combined before
180
+ the main Class is loaded
181
+
182
+ The rwd files in gui are combined before the gui is activated
183
+
184
+ Translated text reside in the lang directory
185
+
186
+ == Installing:
187
+
188
+ untar the file
189
+ tar zxvf rwdtinker-x.y.tar.gz
190
+ then cd to the directory
191
+ cd rwdshell-x.y
192
+ then start the init.rb program file
193
+ ruby init.rb
194
+ Then point your browser at http://localhost:7705
195
+ or where it tells you.
196
+ Trouble shooting:
197
+
198
+ If the program is not working, try looking at the ev subdirectory. That is where
199
+ the runtime of rubywebdialogs are.
200
+
201
+ for long term installation, I would suggest putting most files in a lib directory
202
+ like /usr/lib/rwdshell
203
+ then make a writable directory the local directory for command files to be written
204
+ like ~/rwdshell
205
+
206
+
207
+ Closing the browser doesn't terminate the application. You have to use the application's close-button And terminating the application doesn't terminate the application when running in network mode. You just log out.
208
+
209
+ Don't use the back-button of the browser! Strange and unpredictable things may and will happen!
210
+
211
+ RubyWebDialogs is a platform independent graphical user interface for Ruby applications. It generates HTML and serves it with an internal HTTP server, so you can use your favorite web browser as the front end for your Ruby application. All this means, that it can be used on almost every platform, like Ruby itself. http://www.erikveen.dds.nl/rubywebdialogs/
212
+
213
+ == Credits
214
+
215
+ Thanks go to:
216
+
217
+ * Matz, for creating Ruby in the first place.
218
+ * Erik, for creating RubyWebDialogs.
219
+ * Charlotte, my wife for coming up for the name Tinker.
220
+
221
+ == License
222
+
223
+ rwdtinker is copyright (c) 2004 Steven Gibson. It is free software, and may be redistributed
224
+ under the terms of the GPL licence:
225
+
226
+ == Contact
227
+ For more information see:
228
+ http://rwdapplications.rubyforge.org/wiki/wiki.pl
229
+
230
+
231
+ For more information about RubyWebDialogs see:
232
+ http://www.erikveen.dds.nl/rubywebdialogs/index.html
233
+
234
+ Thanks, Steven Gibson
235
+
236
+ == Changelog
237
+ Version 1.73
238
+ more debug info in initiateapplet
239
+ remove gutenberg lang translations
240
+ correct gui building error recovery
241
+
242
+ Version 1.72
243
+ additional cleanup for live applet add and removal
244
+ after applet removal focus returns to proper tab
245
+ error messages are reduced unless $DEBUG=true
246
+
247
+ Version 1.70
248
+ major update to applet loading routines
249
+ a properly prepared applet should be loadable and unloadable live with not restarting
250
+ localization is not yet updated in live applet loading
251
+ remove network line debugging output
252
+
253
+ Version 1.69
254
+ More work on translations - Spanish almost done
255
+ removed remote control
256
+
257
+ Version 1.68
258
+ updated to newest Ruby webdialogs
259
+
260
+ Version 1.67
261
+ Add html for help
262
+
263
+ Version 1.66
264
+ Fixed directory layout
265
+ increased size of config edit screen
266
+
267
+ Version 1.65
268
+ Changed documents listing screen - now using hash
269
+ Changed helpabout screen - now using hash
270
+ added more lines for config edit
271
+ added help about to back window
272
+
273
+ Version 1.64
274
+ fixed jump with no location
275
+
276
+ Version 1.63
277
+ changed handling of application name returned
278
+ added jump seletion options
279
+ added some unit tests
280
+
281
+ version 1.62
282
+ improve distro release script
283
+ code cleanup
284
+ removed redundent network code
285
+ change handling of window and tab jumps
286
+
287
+ version 1.61
288
+ add in test harness
289
+ rwdtinkerwin2 help about removed
290
+ load main config file in init.rb
291
+
292
+ version 1.60
293
+ add rwdapplication info to diagnostic
294
+ turn rescue on in diagnostic upload
295
+
296
+ version 1.59
297
+ removed rwdtinkerwin2 inf file
298
+ refactored diagnotic page - one button to see all information
299
+ added bug report upload to diagnostic page
300
+
301
+ version 1.58
302
+ check for zlib
303
+ check for files to delete
304
+
305
+ version 1.57
306
+ added rconftool use to update configuration files
307
+ changed applets remove to not used external rm
308
+
309
+ version 1.56
310
+ refactored gui files to load without intermediate files
311
+ refactored code files to load without intermediate files
312
+
313
+ version 1.55
314
+ refactored language files to load without intermediate files
315
+ refactored language files to load without intermediate files
316
+
317
+ version 1.54
318
+ refactored rwdtinker applet installation tab - remote gem and local installs share menu buttons
319
+ corrected some program logic errors in remote control code including close socket
320
+
321
+ version 1.53
322
+ added search of Gems repository for rwdtinker gems
323
+ download and install of Gems
324
+
325
+ version 1.52
326
+ added function to install applets from gem directory
327
+
328
+ version 1.51
329
+ changed return to main
330
+ changed configuration of remote ports
331
+ updated context sensitive help
332
+
333
+ version 1.50
334
+ changed unzip applet to be internal code - no exec to unzip program
335
+ changed order of tabs on back window - list applets now first
336
+ added rwdwcalc applet in to zips directory
337
+ changed width of text fields with help from RubyWebDialogs author
338
+ changed listing of help options, vertical instead of horizontal
339
+
340
+ version 1.49
341
+ added demon function for remote queries
342
+ startup application on first available port
343
+
344
+ version 1.48
345
+ fix in context sensitive help so that applets can use it better
346
+
347
+ version 1.47
348
+ change to context sensitive help
349
+
350
+ version 1.46
351
+ more work on context help
352
+ window calls point to tab as well as windows
353
+ help added help buttons on Document, Selection, View Applet, tabs
354
+
355
+ version 1.45
356
+ first steps toward context sensitive help
357
+ added help button on main window/tab
358
+
359
+ version 1.44
360
+ updated directory structure - refactored gui files
361
+ Changed gui directory names - more like Java package titles
362
+
363
+ version 1.43
364
+ changed setup variables file for live changes
365
+ added editing and reloading of config file
366
+ added unzip filename to config file
367
+
368
+ version 1.42
369
+ update for live update system
370
+ update applets for live update
371
+ code file name cleanup
372
+
373
+ version 1.41
374
+ l10n work es,nl, jp
375
+ separated out languge.cnf
376
+ added zip applets refreshacpi, rwdcalc
377
+
378
+ version 1.40
379
+ removed extra lines from init.rb
380
+ fixed help second window
381
+ added some tranlations for Spanish
382
+ More work on l10n
383
+
384
+ version 1.3
385
+ refactored gui files to do easier i10n
386
+ removed lang directories under gui
387
+ added lang files under lang dir
388
+ removed redundant code files left from moving applet handling to back window
389
+ removed zipped applets not yet refactored
390
+
391
+ version 1.24
392
+ added internet usage instructions to HowTo_Tinker.txt
393
+ removed HowTo_Tinker.html
394
+ added panels for Helpabout
395
+ changed photo logo tab to only have embedded picture, no button
396
+
397
+ version 1.23
398
+ moving diagnostic tab and applet handling tabs to second window
399
+ added selection panel tab to choose secondary windows.
400
+
401
+ version 1.21
402
+ changing version on help screen to be button
403
+ added version window
404
+ added diagnostic tab
405
+
406
+ version 1.2
407
+ added gemspec for creating a rwdtinker.gem
408
+ added rdoc comments
409
+ changed order on remove applets tab
410
+
411
+ version 1.1
412
+ changed order of elements on install applet tab
413
+ Add more i81n ablility - added lang directorys for language hash files
414
+ added in test file using WATIR stands for "Web Application Testing In Ruby,
415
+
416
+ version 1.0
417
+ Improved name selection in zips and applet screens
418
+ added rubyslippers applet and rwdrefreshacpi applets as zips
419
+
420
+ version 0.9
421
+ Fixed bug introduced in 0.8 - code files not sorted correctly - class end was not in correct location
422
+ updated RubyWebDialogs for people who do not have it installed
423
+ added rwdschedule applet as zip file
424
+
425
+ version 0.8
426
+ changed location of code files
427
+ only directory of code files needs to be added to inf file
428
+ changed location of gui files
429
+ only directory of gui files needs to be added to inf file
430
+ Added constants in conf file for code location and gui location
431
+ removed all zips not yt updated to new directory layout
432
+ change loading of conf files to not need intermediate file
433
+ and favicon.ico
434
+
435
+ version 0.7
436
+ moved changelog to HowTo_Tinker.html
437
+ copied english gui text to the dirs I think we should translate to
438
+ update backup zip files to newest versions
439
+ upgraded the ev directory - for those who don't have RubyWebDialogs
440
+
441
+ version 0.6
442
+ updated version number
443
+ changed merge name to rwdtinker.rb
444
+
445
+ version 0.4
446
+ added zip listing and installing - Linux only
447
+
448
+ Version 0,3
449
+ changed name to Tinker
450
+
451
+ Version 0.2
452
+ added some i18n directories for the gui files
453
+
454
+ Version 0.1
455
+ first public version released
456
+ includes document screen
457
+ Open Photo screen
458
+ included configuration directory
459
+ zips directories
460
+ installed directory
461
+ installed applet lister
462
+