Felix Schurk
93356b39c3
add initial bulk run from pre-commit over all files
2024-07-29 22:34:51 +02:00
Felix Schurk
954d3f5058
add blank line between cmake.h header include to prevent sorting
...
* add required comment in the line below cmake.h include header
2024-07-29 22:33:17 +02:00
Dustin J. Mitchell
6e9ad1048d
move use of contextTask out of columns, into commands
2021-12-30 15:03:37 -05:00
Dustin J. Mitchell
8d3953183a
Only set contextTask if not adding a new task
...
When adding a new task, the current task is empty, so there is no
context in which to evaluate DOM references. #2683 will address this in
a more robust fashion.
2021-12-16 23:03:44 -05:00
Dustin J. Mitchell
2812a8c77a
Refactor getDOM to use a pointer for the optional context
...
It's possible to call getDOM without a contextual task. Previously,
this was done by referencing a "dummy" task which necessitated a way to
distinguish such dummy tasks. This switches to using a pointer and
treating the NULL value as meaning there is no context.
Note that this cannot use `std::optional<&Task>`, as optional does not
support reference types.
2021-12-16 23:03:44 -05:00
Tomas Babej
0bc92d6115
meta: Adjust copyright headers
2021-09-05 12:02:07 -04:00
Tomas Babej
9017cd6e53
doc: Update copyright to 2021
2021-01-02 02:48:22 -05:00
Tomas Babej
a09f9d48ab
Update copyright to 2020
2020-11-21 12:27:05 -05:00
Tomas Babej
8066e4e6e2
meta: Update copyright year
2019-01-01 08:46:21 -05:00
Simon Ruderich
e817dfc800
Always use https:// link for opensource.org
...
It was already used in a few places, make this consistent.
2018-03-04 14:53:07 +01:00
Mark Scannell
7af6db4c17
Portability: Updated to make main re-entrant()
...
- New INSTALL instructions to emscripten, and AUTHORS for contribution.
2018-01-31 19:45:07 -05:00
Paul Beckingham
ed657f3ecf
l10n: Eliminated some column labels
2018-01-21 22:46:48 -05:00
Paul Beckingham
63a8d223e2
l10n: Eliminated STRING_TASK_INVALID_DUR
2018-01-15 12:28:52 -05:00
Paul Beckingham
0de169bb10
Copyright 2018
2017-12-31 19:22:07 -05:00
Paul Beckingham
925700dbf8
ColRecur: Eliminated namedDates
2017-03-05 09:29:50 -05:00
Paul Beckingham
4e7576cb79
Merge branch 'recurrence' into 2.6.0
2017-01-07 12:29:11 -05:00
Paul Beckingham
09562c8fac
Columns: Removed redundant format checking
2017-01-07 11:10:03 -05:00
Paul Beckingham
ebd6273c86
Columns: Attribute objects properly delegate to Column::setStyle to validate formats
2017-01-07 11:04:08 -05:00
Paul Beckingham
e871976bb9
Columns: Consistency
2017-01-07 10:46:40 -05:00
Paul Beckingham
a50e65a134
Copyright update
2017-01-01 12:30:04 -05:00
Paul Beckingham
b6d19ce1ad
ColRecur: Removed redundant code
2016-12-31 11:47:15 -05:00
Paul Beckingham
5ae1da51b7
ColRecur: Corrected use of _name
2016-12-31 11:11:08 -05:00
Paul Beckingham
d48c357325
ColRecur: Added _modifiable
2016-12-31 11:10:44 -05:00
Paul Beckingham
4c2fff1b39
ColRecur: Converted from ISO8601 to Duration
2016-12-11 22:21:06 -05:00
Paul Beckingham
355620c640
libhsared: migrating from local to libshared
2016-12-06 07:20:45 -05:00
Paul Beckingham
8922728888
Cleanup: Don't use string literals when character literals are needed
2016-10-14 23:11:28 -04:00
Paul Beckingham
fec65a0f24
ColRecur: Added ::modify
2016-01-31 19:27:54 -05:00
Paul Beckingham
80ac338b8d
ColRecur: Removed obsolete code
2016-01-09 23:05:16 -05:00
Paul Beckingham
641d232dea
Copyright: Updated to 2016
2015-12-31 15:06:43 -05:00
Paul Beckingham
aceebb0723
Col*: Moved include to top of list, per flint++ recommendation
2015-11-01 19:47:20 -05:00
Paul Beckingham
5c9f1f7b45
ColRecue: Now uses ::renderStringRight
2015-10-31 16:55:00 -04:00
Paul Beckingham
dc72a22887
Col*: Moving code into ColTypeString base
2015-10-31 14:35:06 -04:00
Paul Beckingham
cc120689ee
ColRecur: Duration replaced by ISO8601p
2015-08-12 11:36:24 -04:00
Paul Beckingham
d753bb747b
Columns: Removed unnecessary virtual overrides
2015-07-18 00:43:51 -04:00
Paul Beckingham
e930bb0ba9
Columns: Removed _fixed_width for indicator columns
...
- Column indicator formats (depends.indicator, for example), should not set the
::_fixed_width flag because then the column does not have the opportunity to
be suppressed via rc.print.empty.colums=1.
2015-07-11 22:09:15 -04:00
Paul Beckingham
7bbc794d3a
C++11: N2672 Initializer lists
...
- Modified code to use the more compact and readable initializer lists.
2015-05-24 13:03:02 -04:00
Paul Beckingham
61e1401073
Performance: Only measures the first fixed-width column row
2015-04-05 16:05:43 -04:00
Paul Beckingham
f2998aba74
TW-1547
...
- TW-1547 Recur column is always shown even if no recurring task is displayed
(thanks to Renato Alves).
2015-02-18 20:53:56 -08:00
Paul Beckingham
b7ad091d00
Updated copyright to 2015
2015-01-01 00:00:41 -05:00
Paul Beckingham
861cc83e6d
TW-241
...
- TW-241 new column format; recur.short.
- All duration columns now default to compact ISO duration format.
2014-09-06 15:38:25 -04:00
Paul Beckingham
c103f22513
ColRecur
...
- Converted from OldDuration to Duration.
2014-05-28 23:43:48 -04:00
Paul Beckingham
523dce8f32
Code Cleanup
...
- Standardized headers.
2014-02-01 14:33:37 -05:00
Paul Beckingham
1ac4ff8ac9
Merge branch '2.3.0' into 2.4.0
2014-01-08 00:10:17 -05:00
Paul Beckingham
3e4972ba4b
Bug #1476
...
- #1476 Unicode indicators increase column width (thanks to Paul Kishimoto).
2014-01-07 22:23:39 -05:00
Paul Beckingham
98f740e9d1
Merge branch '2.3.0' into 2.4.0
...
Conflicts:
AUTHORS
CMakeLists.txt
NEWS
src/A3.cpp
src/CMakeLists.txt
src/Config.cpp
src/Duration.cpp
src/Duration.h
src/Nibbler.cpp
src/Nibbler.h
src/RX.cpp
src/RX.h
src/columns/ColDate.cpp
src/columns/ColScheduled.cpp
src/commands/Command.cpp
src/legacy.cpp
src/utf8.cpp
src/utf8.h
test/CMakeLists.txt
test/bug.mergedeps.t.postponed
test/duration.t.cpp
test/merge.duplicates.t
test/merge.simple_duplication.t
test/merge.t
test/nibbler.t.cpp
test/roundtrip.t
test/rx.t.cpp
test/utf8.t.cpp
2014-01-07 19:10:03 -05:00
Paul Beckingham
18f03c25b4
Duration
...
- Renamed Duration object to OldDuration so that the two implementations can
coexist in a binary.
2014-01-02 01:06:48 -05:00
Paul Beckingham
d27451590a
Duration Rename
...
- In preparation for a new (different) Duration object, the source files need
to be renamed.
2014-01-02 00:12:28 -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
773b55d374
Code Cleanup
...
- Removed L10N define. It served its purpose.
2013-04-07 23:50:51 -04:00