Commit Graph

5715 Commits

Author SHA1 Message Date
Max Rossmannek
0ae2f2a5fd Revert "Poor implementation of linewrap restored to task"
This reverts commit 64243e6ec1.
2020-12-06 09:45:30 -05:00
Tomas Babej
2dd21de678 Merge branch '2.5.2' into master 2020-12-05 17:46:20 -05:00
Leo
643166a337 Uncoditionally include errno.h instead of guessing
POSIX tells us that it is errno.h, musl fails to build with -Werror
because it redirects sys/errno.h->errno.h and uses #warning

(cherry picked from commit 041248e7cc)
2020-11-30 00:53:20 -05:00
Tomas Janousek
b6910b9428 Add missing "QUARTER" to feedback_reserved_tags
A while ago I noticed that 630a1530e0 only
added the QUARTER virtual tag to src/Task.cpp, and when I checked that
again today, it was still missing from src/feedback.cpp, so I'm fixing
that.
2020-11-24 18:46:53 -05:00
Tomas Babej
1417be626f TW-1511: Interpret string subtraction as concanetation with a dash
Fixes #1537 (previously known as TW-1511).
2020-11-24 08:12:39 -05:00
Tomas Babej
351965a87b Update copyright to 2020 2020-11-21 12:43:40 -05:00
Leo
041248e7cc Uncoditionally include errno.h instead of guessing
POSIX tells us that it is errno.h, musl fails to build with -Werror
because it redirects sys/errno.h->errno.h and uses #warning
2020-11-21 12:27:29 -05:00
Paul Beckingham
4ae73ba871 Updated libshared for bug fix 2020-11-20 17:36:01 -05:00
Tomas Babej
10b64adb58 CmdAdd: Make sure a UUID is printed if ID does not exist
This fixes a regression was introduced in
4e80d5d5fd.

Currently, if a user (with default configuration) adds a completed or
deleted task, they do not get a confirmation message ("Created task
..."). This is due to the fact that:
a) new-uuid is not set by default
b) new-id is set by default, but only prints message if the added task
   is in pending or waiting state

Make sure to print a message containing UUID reference if the newly
added task is in completed or deleted state.
2020-09-18 00:24:50 -04:00
0xACE
64243e6ec1 Poor implementation of linewrap restored to task
This addresses #2023

For many years linewrap has been broken in taskwarrior, rendering the
application basically useless in terminals with short widths and tasks
containing URLs in them... This janky line wrap patch sort of works but
introduces other minor graphical glitches.

But seeing as no one took the time to fix it over the years, here some a
small salvation to those who suffer as much as me.

One problem of this patch is, when a line is wrapped, it may be 1 column
smaller than the terminal width, resulting in each line not fully
utilizing the terminal width.

This patch is not polished and could probably need to be tended by
someone who cares more.
2020-03-12 10:40:24 -04:00
Paul Beckingham
e186d375dc Issue 2091: duration of task is set to a wrong and extremely big value
- Thanks to Wray Zheng.
2019-08-11 19:57:52 -04:00
Paul Beckingham
04bc1a7998 - Thanks to Adrien Lemaire. 2019-08-11 14:01:22 -04:00
Paul Beckingham
ac97523275 libshared: Upgraded to 4178b49db1c5fed5006a4ab6aa2df3f9937f770b 2019-04-26 20:54:16 -04:00
Chad Phillips
2ac1787dae JSON encode/decode string UDAs
Previously, multiline string UDAs were not preserved when editing
a task via 'task X edit'. String UDAs are now JSON encoded/decoded
during the edit cycle to allow preservation of multiline
2019-04-14 19:45:58 -04:00
mrossinek
0e58226f3b Fix #1999 2019-04-14 19:45:11 -04:00
mrossinek
2821c5ac44 Add missing newline 2019-04-14 19:45:04 -04:00
mrossinek
b0c9bf6c8d Fix #2002 2019-04-14 19:44:35 -04:00
Paul Beckingham
3c73af7964 Updated Copyright 2019-03-02 14:33:04 -05:00
Paul Beckingham
e8f183b403 libshared: Upgraded to aa4471478a88ad53ee8f087700726341a8a80157 2019-03-02 14:21:00 -05:00
Paul Beckingham
9fd12498ed CmdVersion: Updated YYYY 2019-03-02 14:06:39 -05:00
Paul Beckingham
bf8fa9a504 libshared: Upgraded to 4c0d722188a5362695064e443df505d23c524170 2019-03-02 14:01:12 -05:00
Vladimir Shulyak
08d985f40c Display task ID when unwaiting task 2018-06-03 14:16:35 -04:00
Paul Beckingham
376d336525 libshared: Upgraded to 230c63bd385b2a5a6ee5eb431df54b0c5c229b4d 2018-05-26 10:00:05 -04:00
Paul Beckingham
edfa8ed4ea Cleanup: Removed file that was accidentally cherry-picked 2018-05-26 09:50:50 -04:00
Paul Beckingham
09f9b9e625 Build: Fixed missed context reference 2018-05-14 01:12:19 -04:00
Paul Beckingham
27055ea1b9 TW #2020: reserved.lines is not affecting the burndown height
- Thanks to ad₋si.
2018-05-14 01:04:59 -04:00
Paul Beckingham
ce924349c1 Code cleanup: used auto 2018-05-14 01:04:02 -04:00
Paul Beckingham
24a68b2ad8 TW #1973: Don't nag when no tasks are READY
- Thanks to Martin F. Krafft
2018-05-14 01:03:54 -04:00
Paul Beckingham
3594e1886f libshared: Upgraded to 999c824cf1139d208e884042eddef87a1d76fb7e 2018-05-14 01:03:17 -04:00
Kirill Bobyrev
511a235215 Use nullptr instead lf C-styled NULL 2018-05-14 01:02:57 -04:00
Simon Ruderich
90cc2a441d Context: remove duplicate default value for rule.precedence.color 2018-05-14 01:02:07 -04:00
Simon Ruderich
c7edf914e1 Always use https:// link for opensource.org
It was already used in a few places, make this consistent.
2018-05-14 01:00:23 -04:00
Paul Beckingham
53088dae65 Build: C++14 support added 2018-05-14 00:53:32 -04:00
Paul Beckingham
2623d101e7 - Thanks to php-coder 2018-05-14 00:53:09 -04:00
Paul Beckingham
ae27a1b343 Eval: Eliminated string def 2018-05-14 00:41:45 -04:00
Mark Scannell
c7f2739dda Portability: Updated to make main re-entrant()
- New INSTALL instructions to emscripten, and AUTHORS for contribution.
2018-05-14 00:40:59 -04:00
Paul Beckingham
3d7c681ed0 Lexer: Migrated to unicodeLatinDigit 2018-05-14 00:36:16 -04:00
Paul Beckingham
0086a51311 Lexer: Migrated to unicodeLatinAlpha 2018-05-14 00:35:38 -04:00
Paul Beckingham
ea26369f80 Lexer: Migrated to unicodeHexDigit 2018-05-14 00:35:27 -04:00
Paul Beckingham
49dedfbc86 Lexer: Migrated to unicodeWhitespace 2018-05-14 00:35:17 -04:00
Paul Beckingham
2c89688b46 TW-1947: "urgency.over" filter seems to not work correct
- Thanks to Marc Richter.
2018-05-14 00:34:46 -04:00
Paul Beckingham
d5a0b616e1 Lexer: Fixed DOM missing lookahead 2018-05-14 00:34:32 -04:00
Paul Beckingham
7be5b86618 l10n: Eliminated i18n.h 2018-05-14 00:33:43 -04:00
Paul Beckingham
1ea9721e90 l10n: Eliminated some column labels 2018-05-14 00:33:20 -04:00
Paul Beckingham
0ffadafe3c l10n: Eliminated some column labels 2018-05-14 00:33:08 -04:00
Paul Beckingham
a9adf06d98 l10n: Eliminated some column labels 2018-05-14 00:32:54 -04:00
Paul Beckingham
540484f92f l10n: Eliminated some column labels 2018-05-14 00:32:44 -04:00
Paul Beckingham
238f81f621 l10n: Eliminated some column labels 2018-05-14 00:32:34 -04:00
Paul Beckingham
20508c45f2 l10n: Eliminated some column labels 2018-05-14 00:32:07 -04:00
Paul Beckingham
ef58767834 l10n: Eliminated some column labels 2018-05-14 00:31:43 -04:00