taskjuggler 3.6.0 → 3.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (415) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG +51 -0
  3. data/data/css/tjreport.css +4 -0
  4. data/data/tjp.vim +21 -15
  5. data/examples/ProjectTemplate/template.tjp +7 -7
  6. data/examples/Tutorial/tutorial.tjp +1 -1
  7. data/lib/taskjuggler/Allocation.rb +1 -1
  8. data/lib/taskjuggler/AttributeBase.rb +10 -4
  9. data/lib/taskjuggler/Attributes.rb +2 -2
  10. data/lib/taskjuggler/BatchProcessor.rb +1 -1
  11. data/lib/taskjuggler/Interval.rb +10 -12
  12. data/lib/taskjuggler/Journal.rb +2 -2
  13. data/lib/taskjuggler/LogicalFunction.rb +1 -1
  14. data/lib/taskjuggler/LogicalOperation.rb +7 -4
  15. data/lib/taskjuggler/MessageHandler.rb +1 -1
  16. data/lib/taskjuggler/PTNProxy.rb +1 -1
  17. data/lib/taskjuggler/Project.rb +27 -22
  18. data/lib/taskjuggler/PropertyList.rb +7 -1
  19. data/lib/taskjuggler/PropertySet.rb +1 -1
  20. data/lib/taskjuggler/PropertyTreeNode.rb +5 -3
  21. data/lib/taskjuggler/Query.rb +3 -3
  22. data/lib/taskjuggler/RealFormat.rb +1 -1
  23. data/lib/taskjuggler/Resource.rb +2 -2
  24. data/lib/taskjuggler/ResourceScenario.rb +37 -5
  25. data/lib/taskjuggler/RichText/Snip.rb +1 -1
  26. data/lib/taskjuggler/RuntimeConfig.rb +1 -1
  27. data/lib/taskjuggler/Scoreboard.rb +5 -2
  28. data/lib/taskjuggler/Shift.rb +2 -2
  29. data/lib/taskjuggler/ShiftAssignments.rb +1 -1
  30. data/lib/taskjuggler/TaskJuggler.rb +4 -4
  31. data/lib/taskjuggler/TextParser.rb +1 -1
  32. data/lib/taskjuggler/TextParser/Scanner.rb +3 -3
  33. data/lib/taskjuggler/TimeSheets.rb +2 -2
  34. data/lib/taskjuggler/Tj3AppBase.rb +23 -9
  35. data/lib/taskjuggler/Tj3Config.rb +5 -3
  36. data/lib/taskjuggler/TjpExample.rb +3 -1
  37. data/lib/taskjuggler/TjpSyntaxRules.rb +157 -130
  38. data/lib/taskjuggler/UTF8String.rb +3 -3
  39. data/lib/taskjuggler/WorkingHours.rb +3 -3
  40. data/lib/taskjuggler/XMLElement.rb +12 -1
  41. data/lib/taskjuggler/apps/Tj3.rb +3 -1
  42. data/lib/taskjuggler/apps/Tj3Client.rb +3 -2
  43. data/lib/taskjuggler/apps/Tj3Daemon.rb +3 -1
  44. data/lib/taskjuggler/apps/Tj3Man.rb +4 -2
  45. data/lib/taskjuggler/apps/Tj3SsReceiver.rb +3 -1
  46. data/lib/taskjuggler/apps/Tj3SsSender.rb +3 -1
  47. data/lib/taskjuggler/apps/Tj3TsReceiver.rb +3 -1
  48. data/lib/taskjuggler/apps/Tj3TsSender.rb +3 -1
  49. data/lib/taskjuggler/apps/Tj3TsSummary.rb +3 -1
  50. data/lib/taskjuggler/apps/Tj3WebD.rb +3 -1
  51. data/lib/taskjuggler/deep_copy.rb +1 -1
  52. data/lib/taskjuggler/reports/CSVFile.rb +3 -3
  53. data/lib/taskjuggler/reports/ChartPlotter.rb +1 -1
  54. data/lib/taskjuggler/reports/GanttChart.rb +8 -2
  55. data/lib/taskjuggler/reports/GanttHeader.rb +11 -1
  56. data/lib/taskjuggler/reports/GanttLine.rb +6 -0
  57. data/lib/taskjuggler/reports/ICalReport.rb +1 -1
  58. data/lib/taskjuggler/reports/Report.rb +1 -1
  59. data/lib/taskjuggler/reports/ReportTableCell.rb +1 -1
  60. data/lib/taskjuggler/reports/TableReport.rb +7 -12
  61. data/lib/taskjuggler/reports/TjpExportRE.rb +1 -5
  62. data/lib/taskjuggler/version.rb +1 -0
  63. data/man/tj3.1 +130 -0
  64. data/man/tj3client.1 +145 -0
  65. data/man/tj3d.1 +93 -0
  66. data/man/tj3man.1 +76 -0
  67. data/man/tj3ss_receiver.1 +86 -0
  68. data/man/tj3ss_sender.1 +100 -0
  69. data/man/tj3ts_receiver.1 +86 -0
  70. data/man/tj3ts_sender.1 +92 -0
  71. data/man/tj3ts_summary.1 +104 -0
  72. data/man/tj3webd.1 +86 -0
  73. data/manual/Day_To_Day_Juggling +8 -8
  74. data/manual/Installation +6 -6
  75. data/manual/List_Attributes +1 -1
  76. data/manual/Rich_Text_Attributes +6 -5
  77. data/manual/Software +6 -6
  78. data/manual/TaskJuggler_Internals +4 -4
  79. data/manual/The_TaskJuggler_Syntax +5 -5
  80. data/manual/Tutorial +13 -11
  81. data/manual/html/Day_To_Day_Juggling.html +9 -9
  82. data/manual/html/Getting_Started.html +2 -2
  83. data/manual/html/How_To_Contribute.html +2 -2
  84. data/manual/html/Installation.html +8 -8
  85. data/manual/html/Intro.html +2 -2
  86. data/manual/html/List_Attributes.html +3 -3
  87. data/manual/html/Reporting_Bugs.html +2 -2
  88. data/manual/html/Rich_Text_Attributes.html +5 -5
  89. data/manual/html/Software.html +7 -7
  90. data/manual/html/TaskJuggler_2x_Migration.html +2 -2
  91. data/manual/html/TaskJuggler_Internals.html +6 -6
  92. data/manual/html/The_TaskJuggler_Syntax.html +6 -6
  93. data/manual/html/Tutorial.html +17 -14
  94. data/manual/html/account.html +4 -4
  95. data/manual/html/account.task.html +2 -2
  96. data/manual/html/accountprefix.html +2 -2
  97. data/manual/html/accountreport.html +4 -4
  98. data/manual/html/accountroot.html +3 -3
  99. data/manual/html/active.html +3 -3
  100. data/manual/html/adopt.task.html +2 -2
  101. data/manual/html/aggregate.html +2 -2
  102. data/manual/html/alert.html +3 -3
  103. data/manual/html/alertlevels.html +2 -2
  104. data/manual/html/allocate.html +3 -3
  105. data/manual/html/alphabet.html +1 -1
  106. data/manual/html/alternative.html +2 -2
  107. data/manual/html/author.html +2 -2
  108. data/manual/html/auxdir.html +2 -2
  109. data/manual/html/auxdir.report.html +3 -3
  110. data/manual/html/balance.html +3 -3
  111. data/manual/html/booking.resource.html +4 -4
  112. data/manual/html/booking.task.html +4 -4
  113. data/manual/html/caption.html +3 -3
  114. data/manual/html/cellcolor.column.html +3 -3
  115. data/manual/html/celltext.column.html +3 -3
  116. data/manual/html/center.html +3 -3
  117. data/manual/html/charge.html +2 -2
  118. data/manual/html/chargeset.html +2 -2
  119. data/manual/html/columnid.html +17 -13
  120. data/manual/html/columns.html +3 -3
  121. data/manual/html/complete.html +2 -2
  122. data/manual/html/copyright.html +2 -2
  123. data/manual/html/credits.html +2 -2
  124. data/manual/html/css/tjreport.css +4 -0
  125. data/manual/html/currency.html +2 -2
  126. data/manual/html/currencyformat.html +4 -4
  127. data/manual/html/dailymax.html +2 -2
  128. data/manual/html/dailymin.html +3 -3
  129. data/manual/html/dailyworkinghours.html +2 -2
  130. data/manual/html/date.extend.html +2 -2
  131. data/manual/html/date.html +5 -5
  132. data/manual/html/definitions.html +4 -4
  133. data/manual/html/depends.html +4 -4
  134. data/manual/html/details.html +2 -2
  135. data/manual/html/disabled.html +2 -2
  136. data/manual/html/duration.html +2 -2
  137. data/manual/html/efficiency.html +3 -3
  138. data/manual/html/effort.html +2 -2
  139. data/manual/html/effortdone.html +2 -2
  140. data/manual/html/effortleft.html +2 -2
  141. data/manual/html/email.html +2 -2
  142. data/manual/html/enabled.html +2 -2
  143. data/manual/html/end.column.html +3 -3
  144. data/manual/html/end.html +4 -4
  145. data/manual/html/end.limit.html +2 -2
  146. data/manual/html/end.report.html +3 -3
  147. data/manual/html/end.timesheet.html +3 -3
  148. data/manual/html/endcredit.html +3 -3
  149. data/manual/html/epilog.html +3 -3
  150. data/manual/html/export.html +4 -4
  151. data/manual/html/extend.html +3 -3
  152. data/manual/html/fail.html +3 -3
  153. data/manual/html/fdl.html +2 -2
  154. data/manual/html/flags.account.html +2 -2
  155. data/manual/html/flags.html +2 -2
  156. data/manual/html/flags.journalentry.html +2 -2
  157. data/manual/html/flags.report.html +3 -3
  158. data/manual/html/flags.resource.html +2 -2
  159. data/manual/html/flags.statussheet.html +2 -2
  160. data/manual/html/flags.task.html +2 -2
  161. data/manual/html/flags.timesheet.html +2 -2
  162. data/manual/html/fontcolor.column.html +3 -3
  163. data/manual/html/footer.html +3 -3
  164. data/manual/html/formats.export.html +3 -3
  165. data/manual/html/formats.html +4 -4
  166. data/manual/html/functions.html +5 -5
  167. data/manual/html/gapduration.html +2 -2
  168. data/manual/html/gaplength.html +2 -2
  169. data/manual/html/halign.center.html +2 -2
  170. data/manual/html/halign.column.html +3 -3
  171. data/manual/html/halign.left.html +2 -2
  172. data/manual/html/halign.right.html +2 -2
  173. data/manual/html/hasalert.html +2 -2
  174. data/manual/html/header.html +3 -3
  175. data/manual/html/headline.html +3 -3
  176. data/manual/html/height.html +4 -4
  177. data/manual/html/hideaccount.html +4 -4
  178. data/manual/html/hidejournalentry.html +3 -3
  179. data/manual/html/hidereport.html +3 -3
  180. data/manual/html/hideresource.html +4 -4
  181. data/manual/html/hidetask.html +4 -4
  182. data/manual/html/icalreport.html +9 -3
  183. data/manual/html/include.macro.html +3 -3
  184. data/manual/html/include.project.html +3 -3
  185. data/manual/html/include.properties.html +3 -3
  186. data/manual/html/index.html +1 -1
  187. data/manual/html/inherit.extend.html +3 -3
  188. data/manual/html/interval1.html +3 -3
  189. data/manual/html/interval2.html +3 -3
  190. data/manual/html/interval3.html +2 -2
  191. data/manual/html/interval4.html +2 -2
  192. data/manual/html/isactive.html +2 -2
  193. data/manual/html/ischildof.html +2 -2
  194. data/manual/html/isdependencyof.html +2 -2
  195. data/manual/html/isdutyof.html +2 -2
  196. data/manual/html/isfeatureof.html +2 -2
  197. data/manual/html/isleaf.html +2 -2
  198. data/manual/html/ismilestone.html +2 -2
  199. data/manual/html/isongoing.html +3 -3
  200. data/manual/html/isresource.html +2 -2
  201. data/manual/html/isresponsibilityof.html +2 -2
  202. data/manual/html/istask.html +2 -2
  203. data/manual/html/isvalid.html +2 -2
  204. data/manual/html/journalattributes.html +3 -3
  205. data/manual/html/journalentry.html +3 -3
  206. data/manual/html/journalmode.html +4 -4
  207. data/manual/html/leaveallowance.html +3 -3
  208. data/manual/html/leaves.html +3 -3
  209. data/manual/html/left.html +3 -3
  210. data/manual/html/length.html +3 -3
  211. data/manual/html/limits.allocate.html +2 -2
  212. data/manual/html/limits.html +2 -2
  213. data/manual/html/limits.resource.html +2 -2
  214. data/manual/html/limits.task.html +2 -2
  215. data/manual/html/listitem.column.html +3 -3
  216. data/manual/html/listtype.column.html +2 -2
  217. data/manual/html/loadunit.html +3 -3
  218. data/manual/html/logicalexpression.html +4 -4
  219. data/manual/html/logicalflagexpression.html +4 -4
  220. data/manual/html/macro.html +4 -4
  221. data/manual/html/managers.html +2 -2
  222. data/manual/html/mandatory.html +4 -4
  223. data/manual/html/markdate.html +69 -0
  224. data/manual/html/maxend.html +4 -4
  225. data/manual/html/maximum.html +2 -2
  226. data/manual/html/maxstart.html +2 -2
  227. data/manual/html/milestone.html +3 -3
  228. data/manual/html/minend.html +2 -2
  229. data/manual/html/minimum.html +2 -2
  230. data/manual/html/minstart.html +2 -2
  231. data/manual/html/monthlymax.html +2 -2
  232. data/manual/html/monthlymin.html +3 -3
  233. data/manual/html/navbar.html +5 -1
  234. data/manual/html/navigator.html +2 -2
  235. data/manual/html/newtask.html +3 -3
  236. data/manual/html/nikureport.html +2 -2
  237. data/manual/html/note.task.html +4 -4
  238. data/manual/html/novevents.html +68 -0
  239. data/manual/html/now.html +4 -4
  240. data/manual/html/number.extend.html +2 -2
  241. data/manual/html/numberformat.html +3 -3
  242. data/manual/html/onend.html +2 -2
  243. data/manual/html/onstart.html +2 -2
  244. data/manual/html/opennodes.html +3 -3
  245. data/manual/html/outputdir.html +3 -3
  246. data/manual/html/overtime.booking.html +2 -2
  247. data/manual/html/period.column.html +2 -2
  248. data/manual/html/period.limit.html +2 -2
  249. data/manual/html/period.report.html +3 -3
  250. data/manual/html/period.task.html +2 -2
  251. data/manual/html/persistent.html +3 -3
  252. data/manual/html/precedes.html +5 -5
  253. data/manual/html/priority.html +4 -4
  254. data/manual/html/priority.timesheet.html +3 -3
  255. data/manual/html/project.html +4 -4
  256. data/manual/html/projectid.html +2 -2
  257. data/manual/html/projectid.task.html +3 -3
  258. data/manual/html/projectids.html +2 -2
  259. data/manual/html/projection.html +2 -2
  260. data/manual/html/prolog.html +3 -3
  261. data/manual/html/properties.html +3 -3
  262. data/manual/html/purge.html +3 -3
  263. data/manual/html/rate.html +2 -2
  264. data/manual/html/rate.resource.html +2 -2
  265. data/manual/html/rawhtmlhead.html +4 -4
  266. data/manual/html/reference.extend.html +2 -2
  267. data/manual/html/remaining.html +3 -3
  268. data/manual/html/replace.html +2 -2
  269. data/manual/html/reportprefix.html +2 -2
  270. data/manual/html/resource.html +3 -3
  271. data/manual/html/resourceattributes.html +2 -2
  272. data/manual/html/resourceprefix.html +2 -2
  273. data/manual/html/resourcereport.html +5 -5
  274. data/manual/html/resourceroot.html +4 -4
  275. data/manual/html/resources.limit.html +2 -2
  276. data/manual/html/responsible.html +2 -2
  277. data/manual/html/richtext.extend.html +2 -2
  278. data/manual/html/right.html +3 -3
  279. data/manual/html/rollupaccount.html +4 -4
  280. data/manual/html/rollupresource.html +4 -4
  281. data/manual/html/rolluptask.html +4 -4
  282. data/manual/html/scale.column.html +2 -2
  283. data/manual/html/scenario.html +3 -3
  284. data/manual/html/scenario.ical.html +3 -3
  285. data/manual/html/scenarios.export.html +2 -2
  286. data/manual/html/scenarios.html +3 -3
  287. data/manual/html/scenariospecific.extend.html +2 -2
  288. data/manual/html/scheduled.html +2 -2
  289. data/manual/html/scheduling.html +6 -6
  290. data/manual/html/schedulingmode.html +2 -2
  291. data/manual/html/select.html +4 -4
  292. data/manual/html/selfcontained.html +3 -3
  293. data/manual/html/shift.allocate.html +2 -2
  294. data/manual/html/shift.html +3 -3
  295. data/manual/html/shift.resource.html +4 -4
  296. data/manual/html/shift.task.html +2 -2
  297. data/manual/html/shift.timesheet.html +2 -2
  298. data/manual/html/shifts.allocate.html +2 -2
  299. data/manual/html/shifts.resource.html +2 -2
  300. data/manual/html/shifts.task.html +3 -3
  301. data/manual/html/shorttimeformat.html +3 -3
  302. data/manual/html/sloppy.booking.html +2 -2
  303. data/manual/html/sloppy.projection.html +2 -2
  304. data/manual/html/sortaccounts.html +3 -3
  305. data/manual/html/sortjournalentries.html +3 -3
  306. data/manual/html/sortresources.html +3 -3
  307. data/manual/html/sorttasks.html +3 -3
  308. data/manual/html/start.column.html +3 -3
  309. data/manual/html/start.html +4 -4
  310. data/manual/html/start.limit.html +2 -2
  311. data/manual/html/start.report.html +3 -3
  312. data/manual/html/startcredit.html +3 -3
  313. data/manual/html/status.statussheet.html +2 -2
  314. data/manual/html/status.timesheet.html +2 -2
  315. data/manual/html/statussheet.html +2 -2
  316. data/manual/html/statussheetreport.html +3 -3
  317. data/manual/html/strict.projection.html +2 -2
  318. data/manual/html/summary.html +2 -2
  319. data/manual/html/supplement.html +2 -2
  320. data/manual/html/supplement.resource.html +2 -2
  321. data/manual/html/supplement.task.html +2 -2
  322. data/manual/html/tagfile.html +3 -3
  323. data/manual/html/task.html +3 -3
  324. data/manual/html/task.statussheet.html +3 -3
  325. data/manual/html/task.timesheet.html +2 -2
  326. data/manual/html/taskattributes.html +2 -2
  327. data/manual/html/taskprefix.html +2 -2
  328. data/manual/html/taskreport.html +5 -5
  329. data/manual/html/taskroot.export.html +2 -2
  330. data/manual/html/taskroot.html +3 -3
  331. data/manual/html/text.extend.html +2 -2
  332. data/manual/html/textreport.html +5 -5
  333. data/manual/html/timeformat.html +4 -4
  334. data/manual/html/timeformat1.html +2 -2
  335. data/manual/html/timeformat2.html +2 -2
  336. data/manual/html/timeoff.nikureport.html +2 -2
  337. data/manual/html/timesheet.html +3 -3
  338. data/manual/html/timesheetreport.html +3 -3
  339. data/manual/html/timezone.export.html +2 -2
  340. data/manual/html/timezone.html +2 -2
  341. data/manual/html/timezone.report.html +3 -3
  342. data/manual/html/timezone.shift.html +2 -2
  343. data/manual/html/timingresolution.html +2 -2
  344. data/manual/html/title.column.html +2 -2
  345. data/manual/html/title.html +3 -3
  346. data/manual/html/toc.html +157 -143
  347. data/manual/html/tooltip.column.html +3 -3
  348. data/manual/html/tracereport.html +8 -8
  349. data/manual/html/trackingscenario.html +3 -3
  350. data/manual/html/treelevel.html +2 -2
  351. data/manual/html/vacation.html +2 -2
  352. data/manual/html/vacation.resource.html +2 -2
  353. data/manual/html/vacation.shift.html +2 -2
  354. data/manual/html/warn.html +4 -4
  355. data/manual/html/weeklymax.html +2 -2
  356. data/manual/html/weeklymin.html +3 -3
  357. data/manual/html/weekstartsmonday.html +2 -2
  358. data/manual/html/weekstartssunday.html +2 -2
  359. data/manual/html/width.column.html +2 -2
  360. data/manual/html/width.html +4 -4
  361. data/manual/html/work.html +3 -3
  362. data/manual/html/workinghours.project.html +3 -3
  363. data/manual/html/workinghours.resource.html +2 -2
  364. data/manual/html/workinghours.shift.html +2 -2
  365. data/manual/html/yearlyworkingdays.html +2 -2
  366. data/spec/ProjectBroker_spec.rb +6 -6
  367. data/spec/StatusSheets_spec.rb +1 -1
  368. data/spec/TimeSheets_spec.rb +1 -1
  369. data/taskjuggler.gemspec +7 -7
  370. data/tasks/changelog.rake +2 -0
  371. data/tasks/gem.rake +3 -0
  372. data/tasks/help2man.rake +18 -0
  373. data/tasks/kate.rake +2 -0
  374. data/tasks/manual.rake +2 -0
  375. data/tasks/test.rake +5 -0
  376. data/tasks/vim.rake +2 -0
  377. data/test/TestSuite/Export-Reports/refs/AccountReport.tjp +0 -1
  378. data/test/TestSuite/Export-Reports/refs/AdoptedTasks.tjp +0 -2
  379. data/test/TestSuite/Export-Reports/refs/AlertLevels.tjp +0 -1
  380. data/test/TestSuite/Export-Reports/refs/Allocate-1.tjp +0 -1
  381. data/test/TestSuite/Export-Reports/refs/AutoID.tjp +0 -1
  382. data/test/TestSuite/Export-Reports/refs/AutoMacros.tjp +0 -1
  383. data/test/TestSuite/Export-Reports/refs/Currencyformat.tjp +0 -1
  384. data/test/TestSuite/Export-Reports/refs/CustomAttributes.tjp +0 -2
  385. data/test/TestSuite/Export-Reports/refs/Depends1.tjp +0 -1
  386. data/test/TestSuite/Export-Reports/refs/Durations.tjp +0 -1
  387. data/test/TestSuite/Export-Reports/refs/Efficiency.tjp +0 -1
  388. data/test/TestSuite/Export-Reports/refs/Gap.tjp +0 -3
  389. data/test/TestSuite/Export-Reports/refs/Include.tjp +0 -1
  390. data/test/TestSuite/Export-Reports/refs/Journal.tjp +0 -1
  391. data/test/TestSuite/Export-Reports/refs/Macro-1.tjp +0 -1
  392. data/test/TestSuite/Export-Reports/refs/Macro-2.tjp +0 -2
  393. data/test/TestSuite/Export-Reports/refs/Macro-3.tjp +0 -1
  394. data/test/TestSuite/Export-Reports/refs/Manager.tjp +0 -1
  395. data/test/TestSuite/Export-Reports/refs/Milestone.tjp +0 -2
  396. data/test/TestSuite/Export-Reports/refs/Numberformat.tjp +0 -1
  397. data/test/TestSuite/Export-Reports/refs/Precedes1.tjp +0 -1
  398. data/test/TestSuite/Export-Reports/refs/Project.tjp +0 -1
  399. data/test/TestSuite/Export-Reports/refs/ProjectIDs.tjp +0 -3
  400. data/test/TestSuite/Export-Reports/refs/Reports.tjp +0 -1
  401. data/test/TestSuite/Export-Reports/refs/Resource.tjp +0 -1
  402. data/test/TestSuite/Export-Reports/refs/ResourceRoot.tjp +0 -1
  403. data/test/TestSuite/Export-Reports/refs/RollupResource.tjp +0 -1
  404. data/test/TestSuite/Export-Reports/refs/Scenario.tjp +0 -2
  405. data/test/TestSuite/Export-Reports/refs/Timezone.tjp +0 -1
  406. data/test/TestSuite/Export-Reports/refs/Vacation.tjp +0 -1
  407. data/test/TestSuite/Export-Reports/refs/navigator.tjp +0 -4
  408. data/test/TestSuite/Export-Reports/refs/template.tjp +0 -6
  409. data/test/TestSuite/Export-Reports/refs/textreport.tjp +0 -1
  410. data/test/TestSuite/Export-Reports/refs/tutorial.tjp +0 -8
  411. data/test/TestSuite/Syntax/Correct/Booking.tjp +1 -1
  412. data/test/TestSuite/Syntax/Correct/Currencyformat.tjp +1 -1
  413. data/test/TestSuite/Syntax/Correct/tutorial.tjp +5 -0
  414. data/test/test_ProjectFileScanner.rb +8 -8
  415. metadata +43 -10
@@ -265,11 +265,7 @@ class TaskJuggler
265
265
  if isLeafTask
266
266
  a('scenarios').each do |scenarioIdx|
267
267
  generateAttribute(task, 'start', indent + 2, scenarioIdx)
268
- if task['milestone', scenarioIdx]
269
- if task['scheduled', scenarioIdx]
270
- generateAttributeText('milestone', indent + 2, scenarioIdx)
271
- end
272
- else
268
+ if !task['milestone', scenarioIdx]
273
269
  generateAttribute(task, 'end', indent + 2, scenarioIdx)
274
270
  generateAttributeText('scheduling ' +
275
271
  (task['forward', scenarioIdx] ?
@@ -0,0 +1 @@
1
+ VERSION = '3.7.1'
@@ -0,0 +1,130 @@
1
+ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.5.
2
+ .TH TJ3 "1" "March 2020" "tj3 (TaskJuggler) 3.7.1" "TaskJuggler"
3
+ .SH NAME
4
+ tj3 \- schedules tj3 projects and generates reports
5
+ .SH SYNOPSIS
6
+ .B tj3
7
+ [\fI\,options\/\fR]
8
+ .SH DESCRIPTION
9
+ This is the main application. It reads in your project files, schedules the
10
+ project and generates the reports.
11
+ .SH OPTIONS
12
+ .TP
13
+ \fB\-\-config\fR <FILE>
14
+ Use the specified YAML configuration file
15
+ .TP
16
+ \fB\-\-silent\fR
17
+ Don't show program and progress information
18
+ .TP
19
+ \fB\-\-no\-color\fR
20
+ Don't use ANSI contol sequences to color the
21
+ terminal output. Colors should only be used when
22
+ spooling to an ANSI terminal. In case the detection
23
+ fails, you can use this option to force colors to
24
+ be off.
25
+ .TP
26
+ \fB\-\-debug\fR
27
+ Enable Ruby debug mode
28
+ .TP
29
+ \fB\-\-debuglevel\fR N
30
+ Verbosity of debug output
31
+ .TP
32
+ \fB\-\-debugmodules\fR x,y,z
33
+ Restrict debug output to a list of modules
34
+ .TP
35
+ \fB\-\-freeze\fR
36
+ Generate or update the booking file for the
37
+ project. The file will have the same base name as
38
+ the project file but has a \fB\-bookings\fR.tji extension.
39
+ .TP
40
+ \fB\-\-freezedate\fR <date>
41
+ Use a different date than the current momentas
42
+ cut\-off date for the booking file
43
+ .TP
44
+ \fB\-\-freezebytask\fR
45
+ Group the bookings in the booking file generated
46
+ during a freeze by task instead of by resource.
47
+ .TP
48
+ \fB\-\-check\-time\-sheet\fR <tji\-file>
49
+ Check the given time sheet
50
+ .TP
51
+ \fB\-\-check\-status\-sheet\fR <tji\-file>
52
+ Check the given status sheet
53
+ .TP
54
+ \fB\-\-warn\-ts\-deltas\fR
55
+ Turn on warnings for requested changes in time
56
+ sheets
57
+ .TP
58
+ \fB\-\-check\-syntax\fR
59
+ Only parse the input files and check the syntax.
60
+ .TP
61
+ \fB\-\-no\-reports\fR
62
+ Just schedule the project, but don't generate any
63
+ reports.
64
+ .TP
65
+ \fB\-\-list\-reports\fR <report ID regular expression>
66
+ List id, formats and file name of all the defined
67
+ reports that have IDs that match the specified
68
+ regular expression.
69
+ .TP
70
+ \fB\-\-report\fR <report ID>
71
+ Only generate the report with the specified ID.
72
+ This option can be used multiple times.
73
+ .TP
74
+ \fB\-\-reports\fR <report ID regular expression>
75
+ Only generate the reports that have IDs that match
76
+ the specified regular expression. This option can
77
+ be used multiple times.
78
+ .TP
79
+ \fB\-f\fR, \fB\-\-force\-reports\fR
80
+ Generate reports despite scheduling errors
81
+ .TP
82
+ \fB\-\-add\-trace\fR
83
+ Append a current data set to all trace reports.
84
+ .TP
85
+ \fB\-\-abort\-on\-warnings\fR
86
+ Abort program on warnings like we do on errors.
87
+ .TP
88
+ \fB\-o\fR <directory>,
89
+ Directory the reports should go into
90
+ .HP
91
+ \fB\-\-output\-dir\fR
92
+ .TP
93
+ \fB\-c\fR N
94
+ Maximum number of CPU cores to use
95
+ .TP
96
+ \fB\-h\fR, \fB\-\-help\fR
97
+ Show this message
98
+ .TP
99
+ \fB\-\-version\fR
100
+ Show version info
101
+ .SH ENVIRONMENT
102
+
103
+ .TP
104
+ \fBTASKJUGGLER_DATA_PATH\fR
105
+ Override the path to the TaskJuggler data folder.
106
+ The data folder contains the css, icons and scripts
107
+ for TaskJuggler reports.
108
+
109
+ .TP
110
+ \fBTZ\fR
111
+ The POSIX Time Zone environment variable.
112
+
113
+ Any environment variable may be used in a TaskJuggler file using the expression $(VAR_NAME).
114
+ .SH EXAMPLES
115
+
116
+ tj3 tutorial.tjp
117
+ .SH COPYRIGHT
118
+ Copyright \(co 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020
119
+ .IP
120
+ by Chris Schlaeger <cs@taskjuggler.org>
121
+ .PP
122
+ This program is free software; you can redistribute it and/or modify it under
123
+ the terms of version 2 of the GNU General Public License as published by the
124
+ Free Software Foundation.
125
+ .PP
126
+ For more info about TaskJuggler see http://www.taskjuggler.org
127
+ .SH "SEE ALSO"
128
+ tj3client(1), tj3d(1), tj3man(1), tj3ss_receiver(1), tj3ss_sender(1), tj3ts_receiver(1), tj3ts_sender(1), tj3ts_summary(1), tj3webd(1)
129
+
130
+ The full TaskJuggler manual is available online at http://www.taskjuggler.org/tj3/manual/, or via the tj3man command.
@@ -0,0 +1,145 @@
1
+ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.5.
2
+ .TH TJ3CLIENT "1" "March 2020" "tj3client (TaskJuggler) 3.7.1" "TaskJuggler"
3
+ .SH NAME
4
+ tj3client \- send commands and data to the TaskJuggler daemon
5
+ .SH SYNOPSIS
6
+ .B tj3client
7
+ [\fI\,options\/\fR] \fI\,<command> \/\fR[\fI\,arg1 arg2 \/\fR...]
8
+ .SH DESCRIPTION
9
+ The TaskJuggler client is used to send commands and data to the TaskJuggler
10
+ daemon. The communication is done via TCP/IP.
11
+ .PP
12
+ The following commands are supported:
13
+ .IP
14
+ status
15
+ .IP
16
+ Display the status of the available projects
17
+ .IP
18
+ terminate
19
+ .IP
20
+ Terminate the TaskJuggler daemon
21
+ .IP
22
+ add <tjp file> [<tji file> ...]
23
+ .IP
24
+ Add a new project or update and existing one
25
+ .IP
26
+ update
27
+ .IP
28
+ Reload all projects that have modified files and are not being
29
+ reloaded already
30
+ .IP
31
+ remove <project ID> [<project ID> ...]
32
+ .IP
33
+ Remove the project with the specified ID from the daemon
34
+ .TP
35
+ report <project ID> <report ID> [<report ID> ...] [=
36
+ [<tji file> ...]]
37
+ .IP
38
+ Generate the report with the provided ID for the project with the
39
+ given ID
40
+ .IP
41
+ list\-reports <project ID> [report ID ]
42
+ .IP
43
+ List all available reports of the project or those that match the
44
+ provided report ID
45
+ .IP
46
+ check\-ts <project ID> <time sheet>
47
+ .IP
48
+ Check the provided time sheet for correctness against the project
49
+ with the given ID
50
+ .IP
51
+ check\-ss <project ID> <status sheet>
52
+ .IP
53
+ Check the provided status sheet for correctness against the project
54
+ with the given ID
55
+ .SH OPTIONS
56
+ .TP
57
+ \fB\-c\fR, \fB\-\-config\fR <FILE>
58
+ Use the specified YAML configuration file
59
+ .TP
60
+ \fB\-\-silent\fR
61
+ Don't show program and progress information
62
+ .TP
63
+ \fB\-\-no\-color\fR
64
+ Don't use ANSI contol sequences to color the
65
+ terminal output. Colors should only be used when
66
+ spooling to an ANSI terminal. In case the detection
67
+ fails, you can use this option to force colors to
68
+ be off.
69
+ .TP
70
+ \fB\-\-debug\fR
71
+ Enable Ruby debug mode
72
+ .TP
73
+ \fB\-p\fR, \fB\-\-port\fR <NUMBER>
74
+ Use the specified TCP/IP port
75
+ .TP
76
+ \fB\-\-urifile\fR <FILE>
77
+ If the port is 0, use this file to get the URI of
78
+ the server.
79
+ .TP
80
+ \fB\-r\fR, \fB\-\-regexp\fR
81
+ The report IDs are not fixed but regular
82
+ expressions that match a set of reports
83
+ .TP
84
+ \fB\-\-unsafe\fR
85
+ Run the program without sandbox protection. This is
86
+ not recommended for normal operation! It may only
87
+ be used for debugging or testing purposes.
88
+ .TP
89
+ \fB\-\-format\fR [FORMAT]
90
+ Request the report to be generated in the
91
+ specifiedformat. Use multiple options to request
92
+ multiple formats. Supported formats are csv, html,
93
+ niku and tjp. By default, the formats specified in
94
+ the report definition are used.
95
+ .TP
96
+ \fB\-h\fR, \fB\-\-help\fR
97
+ Show this message
98
+ .TP
99
+ \fB\-\-version\fR
100
+ Show version info
101
+ .SH ENVIRONMENT
102
+
103
+ .TP
104
+ \fBHOME\fR
105
+ The user's home folder. Used to search for configuration file if not specified.
106
+ .SH FILES
107
+
108
+ .TP
109
+ \fB.taskjugglerrc\fR or \fBtaskjuggler.rc\fR
110
+ tj3d searches for a config file named .taskjugglerrc or taskjuggler.rc in the current path, the user's home path as specified by the HOME environment variable or /etc/. At a minimum the file must contain:
111
+
112
+ _global:
113
+ authKey: ********
114
+
115
+ (the user should specify their own auth key and set file permissions accordingly). An alternative config file location may be specified using the -c, --config FILE option.
116
+ .SH EXAMPLES
117
+ .TP
118
+ Load a project:
119
+ tj3client add yourproject.tjp
120
+ .PP
121
+ .TP
122
+ List available reports for a project:
123
+ tj3client list-reports <project_id>
124
+ .PP
125
+ .TP
126
+ Generate a report:
127
+ tj3client report <project_id> <report_id>
128
+ .PP
129
+ .TP
130
+ Terminate a running instance of the server:
131
+ tj3client terminate
132
+ .SH COPYRIGHT
133
+ Copyright \(co 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020
134
+ .IP
135
+ by Chris Schlaeger <cs@taskjuggler.org>
136
+ .PP
137
+ This program is free software; you can redistribute it and/or modify it under
138
+ the terms of version 2 of the GNU General Public License as published by the
139
+ Free Software Foundation.
140
+ .PP
141
+ For more info about TaskJuggler see http://www.taskjuggler.org
142
+ .SH "SEE ALSO"
143
+ tj3d(1)
144
+
145
+ The full TaskJuggler manual is available online at http://www.taskjuggler.org/tj3/manual/, or via the tj3man command.
@@ -0,0 +1,93 @@
1
+ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.5.
2
+ .TH TJD3 "1" "March 2020" "tjd3 (TaskJuggler) 3.7.1" "TaskJuggler"
3
+ .SH NAME
4
+ tjd3 \- the TaskJuggler daemon
5
+ .SH SYNOPSIS
6
+ .B tj3d
7
+ [\fI\,options\/\fR] [\fI\,<tjp file> \/\fR[\fI\,<tji file> \/\fR...] ...]
8
+ .SH DESCRIPTION
9
+ The TaskJuggler daemon can be used to quickly generate reports for a number
10
+ of scheduled projects that are resident in memory. Once the daemon has been
11
+ started tj3client can be used to control it.
12
+ .SH OPTIONS
13
+ .TP
14
+ \fB\-c\fR, \fB\-\-config\fR <FILE>
15
+ Use the specified YAML configuration file
16
+ .TP
17
+ \fB\-\-silent\fR
18
+ Don't show program and progress information
19
+ .TP
20
+ \fB\-\-no\-color\fR
21
+ Don't use ANSI contol sequences to color the
22
+ terminal output. Colors should only be used when
23
+ spooling to an ANSI terminal. In case the detection
24
+ fails, you can use this option to force colors to
25
+ be off.
26
+ .TP
27
+ \fB\-\-debug\fR
28
+ Enable Ruby debug mode
29
+ .TP
30
+ \fB\-d\fR, \fB\-\-dont\-daemonize\fR
31
+ Don't put program into daemon mode. Keep it
32
+ connected to the terminal and show debug output.
33
+ .TP
34
+ \fB\-p\fR, \fB\-\-port\fR <NUMBER>
35
+ Use the specified TCP/IP port to serve tj3client
36
+ requests (Default: 8474).
37
+ .TP
38
+ \fB\-\-logfile\fR <FILE NAME>
39
+ Log daemon messages to the specified file.
40
+ .TP
41
+ \fB\-\-urifile\fR <FILE NAME>
42
+ If the port is 0, use this file to store the URI of
43
+ the server.
44
+ .TP
45
+ \fB\-w\fR, \fB\-\-webserver\fR
46
+ Start a web server that serves the reports of the
47
+ loaded projects.
48
+ .TP
49
+ \fB\-\-webserver\-port\fR <NUMBER>
50
+ Use the specified TCP/IP port to serve web browser
51
+ requests (Default: 8080).
52
+ .TP
53
+ \fB\-h\fR, \fB\-\-help\fR
54
+ Show this message
55
+ .TP
56
+ \fB\-\-version\fR
57
+ Show version info
58
+ .SH SECURITY
59
+ The author advises: "the daemon has not received any kind of security review ... only use the daemon in a trusted environment with only trusted users!"
60
+ .SH ENVIRONMENT
61
+
62
+ .TP
63
+ \fBHOME\fR
64
+ The user's home folder. Used to search for configuration file if not specified.
65
+ .SH FILES
66
+
67
+ .TP
68
+ \fB.taskjugglerrc\fR or \fBtaskjuggler.rc\fR
69
+ tj3d searches for a config file named .taskjugglerrc or taskjuggler.rc in the current path, the user's home path as specified by the HOME environment variable or /etc/. At a minimum the file must contain:
70
+
71
+ _global:
72
+ authKey: ********
73
+
74
+ (the user should specify their own auth key and set file permissions accordingly). An alternative config file location may be specified using the -c, --config FILE option.
75
+
76
+ .TP
77
+ \fBtj3d.log\fR
78
+
79
+ The tj3d log file, created in the working directory. Location can be overridden using the --logfile FILE option.
80
+ .SH COPYRIGHT
81
+ Copyright \(co 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020
82
+ .IP
83
+ by Chris Schlaeger <cs@taskjuggler.org>
84
+ .PP
85
+ This program is free software; you can redistribute it and/or modify it under
86
+ the terms of version 2 of the GNU General Public License as published by the
87
+ Free Software Foundation.
88
+ .PP
89
+ For more info about TaskJuggler see http://www.taskjuggler.org
90
+ .SH "SEE ALSO"
91
+ tj3client(1)
92
+
93
+ The full TaskJuggler manual is available online at http://www.taskjuggler.org/tj3/manual/, or via the tj3man command.
@@ -0,0 +1,76 @@
1
+ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.5.
2
+ .TH TJ3MAN "1" "March 2020" "tj3man (TaskJuggler) 3.7.1" "TaskJuggler"
3
+ .SH NAME
4
+ tj3man \- get documentation for TaskJuggler keywords or generate user manual
5
+ .SH SYNOPSIS
6
+ .B tj3man
7
+ [\fI\,options\/\fR]
8
+ .SH DESCRIPTION
9
+ This program can be used to generate the user manual in HTML format or to get
10
+ a textual help for individual keywords.
11
+ .SH OPTIONS
12
+ .TP
13
+ \fB\-c\fR, \fB\-\-config\fR <FILE>
14
+ Use the specified YAML configuration file
15
+ .TP
16
+ \fB\-\-silent\fR
17
+ Don't show program and progress information
18
+ .TP
19
+ \fB\-\-no\-color\fR
20
+ Don't use ANSI contol sequences to color the
21
+ terminal output. Colors should only be used when
22
+ spooling to an ANSI terminal. In case the detection
23
+ fails, you can use this option to force colors to
24
+ be off.
25
+ .TP
26
+ \fB\-\-debug\fR
27
+ Enable Ruby debug mode
28
+ .TP
29
+ \fB\-d\fR, \fB\-\-dir\fR <directory>
30
+ directory to put the manual
31
+ .TP
32
+ \fB\-\-html\fR
33
+ Show the user manual in your local web browser. By
34
+ default, Firefox is used or the browser specified
35
+ with the $BROWSER environment variable.
36
+ .TP
37
+ \fB\-\-browser\fR <command>
38
+ Specify the command to start your web browser. The
39
+ default is 'firefox'.
40
+ .TP
41
+ \fB\-m\fR, \fB\-\-manual\fR
42
+ Generate the user manual into the current directory
43
+ or the directory specified with the \fB\-d\fR option.
44
+ .TP
45
+ \fB\-h\fR, \fB\-\-help\fR
46
+ Show this message
47
+ .TP
48
+ \fB\-\-version\fR
49
+ Show version info
50
+ .SH ENVIRONMENT
51
+
52
+ .TP
53
+ \fBBROWSER\fR
54
+ The web browser used to display the user manual as HTML.
55
+ .SH EXAMPLES
56
+
57
+ tj3man shift
58
+ .br
59
+ tj3man --html shift.timesheet
60
+ .br
61
+ tj3man --html
62
+ .SH COPYRIGHT
63
+ Copyright \(co 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020
64
+ .IP
65
+ by Chris Schlaeger <cs@taskjuggler.org>
66
+ .PP
67
+ This program is free software; you can redistribute it and/or modify it under
68
+ the terms of version 2 of the GNU General Public License as published by the
69
+ Free Software Foundation.
70
+ .PP
71
+ For more info about TaskJuggler see http://www.taskjuggler.org
72
+ .SH "SEE ALSO"
73
+
74
+ tj3(1)
75
+
76
+ The TaskJuggler manual is also available online at http://www.taskjuggler.org/tj3/manual/.