Commit graph

3528 commits

Author SHA1 Message Date
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
Paul Beckingham
a7b20b7a4e Unit Tests
- Fixed some tests so they no longer fail at EOM, by using "30d" to project into
  the future, instead of just "eom".
- The count.t test script has 4 tests still failing at EOM, but warnings are now
  emitted until we figure out how to improve them.
- Added a test to bug.1110.t.
2012-12-31 10:07:48 -05:00
Paul Beckingham
cfac0c42e8 Dates
+ Fixed bug with 'socm' date calculation that failed on some days, by
  simplifying the implementation.
2012-12-31 08:48:57 -05:00
Paul Beckingham
b0bb56cfa8 Documentation
- Restored missing bug fix log entry.
2012-12-31 08:41:42 -05:00
Scott Kostyshak
0f4a366752 Bug #1110
- Fixed bug #1110, which did not treat 'status:Completed' the same
  as 'status:completed' (thanks to Aikido Guy).
2012-12-31 08:40:28 -05:00
Paul Beckingham
28523e97c6 Unit Tests
- Added unit tests to illustrate bug #1136.
2012-12-30 14:44:15 -05:00
Fidel Mato
5ec68d3e0c L10N
- Newly translated string.
2012-12-27 12:01:53 -05:00
Scott Kostyshak
73043b868e Bug
- Fix a bug where CmdEdit reported modifications to a date UDA when no
  modifications were made.
2012-12-27 11:46:45 -05:00
Paul Beckingham
eeb4cf3dd8 Bug #1053
- Fixed bug #1053, where ' characters were not escaped by export-csv.pl (thanks
  to John Florian).
2012-12-22 18:38:46 -05:00
Paul Beckingham
9b63fd6068 Bug #1128
- Fixed bug #1128, which caused 'age' columns to be right-justified instead of
  left-justified (thanks to Steve Rader).
2012-12-22 11:06:38 -05:00
Paul Beckingham
5d0e4249e3 Bug #1150
- Fixed bug #1150, which referenced deprecated features in the tutorial man
  page (thanks to Benjamin Weber).
2012-12-22 10:46:13 -05:00
Paul Beckingham
b515111f2b Code Cleanup
- Style: cuddled braces
- Style: one declaration per line
- Omission: ChangeLog not updated
- Omission: AUTHORS not updated
- Omission: en-US.h change not propagated to es-ES.h
2012-12-22 10:06:26 -05:00
Justin Forest
c0fbfcc58c Display duration of each activity session 2012-12-22 09:33:21 -05:00
Scott Kostyshak
745d24e124 Documentation
- Fix some typos in developer files.
- Add information on grid testing with flod.
2012-12-22 09:11:01 -05:00
Paul Beckingham
144ca70a36 Typo
- Fixed configuration setting typo (thanks to trHD).
2012-12-06 08:25:29 -05:00
Scott Kostyshak
14c17d5c4d Code Cleanup
- Move a newline out of localization and into source code.
2012-12-03 17:02:09 -05:00