bigtinker 0.95 → 0.96

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. data/Readme.txt +20 -7
  2. data/code/superant.com.rwdaddresses/0uninstallapplet.rb +14 -0
  3. data/code/superant.com.rwdaddresses/attachtmpcontactphoto.rb +24 -0
  4. data/code/superant.com.rwdaddresses/clearscreendisplay.rb +15 -0
  5. data/code/superant.com.rwdaddresses/createnewnamerecord.rb +19 -0
  6. data/code/superant.com.rwdaddresses/deletecontactrecord.rb +25 -0
  7. data/code/superant.com.rwdaddresses/deleterwdaddressesupdatefiles.rb +19 -0
  8. data/code/superant.com.rwdaddresses/downloadrwdaddressfiles.rb +36 -0
  9. data/code/superant.com.rwdaddresses/helptexthashrwdaddresses.rb +69 -0
  10. data/code/superant.com.rwdaddresses/listnamerecord.rb +15 -0
  11. data/code/superant.com.rwdaddresses/listvcardrecord.rb +15 -0
  12. data/code/{superant.com.schedule → superant.com.rwdaddresses}/loadconfigurationrecord.rb +4 -4
  13. data/code/superant.com.rwdaddresses/loadconfigurationvariables.rb +15 -0
  14. data/code/superant.com.rwdaddresses/loadnamerecord.rb +30 -0
  15. data/code/superant.com.rwdaddresses/openhelpwindowrwdaddresses.rb +30 -0
  16. data/code/superant.com.rwdaddresses/renamecontact.rb +15 -0
  17. data/code/superant.com.rwdaddresses/runaddresseswindow.rb +10 -0
  18. data/code/superant.com.rwdaddresses/runrwdaddressesmenu1.rb +34 -0
  19. data/code/superant.com.rwdaddresses/runrwdaddresssyncbackwindow.rb +10 -0
  20. data/code/superant.com.rwdaddresses/rwdaddressesbackwindow.rb +10 -0
  21. data/code/superant.com.rwdaddresses/rwdaddresseshelpabout.rb +10 -0
  22. data/code/superant.com.rwdaddresses/saveconfigurationrecord.rb +20 -0
  23. data/code/superant.com.rwdaddresses/savevcardrecord.rb +76 -0
  24. data/code/superant.com.rwdaddresses/syncrwdaddress.rb +28 -0
  25. data/code/{superant.com.schedule → superant.com.rwdaddresses}/test_cases.rb +10 -10
  26. data/code/superant.com.rwdaddresses/uploadrwdaddressfiles.rb +30 -0
  27. data/code/superant.com.rwdaddresses/viewaddressconfiguration.rb +21 -0
  28. data/code/superant.com.rwdaddresses/viewnamedata.rb +28 -0
  29. data/code/superant.com.rwdaddresses/viewphoto.rb +4 -0
  30. data/code/superant.com.rwdaddresses/viewrwdaddressesconfiguration.rb +23 -0
  31. data/code/superant.com.rwdaddresses/viewtmpcontactphoto.rb +12 -0
  32. data/code/superant.com.rwdaddresses/viewvcarddata.rb +22 -0
  33. data/code/superant.com.rwdcalc/ca2multiply.rb +10 -0
  34. data/code/superant.com.rwdcalc/changescriptname.rb +16 -0
  35. data/code/superant.com.rwdcalc/clearscriptscreendisplay.rb +9 -0
  36. data/code/superant.com.rwdcalc/deletescriptrecord.rb +20 -0
  37. data/code/superant.com.rwdcalc/fadd.rb +10 -0
  38. data/code/superant.com.rwdcalc/frwdcleartape.rb +9 -0
  39. data/code/superant.com.rwdcalc/frwddivide.rb +10 -0
  40. data/code/superant.com.rwdcalc/frwdmultiply.rb +10 -0
  41. data/code/superant.com.rwdcalc/frwdsubtract.rb +10 -0
  42. data/code/superant.com.rwdcalc/helptexthashrwdcalc.rb +16 -0
  43. data/code/superant.com.rwdcalc/listscripts.rb +13 -0
  44. data/code/superant.com.rwdcalc/loadscriptrecord.rb +20 -0
  45. data/code/superant.com.rwdcalc/mathcommands.rb +53 -0
  46. data/code/superant.com.rwdcalc/openhelpwindowrwdcalc.rb +21 -0
  47. data/code/superant.com.rwdcalc/playscript.rb +22 -0
  48. data/code/superant.com.rwdcalc/renamecalcrecord.rb +14 -0
  49. data/code/{superant.com.rwdshell/returntomain.rb → superant.com.rwdcalc/runrwdcalcwindow.rb} +9 -9
  50. data/code/superant.com.rwdcalc/rwdadd.rb +10 -0
  51. data/code/{superant.com.schedule/rwdmoviesversion.rb → superant.com.rwdcalc/rwdcalcversion.rb} +2 -2
  52. data/code/superant.com.rwdcalc/rwdcleartape.rb +9 -0
  53. data/code/superant.com.rwdcalc/rwddivision.rb +10 -0
  54. data/code/superant.com.rwdcalc/rwdsubtraction.rb +10 -0
  55. data/code/superant.com.rwdcalc/savechangedscript.rb +19 -0
  56. data/code/superant.com.rwdcalc/uninstallapplet.rb +31 -0
  57. data/code/superant.com.rwdcalc/viewscript.rb +18 -0
  58. data/code/superant.com.rwdshell/0runrefreshacpi.rb +7 -0
  59. data/code/superant.com.rwdshell/0uninstallapplet.rb +7 -7
  60. data/code/superant.com.rwdshell/helptexthashshell.rb +13 -1
  61. data/code/superant.com.rwdshell/loadconfigurationrecord.rb +3 -3
  62. data/code/superant.com.rwdshell/loadconfigurationvariables.rb +2 -2
  63. data/code/superant.com.rwdshell/openhelpwindowshell.rb +3 -1
  64. data/code/superant.com.rwdshell/refresh.rb +19 -0
  65. data/code/superant.com.rwdshell/refreshacpi.rb +16 -0
  66. data/code/superant.com.rwdshell/rubyeval.rb +15 -20
  67. data/code/superant.com.rwdshell/runrwdshellbackwindow.rb +3 -3
  68. data/code/superant.com.rwdshell/runrwdshellwindow.rb +2 -2
  69. data/code/superant.com.rwdshell/rwdtinkerversion.rb +2 -2
  70. data/code/superant.com.rwdshell/saveconfigurationrecord.rb +1 -1
  71. data/code/superant.com.rwdshell/test_cases.rb +1 -1
  72. data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +39 -34
  73. data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +9 -7
  74. data/code/superant.com.rwdtinkerbackwindow/listzips.rb +8 -2
  75. data/code/superant.com.rwdtinkerbackwindow/removeappletvariables.rb +8 -6
  76. data/code/superant.com.rwdtinkerbackwindow/viewlogfile.rb +13 -0
  77. data/configuration/bigtinker.dist +2 -2
  78. data/configuration/language.dist +2 -2
  79. data/configuration/rwdapplicationidentity.dist +1 -1
  80. data/configuration/rwdtinker.dist +4 -7
  81. data/configuration/rwdwaddresses.dist +24 -0
  82. data/configuration/rwdwcalc.dist +19 -0
  83. data/configuration/rwdwruby.dist +24 -0
  84. data/configuration/tinkerwin2variables.dist +8 -7
  85. data/gui/tinkerbackwindows/superant.com.addressesphotowindow/yy7addressesphoto.rwd +6 -0
  86. data/gui/tinkerbackwindows/superant.com.ashellscripts/1appname.rwd +1 -1
  87. data/gui/tinkerbackwindows/superant.com.ashellscripts/1rwdrubyeval.rwd +2 -1
  88. data/gui/tinkerbackwindows/superant.com.ashellscripts/2arubyeval.rwd +17 -0
  89. data/gui/tinkerbackwindows/superant.com.refreshacpi/1appname.rwd +4 -0
  90. data/gui/tinkerbackwindows/superant.com.refreshacpi/2rwdrefresh.rwd +14 -0
  91. data/gui/tinkerbackwindows/superant.com.refreshacpi/3rwdacpirefresh.rwd +14 -0
  92. data/gui/tinkerbackwindows/superant.com.refreshacpi/81jumplinkcommands.rwd +17 -0
  93. data/gui/tinkerbackwindows/{superant.com.rwdschedules/zvbackend.rwd → superant.com.refreshacpi/z9end.rwd} +6 -6
  94. data/gui/tinkerbackwindows/superant.com.rwdaddresses/10appletbegin.rwd +4 -0
  95. data/gui/tinkerbackwindows/superant.com.rwdaddresses/11viewnamedata.rwd +19 -0
  96. data/gui/tinkerbackwindows/superant.com.rwdaddresses/13listnamerecordfiles.rwd +21 -0
  97. data/gui/tinkerbackwindows/superant.com.rwdaddresses/16editrecord.rwd +39 -0
  98. data/gui/tinkerbackwindows/superant.com.rwdaddresses/17viewvcardrecord.rwd +32 -0
  99. data/gui/tinkerbackwindows/superant.com.rwdaddresses/18contactutilities.rwd +34 -0
  100. data/gui/tinkerbackwindows/superant.com.rwdaddresses/81jumplinkcommands.rwd +17 -0
  101. data/gui/tinkerbackwindows/{superant.com.rwdschedulesback/zvbackend.rwd → superant.com.rwdaddresses/9end.rwd} +6 -6
  102. data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/1appname.rwd +5 -0
  103. data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/20downloadftp.rwd +45 -0
  104. data/gui/tinkerbackwindows/{superant.com.rwdschedulebackwindow → superant.com.rwdaddressessyncbackwindow}/70rwddiagnostics.rwd +23 -16
  105. data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/87viewconfiguration.rwd +34 -0
  106. data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/94selectiontab.rwd +11 -0
  107. data/gui/tinkerbackwindows/{superant.com.rwdschedules/m01menubegin.rwd → superant.com.rwdaddressessyncbackwindow/95jumplink.rwd} +2 -5
  108. data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/97selectionend.rwd +3 -0
  109. data/gui/tinkerbackwindows/{superant.com.rwdschedulebackwindow → superant.com.rwdaddressessyncbackwindow}/zvbackend.rwd +6 -6
  110. data/gui/tinkerbackwindows/superant.com.rwdcalc/1appname.rwd +4 -0
  111. data/gui/tinkerbackwindows/superant.com.rwdcalc/20floatrwdcalc.rwd +24 -0
  112. data/gui/tinkerbackwindows/superant.com.rwdcalc/30intrwdcalc.rwd +25 -0
  113. data/gui/tinkerbackwindows/superant.com.rwdcalc/35mathcommands.rwd +25 -0
  114. data/gui/tinkerbackwindows/superant.com.rwdcalc/44listplayscripts.rwd +19 -0
  115. data/gui/tinkerbackwindows/superant.com.rwdcalc/45listscripts.rwd +25 -0
  116. data/gui/tinkerbackwindows/superant.com.rwdcalc/46editscriptrecord.rwd +30 -0
  117. data/gui/tinkerbackwindows/superant.com.rwdcalc/4scriptutilities.rwd +25 -0
  118. data/gui/tinkerbackwindows/{superant.com.rwdschedulesback/m01menubegin.rwd → superant.com.rwdcalc/77jumplinkcommands.rwd} +4 -5
  119. data/gui/tinkerbackwindows/superant.com.rwdcalc/z9end.rwd +6 -0
  120. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/1appname.rwd +1 -1
  121. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/92viewconfiguration.rwd +1 -1
  122. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdlogfile.rwd +20 -0
  123. data/init.rb +5 -0
  124. data/installed/rwdaddressesdata2.inf +7 -0
  125. data/installed/{rwdshelldata1.inf → rwdrubydata1.inf} +1 -1
  126. data/installed/rwdwaddresses.inf +13 -0
  127. data/installed/rwdwcalc.inf +10 -0
  128. data/installed/rwdwruby.inf +12 -0
  129. data/lang/en/rwdcore/languagefile.rb +1 -0
  130. data/lang/es/rwdcore/languagefile-es.rb +1 -0
  131. data/lang/fr/rwdcore/languagefile.rb +1 -0
  132. data/lang/jp/rwdcore/languagefile.rb +1 -0
  133. data/lang/nl/rwdcore/languagefile.rb +1 -0
  134. data/lib/rconftool.rb +13 -6
  135. data/lib/rwd/net.rb +15 -4
  136. data/lib/rwd/ruby.rb +1 -1
  137. data/lib/rwd/rwd.rb +103 -620
  138. data/lib/rwdthemes/default.rwd +317 -0
  139. data/lib/rwdthemes/pda.rwd +72 -0
  140. data/lib/rwdthemes/windowslike.rwd +171 -0
  141. data/lib/rwdtinker/rwdtinkertools.rb +24 -0
  142. data/names/Angelina Jolie.jpg +0 -0
  143. data/names/Angelina Jolie.nam +8 -0
  144. data/names/Angelina Jolie.vcf +8 -0
  145. data/names/Steven Gibson.jpg +0 -0
  146. data/names/Steven Gibson.nam +5 -0
  147. data/names/elektra.jpg +0 -0
  148. data/names/elektra.nam +7 -0
  149. data/names/nophoto.jpg +0 -0
  150. data/rwd_files/HowTo_Addresses.txt +272 -0
  151. data/rwd_files/HowTo_BigTinker.txt +11 -0
  152. data/rwd_files/{HowTo_Shell.txt → HowTo_Ruby.txt} +35 -4
  153. data/rwd_files/HowTo_RwdCalc.txt +127 -0
  154. data/rwd_files/HowTo_Tinker.txt +17 -1
  155. data/rwd_files/contacttmp.jpg +0 -0
  156. data/rwd_files/log/rwdtinker.log +2 -0
  157. data/rwdconfig.dist +14 -13
  158. data/scripts/test02.math +2 -0
  159. data/tests/{makedist-rwdwhypernote.rb → makedist-rwdwaddesses.rb} +3 -3
  160. data/tests/makedist-rwdwcalc.rb +58 -0
  161. data/tests/{makedist-rwdwshell.rb → makedist-rwdwruby.rb} +7 -5
  162. data/tests/makedist.rb +1 -1
  163. data/updates/temp.rb +1 -0
  164. data/zips/{rwdwaddresses-1.05.zip → rwdwaddresses-1.07.zip} +0 -0
  165. data/zips/rwdwcalc-0.63.zip +0 -0
  166. data/zips/rwdwfoldeditor-0.05.zip +0 -0
  167. data/zips/{rwdwgutenberg-0.09.zip → rwdwgutenberg-0.11.zip} +0 -0
  168. data/zips/rwdwhypernote-0.15.zip +0 -0
  169. data/zips/rwdwruby-1.08.zip +0 -0
  170. data/zips/{rwdwschedule-1.04.zip → rwdwschedule-1.05.zip} +0 -0
  171. data/zips/rwdwtorrent-0.07.zip +0 -0
  172. data/zips/wrubyslippers-1.07.zip +0 -0
  173. metadata +148 -103
  174. data/code/superant.com.rwdcalendar/gh9calendar.rb +0 -40
  175. data/code/superant.com.rwdcalendar/helptexthashrwdschedule.rb +0 -14
  176. data/code/superant.com.rwdcalendar/openhelpwindowrwdschedule.rb +0 -17
  177. data/code/superant.com.schedule/0uninstallapplet.rb +0 -15
  178. data/code/superant.com.schedule/archiveevent.rb +0 -14
  179. data/code/superant.com.schedule/archiveicsevent.rb +0 -14
  180. data/code/superant.com.schedule/cleareventscreendisplay.rb +0 -19
  181. data/code/superant.com.schedule/deleteeventrecord.rb +0 -19
  182. data/code/superant.com.schedule/deleteicseventrecord.rb +0 -19
  183. data/code/superant.com.schedule/deleterwdscheduleupdatefiles.rb +0 -20
  184. data/code/superant.com.schedule/downloadrwdschedulefiles.rb +0 -37
  185. data/code/superant.com.schedule/exporticseventrecord.rb +0 -97
  186. data/code/superant.com.schedule/helptexthashrwdschedule.rb +0 -82
  187. data/code/superant.com.schedule/listeventdates.rb +0 -19
  188. data/code/superant.com.schedule/listicseventdates.rb +0 -19
  189. data/code/superant.com.schedule/loadconfigurationvariables.rb +0 -14
  190. data/code/superant.com.schedule/loadeventrecord.rb +0 -38
  191. data/code/superant.com.schedule/loadicseventrecord.rb +0 -30
  192. data/code/superant.com.schedule/openhelpwindowrwdschedule.rb +0 -43
  193. data/code/superant.com.schedule/renameeventdata.rb +0 -14
  194. data/code/superant.com.schedule/renameicseventdata.rb +0 -17
  195. data/code/superant.com.schedule/returntomain.rb +0 -10
  196. data/code/superant.com.schedule/runrwdscheduleicsbackwindow.rb +0 -10
  197. data/code/superant.com.schedule/runrwdschedulemenu1.rb +0 -34
  198. data/code/superant.com.schedule/runrwdschedulesyncbackwindow.rb +0 -10
  199. data/code/superant.com.schedule/saveconfigurationrecord.rb +0 -19
  200. data/code/superant.com.schedule/saveeventrecord.rb +0 -25
  201. data/code/superant.com.schedule/saveicseventrecord.rb +0 -98
  202. data/code/superant.com.schedule/syncrwdschedule.rb +0 -30
  203. data/code/superant.com.schedule/uploadrwdschedulefiles.rb +0 -30
  204. data/code/superant.com.schedule/viewevent.rb +0 -20
  205. data/code/superant.com.schedule/viewicsevent.rb +0 -20
  206. data/code/superant.com.schedule/viewrwdschedulesconfiguration.rb +0 -21
  207. data/configuration/rwdwschedule-1.04.dist +0 -25
  208. data/configuration/rwdwshell-1.04.dist +0 -16
  209. data/extras/cal.rb +0 -158
  210. data/extras/icalendar/base.rb +0 -17
  211. data/extras/icalendar/calendar.rb +0 -44
  212. data/extras/icalendar/calendar_parser.rb +0 -237
  213. data/extras/icalendar/component/alarm.rb +0 -16
  214. data/extras/icalendar/component/event.rb +0 -25
  215. data/extras/icalendar/component/freebusy.rb +0 -12
  216. data/extras/icalendar/component/journal.rb +0 -25
  217. data/extras/icalendar/component/timezone.rb +0 -26
  218. data/extras/icalendar/component/todo.rb +0 -21
  219. data/extras/icalendar/component.rb +0 -91
  220. data/extras/icalendar/helpers.rb +0 -103
  221. data/extras/icalendar/parameter.rb +0 -25
  222. data/extras/icalendar.rb +0 -18
  223. data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/1appname.rwd +0 -5
  224. data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/20downloadftp.rwd +0 -45
  225. data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/67viewconfiguration.rwd +0 -29
  226. data/gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/m01menubegin.rwd +0 -18
  227. data/gui/tinkerbackwindows/superant.com.rwdschedules/1appname.rwd +0 -5
  228. data/gui/tinkerbackwindows/superant.com.rwdschedules/gg0viewevent.rwd +0 -27
  229. data/gui/tinkerbackwindows/superant.com.rwdschedules/gl6editrecord.rwd +0 -56
  230. data/gui/tinkerbackwindows/superant.com.rwdschedules/gl8contactutilities.rwd +0 -25
  231. data/gui/tinkerbackwindows/superant.com.rwdschedules/hl9calendar.rwd +0 -27
  232. data/gui/tinkerbackwindows/superant.com.rwdschedulesback/1appname.rwd +0 -5
  233. data/gui/tinkerbackwindows/superant.com.rwdschedulesback/30viewevent.rwd +0 -27
  234. data/gui/tinkerbackwindows/superant.com.rwdschedulesback/40editrecord.rwd +0 -49
  235. data/gui/tinkerbackwindows/superant.com.rwdschedulesback/60eventicsutilities.rwd +0 -25
  236. data/installed/rwdscheduledate2.inf +0 -6
  237. data/installed/rwdwschedule-1.04.inf +0 -17
  238. data/installed/rwdwshell-1.04.inf +0 -11
  239. data/lang/en/rwdcalendar/calendar-en.rb +0 -6
  240. data/lang/es/rwdcalendar/calendar-nl.rb +0 -6
  241. data/lang/nl/rwdcalendar/calendar-nl.rb +0 -6
  242. data/rwd_files/HowTo_RubyEval.html +0 -80
  243. data/rwd_files/HowTo_Schedule.txt +0 -257
  244. data/zips/rwdwcalc-0.61.zip +0 -0
  245. data/zips/rwdwshell-1.04.zip +0 -0
  246. data/zips/wrubyslippers-1.06.zip +0 -0
  247. /data/gui/tinkerbackwindows/{superant.com.rwdshellbackwindow → superant.com.ashellscripts}/44listplayscripts.rwd +0 -0
  248. /data/gui/tinkerbackwindows/{superant.com.rwdshellbackwindow → superant.com.ashellscripts}/45listscripts.rwd +0 -0
  249. /data/gui/tinkerbackwindows/{superant.com.rwdshellbackwindow → superant.com.ashellscripts}/46editscriptrecord.rwd +0 -0
  250. /data/gui/tinkerbackwindows/{superant.com.ashellscripts → superant.com.rwdshellbackwindow}/2listplayscripts.rwd +0 -0
  251. /data/gui/tinkerbackwindows/{superant.com.ashellscripts → superant.com.rwdshellbackwindow}/2listscripts.rwd +0 -0
  252. /data/gui/tinkerbackwindows/{superant.com.ashellscripts → superant.com.rwdshellbackwindow}/3editscripts.rwd +0 -0
  253. /data/gui/tinkerbackwindows/{superant.com.ashellscripts → superant.com.rwdshellbackwindow}/4scriptutilities.rwd +0 -0
  254. /data/gui/tinkerbackwindows/{superant.com.ashellscripts → superant.com.rwdshellbackwindow}/6rwdshelleval.rwd +0 -0
@@ -1,91 +0,0 @@
1
- module Icalendar
2
- # The body of the iCalendar object consists of a sequence of calendar
3
- # properties and one or more calendar components. The calendar
4
- # properties are attributes that apply to the calendar as a whole. The
5
- # calendar components are collections of properties that express a
6
- # particular calendar semantic. For example, the calendar component can
7
- # specify an event, a to-do, a journal entry, time zone information, or
8
- # free/busy time information, or an alarm.
9
- class Component < Icalendar::Base
10
-
11
- attr_reader :name
12
- attr_accessor :properties, :property_params
13
-
14
- def initialize(name)
15
- @name = name
16
- @properties = {}
17
- @property_params = {}
18
-
19
- @@logger.info("New #{@name[1,@name.size].capitalize}...")
20
- end
21
-
22
- def print_string
23
- s = ""
24
-
25
- # Begin a new component
26
- s << "BEGIN:#{@name.upcase}\r\n"
27
-
28
- # Then print the properties, possible parameters and potentially
29
- # multiple parameter values for each parameter.
30
- @properties.each do |key,value|
31
- # Property name
32
- s << "#{key.upcase}"
33
-
34
- # Possible parameters
35
- if @property_params.has_key?(key)
36
- params = @property_params[key]
37
- params.each do |key,val|
38
- s << ";#{key}"
39
- unless val.respond_to?(:to_ary)
40
- val = [ val ]
41
- end
42
-
43
- # Possible parameter values
44
- unless val.empty?
45
- s << "="
46
- sep = "" # First entry comes after = sign, but then we need commas
47
- val.each do |pval|
48
- s << sep << pval
49
- sep = ","
50
- end
51
- end
52
- end
53
- end
54
-
55
- # Property value
56
- s << ":#{value}\r\n"
57
- end
58
-
59
- # Any custom body of the derived component
60
- yield(s)
61
-
62
- # End of this component
63
- s << "END:#{@name.upcase}\r\n"
64
- end
65
-
66
- # Dynamically execute getters and setters for properties and
67
- # property parameters. This lets us handle all the general text properties
68
- # as well as custom app related properties in a natural way, but we don't
69
- # have to write a million getters and setters for every possible thing we
70
- # want to support.
71
- def method_missing(method_id, *args)
72
- method_name = method_id.id2name.upcase
73
-
74
- if method_name =~ /\w+_PARAMS/ # Its a parameter request
75
- hash = @property_params
76
- val = args
77
- else # Or its a property request
78
- hash = @properties
79
- val = args.first unless args.empty?
80
- end
81
-
82
- if method_name =~ /(.*)(=)/ # Its a setter
83
- hash[$1] = val
84
- @@logger.debug("Setting #{$1} => #{val}")
85
- else # Or its a getter
86
- @@logger.debug("Getting #{method_name} => #{hash[method_name]}")
87
- return hash[method_name]
88
- end
89
- end
90
- end
91
- end
@@ -1,103 +0,0 @@
1
- module Icalendar
2
- # date = date-fullyear date-month date-mday
3
- # date-fullyear = 4 DIGIT
4
- # date-month = 2 DIGIT
5
- # date-mday = 2 DIGIT
6
- DATE = '(\d\d\d\d)(\d\d)(\d\d)'
7
-
8
- # time = time-hour [":"] time-minute [":"] time-second [time-secfrac] [time-zone]
9
- # time-hour = 2 DIGIT
10
- # time-minute = 2 DIGIT
11
- # time-second = 2 DIGIT
12
- # time-secfrac = "," 1*DIGIT
13
- # time-zone = "Z" / time-numzone
14
- # time-numzome = sign time-hour [":"] time-minute
15
- TIME = '(\d\d)(\d\d)(\d\d)(Z)?'
16
-
17
-
18
- # Maps to dtstart property
19
- # TODO: Look into having the DateTime library do more of the work...
20
- module Dtstart
21
-
22
- # Set the starting DateTime of an Event, Todo,
23
- # Freebusy or Timezone component. If utc is set to true
24
- # then this time represents absolute time without regard for
25
- # timezone information.
26
- def setStart(start, utc = false)
27
- if start.respond_to?(:year) # Date format
28
- s = ""
29
-
30
- # 4 digit year
31
- s << start.year.to_s
32
-
33
- # Double digit month
34
- s << "0" unless start.month > 9
35
- s << start.month.to_s
36
-
37
- # Double digit day
38
- s << "0" unless start.day > 9
39
- s << start.day.to_s
40
- else
41
- raise InvalidPropertyValue, "Cannot access year on start argument object!"
42
- end
43
-
44
- if start.respond_to?(:hour) # include Time format if possible
45
- s << "T"
46
-
47
- # Double digit hour
48
- s << "0" unless start.hour > 9
49
- s << start.hour.to_s
50
-
51
- # Double digit minute
52
- s << "0" unless start.min > 9
53
- s << start.min.to_s
54
-
55
- # Double digit second
56
- s << "0" unless start.sec > 9
57
- s << start.sec.to_s
58
- end
59
-
60
- # UTC time gets a Z suffix
61
- if utc
62
- s << "Z"
63
- end
64
-
65
- @properties["DTSTART"] = s
66
- end
67
-
68
- # Returns the starting DateTime of an Event, Todo, Freebusy or
69
- # Timezone component.
70
- def getStart
71
- # If we don't have a start time then return nil.
72
- unless @properties.has_key?("DTSTART")
73
- return nil
74
- end
75
- s = @properties["DTSTART"]
76
-
77
- # If we can't parse the start time figure its bad and return nil.
78
- unless s =~ %r{#{DATE}}i
79
- return nil
80
- end
81
-
82
- # We can at least create a Date object
83
- year = $1
84
- month = $2
85
- day = $3
86
-
87
- puts "s: #{s}"
88
- puts "#{DATE}T#{TIME}"
89
- # We might be able to get the time too
90
- if s =~ %r{"#{DATE}T#{TIME}"}i
91
- hour = $5
92
- min = $6
93
- sec = $7
94
-
95
- puts "Hour: #{hour.to_s}"
96
-
97
- return DateTime.new(year, month, day, hour, min, sec)
98
- else
99
- return Date.new(year.to_i, month.to_i, day.to_i)
100
- end
101
- end
102
- end
103
- end
@@ -1,25 +0,0 @@
1
- module Icalendar
2
-
3
- # A property can have attributes associated with it. These "property
4
- # parameters" contain meta-information about the property or the
5
- # property value. Property parameters are provided to specify such
6
- # information as the location of an alternate text representation for a
7
- # property value, the language of a text property value, the data type
8
- # of the property value and other attributes.
9
- class Parameter < Icalendar::Content
10
-
11
- def to_s
12
- s = ""
13
-
14
- s << "#{@name}="
15
- if is_escapable?
16
- s << escape(print_value())
17
- else
18
- s << print_value
19
- end
20
-
21
- s
22
- end
23
-
24
- end
25
- end
data/extras/icalendar.rb DELETED
@@ -1,18 +0,0 @@
1
- $:.unshift(File.dirname(__FILE__))
2
-
3
- # Base classes and mixin modules
4
- require 'icalendar/base'
5
- require 'icalendar/component'
6
- require 'icalendar/helpers'
7
-
8
- # Calendar and components
9
- require 'icalendar/calendar'
10
- require 'icalendar/component/event'
11
- require 'icalendar/component/journal'
12
- require 'icalendar/component/todo'
13
- require 'icalendar/component/freebusy'
14
- require 'icalendar/component/timezone'
15
- require 'icalendar/component/alarm'
16
-
17
- # Calendar parser
18
- require 'icalendar/calendar_parser'
@@ -1,5 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <window name = \"rwdschedulesyncwindow\" title=\"Rwdschedules Sync Window\">
4
-
5
- <tabs>"
@@ -1,45 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <tab name=\"rwdschedulesynctasks\" caption=\"Rwdschedule Sync Functions\">
4
-
5
-
6
- <table>
7
- <row> <p align=\"right\"> </row>
8
- <row> <p align=\"right\">Upload schedule events to a ftp server to sync </row>
9
-
10
- <row> <p align=\"right\">Set your ftp details in the configuration file </row>
11
-
12
-
13
- </table>
14
-
15
- <horizontal>
16
- <button caption=\"Download schedule files from ftp site\" action=\"downloadrwdschedulefiles\"/>
17
- <button caption=\"Upload schedule files to ftp site\" action=\"uploadrwdschedulefiles\"/>
18
-
19
- </horizontal>
20
- <horizontal>
21
- <button caption=\"Delete local update files\" action=\"deleterwdscheduleupdatefiles\"/>
22
- <button caption=\"Help\" action=\"runhelpwindowrwdschedule\"/>
23
- </horizontal>
24
- <p>%rwdscheduleftpdisplay%</p>
25
-
26
- <table>
27
- <row> <p align=\"right\"> </row>
28
-
29
- </table>
30
-
31
-
32
- <horizontal>
33
- <button caption=\"Sync Local data with downloaded data\" action=\"syncrwdscheduledata\"/>
34
-
35
-
36
- </horizontal>
37
-
38
-
39
-
40
- <p>%rwdschedulesyncresult%</p>
41
-
42
- </tab>"
43
-
44
-
45
-
@@ -1,29 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <tab name=\"viewrwdscheduleconfiguration\" caption=\"RwdSchedule Configuration\">
4
-
5
-
6
-
7
- <table>
8
- <row> <p> </row>
9
- <row> <p align=\"right\">You can view or edit the rwdschedule configuration file here</row>
10
- <row> <p> </row>
11
- <horizontal>
12
- <button caption=\"Fill Record\" action=\"loadrwdscheduleconfiguration\"/>
13
- <button caption=\"Save Changes\" action=\"saverwdscheduleconfiguration\"/>
14
- <button caption=\"Reload Variables\" action=\"loadrwdscheduleconfigurationvariables\"/>
15
- <button caption=\"Help\" action=\"runhelpwindowrwdschedule\"/>
16
- </horizontal>
17
- <table>
18
-
19
- <p> <textarea name=\"a_schconfigurationfile\"/>
20
-
21
- </table>
22
- <p>%extraschconfigdatadisplay%</p>
23
- <p>
24
- <p>%newschconfigurationresult%</p>
25
-
26
-
27
-
28
- </tab>"
29
-
@@ -1,18 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <tab name=\"rwdscheduleselectiontab\" caption=\"RwdSchedule Menu\">
4
-
5
- <horizontal>
6
- <button caption=\"Show Jump Links\" action=\"showjumplinkoptions\"/>
7
-
8
- </horizontal>
9
- <table>
10
- <select name=\"a_jumplinkinput\"> %%jumplinkoptions%% </select>
11
-
12
- </table>
13
-
14
- <horizontal>
15
- <button caption=\"Jump to Application Location\" action=\"runjumplinkcommand\"/>
16
- </horizontal>
17
- </tab>
18
- "
@@ -1,5 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <window name = \"rwdschedulewindow\" title=\"Rwdschedules Window\">
4
-
5
- <tabs>"
@@ -1,27 +0,0 @@
1
- $rwdguivar=
2
- "
3
-
4
- <tab name=\"Vieweventlist\" caption=\"View Event\">
5
-
6
- <table>
7
- <row>View your event list and detail on this Tab</row>
8
- <row> <p> </row>
9
- <row> <p align=\"right\">Event Date:</p> <text name=\"a_viewevent\"/> </row>
10
-
11
- </table>
12
- <horizontal>
13
- <button caption=\"Open Detail\" action=\"viewevent\"/>
14
- <button caption=\"Archive Past Event\" action=\"archiveevent\"/>
15
- <button caption=\"Help\" action=\"runhelpwindowrwdschedule\"/>
16
-
17
- </horizontal>
18
-
19
- <p>%displayevent%</p>
20
- <horizontal>
21
- <button caption=\"List Events\" action=\"listeventdates\"/>
22
-
23
-
24
- </horizontal>
25
-
26
- <p>%%eventrecordsresult%%</p>
27
- </tab>"
@@ -1,56 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <tab name=\"editeventrecordfile\" caption=\"Edit Event\">
4
- <table>
5
- <row> <p> </row>
6
- <row> <p align=\"right\">You can create a new record here or edit one</row>
7
- <row> <p> </row>
8
- <horizontal>
9
- <button caption=\"Fill Record\" action=\"loadeventrecord\"/>
10
- <button caption=\"Save Changes\" action=\"saveeventrecord\"/>
11
- <button caption=\"Export ics Record\" action=\"exporteventrecord\"/>
12
-
13
- <button caption=\"Clear\" action=\"cleareventscreendisplay\"/>
14
-
15
- <button caption=\"Help\" action=\"runhelpwindowrwdschedule\"/>
16
-
17
-
18
- </horizontal>
19
- <table>
20
- <horizontal>
21
- <row> <p align=\"right\">FileName:</p> <text size=70 name=\"a_eventfilename\"/> </row>
22
- </horizontal>
23
- <horizontal>
24
- <p align=\"right\">Year:</p> <text size=10 name=\"a_eventyear\"/>
25
- <p align=\"right\"> Month:</p> <text size=20 name=\"a_eventmonth\"/>
26
- <p align=\"right\">Day:</p> <text size=10 name=\"a_eventday\"/>
27
-
28
- </horizontal>
29
- </table>
30
- <table>
31
- <horizontal>
32
- <p align=\"right\">Begin Hour:</p> <text size=20 name=\"a_eventbeginhour\"/>
33
- <p align=\"right\">Begin Minute:</p> <text size=20 name=\"a_eventbeginminute\"/>
34
- </horizontal>
35
- <horizontal>
36
- <p align=\"right\">End Hour:</p> <text size=20 name=\"a_eventendhour\"/>
37
- <p align=\"right\">End Minute:</p> <text size=20 name=\"a_eventendminute\"/>
38
- </horizontal>
39
- </table>
40
- <table>
41
- <row> <p align=\"right\">Summary:</p> <text size=70 name=\"a_eventsummary\"/> </row>
42
- <row> <p align=\"right\">Description:</p> <text size=70 name=\"a_eventdescription\"/> </row>
43
- <row> <p align=\"right\">Location:</p> <text size=70 name=\"a_eventlocation\"/> </row>
44
- <horizontal>
45
- <button caption=\"Save Changes\" action=\"saveeventrecord\"/>
46
-
47
- </horizontal>
48
- </table>
49
- <p>%extraeventdatadisplay%</p>
50
- <p>
51
- <p>%neweventresult%</p>
52
-
53
-
54
-
55
- </tab>"
56
-
@@ -1,25 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <tab name=\"eventutilitiesrwdschedule\" caption=\"Event Utilities\">
4
-
5
- <table>
6
- <row> <p align=\"right\">Event Title:</p> <text name=\"a_viewevent\"/> </row>
7
- <row> <p align=\"right\">New Name:</p> <text name=\"a_changeeventdata\"/> </row>
8
-
9
- </table>
10
-
11
- <horizontal>
12
- <button caption=\"Rename Event\" action=\"changeeventdata\"/>
13
- <button caption=\"Delete Event\" action=\"deleteeventrecord\"/>
14
- <button caption=\"Help\" action=\"runhelpwindowrwdschedule\"/>
15
- </horizontal>
16
-
17
- <p>%%eventfilechangeresult%%</p>
18
- <horizontal>
19
- <button caption=\"List Events\" action=\"listeventdates\"/>
20
-
21
-
22
- </horizontal>
23
-
24
- <p>%%eventrecordsresult%%</p>
25
- </tab>"
@@ -1,27 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <tab name=\"calendar\" caption=#{Message[:show_month]}>
4
- <table>
5
- <row> <p align=\"right\">#{Message[:year]}</p> <text name=\"a_year\"/> </row>
6
- <row> <p align=\"right\">#{Message[:month]}</p> <text name=\"a_month\"/> </row>
7
- </table>
8
- <horizontal>
9
- <button caption=#{Message[:show_month]} action=\"showmonth\"/>
10
-
11
- <button caption=\"Help\" action=\"runhelpwindowrwdschedule\"/>
12
-
13
- </horizontal>
14
- <p> %showcalendartitle%</p>
15
- <p>%showcalendarweektitles%</p>
16
- <p>%%showmonthresult1%%</p>
17
- <p>%%showmonthresult2%%</p>
18
- <p>%%showmonthresult3%%</p>
19
- <p>%%showmonthresult4%%</p>
20
- <p>%%showmonthresult5%%</p>
21
- <p>%%showmonthresult6%%</p>
22
-
23
-
24
-
25
-
26
- </tab>"
27
-
@@ -1,5 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <window name = \"rwdscheduleicswindow\" title=\"Rwdschedules ics Window\">
4
-
5
- <tabs>"
@@ -1,27 +0,0 @@
1
- $rwdguivar=
2
- "
3
-
4
- <tab name=\"Viewicseventlist\" caption=\"View ics File\">
5
-
6
- <table>
7
- <row>View your event list and detail on this Tab</row>
8
- <row> <p> </row>
9
- <row> <p align=\"right\">Event Date:</p> <text name=\"a_viewicsevent\"/> </row>
10
-
11
- </table>
12
- <horizontal>
13
- <button caption=\"Open Detail\" action=\"viewicsevent\"/>
14
- <button caption=\"Archive ics Event\" action=\"archiveicsevent\"/>
15
- <button caption=\"Help\" action=\"runhelpwindowrwdschedule\"/>
16
-
17
- </horizontal>
18
-
19
- <p>%displayicsevent%</p>
20
- <horizontal>
21
- <button caption=\"List Events\" action=\"listicseventdates\"/>
22
-
23
-
24
- </horizontal>
25
-
26
- <p>%%eventicsrecordsresult%%</p>
27
- </tab>"
@@ -1,49 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <tab name=\"createicsrecordfile\" caption=\"Create ics Event\">
4
- <table>
5
- <row> <p> </row>
6
- <row> <p align=\"right\">You can create a new record here or edit one</row>
7
- <row> <p> </row>
8
- <horizontal>
9
-
10
- <button caption=\"Save Changes\" action=\"saveicseventrecord\"/>
11
- <button caption=\"Clear\" action=\"clearicseventscreendisplay\"/>
12
-
13
- <button caption=\"Help\" action=\"runhelpwindowrwdschedule\"/>
14
-
15
-
16
- </horizontal>
17
- <table>
18
- <row> <p align=\"right\">FileName:</p> <text size=70 name=\"a_eventicsfilename\"/> </row>
19
- <horizontal>
20
- <p align=\"right\">Year:</p> <text size=10 name=\"a_eventicsyear\"/>
21
- <p align=\"right\"> Month:</p> <text size=20 name=\"a_eventicsmonth\"/>
22
- <p align=\"right\">Day:</p> <text size=10 name=\"a_eventicsday\"/>
23
- </horizontal>
24
- </table>
25
- <table>
26
- <horizontal>
27
- <p align=\"right\">Begin Hour:</p> <text size=20 name=\"a_eventicshour\"/>
28
- <p align=\"right\">Begin Minute:</p> <text size=20 name=\"a_eventicsminute\"/>
29
- </horizontal>
30
-
31
- <horizontal>
32
- <p align=\"right\">End Hour:</p> <text size=20 name=\"a_eventendicshour\"/>
33
- <p align=\"right\">End Minute:</p> <text size=20 name=\"a_eventendicsminute\"/>
34
- </horizontal>
35
- </table>
36
- <table>
37
- <row> <p align=\"right\">Summary:</p> <text size=70 name=\"a_eventicssummary\"/> </row>
38
- <row> <p align=\"right\">Description:</p> <text size=70 name=\"a_eventicsdescription\"/> </row>
39
- <row> <p align=\"right\">Location:</p> <text size=70 name=\"a_eventicslocation\"/> </row>
40
-
41
- </table>
42
- <p>%extraicseventdatadisplay%</p>
43
- <p>
44
- <p>%newicseventresult%</p>
45
-
46
-
47
-
48
- </tab>"
49
-
@@ -1,25 +0,0 @@
1
- $rwdguivar=
2
- "
3
- <tab name=\"eventicsutilities\" caption=\"ics file Utilities\">
4
-
5
- <table>
6
- <row> <p align=\"right\">Event Title:</p> <text name=\"a_viewicsevent\"/> </row>
7
- <row> <p align=\"right\">New Name:</p> <text name=\"a_changeicseventdata\"/> </row>
8
-
9
- </table>
10
-
11
- <horizontal>
12
- <button caption=\"Rename ics File\" action=\"changeicseventdata\"/>
13
- <button caption=\"Delete ics File\" action=\"deleteicseventrecord\"/>
14
- <button caption=\"Help\" action=\"runhelpwindowrwdschedule\"/>
15
- </horizontal>
16
-
17
- <p>%%eventicsfilechangeresult%%</p>
18
- <horizontal>
19
- <button caption=\"List ics Files\" action=\"listicseventdates\"/>
20
-
21
-
22
- </horizontal>
23
-
24
- <p>%%eventicsrecordsresult%%</p>
25
- </tab>"
@@ -1,6 +0,0 @@
1
- ## rwdschedule sample data
2
- schedules/20050120T09.ics
3
- schedules/Enterprise.ics
4
- schedules/US Holidays.ics
5
- schedules/testics05.ics
6
- schedules/200505may02a.sch
@@ -1,17 +0,0 @@
1
- ## rwdwschedule
2
- gui/tinkerbackwindows/superant.com.rwdschedulesback
3
- gui/tinkerbackwindows/superant.com.rwdschedules
4
- code/superant.com.schedule
5
- code/superant.com.rwdcalendar
6
- lang/en/rwdcalendar
7
- lang/es/rwdcalendar
8
- lang/nl/rwdcalendar
9
- tests/makedist-rwdwhypernote.rb
10
- tests/gemspec-rwdwschedule
11
- rwd_files/HowTo_Schedule.txt
12
- configuration/rwdwschedule-1.04.dist
13
- configuration/rwdwschedule-1.04.cnf
14
- extras/cal.rb
15
- extras/icalendar
16
- extras/icalendar.rb
17
-
@@ -1,11 +0,0 @@
1
- # rwdshell - applet to run shell scripts =
2
- gui/tinkerbackwindows/superant.com.ashellscripts
3
- gui/tinkerbackwindows/superant.com.rwdshellbackwindow
4
- code/superant.com.rwdshell
5
- tests/makedist-rwdwshell.rb
6
- tests/gemspec-rwdwshell
7
- rwd_files/HowTo_RubyEval.html
8
- rwd_files/HowTo_Shell.txt
9
- configuration/rwdwshell-1.04.dist
10
- configuration/rwdwshell-1.04.cnf
11
-
@@ -1,6 +0,0 @@
1
- # Lang file for rwdclandar - en
2
-
3
- :year => "Year:",
4
- :month => "Month:",
5
- :show_month => '"Show Month"',
6
-
@@ -1,6 +0,0 @@
1
- # Lang file for rwdclandar - nl
2
-
3
- :year => "Jaar:",
4
- :month => "Maand:",
5
-
6
-
@@ -1,6 +0,0 @@
1
- # Lang file for rwdclandar - nl
2
-
3
- :year => "Jaar:",
4
- :month => "Maand:" ,
5
- :show_month => '"Zie Maand"',
6
-