Commit graph

3543 commits

Author SHA1 Message Date
Paul Beckingham
914447c885 UTF8
- Added more UTF8 unit tests for calculating string length, string width,
  formatted string length, formatted string width.
- Implemented UTF8 text width method for symmetry.
2013-03-02 18:14:56 -05:00
Paul Beckingham
551b4dbe90 UTF8
- Added UTF8 string width calculation.
2013-03-02 17:15:28 -05:00
Paul Beckingham
8e536fa4a8 Merge branch '2.2.0' of tasktools.org:task into 2.2.0 2013-03-02 10:59:46 -05:00
Paul Beckingham
fcf9ba983c Unit Tests
- Added unit tests for specific character width calculations.
2013-03-02 10:47:43 -05:00
Paul Beckingham
7327b0d537 Bug #1184
- Fixed bug #1184, correcting man page formatting (thanks to Jakub Wilk).
2013-02-26 16:37:57 -05:00
Paul Beckingham
7fc7093f68 Bug #1183
- Fixed bug #1183, correcting error message typos (thanks to Jakub Wilk).
2013-02-26 16:34:59 -05:00
Paul Beckingham
3d4bad3034 Horizontal Space
- Modified default report definitions to use shorter column labels, namely
  'Proj' and 'Urg'.  This results in less horizontal space use.
- Adjusted unit tests accordingly.
2013-02-24 16:31:31 -05:00
Paul Beckingham
330761e997 Blank Durations
- Instead of dispalying '-' for a zero-length duration, nothing is ('') is
  displayed instead.  This allows a completely empty duration column to be
  culled by the rc.print.empty.columns=no feature.
- Unit tests updated accordingly.
2013-02-24 14:26:52 -05:00
Scott Kostyshak
089b3e7d66 Enhancement
- 'print.empty.columns' now defaults to 'no'.
- Unit tests are updated accordingly.
2013-02-21 17:53:56 -05:00
Rainer Müller
0bcb22f8e4 Bug
- Do not print new line after xterm title.
  With xterm.title=on, each command displayed an empty line on the
  terminal, which is not only unnecessary but also changes output format
  for the helper subcommands starting with an underscore.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2013-02-19 22:19:47 -05:00
Rainer Müller
2bb601e6f2 Bug
- Match localized answers for confirmation

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2013-02-19 22:17:08 -05:00
Paul Beckingham
f9d74c9bed Documentation
- Forgot to update AUTHORS file.
2013-02-18 09:24:58 -05:00
Paul Beckingham
62dcd6398c Documentation
- Updated ChangeLog for prior commit.
2013-02-18 09:22:45 -05:00
Vincent Petithory
9395a4d112 Fix: manpages were not installed when running an out-of-source build 2013-02-18 09:19:43 -05:00
Paul Beckingham
ca330dc05d Unit Tests
- Corrected test count.
2013-02-18 08:40:26 -05:00
Scott Kostyshak
c68b2a149f Bug
- The bash completion script no longer expands IDs after 'depends:'.
  (Such expansion required running gc() which is not correct.)
- The unit tests for expanding 'depends:' were commented out (and not
  removed) in the case that someday we implement a command to list IDs
  without running gc().
- Unit tests to check that gc() is not run after 'depends:' were added.
2013-02-18 08:39:17 -05:00
Paul Beckingham
c87ce366a9 Documentation
- Added missing bug fix.
2013-02-18 08:38:29 -05:00
Paul Beckingham
2be52e1be2 Bug #1137
- Fixed bug #1137, which caused file locks to be non-blocking (thanks to Steve
  Rader).
2013-02-10 23:25:27 -05:00
Paul Beckingham
adacb96581 Bug #1047
- Fixed bug #1047, which caused extra commas in exported JSON when UDA orphans
  were present (thanks to Thomas Sullivan).
2013-02-10 22:39:01 -05:00
Paul Beckingham
36e371c5c0 Documentation
- Updated ChangeLog to reflect the completion of Bug #1177.
2013-02-10 22:23:05 -05:00
Paul Beckingham
aca76da3e5 Bug #642
- Fixed bug #642, so that the default 'data.location=~/.task' preserves the
  '~', leading to more portable .taskrc files (thanks to alparo).
2013-02-10 18:00:30 -05:00
Paul Beckingham
b6c28ecb7a Bug #1136
- Fixed bug #1136, which incorrectly line-wrapped tasks with annotations
  (thanks to Steve Rader).
2013-02-10 16:08:45 -05:00
Paul Beckingham
509f818b91 Merge branch '2.2.0' of tasktools.org:task into 2.2.0 2013-02-10 15:39:46 -05:00
Paul Beckingham
e6804a1679 UTF8 Line Extraction
- Minor efficiency modification, made while fixing a bug.
2013-02-10 08:46:19 -05:00
Paul Beckingham
09683f0bb9 Unit Tests
- Added confirmation to prevent hang on various platforms.
2013-02-08 15:15:01 -05:00
Federico Hernandez
f2ae8a13fa Bug #1178
- Fixed bug #1178, which inlcuded binary libraries in the source
  package.
2013-02-07 22:28:15 +01:00
Johannes Schlatow
b230da75e6 Feature #1054
Require confirmation for replacing the entire description of a single task.
2013-01-25 00:15:00 +01:00
Paul Beckingham
c6c99c2e38 Unit Tests
- Added template.t as an example for all new unit tests.
2013-01-19 15:47:41 -05:00
Paul Beckingham
e180dce1bc Bug #1063
- Fixed bug #1063, so that numeric UDA fields are now sortable (thanks to Max
  Muller).
2013-01-19 15:45:58 -05:00
Paul Beckingham
7e3ee1b284 Portability
- Fixed compiler error for new unit tests.
2013-01-19 13:45:58 -05:00
Louis-Claude Canon
a0d6b3198e Unit Tests
- More robust tests strategy: captured outputs are always compared to some
  expected result.
- Clearer and more consistent test.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2013-01-19 12:38:25 -05:00
Paul Beckingham
ee7fd7add0 Unit Tests
- Added more utf8 tests.
2013-01-17 06:11:28 -05:00
Paul Beckingham
01e589a172 I18N
- One does not simply std::string::substr a UTF8 string, like a bloody caveman.
  Implemented utf8_substr, and added unit tests.
2013-01-16 18:36:54 -05:00
Fidel Mato
ae58b85339 L10N - Error message
- Corrected error message in es-ES.h.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2013-01-16 16:06:06 -05:00
Scott Kostyshak
45202c292b Bug
- Fix regression introduced in 73043b86 where UDA edits
  were not detected for non-date types.
2013-01-15 07:55:03 -05:00
Johannes Schlatow
55813b6a09 Bug
- Colons are evil, fixed ZSH completion commands.
2013-01-15 01:05:28 +01:00
Paul Beckingham
26dbd8e790 Code Cleanup
- Made code more compact and consistent while reviewing sorting for UDAs.
2013-01-13 16:52:57 -05:00
Paul Beckingham
8271e973d8 Bug #1118
- Fixed bug #1118, which dropped changes after edits were rejected (thanks to
  Ben Boeckel).
2013-01-12 17:30:28 -05:00
Paul Beckingham
dd1f154376 Bug #1091
- Fixed bug #1091, allowing filters to use 'urgency.over:4.5'.
2013-01-12 16:49:48 -05:00
Paul Beckingham
76468f3ddd Code Cleanup
- Removed unused, untested DOM cache.
2013-01-12 14:47:34 -05:00
Paul Beckingham
30072cb75b UTF8
- Integrated latest UTF8 character width calculations from Markus Kuhn.
2013-01-12 13:54:49 -05:00
Paul Beckingham
46d5b34091 Unit Tests
- Fixed test with ambiguous Test::is signature.
2013-01-12 13:43:17 -05:00
Scott Kostyshak
19cc9177b9 Code Cleanup
- 'measure' now accepts unsigned ints for 'minimum' and 'maximum' args.
2013-01-09 17:37:49 -05:00
Paul Beckingham
40f2afeb8e Add-ons
- Suppressed output using rc.verbose=nothing.
- Removed [...] from output with rc.json.array=no.
2013-01-08 16:13:40 -05:00
Fidel Mato
d60af770a3 es-ES L10N
- Changed every occurrence of 'límite' to 'vencimiento'
2013-01-08 07:08:51 -05:00
Scott Kostyshak
3583e2ff58 Code Cleanup
- 'uft8_length' and 'utf8_text_length' now return unsigned ints.
2013-01-07 06:40:57 -05:00
Scott Kostyshak
4ca5c85054 Bug
- Fix a bug where 'print.empty.columns=no' resulted in never printing the
  project column because ColProject::measure did not take into account
  the length of the last word of the project name.
- Unit tests.
2013-01-03 23:43:16 -05:00
Paul Beckingham
21704e6705 Bug #1154
- Fixed bug #1154, which now allows priorities to be specified in any case.
2013-01-01 14:18:09 -05:00
Paul Beckingham
650c6cf6bb Documentation
- Updated NEWS file to include new config setting.
- Updated 'show' command so it knows about the new setting.
2013-01-01 10:13:09 -05:00
Scott Kostyshak
d7c225c87b Feature
- Add the configuration variable 'print.empty.columns'.
- If this variable is set to 'no', columns with all empty values are not
  printed. This variable defaults to 'yes' (thus nothing is changed
  by default).
- Updated taskrc.5.in to mention the new variable.
- Added unit tests.
2013-01-01 10:08:44 -05:00