Paul Beckingham
d564aac978
TW-1734: calendar gives an error when context is set
...
- Thanks to Simon Michael.
2016-01-11 22:44:47 -05:00
Paul Beckingham
641d232dea
Copyright: Updated to 2016
2015-12-31 15:06:43 -05:00
Paul Beckingham
639e04d853
Revert "CmdCalendar: Converted from strtol to std::stoul/stoi"
...
This reverts commit 3745f83a7b .
2015-11-02 18:39:29 -05:00
Paul Beckingham
3745f83a7b
CmdCalendar: Converted from strtol to std::stoul/stoi
2015-11-01 22:05:11 -05:00
Paul Beckingham
5d9ca9864e
Cmd*: Moved include to top of list, per flint++ recommendation
2015-11-01 19:53:19 -05:00
Paul Beckingham
51def4b12b
Lexer: Migrated commify, ucFirst and lowerCase from text to Lexer
2015-10-30 10:57:14 -04:00
Paul Beckingham
26fbca7896
CmdCalendar: Migrated from Date to ISO8601d
2015-10-03 19:31:58 -04:00
Paul Beckingham
68c6afbdd4
ISO8601d: Conversion from Date to ISO8601d
2015-09-26 23:08:29 -04:00
Paul Beckingham
18804a743c
CmdCalendar: Converted from Date::daysInMonth to ISO8601d::daysInMonth
2015-09-26 14:09:51 -04:00
Paul Beckingham
c59afe34c4
TW-1656: Implicitly parenthesize argv filter
...
- Thanks to Daniel Shahaf.
2015-09-12 08:57:38 -04:00
Paul Beckingham
bf80c7d514
Cmd*: Added command DNA, which will ѕoon drive functionality
2015-08-01 15:56:04 -04:00
Daniel Shahaf
53a702d79a
zcmdcat: Categorize commands.
2015-07-26 13:55:23 -04:00
Paul Beckingham
af9e7fa7fa
CmdCalendar: Converted from CLI to CLI2
2015-06-16 21:52:48 -04:00
Paul Beckingham
e4ab3574e4
CmdCalendar: Converted from CLI::_args[0] to CLI2::_original_args[0]
2015-06-14 22:33:09 -04:00
Paul Beckingham
2f1ca72334
Code: Improved comments regarding filters/args.
2015-06-07 15:34:33 -04:00
Paul Beckingham
e8d04bdce6
C++11: N1984 auto
2015-05-24 13:36:26 -04:00
Paul Beckingham
5a57dfd70d
C++11: Cleaned up commands code with range-based for
2015-05-11 17:45:15 -04:00
Paul Beckingham
935b2993f3
C++11: Took advantage of N1757.
2015-04-06 15:30:39 -04:00
Paul Beckingham
26aff348d2
Lexer
...
- Replaced old digitsOnly() function with Lexer::isAllDigits.
2015-02-22 20:23:00 -05:00
Paul Beckingham
528e72062b
Hooks
...
- Fixed the ::execute function used by Hooks and CmdCalendar to run commands,
by following the convention:
"The first argument, by convention, should point to the file name associated
with the file being executed."
(man execvp)
2015-02-07 14:08:58 -05:00
Paul Beckingham
547d9edb55
TW-1484
...
- TW-1484 The 'history' and 'ghistory' reports do not obey rc.color.label.
2015-01-10 15:49:42 -05:00
Paul Beckingham
b7ad091d00
Updated copyright to 2015
2015-01-01 00:00:41 -05:00
Paul Beckingham
f28ccdc8b1
CLI/CmdCalendar
...
- When the binary is named (or symlinked to) 'cal', then CLI::_args[0]
must be clobbered, and restored for subsequent commands.
2014-11-17 19:13:19 -05:00
Paul Beckingham
273ede6d0f
CmdCalendar
...
- Added argv[0].
2014-11-09 12:04:06 -05:00
Paul Beckingham
0fa0829670
CmdCalendar
...
- Converted from Parser to CLI.
2014-10-25 23:19:47 -04:00
Paul Beckingham
fedafcd525
CLI
...
- Converted CmdCalendar from Parser to CLI.
2014-10-25 22:38:03 -04:00
Paul Beckingham
0875f04bca
CmdCalendar
...
- Removed TDB2::commit.
2014-09-08 00:13:46 -04:00
Paul Beckingham
b4ab5fcfac
CmdCalendar
...
- Replaced code that tried to reuse the Context object to reparse the command
line in order to run the calendar.details.report, with a fork/exec alternative
that doesn't require acrobatics.
2014-08-30 23:33:47 -04:00
Paul Beckingham
79abddd03d
Parser
...
- Renamed A3t to Parser.
2014-05-25 09:44:22 -04:00
Paul Beckingham
702e4e41fc
Calendar
...
- Typo.
2014-05-11 14:48:32 -04:00
Paul Beckingham
22c5bc28e1
CmdCalendar
...
- Converted from A3 to A3t.
2014-04-25 22:32:49 -07:00
Paul Beckingham
e0254b1b71
CmdCalendar
...
- Converted from A3::extract_words to A3t::getWords.
2014-04-24 12:24:28 -04:00
Paul Beckingham
45453de477
TW-1309
...
- TW-1309 memory error, if misconfigured calendar.details.report (thanks to
Onion).
2014-04-23 08:02:43 -04:00
Paul Beckingham
c933ed2cf7
Code Cleanup
...
- Migrated the recur.cpp getDueState() function into Task::getDateState(),
which can assess any date attribute.
- Improved implementation to distinguish between:
- not due, or not due for rc.due days
- due after today
- due later today
- due earlier today
- due before today
This greater precision should address some outstanding issues.
2014-04-12 16:03:19 -04:00
Paul Beckingham
523dce8f32
Code Cleanup
...
- Standardized headers.
2014-02-01 14:33:37 -05:00
Paul Beckingham
8ed92ca498
Copyright
...
- Bumped copyright to 2014, ready for release.
2014-01-01 13:32:22 -05:00
Paul Beckingham
d03c4cda8a
Build Error
...
- Many files were missing an explicit cmake.h include. Some were not including
it at all. Now it's used almost everywhere.
(cherry picked from commit 82ae86979c497e6d1d0c6b2b5a55aa379ec82c98)
2013-06-02 13:57:36 -04:00
Paul Beckingham
7b89bc92e1
Performance
...
- It it not necessary to make a copy of all configuration variable names, if the
Config::const_iterator is sufficient.
(cherry picked from commit 5708cb90780f1f6c8f58f5b549796c4af612b1ab)
2013-06-02 13:56:00 -04:00
Paul Beckingham
773b55d374
Code Cleanup
...
- Removed L10N define. It served its purpose.
2013-04-07 23:50:51 -04:00
Paul Beckingham
1dccd29643
Copyright 2013
...
- Updated copyright notices.
2013-03-04 17:47:12 -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
Paul Beckingham
c42706a3dc
Bug #1008
...
- Fixed bug #1008 , which failed to remove tasks with the special tag '+nocal'
from the calendar report output with 'calendar.details=full' set (thanks to
Bryan Kam).
2012-05-28 12:51:27 -04:00
Jörg Plate
f2f6b788e8
Bug #919
...
- Modified to allow multiple holiday file sources, in other words
duplicate dates.
Signed-off-by: Paul Beckingham <paul@beckingham.net >
2012-05-26 13:29:50 -04:00
Jörg Plate
43076a6cd7
Bug #919
...
- Applied patch for bug #919 , so the holidays listed on the 'calendar' report
are sorted (thanks to Jörg Plate).
Signed-off-by: Paul Beckingham <paul@beckingham.net >
2012-05-24 00:52:46 -04:00
Paul Beckingham
8537ddbb5a
Documentation
...
- Corrected command usages.
- Corrected help command output.
2012-03-06 00:36:37 -05:00
Paul Beckingham
96fe3f42ba
Minor Refactoring
...
- Added support for more type-specific checks of attribute values.
- Added support for more type-specific attribute rendering.
- Improved generalized methods for checking columns in a report.
- Added unit tests.
- Minor code cleanup.
- Added secret hidden feature for internal testing.
2012-02-05 20:56:46 -05:00
Paul Beckingham
6580095002
Copyright
...
- Year change.
2012-01-02 23:32:10 -05:00
Federico Hernandez
961a1a9366
License
...
- moving from GPL to MIT license
src/commands
2011-10-08 01:13:30 +02:00
Paul Beckingham
4a98cfa62b
I18N
...
- Minor L10N edits and changes arising from the task-ref.pdf effort.
2011-10-04 01:10:47 -04:00
Paul Beckingham
83081c87bd
I18N
...
- Localized 'calendar' command.
- Localized Date object, somewhat.
2011-10-02 23:08:23 -04:00