Paul Beckingham
d9d5d004e6
Code Cleanup
...
- Removed unused text.cpp cutOff function.
2014-09-07 16:39:05 -04:00
Paul Beckingham
fdb4c1f1bc
Code Cleanup
...
- Removed unused text.cpp visible function.
2014-09-07 16:35:51 -04:00
Paul Beckingham
6303f1c436
Code Cleanup
...
- Removed unused text.cpp guess function.
2014-09-07 16:30:27 -04:00
Paul Beckingham
f17c59b1f6
Code Cleanup
...
- Removed unused text.cpp split_minimal function.
2014-09-07 16:27:46 -04:00
Paul Beckingham
8a904fc287
Code Cleanup
...
- Removed unused text.cpp noVerticalSpace function.
2014-09-07 16:21:32 -04:00
Paul Beckingham
3f07173a03
Code Cleanup
...
- Removed unused text.cpp isWordEnd function.
2014-09-07 16:15:32 -04:00
Paul Beckingham
7890cf0ab7
Code Cleanup
...
- Removed unused text.cpp isWordStart function.
2014-09-07 16:12:06 -04:00
Paul Beckingham
c1806303a1
Code Cleanup
...
- Removed unused text.cpp isTokenEnd function.
2014-09-07 16:06:42 -04:00
Paul Beckingham
ad4d063252
Text Formatting
...
- Added another formatter. Time for variadics?
2014-08-31 10:19:48 -04:00
Paul Beckingham
9537a91e89
Text
...
- Added another format overload. Time for variadics?
2014-06-07 09:52:01 -04:00
Paul Beckingham
f8bb948b90
Text
...
- Added formatter for <int, int, std::string>. There cannot be many
combinations remaining.
2014-05-25 13:18:30 -04:00
Paul Beckingham
74cfc972fc
Code Cleanup
...
- Converted use of isspace (which doesn't know Unicode) to Lexer::is_ws.
2014-04-24 17:06:05 -04:00
Paul Beckingham
0dc73d759b
DOM
...
- Migrated DOM off A3, onto A3t. First live use of new parser.
2014-04-24 11:48:43 -04:00
Paul Beckingham
d99f40eaad
Code Cleanup
...
- Removed obsolete text.cpp splitq funciton, which is superceded by
Lexer::split.
2014-04-24 09:35:02 -04:00
Paul Beckingham
386bcea60e
Text
...
- Removed splitq function and tests, migrated code over to the new
Lexer::split.
2014-04-23 23:20:56 -04:00
Paul Beckingham
d099a4edfd
Text Handling
...
- Migrated the splitq implementation over to the Lexer. Now it handles all
Unicode spaces. Jsut need to obsolete the old version.
2014-04-23 17:34:07 -04:00
Paul Beckingham
523dce8f32
Code Cleanup
...
- Standardized headers.
2014-02-01 14:33:37 -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
8ed92ca498
Copyright
...
- Bumped copyright to 2014, ready for release.
2014-01-01 13:32:22 -05:00
Paul Beckingham
7e5b43bb9d
Function: visible
...
- Added helper function to render control characters visible. This may be
replaced by JSON::encode.
2013-08-30 10:51:43 -07: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
Paul Beckingham
d14a9cacec
Text Formatting
...
- Added a format overload for three integers.
2013-04-01 15:50:16 -04:00
Paul Beckingham
1dccd29643
Copyright 2013
...
- Updated copyright notices.
2013-03-04 17:47:12 -05:00
Paul Beckingham
6aa0277749
Bug #1189
...
- Fixed bug #1189 , which caused wide Asian UTF8 characters to be measured as
narrow characters (thanks to Roy Zuo).
2013-03-02 18:22:21 -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
e6804a1679
UTF8 Line Extraction
...
- Minor efficiency modification, made while fixing a bug.
2013-02-10 08:46:19 -05:00
Johannes Schlatow
55813b6a09
Bug
...
- Colons are evil, fixed ZSH completion commands.
2013-01-15 01:05:28 +01: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
d9e24098b5
C -> C++
...
- Integrated wcwidth6.c more into text.cpp.
- Moved wcwidth6.c to wcwidth6.cpp, to cure some strange build issue.
2012-10-29 16:09:32 -04:00
Scott Kostyshak
4baaf52610
Bug
...
- Hyphenation is not needed when words are split with commas.
- Unit test added.
2012-10-20 14:34:12 -04:00
Louis-Claude Canon
0ac6578899
Enhancement
...
- When formating real numbers that are between 0 and 1, the width controls the
number of characters that are shown (with width "4", "0.01234" is shown as
"0.01").
2012-07-27 08:19:21 -04:00
Paul Beckingham
43c2b402cd
Bug #967
...
- Fixed bug #967 , which did not properly determine character widths for UTF8
characters (thanks to Victor Roetman, Jörg Plate, Markus Kuhn).
2012-07-15 00:14:04 -04:00
Paul Beckingham
f23d8921e4
Enhancement
...
- Modified the closeEnough function to accept a minimum match length.
Useful, but initially not used.
2012-06-02 10:05:32 -04:00
Paul Beckingham
86e74c1020
Code Cleanup
...
- Removed unused function and corresponding unit tests. YAGNI.
2012-03-11 15:33:45 -04:00
Owen Clarke
9fb015f72c
Portability
...
- Added new 'format' overload to resolve compiler warnings on Solaris.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-02-26 18:49:13 -05:00
Ralph Bean
36ed70ad93
Exports
...
- Provided sample sqlite3 export script in Python, to serve as a
starting point for anyone wanting to migrate taskwarrior data into
a SQL database. Illustrates JSON parsing and separation of the
relational data.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-01-10 17:58:34 -05:00
Paul Beckingham
6580095002
Copyright
...
- Year change.
2012-01-02 23:32:10 -05:00
Federico Hernandez
8116c6a103
License
...
- moving task from GPL to MIT license
top level src directory
2011-10-08 00:04:01 +02:00
Paul Beckingham
038687b801
Helpers
...
- Forced the format(double) helper function to not use scientific notation,
which was causing problems.
2011-09-11 01:02:43 -04:00
Paul Beckingham
562fd8ce3c
Helpers
...
- Implemented isTokenEnd, as a special case of isWordEnd, but considers
consecutive punctuation to be a set of individual tokens.
2011-09-10 13:24:54 -04:00
Paul Beckingham
1c2a4981ac
Helper functions
...
- Rescued the str_replace function from Att.
2011-08-27 10:22:40 -04:00
Paul Beckingham
013061803f
Helper Functions
...
- Implemented rightJustifyZero for zero-padded integer strings.
2011-08-22 22:24:43 -04:00
Paul Beckingham
7dd3e081c7
Bug #804 - URL link and break line
...
- Addressed bug #804 by allowing rc.hyphenate to control whether hyphens are
inserted when long lines are broken. This may help prevent xterm from
mis-parsing URLs in task annotations, when wrapped (thanks to Yann Davin).
- Added unit tests.
2011-08-17 22:39:28 -04:00
Paul Beckingham
fb9e82ed0e
TDB2 parsing
...
- TDB2::load_lines was splitting the text on \n, but because the last
line contains \n, there was an additional blank line. This is what
split_minimal is for.
- split_minimal contained a copy/paste bug that added the extra line
if the input was non-trivial, instead of if the remainder was non-
trivial.
- Fixed incorrect unit test accordingly.
2011-08-13 23:19:11 -04:00
Paul Beckingham
e238b94d1b
Urgency
...
- Urgency recalc was not properly set with the task was modified.
- Corrected urgency formatting.
- Cleaned up some code in A3 and E9.
2011-08-12 23:08:54 -04:00
Paul Beckingham
197524a5fc
Expression
...
- Added configurable 'abbreviation.minimum' (default:2) setting to
control how auto-completion works.
2011-07-20 10:51:13 -04:00
Paul Beckingham
2ce0b5a1ab
closeEnough
...
- Implemented closeEnough, which does a truncated, caseless compare
between two strings. For example, "FoO" is cloneEnough to "food."
to be a match. Used to allow mixed case and abbreviated arguments.
2011-07-07 01:33:43 -04:00
Paul Beckingham
45a757832a
Feature #559
...
- Added feature #559 , which implements a new configuration variable,
rc.exit.on.missing.db, which causes taskwarrior to exit if the
rc.data.location is missing (thanks to Sander Marechal).
2011-06-27 23:23:28 -04:00
Paul Beckingham
b63835757f
I18N
...
- Localized more files.
2011-06-21 18:05:17 -04:00