Commit graph

46 commits

Author SHA1 Message Date
Paul Beckingham
1a4a19346e Build: One less missing include 2015-05-25 13:25:26 -04:00
Paul Beckingham
a7937cf27e Build: One less missing include 2015-05-25 13:24:12 -04:00
Paul Beckingham
e2ca81b041 Build: Looking for a missing include 2015-05-25 13:23:00 -04:00
Paul Beckingham
b783adca92 Cleanup: Migrated ::getResponse into main.cpp 2015-05-25 13:09:07 -04:00
Paul Beckingham
1494300e42 L10N: Localized review 2015-05-25 12:48:19 -04:00
Paul Beckingham
b794da1cc9 Text: Added more polymorphic formatters 2015-05-25 12:47:38 -04:00
Paul Beckingham
86687adb97 FS: L10N 2015-05-25 11:35:07 -04:00
Paul Beckingham
3c4b2162e1 Review: Snapshot 2015-05-25 11:31:27 -04:00
Paul Beckingham
9d0e051f51 Review: Snapshot 2015-05-25 10:54:32 -04:00
Paul Beckingham
0517ae6e04 Cleanup: Combined File, Path and Directory into FS
- The three objects are related and always travel together, so they are now
  combined.
2015-05-25 10:40:40 -04:00
Paul Beckingham
5d7c55c7af Bug: ::execute concatenates output
- The ::execute function concatenates output to the std::string provided, which
  is almost never wanted. Now it clears first.
2015-05-25 09:27:07 -04:00
Paul Beckingham
2834e14eb5 C++11: N1984 auto 2015-05-24 13:41:23 -04:00
Paul Beckingham
4be49a2d72 Util: inherited 'execute' from Taskwarrior. 2015-05-24 11:03:38 -04:00
Paul Beckingham
6f9a4de3bf Review: Added stubbed functionality. 2015-05-24 01:22:32 -04:00
Paul Beckingham
7a277f2091 C++11: Removed compiler warning. 2015-05-24 01:21:40 -04:00
Paul Beckingham
7f712d0926 Review: Added framework
- Added 'review' command, which does nothing.
- Removed 'context' command, which now passes to Taskwarrior.
- Removed 'leave' command.
- Removed 'clear' command.
2015-05-23 22:42:03 -04:00
Paul Beckingham
b5d3a4eff8 Updated copyright to 2015 2015-01-01 00:00:44 -05:00
Paul Beckingham
a18d8cc579 Prompt
- Fixed crash bug by properly indexing color list.
- Added \001 and \002 readline markers, although it doesn't seem to help much.
2014-12-21 18:55:31 -05:00
Paul Beckingham
b9fb1226c5 Context
- Added 'context', 'clear' and 'leave' commands for accumulating and managing
  persistent filters.
- Incorporated the filters into the prompt.
2014-12-21 13:57:46 -05:00
Paul Beckingham
d7a5c34e01 Prompt
- More features.
2014-09-15 20:15:07 -04:00
Paul Beckingham
e020966425 Prompt
- Added notes on what the prompt should be.
2014-09-15 20:03:31 -04:00
Paul Beckingham
a1f5344cbe Portability
- Missing includes.
2014-09-05 17:55:27 -04:00
Paul Beckingham
5d3db37452 Portability
- Missing includes.
2014-09-05 17:54:36 -04:00
Paul Beckingham
fd3d702ada Portability
- Missing includes.
2014-09-05 17:53:16 -04:00
Paul Beckingham
058d27a69a Merge branch '0.9' of ssh://git.tasktools.org/ex/tasksh into 0.9 2014-06-25 19:22:45 -04:00
Paul Beckingham
71e1d226a2 Diagnostics
- Implemented the start of the diagnostics command.
2014-06-25 19:21:54 -04:00
Paul Beckingham
62849238bc Tasksh
- Added mechanism to allow a clean exit ('quit', 'exit', Ctrl-D) to exit with
  status 0.
2014-06-25 17:29:02 -04:00
Paul Beckingham
a23d3c8926 Directory
- Migrated Directory object from Taskwarrior.
2014-06-25 08:42:06 -04:00
Paul Beckingham
fd4613b2db File
- Migrated File object from Taskwarrior.
2014-06-25 08:40:35 -04:00
Paul Beckingham
2dadd5d3a8 Path
- Migrated Taskwarrior File object.
2014-06-25 08:39:03 -04:00
Paul Beckingham
ac4d4d3a76 Tasksh
- When Ctrl-D is entered, std::cin is closed. Now detects this and terminates.
2014-06-21 13:22:48 -04:00
Paul Beckingham
70454c35b9 Tasksh
- When a command encountered is not supported directly by tasksh, simply send
  it to Taskwarrior.
2014-06-21 08:06:04 -04:00
Paul Beckingham
bba1bbcaaa Tasksh
- Removed additional \n and noted the disastrous effect of Ctrl-D.
2014-06-21 07:52:52 -04:00
Paul Beckingham
712ea861de Portability
- Although libreadline will be required, for now this needs to be buildable and
  testable on machines without libreadline.
2014-06-21 07:09:42 -04:00
Paul Beckingham
d1a9228b41 Prompt
- Prompt composition is factored out into a separate function. The prompt is
  going to be a big feature, and needs room for processing.
2014-06-21 07:08:32 -04:00
Paul Beckingham
710128c7d7 Help
- Added stub help command.
2014-06-20 08:50:06 -04:00
Paul Beckingham
37577fcb03 Diagnostics
- Added stubbed diagnostics command. This command will be less detailed than
  the 'task diag' command, focussing on pthread and libreadline versions,
  taskwarrior version and location, and configuration.
2014-06-20 08:47:15 -04:00
Paul Beckingham
de39d1f275 Dispatch
- Allow commadn abbreviations.
2014-06-20 08:43:44 -04:00
Paul Beckingham
cf14bd0470 Text
- Migrated some utility functions over from Taskwarrior.
2014-06-20 07:25:59 -04:00
Paul Beckingham
0d5b5bb125 CMake
- Now links to readline, pthreads.
2014-06-20 07:18:02 -04:00
Paul Beckingham
7804a23861 CMake
- Found an old 'task' reference.
2014-06-20 07:08:43 -04:00
Paul Beckingham
e559f49cd2 Tasksh
- Added framework for readline support.
2014-06-19 17:37:21 -04:00
Paul Beckingham
aacae1b1c6 Tasksh
- Implemented structure of main loop.
2014-06-19 17:18:59 -04:00
Paul Beckingham
1647ca6b4d Unit Tests
- Now build and run the color tests.
2014-06-08 18:10:51 -04:00
Paul Beckingham
eb915bd054 Build
- Basic tasksh builds.
2014-06-08 17:51:42 -04:00
Paul Beckingham
dee1f50192 CMake Files
- Added srcc files.
2014-06-08 17:21:19 -04:00