Commit graph

135 commits

Author SHA1 Message Date
Scott Kostyshak
2afb893b2a Feature
- Bash now completes "rc:" with file names and
  "rc.data.location:" with folder names.
2012-10-30 17:02:06 -04:00
Scott Kostyshak
d8a4aab85b Enhancement
- Improve bash completion for 'project:', 'depends:', and 'priority:'.
- 'projABC:' no longer expands (same for 'depends:' and 'priority:').
- 'proj:' only expands if abbreviation.minimum is less than 5
  (same for 'depends:' and 'priority:' and for other values of
  abbreviation.minimum).
- Unit tests for the above.
2012-09-16 22:11:52 -04:00
Scott Kostyshak
bd085a820d Code Cleanup
- Improved style and efficiency of Perl test code.
- Added alias expansion to feature log of bash completion script.
- Added comments to bash completion script.
2012-08-05 16:41:09 -04:00
Scott Kostyshak
54b2e10da4 Unit Tests
- Create a framework for testing bash completion.
- Test that aliases are expanded.
- Test that task commands are expanded.
2012-08-05 08:43:24 -04:00
Johannes Schlatow
affda052c8 Zsh tab completion
Added missing attributes and operators.
2012-07-30 11:55:42 +02:00
Johannes Schlatow
5db7b6c290 Bug #1045
- Fixed bug where zsh completion did not work for aliases (see #1043).
2012-07-29 14:09:56 +02:00
Scott Kostyshak
4f76e0ed7c Bug #1043
- Fixed bug where bash autocompletion did not work for aliases.
- Added new '_aliases' helper command.
2012-07-28 15:36:17 -04:00
Federico Hernandez
4fe671f895 Documentation
- Fixed several typos in man pages.
  (Thanks to Scott Kostyshak for the comprehensive patch)
2012-07-23 13:13:30 +02:00
Paul Beckingham
d0397f8481 Bug #1012
- Fixed bug #1012, which failed to install add-on scripts with execute
  permission.
2012-07-09 21:08:19 -04:00
Paul Beckingham
4d4f286330 Bugs
- Added an A3::is_attr type override for 'recur', which needs to be
  treated as an un-expanded 'string' type, most, but not all of the
  time.
- Documented the above in ColRecur.cpp.
- Modified Command.cpp to recognize both type 'duration' and name 'recur'.
- Removed Command::next_mod_group argument coalescing for date types,
  which was not used anyway.
- Improved the error message for unrecognized durations, which previously
  included the word 'date'.
- Modified unit tests to accomodate the above error message change.
- Added bug.972.t unit tests, which fail, because it isn't fixed yet.
- Made A3::dump const so it can be used anywhere.
2012-07-08 10:47:01 -04:00
Louis-Claude Canon
b093d23f1f Typos
- Fix various typos in comments and documentation.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-06-12 16:44:14 -04:00
Paul Beckingham
b2a1c327f4 Typos
- Fixed minor typos in comments.
2012-06-10 17:04:40 -04:00
Louis-Claude Canon
bc2addeb41 Enhancement
- Solve bug #962.
- Improve completion by proposing column names (used when filtering and
  modifying tasks).
2012-06-10 17:01:58 -04:00
Jörg Plate
26420d74c2 Feature #1005
- Applied patch for feature #1005, which prevents the update-holidays.pl script
  from creating duplicate holidays (thanks to Jörg Plate).

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-05-07 18:44:14 -04:00
Paul Beckingham
8af872e289 Bug
- Fixed problem where update-holidays.pl did not use the YYYYMMDD date foramt.
2012-02-26 17:05:16 -05:00
Paul Beckingham
1f8e823593 Holidays Updated
- Modified update-holidays.pl script to include the MIT license.
- Added the URLs used to download the data, in the data.
- Added a refresh script to freshen the files.
2012-02-21 17:23:57 -05:00
Paul Beckingham
0a0e8f0d6b Bug - UTF8
- Fixed bug in the handling of UTF8 JSON data from holidata.net, when
  update-holidays.pl when decoding and writing files.
2012-02-19 23:22:45 -05:00
Paul Beckingham
15d25d4fdf Lua
- Tweaks to the Lua and extension API.  Note that this is a documentation-only
  change, meaning the design is being honed.  No support exists yet.
2012-01-15 11:39:53 -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
Dirk Deimeke
93337f499e Bug
- Applied patch from Dirk to fix a problem on Cygwin with a $PATH
  that contain spaces.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-11-22 07:08:51 -05:00
Federico Hernandez
1fa48f7a89 License
- re-licensed vim scripts under MIT.
2011-10-16 22:31:28 +02:00
Federico Hernandez
af2a29ce3b License
- fish completion
2011-10-08 15:07:15 +02:00
Federico Hernandez
6aeed144ef License
- zsh completion
2011-10-08 15:03:50 +02:00
Federico Hernandez
e6a455f31d License
- scripts/utils
2011-10-08 14:51:08 +02:00
Federico Hernandez
f300daad39 License
- task bash completion
2011-10-08 14:46:24 +02:00
Federico Hernandez
487ad4e4bb License
- add-ons
2011-10-08 14:05:13 +02:00
Federico Hernandez
4d7a424c2e License
- files in scripts/extensions
2011-10-08 12:26:03 +02:00
Paul Beckingham
eed3cf5d0f Utilities
- Renamed 'verify' to 'verify_strings', because the old name is too
  generic.
2011-10-02 17:04:00 -04:00
Johannes Schlatow
b018042130 Scripts
- added conjunctions to zsh tab completion
2011-09-16 15:12:17 +02:00
Johannes Schlatow
711e943c25 Scripts
- changed naming in zsh tab completion
2011-09-15 23:17:33 +02:00
Johannes Schlatow
3e73f43272 Scripts
- modified zsh tab completion to support 2.0 syntax
2011-09-15 23:04:33 +02:00
Paul Beckingham
751e8e7f90 Import YAML
- Implemented the import-yaml.pl external script.
- Added unit tests.
- Fixed problem where the pending tasks were not loaded prior to uuid
  verification.
2011-09-05 01:11:37 -04:00
Paul Beckingham
c1a21ce5a4 Export YAML
- Implemented export-yaml.pl as a filter.
- Reimplemented export.yaml.t to use the filter.
2011-08-31 23:52:07 -04:00
Paul Beckingham
7789692678 Import
- Fixed priority and tag bugs in the todo.sh transform.
- Began (but have not finished) writing unit tests for this.
2011-08-31 02:29:02 -04:00
Paul Beckingham
b4a583b951 Import - todo.sh
- Wrote a todo.sh parser based on Gina's specs.
- Started unit tests (not finished).
2011-08-30 18:29:57 -04:00
Paul Beckingham
aace091329 Add-ons: Exports
- Modified the export scripts to use the right command, which is now
  'export', not '_query', although '_query' is now an alias for backward
  compatibility.
2011-08-28 16:43:12 -04:00
Ben Boeckel
acc00e67ea [PATCH 1/2] Add monthly recurrence
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-07-29 22:45:13 -04:00
Paul Beckingham
5e71003558 Utils
- 'verify' is a utility intended to make sure that all the i18n strings
  defined in src/en-US.h (and any other languages) are all used.  In other
  words it detects unused strings, which can presumably be removed.
2011-05-25 18:05:44 -04:00
Paul Beckingham
bc756637da Commands
- Implemented CmdHelp object that replaces the report.cpp longUsage
  function, and builds the output dynamically from other Command
  objects.  This is also why the help text right now is very short,
  as only a few commands are migrated.
- Obsoleted longUsage function.
- Updated task.1 man page with 'execute' command details.
- Modified command.lua sample to include command usage.
- Removed "help" from old Context::dispatch, which means "help" is
  the first migrated command.
- Added usage and description to all Cmd* objects.
- Implemented Command::usage and Command::description as base class
  methods that simply return data that is specified by the derived
  classes.
2011-05-15 01:14:13 -04:00
Paul Beckingham
5fa77a36de Verbose
- Implemented rc.verbose=on|off|list...
- Migrated rc.blanklines to a verbosity token.
- Updated documentation.
2011-05-11 21:49:31 -04:00
Paul Beckingham
01df9e189e Extensions
- Removed the redundant README file, which is now better presented in
  rfc5-hooks.txt.
- Modified all the sample Lua to be rfc5 compliant.
2011-04-24 16:25:11 -04:00
Paul Beckingham
a7c3858729 Extensions
- Clarification in the extensions document.
2011-04-24 12:40:50 -04:00
Paul Beckingham
10e3f306dd Export
- Added export-html.pl.
- Added error handling to export scripts.
2011-04-23 21:38:01 -04:00
Paul Beckingham
0471c17f12 Build System
- Added new src/commands and src/columns intermediate libs.
- Began implementation of the first Command object.
- Began implementation of the first Column object.
- TDB2, Variant updates.
2011-04-23 16:41:37 -04:00
Paul Beckingham
07faa663b4 Documentation
- Typo
2011-04-20 23:34:54 -04:00
Paul Beckingham
60a5d271f4 Extensions
- Created scripts/extensions/README to describe samples.
- Created sample extension scripts of each type.
2011-04-18 00:51:34 -04:00
Paul Beckingham
2f4efb28d6 Lua
- Created new scripts/extensions directory.
- Added README for extensions.
- Started priority.lua extension.
- Implemented api_task_get and api_task_set DOM accessors.
- Removed more obsolete API.
2011-04-17 00:48:05 -04:00
Paul Beckingham
19582dd139 Holidays
- Renamed all holiday files to include a locale, rather than just
  a country code.
- Enhanced update-holidays.pl add-on script to support regions,
  provide better error handling, error on missing Perl module,
  warnings on unavailable data, and help text.
- Updated documentation accordingly.
2011-04-10 15:37:30 -04:00
Paul Beckingham
039bf15df1 Holiday Update Script
- Script to download current data from holidata.net.
2011-04-07 18:26:30 -04:00