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
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
716936acaa
Text: Fixed extractLines where hyphenation is off
2016-02-23 22:15:00 -05:00
Paul Beckingham
db3cfc939d
ColTags: Added missing calculation for tag max width
2016-02-23 21:56:23 -05:00
Paul Beckingham
c6a6f04697
ColProject: Use of const
2016-02-23 21:43:44 -05:00
Paul Beckingham
f2863c50b4
ColDepends: Use of const
2016-02-23 21:41:57 -05:00
Paul Beckingham
f1785c6da9
Text: Justification auto-truncates
2016-02-23 21:10:41 -05:00
Paul Beckingham
029f3af578
TW-1709: Parsing bug when doing "task undo"
...
- Thanks to Scott Kostyshak.
2016-02-23 21:05:53 -05:00
Paul Beckingham
31f0804207
ColDescription: Minimized use of wrapText
...
- This is a high-use measure/render method pair, and needs to be quick.
2016-02-23 20:55:45 -05:00
Paul Beckingham
fa035c3fde
ColTags: Reduced total work
...
- When there is only a single tag, there is no need to split, sort and word wrap.
2016-02-23 08:39:03 -05:00
Paul Beckingham
0a0793b2ca
dependency: No point scanning for circularity on 'add'
2016-02-22 22:52:11 -05:00
Paul Beckingham
140accc3d7
FS: Modified so that newlines are no longer added
...
- Now consistent with Taskserver and Common, and actually what we started
with.
2016-02-21 11:04:13 -05:00
Paul Beckingham
29a7837fda
TD-104: Unrecognized taskwarrior file format
...
- Thanks to Jeremy John Reeder, Reg.
2016-02-21 10:13:21 -05:00
Paul Beckingham
6ceca1d424
FS: Inherited fixes from Taskserver
2016-02-20 23:44:20 -05:00
Paul Beckingham
5666feaab9
CFS, Msg, ViewText: Code cleanup
2016-02-20 23:10:23 -05:00
Paul Beckingham
a1dbb0c294
Perofrmance: Removed redundant parsing in ISO8601d
2016-02-13 11:49:03 -05:00
Fidel Mato
3a9e128c4a
L10N
...
- Corrections and newly translated strings from eng-USA to esp-ESP.
2016-02-11 15:11:30 -05:00
Paul Beckingham
28810447d1
TW-1768: Task sync failed: "Either your credentials are incorrect, or your account doesn't exist on the Taskserver."
...
- Thanks to Konstantin.
2016-02-08 22:54:41 -05:00
Tomas Babej
72f8fec136
CmdAdd: Display a specific feedback message for recurrence template tasks
2016-02-06 12:24:45 -05:00
Paul Beckingham
724a4a02a0
Code formatting
2016-02-06 12:13:19 -05:00
Paul Beckingham
5e4d387d83
Diagnostics: Added missing \n characters
2016-02-04 15:46:59 -05:00
Paul Beckingham
820cc4b2e5
DOM: Demoted from class to functions
...
- The DOM object contains no members, and only two (effectively) const methods.
Demoting DOM to function calls reduces coupling with Context.
2016-02-03 21:54:37 -05:00
Paul Beckingham
ec4e6af00d
CLI2: C++11
2016-02-03 21:44:28 -05:00
Paul Beckingham
3b82be9c16
Filter: C++11
2016-02-03 21:12:18 -05:00
Paul Beckingham
cdd1c4681d
Hooks: C++11
2016-02-03 21:06:49 -05:00
Paul Beckingham
c25f312477
ColTypeString: Removed obsolete code
2016-02-03 20:41:19 -05:00
Paul Beckingham
8be1c53d92
ColTypeNumeric: Removed obsolete code
2016-02-03 20:40:59 -05:00
Paul Beckingham
1fced1b8a9
ColTypeDuration: Removed obsolete code
2016-02-03 20:40:34 -05:00
Paul Beckingham
197b440cc2
Eval: C++11
2016-02-03 20:30:57 -05:00
Paul Beckingham
96f04ffc25
Variant: C++11
2016-02-03 20:22:30 -05:00
Paul Beckingham
f59e15185f
Timer: C++11
2016-02-03 20:14:17 -05:00
Paul Beckingham
8577449960
FS: C++11
2016-02-03 19:58:22 -05:00
Paul Beckingham
9720e7dab4
Msg: C++11
2016-02-03 19:47:34 -05:00
Paul Beckingham
1579705fec
Color: C++11
2016-02-03 19:39:38 -05:00
Paul Beckingham
4d2c97f2c3
RX: C++11
2016-02-03 19:26:52 -05:00
Paul Beckingham
073ff9032d
TW-1754: '\' at end of description in 'task edit' merges task with following task
...
- Thanks to Scott Kostyshak.
2016-02-02 23:35:30 -05:00
Paul Beckingham
b61471ca0e
TW-1710: Setting wait date on status:completed / status:deleted
...
- Thanks to Daniel Shahaf.
2016-02-02 23:24:06 -05:00
Paul Beckingham
8275181022
Task: ::getStatus no longer autovivifies
2016-02-02 23:23:14 -05:00
Paul Beckingham
f6a7a8720e
TW-1697: Inconsistent failure mode on invalid task id
...
- Thanks to Daniel Shahaf.
2016-02-02 01:29:22 -05:00
Paul Beckingham
1187ad16cc
CmdModify: Code cleanup
2016-02-02 01:04:40 -05:00
Paul Beckingham
63bbe857c8
Config: No longer autovivifies
2016-02-02 01:04:22 -05:00
Paul Beckingham
23ac9895ab
TW-1763: Removing the due date of a task with no due date modifies the task
...
- Thanks to Scott Kostyshak.
2016-02-02 01:03:19 -05:00
Paul Beckingham
4b37fea21f
ColTypeString: Added validate() in ::modify
2016-02-01 23:59:18 -05:00
Paul Beckingham
db7ebf9029
Column: Made ::validate const
2016-02-01 23:56:39 -05:00
Paul Beckingham
575433542f
ColProject: Special ::modify handling for 'project'
2016-02-01 23:38:32 -05:00
Paul Beckingham
7ae5e4657d
Column: Only fail when an invalid UDA type is found
...
- Previously it was failing for a missing type, so that if a UDA was not
completely defined, there was an unexpected error. This is because the
setting uda.foo.label was enough to make Column extract 'foo', but then
fail to extract uda.foo.type.
2016-02-01 18:43:47 -05:00
Paul Beckingham
309ee57783
Column: Only store UDA column objects that instantiate
2016-02-01 18:43:10 -05:00
Paul Beckingham
11b7d2edbf
Column: Uses const loop iterators
2016-02-01 18:42:25 -05:00
Paul Beckingham
4f7805d005
Column: Uses non-auto-vivifying Config::has
2016-02-01 18:41:36 -05:00
Paul Beckingham
a356d14f0c
ColUDA: Removed hyphenation from types that don't hyphenate
2016-02-01 18:40:30 -05:00