Paul Beckingham
060787a5db
calc: Migration to libshared
2018-05-13 20:26:57 -04:00
Paul Beckingham
8a43f4902d
libhsared: migrating from local to libshared
2018-05-13 20:26:34 -04:00
Paul Beckingham
814d7d69fa
Cleanup: Don't use string literals when character literals are needed
2018-05-13 20:14:11 -04:00
Paul Beckingham
c5d32c58f9
TW-1778: Unicode strings are truncated in task description
...
- Thanks to Andrew, bjonnh, OKOMPer, Vladimir.
2018-05-13 20:06:00 -04:00
Paul Beckingham
716936acaa
Text: Fixed extractLines where hyphenation is off
2016-02-23 22:15:00 -05:00
Paul Beckingham
f1785c6da9
Text: Justification auto-truncates
2016-02-23 21:10:41 -05:00
Paul Beckingham
029f3af578
TW-1709: Parsing bug when doing "task undo"
...
- Thanks to Scott Kostyshak.
2016-02-23 21:05:53 -05:00
Paul Beckingham
641d232dea
Copyright: Updated to 2016
2015-12-31 15:06:43 -05:00
Paul Beckingham
182b5427cd
Lexer: Migrated trim(), trimLeft() and trimRight() from text to Lexer
2015-10-30 11:17:23 -04:00
Paul Beckingham
51def4b12b
Lexer: Migrated commify, ucFirst and lowerCase from text to Lexer
2015-10-30 10:57:14 -04:00
Paul Beckingham
297b0c4b04
Dates: Added exact-match 'eaѕter' logic
...
- Without checking for an exact match for 'easter', the date 'easter' is a
valid partial match for 'eastermonday'.
2015-07-24 22:57:47 -04:00
Wilhelm Schuermann
2e3b8c8c2a
Plumbing: Move basic format() calls to templates
...
- format() is already using variadic templates, make use of a plain one
to remove more code bloat.
2015-06-09 11:13:44 +02:00
Wilhelm Schuermann
e95167a984
Plumbing: Use variadic templates for format()
...
- Use variadic templates, with a slight twist for properly supporting
Taskwarrior's l10n strings.
- Adjust code that relied on implicit type conversion which led to
problems with template instantiation.
- Move some functionality out of format() in order to keep it generic.
2015-06-07 20:54:02 +02:00
Wilhelm Schuermann
ae692e07a6
Verbosity: Fix "project" info not showing
...
- Make "project" verbosity imply "footnote", since verbose project
info is shown using footnotes. Fixes failing test in verbose.t.
- Convert "verbosity" variable to std::set for increased readability.
2015-06-07 15:01:26 +02:00
Paul Beckingham
5d60f426a8
Obfuscation: rc.obfuscate=1 hides private details
2015-04-26 10:31:32 -04:00
Paul Beckingham
39fb45447b
Lexer: Migrated ispunct to Lexer::isPunctuation
2015-04-16 23:52:43 -04:00
Paul Beckingham
3cbb2bb20f
Lexer: Migrated isdigit to Lexer::isDigit
2015-04-16 23:33:25 -04:00
Wilhelm Schuermann
7a64c19641
Resolve most compiler warnings
2015-03-29 22:05:38 +02:00
Paul Beckingham
26aff348d2
Lexer
...
- Replaced old digitsOnly() function with Lexer::isAllDigits.
2015-02-22 20:23:00 -05:00
Paul Beckingham
9f82926c65
Text
...
- Removed obsolete noSpaces() function.
2015-02-22 18:27:19 -05:00
Paul Beckingham
745aad0d27
Lexer
...
- Renamed Lexer2 to Lexer, it looks good enough to assume control.
2015-02-22 18:23:03 -05:00
Paul Beckingham
6683cc7e83
Converted to Lexer2.
2015-02-19 21:31:47 -08:00
Paul Beckingham
520067f522
Cleanup
...
- Eliminated text.cpp upperCase(), as it was not UTF8-safe, and is no longer
used.
2015-02-17 10:44:31 -05:00
Paul Beckingham
ec919a8677
TW-1534
...
- TW-1534 Urgency coefficient for user project disables 'info' output(thanks to
Martin).
- Reimplemented 'information' command urgency details as a ViewText.
- Fixed math bug in rightJustify.
2015-02-14 12:50:10 -05:00
Paul Beckingham
b7ad091d00
Updated copyright to 2015
2015-01-01 00:00:41 -05:00
Paul Beckingham
d8691bc993
Text
...
- More polymorphic formatting.
2014-12-28 13:05:32 -05:00
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