TW-1553: Setting defaultheight:0 makes burndown command hang

- Thanks to Tomas Babej.
This commit is contained in:
Paul Beckingham 2015-07-19 17:59:14 -04:00
parent ff53919af1
commit 063255ba16
11 changed files with 17 additions and 0 deletions

View file

@ -37,6 +37,8 @@
David Brenner).
- TW-1543 cmake complains "test" is not a valid target (on arch linux) (thanks
to Renato Alves).
- TW-1553 Setting defaultheight:0 makes burndown command hang (thanks to Tomas
Babej).
- TW-1569 update wait:<wait-date> manpage entry (thanks to David Patrick).
- TW-1572 Better urgency inheritance (thanks to Jens Erat).
- TW-1575 `task log` mangles URLs when quoted (thanks to Luke Macken).

View file

@ -419,6 +419,12 @@ std::string Chart::render ()
return std::string (STRING_CMD_BURN_TOO_SMALL) + "\n";
}
else if (_graph_height > 1000 || // each line is a string allloc
_graph_width > 1000)
{
return std::string (STRING_CMD_BURN_TOO_LARGE) + "\n";
}
if (_max_value == 0)
context.footnote (STRING_FEEDBACK_NO_MATCH);

View file

@ -587,6 +587,7 @@
#define STRING_CMD_BURN_USAGE_D "Zeigt ein Burn-Down-Diagramm, per Tag"
#define STRING_CMD_BURN_TITLE "Burn-Down"
#define STRING_CMD_BURN_TOO_SMALL "Terminal-Fenster zu klein um Graph zu zeichnen"
#define STRING_CMD_BURN_TOO_LARGE "Terminal window too large to draw a graph."
#define STRING_CMD_BURN_DAILY "Tägliches"
#define STRING_CMD_BURN_WEEKLY "Wöchentliches"
#define STRING_CMD_BURN_MONTHLY "Monatliches"

View file

@ -587,6 +587,7 @@
#define STRING_CMD_BURN_USAGE_D "Shows a graphical burndown chart, by day"
#define STRING_CMD_BURN_TITLE "Burndown"
#define STRING_CMD_BURN_TOO_SMALL "Terminal window too small to draw a graph."
#define STRING_CMD_BURN_TOO_LARGE "Terminal window too large to draw a graph."
#define STRING_CMD_BURN_DAILY "Daily"
#define STRING_CMD_BURN_WEEKLY "Weekly"
#define STRING_CMD_BURN_MONTHLY "Monthly"

View file

@ -587,6 +587,7 @@
#define STRING_CMD_BURN_USAGE_D "Montras ĉiutagan abakon de taskbrulo"
#define STRING_CMD_BURN_TITLE "Brulo"
#define STRING_CMD_BURN_TOO_SMALL "Terminala fenestro tro malgranda por vidigi grafeon."
#define STRING_CMD_BURN_TOO_LARGE "Terminal window too large to draw a graph."
#define STRING_CMD_BURN_DAILY "Ĉiutaga"
#define STRING_CMD_BURN_WEEKLY "Ĉiusemajna"
#define STRING_CMD_BURN_MONTHLY "Ĉiumonata"

View file

@ -599,6 +599,7 @@
#define STRING_CMD_BURN_USAGE_D "Muestra un diagrama burndown, por días"
#define STRING_CMD_BURN_TITLE "Burndown" // |esp-ESP|==|eng-USA|
#define STRING_CMD_BURN_TOO_SMALL "Ventana de terminal demasiado pequeña para dibujar una gráfica."
#define STRING_CMD_BURN_TOO_LARGE "Terminal window too large to draw a graph."
#define STRING_CMD_BURN_DAILY "Diario"
#define STRING_CMD_BURN_WEEKLY "Semanal"
#define STRING_CMD_BURN_MONTHLY "Mensual"

View file

@ -587,6 +587,7 @@
#define STRING_CMD_BURN_USAGE_D "Affiche un graphique d'avancement, par jour"
#define STRING_CMD_BURN_TITLE "Burndown"
#define STRING_CMD_BURN_TOO_SMALL "Terminal window too small to draw a graph."
#define STRING_CMD_BURN_TOO_LARGE "Terminal window too large to draw a graph."
#define STRING_CMD_BURN_DAILY "Daily"
#define STRING_CMD_BURN_WEEKLY "Weekly"
#define STRING_CMD_BURN_MONTHLY "Monthly"

View file

@ -586,6 +586,7 @@
#define STRING_CMD_BURN_USAGE_D "Mostra un grafico del lavoro da svolgere, per giorno"
#define STRING_CMD_BURN_TITLE "Lavoro da svolgere"
#define STRING_CMD_BURN_TOO_SMALL "Finestra troppo piccola per mostrare il grafico."
#define STRING_CMD_BURN_TOO_LARGE "Terminal window too large to draw a graph."
#define STRING_CMD_BURN_DAILY "Giornaliero"
#define STRING_CMD_BURN_WEEKLY "Settimanale"
#define STRING_CMD_BURN_MONTHLY "Mensile"

View file

@ -587,6 +587,7 @@
#define STRING_CMD_BURN_USAGE_D "Shows a graphical burndown chart, by day"
#define STRING_CMD_BURN_TITLE "Burndown"
#define STRING_CMD_BURN_TOO_SMALL "Terminal window too small to draw a graph."
#define STRING_CMD_BURN_TOO_LARGE "Terminal window too large to draw a graph."
#define STRING_CMD_BURN_DAILY "Daily"
#define STRING_CMD_BURN_WEEKLY "Weekly"
#define STRING_CMD_BURN_MONTHLY "Monthly"

View file

@ -587,6 +587,7 @@
#define STRING_CMD_BURN_USAGE_D "Wyświetla dzienny postęp w postaci wykresu."
#define STRING_CMD_BURN_TITLE "Postęp"
#define STRING_CMD_BURN_TOO_SMALL "Okno terminal jest za małe do wyświetlenia wykresu."
#define STRING_CMD_BURN_TOO_LARGE "Terminal window too large to draw a graph."
#define STRING_CMD_BURN_DAILY "Dzienny"
#define STRING_CMD_BURN_WEEKLY "Tygodniowy"
#define STRING_CMD_BURN_MONTHLY "Miesięczny"

View file

@ -587,6 +587,7 @@
#define STRING_CMD_BURN_USAGE_D "Mostra um gráfico de burndown, por dia"
#define STRING_CMD_BURN_TITLE "Burndown" // |por-PRT|==|eng-USA|
#define STRING_CMD_BURN_TOO_SMALL "Janela do terminal demasiado pequena para desenhar o gráfico."
#define STRING_CMD_BURN_TOO_LARGE "Terminal window too large to draw a graph."
#define STRING_CMD_BURN_DAILY "Diário"
#define STRING_CMD_BURN_WEEKLY "Semanal"
#define STRING_CMD_BURN_MONTHLY "Mensal"