rwdschedule 0.6 → 0.07
Sign up to get free protection for your applications and to get access to all the features.
- data/Readme.txt +435 -17
- data/bin/rwdschedule +0 -0
- data/code/01rwdcore/01rwdcore.rb +29 -0
- data/code/01rwdcore/02helptexthashbegin.rb +16 -0
- data/code/01rwdcore/03helptexthash.rb +21 -0
- data/code/01rwdcore/jumplinkcommand.rb +36 -0
- data/code/01rwdcore/openhelpwindow.rb +38 -0
- data/code/01rwdcore/returntomain.rb +10 -0
- data/code/01rwdcore/rundocuments.rb +10 -0
- data/code/01rwdcore/runeditconfiguration.rb +10 -0
- data/code/01rwdcore/runhelpabout.rb +15 -0
- data/code/01rwdcore/runopentinkerdocument.rb +7 -0
- data/code/01rwdcore/runtab.rb +15 -0
- data/code/01rwdcore/rwdtinkerversion.rb +22 -0
- data/code/01rwdcore/rwdwindowreturn.rb +9 -0
- data/code/01rwdcore/selectiontab.rb +11 -0
- data/code/01rwdcore/setuphelpaboutoptions.rb +15 -0
- data/code/01rwdcore/setuptinkerdocuments.rb +7 -0
- data/code/01rwdcore/test_cases.rb +158 -0
- data/code/01rwdcore/test_harness.rb +20 -0
- data/code/01rwdcore/uploadreturns.rb +65 -0
- data/code/dd0viewphoto/dd0viewphoto.rb +5 -0
- data/code/superant.com.rwdcalendar/gh9calendar.rb +40 -0
- data/code/superant.com.rwdcalendar/helptexthashrwdschedule.rb +14 -0
- data/code/superant.com.rwdcalendar/openhelpwindowrwdschedule.rb +17 -0
- data/code/superant.com.rwdtinkerbackwindow/changelocale.rb +84 -0
- data/code/superant.com.rwdtinkerbackwindow/diagnostictab.rb +19 -0
- data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +169 -0
- data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +38 -0
- data/code/superant.com.rwdtinkerbackwindow/installremotegem.rb +20 -0
- data/code/superant.com.rwdtinkerbackwindow/listgemdirs.rb +12 -0
- data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +55 -0
- data/code/superant.com.rwdtinkerbackwindow/listinstalledfiles.rb +14 -0
- data/code/superant.com.rwdtinkerbackwindow/listzips.rb +37 -0
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +24 -0
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb +14 -0
- data/code/superant.com.rwdtinkerbackwindow/network.rb +87 -0
- data/code/superant.com.rwdtinkerbackwindow/openappletname.rb +19 -0
- data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +40 -0
- data/code/superant.com.rwdtinkerbackwindow/remotegemlist.rb +24 -0
- data/code/superant.com.rwdtinkerbackwindow/removeapplet.rb +46 -0
- data/code/superant.com.rwdtinkerbackwindow/removeappletvariables.rb +52 -0
- data/code/superant.com.rwdtinkerbackwindow/runremoteinstall.rb +11 -0
- data/code/superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb +15 -0
- data/code/superant.com.rwdtinkerbackwindow/rwdtinkerwin2version.rb +13 -0
- data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +19 -0
- data/code/superant.com.rwdtinkerbackwindow/showlocaleoptions.rb +9 -0
- data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +23 -0
- data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +24 -0
- data/code/superant.com.rwdtinkerbackwindow/viewlogfile.rb +16 -0
- data/code/superant.com.schedule/0uninstallapplet.rb +24 -0
- data/code/superant.com.schedule/archiveevent.rb +14 -0
- data/code/superant.com.schedule/archiveicsevent.rb +14 -0
- data/code/superant.com.schedule/cleareventscreendisplay.rb +19 -0
- data/code/{gg0schedules → superant.com.schedule}/deleteeventrecord.rb +18 -18
- data/code/superant.com.schedule/deleteicseventrecord.rb +19 -0
- data/code/superant.com.schedule/deleterwdscheduleupdatefiles.rb +20 -0
- data/code/superant.com.schedule/downloadrwdschedulefiles.rb +37 -0
- data/code/superant.com.schedule/exporticseventrecord.rb +97 -0
- data/code/superant.com.schedule/helptexthashload.rb +22 -0
- data/code/{gg0schedules/gh5listdaterecords.rb → superant.com.schedule/listeventdates.rb} +18 -18
- data/code/superant.com.schedule/listicseventdates.rb +19 -0
- data/code/superant.com.schedule/loadconfigurationrecord.rb +22 -0
- data/code/superant.com.schedule/loadconfigurationvariables.rb +14 -0
- data/code/superant.com.schedule/loadeventrecord.rb +38 -0
- data/code/{gg0schedules/loadeventrecord.rb → superant.com.schedule/loadicseventrecord.rb} +29 -29
- data/code/superant.com.schedule/openhelpwindowrwdschedule.rb +43 -0
- data/code/{gg0schedules → superant.com.schedule}/renameeventdata.rb +10 -10
- data/code/superant.com.schedule/renameicseventdata.rb +17 -0
- data/code/superant.com.schedule/returntomain.rb +10 -0
- data/code/superant.com.schedule/runrwdscheduleicsbackwindow.rb +10 -0
- data/code/superant.com.schedule/runrwdschedulemenu1.rb +34 -0
- data/code/superant.com.schedule/runrwdschedulesyncbackwindow.rb +10 -0
- data/code/superant.com.schedule/rwdversion.rb +10 -0
- data/code/superant.com.schedule/saveconfigurationrecord.rb +19 -0
- data/code/{gg0schedules/gg9saveeventchanges.rb → superant.com.schedule/saveeventrecord.rb} +25 -18
- data/code/superant.com.schedule/saveicseventrecord.rb +98 -0
- data/code/superant.com.schedule/syncrwdschedule.rb +30 -0
- data/code/superant.com.schedule/test_cases.rb +45 -0
- data/code/superant.com.schedule/uploadrwdschedulefiles.rb +30 -0
- data/code/{gg0schedules/gg0viewevent.rb → superant.com.schedule/viewevent.rb} +20 -20
- data/code/superant.com.schedule/viewicsevent.rb +20 -0
- data/code/superant.com.schedule/viewrwdschedulesconfiguration.rb +21 -0
- data/code/zz0applicationend/zz0end.rb +2 -1
- data/configuration/rwdtinker.dist +15 -0
- data/configuration/rwdwschedule.dist +28 -0
- data/configuration/tinkerwin2variables.dist +23 -0
- data/gui/00coreguibegin/applicationguitop.rwd +9 -0
- data/gui/frontwindow0/cc0openphoto.rwd +22 -0
- data/gui/frontwindowselections/00selectiontabbegin.rwd +11 -0
- data/gui/frontwindowselections/jumplinkcommands.rwd +15 -0
- data/gui/{lz1selectiontabend/endselectiontab.rwd → frontwindowselections/wwselectionend.rwd} +0 -0
- data/gui/frontwindowtdocuments/00documentbegin.rwd +6 -0
- data/gui/frontwindowtdocuments/tinkerdocuments.rwd +14 -0
- data/gui/frontwindowtdocuments/zzdocumentend.rwd +8 -0
- data/gui/{wz6finaltabs/xx0rwdfirsttab.rwd → helpaboutbegin/zzzrwdlasttab.rwd} +0 -0
- data/gui/helpaboutbegin/zzzzhelpscreenstart.rwd +3 -0
- data/gui/helpaboutbegin/zzzzzzhelpabouttab.rwd +15 -0
- data/gui/{yy5helpaboutend → helpaboutzend}/helpscreenend.rwd +0 -0
- data/gui/helpaboutzend/zhelpscreenstart2.rwd +3 -0
- data/gui/helpaboutzend/zzzzhelpabout2.rwd +15 -0
- data/gui/helpaboutzend/zzzzhelpscreen2end.rwd +3 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/1appname.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/20downloadftp.rwd +45 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/67viewconfiguration.rwd +29 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/70rwddiagnostics.rwd +16 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/m01menubegin.rwd +18 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/zvbackend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedules/1appname.rwd +5 -0
- data/gui/{gg0schedules → tinkerbackwindows/superant.com.rwdschedules}/gg0viewevent.rwd +27 -27
- data/gui/tinkerbackwindows/superant.com.rwdschedules/gl6editrecord.rwd +56 -0
- data/gui/{gg0schedules → tinkerbackwindows/superant.com.rwdschedules}/gl8contactutilities.rwd +25 -24
- data/gui/tinkerbackwindows/superant.com.rwdschedules/hl9calendar.rwd +27 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedules/m01menubegin.rwd +18 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedules/zvbackend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulesback/1appname.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulesback/30viewevent.rwd +27 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulesback/40editrecord.rwd +49 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulesback/60eventicsutilities.rwd +25 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulesback/m01menubegin.rwd +18 -0
- data/gui/tinkerbackwindows/superant.com.rwdschedulesback/zvbackend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/1appname.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40rwdlistzips.rwd +41 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/45installremotezip.rwd +44 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd +44 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +30 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd +29 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdlogfile.rwd +20 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/80localechanger.rwd +17 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd +17 -0
- data/gui/{xb1rwdtinkerbackwindow → tinkerbackwindows/superant.com.tinkerbackwindow}/9backend.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd +31 -0
- data/gui/{xa5rwdtinkercallablewindow → tinkerbackwindows/superant.com.tinkerhelpwindow}/9end.rwd +0 -0
- data/gui/{xa1versionwindow → tinkerbackwindows/superant.com.versionwindow}/1appname.rwd +2 -2
- data/gui/tinkerbackwindows/superant.com.versionwindow/helpaboutwindow.rwd +17 -0
- data/gui/{za1applicationend → zzcoreguiend}/yy9rwdend.rwd +0 -0
- data/init.rb +144 -198
- data/installed/rwdscheduledate2.inf +6 -0
- data/installed/rwdwschedule.inf +20 -0
- data/{lib → installed}/temp.rb +0 -0
- data/lang/en/rwdcalendar/en.po +32 -0
- data/lang/en/rwdcore/en.po +197 -0
- data/lang/es/rwdcalendar/es.po +10 -0
- data/lang/es/rwdcore/es.po +184 -0
- data/lang/fr/rwdcalendar/fr.po +11 -0
- data/lang/fr/rwdcore/fr.po +169 -0
- data/lang/hi/rwdcalendar/hi.po +11 -0
- data/lang/hi/rwdcore/hi.po +173 -0
- data/lang/ja/rwdcalendar/ja.po +11 -0
- data/lang/ja/rwdcore/ja.po +171 -0
- data/lang/nl/rwdcalendar/nl.po +12 -0
- data/lang/nl/rwdcore/nl.po +169 -0
- data/{extras → lib}/cal.rb +158 -166
- data/lib/icalendar/base.rb +17 -0
- data/lib/icalendar/calendar.rb +44 -0
- data/lib/icalendar/calendar_parser.rb +237 -0
- data/lib/icalendar/component/alarm.rb +16 -0
- data/lib/icalendar/component/event.rb +25 -0
- data/lib/icalendar/component/freebusy.rb +12 -0
- data/lib/icalendar/component/journal.rb +25 -0
- data/lib/icalendar/component/timezone.rb +26 -0
- data/lib/icalendar/component/todo.rb +21 -0
- data/lib/icalendar/component.rb +91 -0
- data/lib/icalendar/helpers.rb +103 -0
- data/lib/icalendar/parameter.rb +25 -0
- data/lib/icalendar.rb +18 -0
- data/lib/rconftool.rb +387 -0
- data/{ev → lib/rwd}/browser.rb +26 -12
- data/{ev → lib/rwd}/ftools.rb +23 -19
- data/lib/rwd/mime.rb +328 -0
- data/{ev → lib/rwd}/net.rb +172 -45
- data/{ev → lib/rwd}/ruby.rb +97 -27
- data/{ev → lib/rwd}/rwd.rb +245 -668
- data/{ev → lib/rwd}/sgml.rb +2 -2
- data/{ev → lib/rwd}/thread.rb +1 -1
- data/{ev → lib/rwd}/tree.rb +35 -7
- data/lib/rwd/xml.rb +101 -0
- data/lib/rwdthemes/default.rwd +317 -0
- data/lib/rwdthemes/pda.rwd +72 -0
- data/lib/rwdthemes/windowslike.rwd +171 -0
- data/lib/rwdtinker/rwdcodedir.rb +56 -0
- data/lib/rwdtinker/rwdguidir.rb +57 -0
- data/lib/rwdtinker/rwdlangdir.rb +60 -0
- data/lib/rwdtinker/rwdtinkertools.rb +25 -0
- data/lib/zip/ioextras.rb +155 -0
- data/lib/zip/stdrubyext.rb +111 -0
- data/lib/zip/tempfile_bugfixed.rb +195 -0
- data/lib/zip/zip.rb +1847 -0
- data/lib/zip/zipfilesystem.rb +609 -0
- data/lib/zip/ziprequire.rb +90 -0
- data/rwd_files/HowTo_Schedule.txt +259 -82
- data/rwd_files/HowTo_Tinker.txt +274 -35
- data/rwd_files/{rwdindex.html → RubyWebDialogs.html} +0 -0
- data/rwd_files/Tinkerhelptexthash.txt +84 -0
- data/rwd_files/log/rwdtinker.log +2 -0
- data/rwd_files/rwdapplications.html +23 -1
- data/rwd_files/rwdschedulehelpfiles.txt +19 -0
- data/rwd_files/schedules/20050120T09.ics +9 -0
- data/rwd_files/schedules/200505may02a.sch +4 -0
- data/rwd_files/schedules/Enterprise.ics +411 -0
- data/rwd_files/schedules/US Holidays.ics +575 -0
- data/rwd_files/schedules/archive/sample.archive +1 -0
- data/rwd_files/schedules/testics05.ics +11 -0
- data/rwd_files/tinker.png +0 -0
- data/rwdconfig.dist +24 -0
- data/rwdschedule.rb +1 -0
- data/tests/RubyGauge.rb +179 -0
- data/tests/checkdepends.sh +4 -0
- data/tests/cleancnf.sh +6 -0
- data/tests/makedist-rwdwhypernote.rb +56 -0
- data/tests/makedist.rb +66 -0
- data/tests/rdep.rb +354 -0
- data/updates/temp.rb +1 -0
- data/zips/rwdwcalc-0.63.zip +0 -0
- data/zips/rwdwfoldeditor-0.07.zip +0 -0
- data/zips/rwdwhypernote-0.16.zip +0 -0
- data/zips/rwdwmovies-0.98.zip +0 -0
- data/zips/rwdwruby-1.08.zip +0 -0
- data/zips/rwdwschedule-1.07.zip +0 -0
- data/zips/temp.rb +1 -0
- data/zips/tinkerbellw-0.04.zip +0 -0
- data/zips/wrubyslippers-1.08.zip +0 -0
- metadata +279 -139
- data/code/ag1core/aa0begin.rb +0 -18
- data/code/ag1core/rwdtinkerversion.rb +0 -15
- data/code/gg0schedules/gl7clearscreendisplay.rb +0 -15
- data/code/gg0schedules/gm3deletecontactrecord.rb +0 -24
- data/code/gg0schedules/rwdaddresseshelpabout.rb +0 -14
- data/code/gg0schedules/rwdschedulehelpabout.rb +0 -14
- data/code/gh9calendar/gh9calendar.rb +0 -16
- data/code/xa5rwdtinkercallable/callable.rb +0 -13
- data/code/xb1rwdtinkerbackwindow/05listinstalledfiles.rb +0 -11
- data/code/xb1rwdtinkerbackwindow/diagnostictab.rb +0 -21
- data/code/xb1rwdtinkerbackwindow/ll1openname.rb +0 -18
- data/code/xb1rwdtinkerbackwindow/ll5listzips.rb +0 -14
- data/code/xb1rwdtinkerbackwindow/lm1installapplet.rb +0 -20
- data/code/xb1rwdtinkerbackwindow/mm1removeapplet.rb +0 -28
- data/code/xb1rwdtinkerbackwindow/rwdtinkerwin2version.rb +0 -14
- data/configuration/aa0rwdframework.cnf +0 -13
- data/configuration/ab1tinkerwin2.cnf +0 -4
- data/configuration/gg1rwdschedule.cnf +0 -3
- data/configuration/gh1rwdcalendar.cnf +0 -27
- data/ev/xml.rb +0 -4
- data/gui/aa2core/aa0rwdtop.rwd +0 -4
- data/gui/gg0schedules/gl6editrecord.rwd +0 -36
- data/gui/hl9calendar/hl9calendar.rwd +0 -20
- data/gui/ll1selectiontabbegin/selectiontabbegin.rwd +0 -16
- data/gui/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +0 -12
- data/gui/tt0documentsbegin/tt0documentbegin.rwd +0 -6
- data/gui/uu5rwddocuments/uu5documents.rwd +0 -15
- data/gui/uu6rwdtinkerwin2documents/uu5documents.rwd +0 -6
- data/gui/uu8schedule/uu8doc_rwdschedule.rwd +0 -5
- data/gui/ww0documentsend/ww0documentend.rwd +0 -7
- data/gui/xa5rwdtinkercallablewindow/1appname.rwd +0 -17
- data/gui/xb1rwdtinkerbackwindow/1appname.rwd +0 -5
- data/gui/xb1rwdtinkerbackwindow/2tab1.rwd +0 -11
- data/gui/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +0 -33
- data/gui/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +0 -44
- data/gui/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +0 -35
- data/gui/ya1helpaboutbegin/ya0helpscreenstart.rwd +0 -3
- data/gui/yg5rwdhelpabout/1appname.rwd +0 -4
- data/gui/yg5rwdhelpabout/3copyright.rwd +0 -3
- data/gui/yg5rwdhelpabout/5version.rwd +0 -10
- data/gui/yg6rwdwin2helpabout/1appname.rwd +0 -4
- data/gui/yg6rwdwin2helpabout/3copyright.rwd +0 -3
- data/gui/yg6rwdwin2helpabout/5version.rwd +0 -10
- data/gui/yh1helpschedule/1rwdschedule.rwd +0 -6
- data/gui/yh1helpschedule/5version.rwd +0 -9
- data/installed/rwdcalendar-0.4.inf +0 -6
- data/installed/rwdschedule-0.5.inf +0 -7
- data/installed/rwdtinkerwin2-0.5.inf +0 -8
- data/installed/schedulesampledata1.inf +0 -3
- data/lang/alanguagehashbegin.rb +0 -4
- data/lang/en/rwdcore/languagefile.rb +0 -7
- data/lang/es/rwdcore/languagefile.rb +0 -3
- data/lang/languagehash.rb +0 -4
- data/lang/nl/rwdcore/languagefile.rb +0 -4
- data/lang/templangfile.rb +0 -7
- data/lang/vlanguagehashend.rb +0 -6
- data/lang/wlocallangstart.rb +0 -5
- data/lang/xlocallangfile.rb +0 -7
- data/lang/zlocallangend.rb +0 -2
- data/rwd_files/HowTo_Shell.txt +0 -97
- data/schedules/200501january23CharlotteB-Day.sch +0 -8
- data/schedules/200501january24jazzfuller.sch +0 -8
- data/tests/rubyslippers-0.92.gemspec +0 -17
- data/tests/rwdtinker-1.2.gemspec +0 -17
- data/tests/rwdtinkertestEN.rb +0 -87
- data/tests/temptest.out +0 -18
- data/zips/rwdhelloworld-0.3.zip +0 -0
- data/zips/rwdwshell-0.91.zip +0 -0
- data/zips/wrubyslippers-0.93.zip +0 -0
@@ -0,0 +1,31 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<window name = \"rwdtinkerhelpwindow\" title=#{Message[:rwdtinker_help]}>
|
4
|
+
<horizontal>
|
5
|
+
%rwdhelptopic%
|
6
|
+
</horizontal>
|
7
|
+
|
8
|
+
<table>
|
9
|
+
<row> <p></row>
|
10
|
+
|
11
|
+
</table>
|
12
|
+
<horizontal>
|
13
|
+
%%rwdhelpdataoutput%%
|
14
|
+
</horizontal>
|
15
|
+
<row> <p></row>
|
16
|
+
<table>
|
17
|
+
|
18
|
+
|
19
|
+
<row> <p></row>
|
20
|
+
</table>
|
21
|
+
<horizontal>
|
22
|
+
|
23
|
+
<button caption=\"Return\" action=\"rwdwindowreturn\"/>
|
24
|
+
</horizontal>
|
25
|
+
<table>
|
26
|
+
<row> <p></row>
|
27
|
+
|
28
|
+
</table>
|
29
|
+
|
30
|
+
%%rwdhelpsubchoicesoutput%%
|
31
|
+
"
|
data/gui/{xa5rwdtinkercallablewindow → tinkerbackwindows/superant.com.tinkerhelpwindow}/9end.rwd
RENAMED
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
$rwdguivar=
|
2
2
|
"
|
3
|
-
<window name = \"applicationversion\" title
|
3
|
+
<window name = \"applicationversion\" title=#{Message[:application_version]}>
|
4
4
|
|
5
5
|
<row> <p></row>
|
6
6
|
<p>%versionappnamedisplay%</p>
|
@@ -11,7 +11,7 @@ $rwdguivar=
|
|
11
11
|
<p>%versionnumberdisplay%</p>
|
12
12
|
|
13
13
|
<horizontal>
|
14
|
-
|
14
|
+
<button caption=#{Message[:return]} action=returntomain/>
|
15
15
|
</horizontal>
|
16
16
|
|
17
17
|
</window>"
|
@@ -0,0 +1,17 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<window name=tinkerhelpabout title=#{Message[:help_about]}>
|
4
|
+
<horizontal>
|
5
|
+
<button caption=#{Message[:showhelpabout_links]} action=\"setuphelpaboutoptions\"/>
|
6
|
+
|
7
|
+
</horizontal>
|
8
|
+
<table>
|
9
|
+
<select name=\"a_helpaboutinput\"> %%helpaboutoptions%% </select>
|
10
|
+
|
11
|
+
</table>
|
12
|
+
|
13
|
+
<horizontal>
|
14
|
+
<button caption=#{Message[:openselectedhelp_about]} action=\"runrwdtinkerversion\"/>
|
15
|
+
</horizontal>
|
16
|
+
</window>
|
17
|
+
"
|
File without changes
|
data/init.rb
CHANGED
@@ -18,216 +18,162 @@
|
|
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
|
-
require
|
24
|
+
require 'logger'
|
25
|
+
|
26
|
+
LogDirectory = 'rwd_files/log/'
|
27
|
+
logfilelocation = File.join(LogDirectory, 'rwdtinker.log')
|
28
|
+
|
29
|
+
$rwdtinkerlog = Logger.new( logfilelocation , 'weekly' )
|
30
|
+
$rwdtinkerlog.level = Logger::INFO
|
31
|
+
|
32
|
+
require "lib/rwd/rwd"
|
25
33
|
require 'fileutils'
|
26
|
-
|
34
|
+
require 'lib/rconftool'
|
35
|
+
|
36
|
+
$KCODE = 'u'
|
37
|
+
require 'jcode'
|
38
|
+
|
27
39
|
$progdir = File::expand_path( File.dirname(__FILE__))
|
28
40
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
#loop through and get the files names
|
49
|
-
a.each do |x|
|
50
|
-
#adjust the filters to the files you want to see...
|
51
|
-
if(!test(?d,x))
|
52
|
-
# only rwd files
|
53
|
-
if x =~ /rb|rwd|txt/
|
54
|
-
load x #opens the file thats in fileName and reads it
|
55
|
-
$tempdoc += $rwdguivar # adds the file into the doc string
|
56
|
-
end
|
57
|
-
end
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
61
|
-
# Read in the configuration files
|
62
|
-
|
63
|
-
Dir.chdir("configuration") #changes the current working directory
|
64
|
-
|
65
|
-
fileList = Dir.new(".").entries.sort.reverse.delete_if { |x| ! (x =~ /cnf$/) } #creates an Array separated with \n
|
66
|
-
@doc = ""
|
67
|
-
fileList.length.times{ #opening of a block
|
68
|
-
fileName=fileList.pop #pops the first item out of the Array
|
69
|
-
load fileName #loads the the config file thats in fileName
|
41
|
+
tempdoc = " "
|
42
|
+
|
43
|
+
# integrate the new configuration files
|
44
|
+
MAINconfignew = "rwdconfig.cnf"
|
45
|
+
MAINconfigdist = "rwdconfig.dist"
|
46
|
+
Rconftool::install(MAINconfigdist,MAINconfignew)
|
47
|
+
|
48
|
+
#load main config file
|
49
|
+
load 'rwdconfig.cnf'
|
50
|
+
|
51
|
+
Dir.chdir("configuration") #changes the current working directory
|
52
|
+
|
53
|
+
fileList = Dir.new(".").entries.sort.reverse.delete_if { |x| ! (x =~ /dist$/) } #creates an Array separated with \n
|
54
|
+
@doc = ""
|
55
|
+
fileList.length.times{ #opening of a block
|
56
|
+
configdist =fileList.pop #pops the first item out of the Array
|
57
|
+
tempconfigfile = configdist.gsub(/\.dist$/, "")
|
58
|
+
confignew = tempconfigfile + ".cnf"
|
59
|
+
Rconftool::install(configdist,confignew) #integrates new file with old
|
70
60
|
} #closing block
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
@@tmproot = x + "/**"
|
85
|
-
#adds the new ones to the array
|
86
|
-
blanghash = Dir[@@tmproot].entries.sort
|
87
|
-
blanghash.each do |x|
|
88
|
-
if(test(?d,x))
|
89
|
-
alanghash.push(x) #appends to the end of the array...
|
90
|
-
end
|
91
|
-
end
|
92
|
-
end
|
93
|
-
end
|
94
|
-
alanghash.each do |x|
|
95
|
-
#if it is a file...
|
96
|
-
if(!test(?d,x))
|
97
|
-
alanghash.delete(x)
|
98
|
-
else #it is a directory...
|
99
|
-
findfiles(x + "/**")
|
100
|
-
end
|
101
|
-
end
|
61
|
+
# END of configuration integration
|
62
|
+
Dir.chdir($progdir)
|
63
|
+
|
64
|
+
# Read in the configuration files
|
65
|
+
Dir.chdir("configuration") #changes the current working directory
|
66
|
+
|
67
|
+
fileList = Dir.new(".").entries.sort.reverse.delete_if { |x| ! (x =~ /cnf$/) } #creates an Array separated with \n
|
68
|
+
@doc = ""
|
69
|
+
fileList.length.times{ #opening of a block
|
70
|
+
fileName=fileList.pop #pops the first item out of the Array
|
71
|
+
load fileName #loads the the config file thats in fileName
|
72
|
+
} #closing block
|
73
|
+
# END of configuration reading
|
102
74
|
|
103
|
-
fileLangHash=File.open(TempLangHashFile,"w") #deletes and opens a the file in fileName
|
104
|
-
fileLangHash.write($tempdoc) #writes the contents of doc into the file
|
105
|
-
fileLangHash.close
|
106
|
-
# END of Lang building
|
107
|
-
$tempdoc = " "
|
108
75
|
Dir.chdir($progdir) # change back to top program directory
|
109
|
-
|
110
|
-
# build the local Language hash file from the parts
|
111
|
-
startlangdir = @@langdir +"/" + $lang
|
112
|
-
#get a list of the files and subdirectories on the starting directory only
|
113
|
-
alanghash = Array.new(Dir[startlangdir].entries.sort)
|
114
|
-
#loop through the list, ignore the files and add all new directories found
|
115
|
-
alanghash.each do |x|
|
116
|
-
#if a directory...
|
117
|
-
if(test(?d,x))
|
118
|
-
# add to the original list of directories
|
119
|
-
@@tmproot = x + "/**"
|
120
|
-
#adds the new ones to the array
|
121
|
-
blanghash = Dir[@@tmproot].entries.sort
|
122
|
-
blanghash.each do |x|
|
123
|
-
if(test(?d,x))
|
124
|
-
alanghash.push(x) #appends to the end of the array...
|
125
|
-
end
|
126
|
-
end
|
127
|
-
end
|
128
|
-
end
|
129
|
-
alanghash.each do |x|
|
130
|
-
#if it is a file...
|
131
|
-
if(!test(?d,x))
|
132
|
-
alanghash.delete(x)
|
133
|
-
else #it is a directory...
|
134
|
-
findfiles(x + "/**")
|
135
|
-
end
|
136
|
-
end
|
137
76
|
|
138
|
-
filelocalLangHash=File.open(LocalLangHashFile,"w") #deletes and opens a the file in fileName
|
139
|
-
filelocalLangHash.write($tempdoc) #writes the contents of doc into the file
|
140
|
-
filelocalLangHash.close
|
141
77
|
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
fileLangA.close
|
156
|
-
}
|
157
|
-
|
158
|
-
Dir.chdir($progdir)
|
159
|
-
fileLangB=File.open(LangNameFile,"w") #deletes and opens a the file in fileName
|
160
|
-
fileLangB.write($tempdoc) #writes the contents of doc into the file
|
161
|
-
fileLangB.close
|
162
|
-
load LangNameFile # load the file
|
163
|
-
|
164
|
-
$tempdoc = " "
|
165
|
-
|
166
|
-
# build the actual program from the code parts
|
167
|
-
#get a list of the files and subdirectories on the starting directory only
|
168
|
-
a = Array.new(Dir[@@codedir].entries.sort)
|
169
|
-
#loop through the list, ignore the files and add all new directories found
|
170
|
-
a.each do |x|
|
171
|
-
#if a directory...
|
172
|
-
if(test(?d,x))
|
173
|
-
# add to the original list of directories
|
174
|
-
@@root = x + "/**"
|
175
|
-
#adds the new ones to the array
|
176
|
-
b = Dir[@@root].entries.sort
|
177
|
-
b.each do |x|
|
178
|
-
if(test(?d,x))
|
179
|
-
a.push(x) #appends to the end of the array...
|
180
|
-
end
|
181
|
-
end
|
182
|
-
end
|
183
|
-
end
|
184
|
-
a.each do |x|
|
185
|
-
#if it is a file...
|
186
|
-
if(!test(?d,x))
|
187
|
-
a.delete(x)
|
188
|
-
else #it is a directory...
|
189
|
-
findfiles(x + "/**")
|
190
|
-
end
|
78
|
+
# build the English Language hash file from the parts
|
79
|
+
Message = Hash.new { |hh, kk| hh[kk] = "ERROR: Message not found: #{kk.inspect}."; hh[kk] }
|
80
|
+
langmessage = { :clear => "Clear", :rwdtinker => "Rwdtinker" } ; langmessage.each { |kk, vv| Message[kk] = vv }
|
81
|
+
|
82
|
+
def msgid(programkey)
|
83
|
+
$programkey = programkey
|
84
|
+
end
|
85
|
+
|
86
|
+
def msgstr(programmsg)
|
87
|
+
if programmsg == ""
|
88
|
+
$rwdtinkerlog.info "msgstr: no translation for #{$programkey}"
|
89
|
+
else
|
90
|
+
Message.update( $programkey.to_sym => programmsg )
|
191
91
|
end
|
92
|
+
end
|
93
|
+
|
94
|
+
require 'lib/rwdtinker/rwdlangdir'
|
95
|
+
|
96
|
+
tempdoc = " "
|
97
|
+
#go get all the po language file files in english
|
98
|
+
tempdoc = RwdtinkerTools.findlanguagefiles(LangDir,"en")
|
192
99
|
|
193
|
-
|
194
|
-
|
195
|
-
fileB.close
|
196
|
-
require CodeName # load the program file
|
197
|
-
|
198
|
-
# build the actual GUI from the gui parts
|
199
|
-
$tempdoc = " "
|
200
|
-
#get a list of the files and subdirectories on the starting directory only
|
201
|
-
a = Array.new(Dir[@@guidir].entries.sort)
|
202
|
-
#loop through the list, ignore the files and add all new directories found
|
203
|
-
a.each do |x|
|
204
|
-
#if a directory...
|
205
|
-
if(test(?d,x))
|
206
|
-
#use this new dir find to add to the original list of directories
|
207
|
-
@@root = x + "/**"
|
208
|
-
#adds the new ones to the array
|
209
|
-
b = Dir[@@root].entries.sort
|
210
|
-
b.each do |x|
|
211
|
-
if(test(?d,x))
|
212
|
-
a.push(x) #appends to the end of the array...
|
213
|
-
end
|
214
|
-
end
|
215
|
-
end
|
216
|
-
end
|
217
|
-
a.each do |x|
|
218
|
-
#if it is a file...
|
219
|
-
if(!test(?d,x))
|
220
|
-
a.delete(x)
|
221
|
-
|
222
|
-
else #it is a directory...
|
223
|
-
loadguifile(x + "/**")
|
224
|
-
end
|
225
|
-
end
|
100
|
+
#writes the contents of doc into the languagehashvariable
|
101
|
+
languagehashvariable = tempdoc
|
226
102
|
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
103
|
+
# END of en Lang building
|
104
|
+
tempdoc = " "
|
105
|
+
Dir.chdir($progdir) # change back to top program directory
|
106
|
+
|
107
|
+
# build the local Language hash file from the parts
|
108
|
+
|
109
|
+
$lang = $langarray[0] # pick the language of choice
|
110
|
+
|
111
|
+
# Go get all the po files for the language of choice
|
112
|
+
tempdoc = RwdtinkerTools.findlanguagefiles(LangDir,$lang)
|
113
|
+
# the contents of doc into the variable
|
114
|
+
languagehashvariable = languagehashvariable + tempdoc
|
115
|
+
|
116
|
+
Dir.chdir($progdir) # change back to top program directory
|
117
|
+
|
118
|
+
# lets read those po files, first english then the chosen language
|
119
|
+
temp = eval( languagehashvariable )
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
# build the actual program from the code parts
|
124
|
+
require 'lib/rwdtinker/rwdcodedir'
|
125
|
+
|
126
|
+
tempdoc = RwdtinkerTools.findprogramfiles(CodeDir)
|
127
|
+
|
128
|
+
# load the program file
|
129
|
+
|
130
|
+
tempcoderesult = eval( tempdoc )
|
131
|
+
|
132
|
+
# build the actual GUI from the gui parts
|
133
|
+
require 'lib/rwdtinker/rwdguidir'
|
231
134
|
|
135
|
+
tempdoc = RwdtinkerTools.findguifiles(GuiDir)
|
136
|
+
|
137
|
+
|
138
|
+
# gui variable is done
|
139
|
+
guiRWD = ""
|
140
|
+
$rwd_gui_tinker = tempdoc
|
141
|
+
require 'socket' # Network stuff
|
142
|
+
host = "127.0.0.1"
|
143
|
+
port = $port
|
144
|
+
|
145
|
+
# Create a socket to listen on and bind it to the host and port
|
146
|
+
freeportfound = false
|
147
|
+
until freeportfound
|
148
|
+
begin
|
149
|
+
@socket = UDPSocket::new()
|
150
|
+
@socket.bind(host, port)
|
151
|
+
freeportfound = true
|
152
|
+
$port = port
|
153
|
+
# Rescue the "Address in use" error
|
154
|
+
rescue Errno::EADDRINUSE
|
155
|
+
$rwdtinkerlog.warn "RWD Startup: Port #{port} on host #{host} is already in use."
|
156
|
+
port=port +1
|
157
|
+
$rwdtinkerlog.warn "trying port: #{port}"
|
158
|
+
# Rescue the "Address not available' error
|
159
|
+
rescue Errno::EADDRNOTAVAIL
|
160
|
+
$rwdtinkerlog.warn "RWD Startup: Address #{host} is not available to bind."
|
161
|
+
port =port + 1
|
162
|
+
$rwdtinkerlog.warn "trying port: #{port}"
|
163
|
+
# Rescue "permission denied errors
|
164
|
+
rescue Errno::EACCES
|
165
|
+
$rwdtinkerlog.warn "RWD Startup: Access denied when binding interface addresses. ?"
|
166
|
+
port =port + 1
|
167
|
+
$rwdtinkerlog.warn "trying port: #{port}"
|
168
|
+
# Rescue all other errors
|
169
|
+
rescue
|
170
|
+
$rwdtinkerlog.warn "RWD Startup: An error occured."
|
171
|
+
port =port + 1
|
172
|
+
$rwdtinkerlog.warn "trying port: #{port}"
|
173
|
+
# Rescue all other errors
|
174
|
+
end
|
175
|
+
$port = port
|
176
|
+
end
|
232
177
|
|
233
|
-
|
178
|
+
|
179
|
+
RwdTinker.new( $rwd_gui_tinker ).serve(port) # start the main class and program
|
@@ -0,0 +1,20 @@
|
|
1
|
+
## rwdwschedule
|
2
|
+
gui/tinkerbackwindows/superant.com.rwdschedulesback
|
3
|
+
gui/tinkerbackwindows/superant.com.rwdschedules
|
4
|
+
gui/tinkerbackwindows/superant.com.rwdschedulebackwindow
|
5
|
+
code/superant.com.schedule
|
6
|
+
code/superant.com.rwdcalendar
|
7
|
+
lang/en/rwdcalendar
|
8
|
+
lang/es/rwdcalendar
|
9
|
+
lang/nl/rwdcalendar
|
10
|
+
lang/hi/rwdcalendar
|
11
|
+
lang/ja/rwdcalendar
|
12
|
+
lang/fr/rwdcalendar
|
13
|
+
tests/makedist-rwdwhypernote.rb
|
14
|
+
tests/gemspec-rwdwschedule
|
15
|
+
rwd_files/HowTo_Schedule.txt
|
16
|
+
rwd_files/rwdschedulehelpfiles.txt
|
17
|
+
configuration/rwdwschedule.dist
|
18
|
+
lib/cal.rb
|
19
|
+
lib/icalendar
|
20
|
+
lib/icalendar.rb
|
data/{lib → installed}/temp.rb
RENAMED
File without changes
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# Lang file for rwdcalendar - en
|
2
|
+
|
3
|
+
msgid "year"
|
4
|
+
msgstr "Year:"
|
5
|
+
|
6
|
+
msgid "month"
|
7
|
+
msgstr "Month:"
|
8
|
+
|
9
|
+
msgid "show_month"
|
10
|
+
msgstr '"Show Month"'
|
11
|
+
|
12
|
+
msgid "rwdschedule_calendar_generalhelp"
|
13
|
+
msgstr "Use the 'Edit Event' tab<br> The first field is the most important. It is the filename that<br> will be created. I use the event date starting with yearmonthday<br> 2005january11 <br> The following lines for entry are for you to fill in as you want.<br> When you are finished press the Save Changes button <br> You use this same screen for editing an already saved event "
|
14
|
+
|
15
|
+
msgid "rwdschedule_filelist_generalhelp"
|
16
|
+
msgstr "Click on the list events button. <br> Click on the date you want <br> Then click the 'Open' button <br> If it finds the record it will open it. It displays the record as text under the 'Open' button."
|
17
|
+
|
18
|
+
msgid "event_utilities_help "
|
19
|
+
msgstr "On the event utilities tab <br> You can rename event filenames <br> You can delete events"
|
20
|
+
|
21
|
+
msgid "rwdschedule_calendar_configuration"
|
22
|
+
msgstr "click on 'Edit Configuration' <br> You can view the configuration file <br><br> You can edit the configuration <br> Remember to reload the configuration variables if you want your changes used."
|
23
|
+
|
24
|
+
msgid "rwdschedule_calendar_sync"
|
25
|
+
msgstr "Sync for multiple computers<br> If you are like me, you have more than one system<br> I use rwdTinker at home on my Linux laptop at work I use it on XP<br> So I am adding schedule events on different machines. <br> There is a function to help sync the separate systems <p> in 'Selection Panel' click on 'Open Schedule Sync Window' <p> First you need your ftp details set in the configuration/rwdschedule.cnf file <p> you can upload your events from your local schedules directory to the ftp site<br> you can download events from the ftp site to your local updates directory<br> you can perform a sync which finds remote events and adds them to your local schedules directory<br> There is a button to delete the update directory when finished"
|
26
|
+
|
27
|
+
msgid "rwdschedule_calendar_help"
|
28
|
+
msgstr "On the 'Show Month' tab<br> You can see the current month or enter a year and month <br> for example: <br> Year: 2005 <br> Month: 2 <br> Click on 'show month' <br> It will display one month"
|
29
|
+
|
30
|
+
msgid "rwdschedule_icsfile_help"
|
31
|
+
msgstr "You can create an ics file<br> you can view a raw ics file <br> Rename ics File<br> Delete ics File<br> <br><br> format of date year = 2005<br> month = 02<br> day = 01<br> hour = 01<br> minute = 01<br>"
|
32
|
+
|