Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First commit with the improvements over the original code
- Loading branch information
Fernando Blat
committed
Aug 19, 2010
0 parents
commit f5b801d
Showing
8 changed files
with
358 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>name</key> | ||
<string>Style: Footer</string> | ||
<key>scope</key> | ||
<string>meta.footer.tasks</string> | ||
<key>settings</key> | ||
<dict> | ||
<key>background</key> | ||
<string>#FF0000</string> | ||
<key>foreground</key> | ||
<string>#FFFFFF</string> | ||
</dict> | ||
<key>uuid</key> | ||
<string>5D4655C1-4F49-43F4-80D1-472127217ECA</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>name</key> | ||
<string>Style: SubHeader</string> | ||
<key>scope</key> | ||
<string>meta.subheader.tasks</string> | ||
<key>settings</key> | ||
<dict> | ||
<key>background</key> | ||
<string>#34D167</string> | ||
<key>fontStyle</key> | ||
<string>italic</string> | ||
<key>foreground</key> | ||
<string>#FFFFFF</string> | ||
</dict> | ||
<key>uuid</key> | ||
<string>AA183261-1483-41D3-BFE4-42D23B6A1353</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>name</key> | ||
<string>Symbol List: Footer</string> | ||
<key>scope</key> | ||
<string>meta.footer-line.tasks</string> | ||
<key>settings</key> | ||
<dict> | ||
<key>showInSymbolList</key> | ||
<integer>1</integer> | ||
<key>symbolTransformation</key> | ||
<string>s/:\s*//</string> | ||
</dict> | ||
<key>uuid</key> | ||
<string>2D8A85E4-442E-4853-A147-120015DE38C0</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>name</key> | ||
<string>Symbol List: SubHeaders</string> | ||
<key>scope</key> | ||
<string>meta.subheader-line.tasks</string> | ||
<key>settings</key> | ||
<dict> | ||
<key>showInSymbolList</key> | ||
<integer>1</integer> | ||
<key>symbolTransformation</key> | ||
<string>s/:\s*$//</string> | ||
</dict> | ||
<key>uuid</key> | ||
<string>A7D7304B-829F-4981-B85A-70B6948AF992</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
# Tasks Bundle # | ||
|
||
Tasks bundle for Textmate. Based on Tasks bundle from [Henrik Nyh](http://henrik.nyh.se/2007/08/tasks-bundle) but improved in some aspects. | ||
|
||
## Features ## | ||
|
||
This bundle let's you manage tasks lists with Textmate. Tasks can be grouped in sections. Each task has two available states: pending, and done. | ||
|
||
For example: | ||
|
||
Project 1: | ||
✓ task 1 | ||
✓ task 2 | ||
- task 3 | ||
|
||
All this features came with the original version from Henrik. | ||
|
||
I have added a second level for sections, and also a footer for each sections. That's because I get use to create a task list per day, and inside each day, a list per project. Also, I like to annotate some conclusions at the end of each day in each project. | ||
|
||
This would be a sample task list for me: | ||
|
||
Monday: | ||
|
||
@ Project 1 | ||
|
||
✓ task 1 | ||
✓ task 2 | ||
✓ task 3 | ||
|
||
> spent 3h | ||
|
||
@ Project 2 | ||
|
||
- update the library version and deploy | ||
|
||
Tuesday: | ||
|
||
@ Project 1 | ||
|
||
- task 1 | ||
- task 2 | ||
|
||
@ Project 2 | ||
|
||
- check for bugs | ||
|
||
|
||
## Installation ## | ||
|
||
To install via Git: | ||
|
||
mkdir -p ~/Library/Application\ Support/TextMate/Bundles | ||
cd ~/Library/Application\ Support/TextMate/Bundles | ||
git clone git://github.com/ferblape/Tasks.tmbundle.git | ||
osascript -e 'tell app "TextMate" to reload bundles' | ||
|
||
Source can be viewed or forked via GitHub: [http://github.com/ferblape/Tasks.tmbundle.git](http://github.com/ferblape/Tasks.tmbundle.git) | ||
|
||
## License ## | ||
|
||
(The MIT License) | ||
|
||
Copyright (c) 2010 Fernando Blat, http://fernando.blat.es. | ||
|
||
Based in the code from [Henrik Nyh](http://henrik.nyh.se/2007/08/tasks-bundle) | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
'Software'), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>changed</key> | ||
<dict> | ||
<key>patterns</key> | ||
<array> | ||
<dict> | ||
<key>include</key> | ||
<string>#link</string> | ||
</dict> | ||
<dict> | ||
<key>captures</key> | ||
<dict> | ||
<key>1</key> | ||
<dict> | ||
<key>name</key> | ||
<string>meta.leading-whitespace.tasks</string> | ||
</dict> | ||
<key>2</key> | ||
<dict> | ||
<key>name</key> | ||
<string>punctuation.definition.bullet.tasks</string> | ||
</dict> | ||
<key>3</key> | ||
<dict> | ||
<key>name</key> | ||
<string>meta.task-proper.tasks</string> | ||
</dict> | ||
</dict> | ||
<key>match</key> | ||
<string>^(\s*)(✓)(.*)$\n?</string> | ||
<key>name</key> | ||
<string>meta.task.completed.tasks</string> | ||
</dict> | ||
<dict> | ||
<key>captures</key> | ||
<dict> | ||
<key>1</key> | ||
<dict> | ||
<key>name</key> | ||
<string>meta.leading-whitespace.tasks</string> | ||
</dict> | ||
<key>2</key> | ||
<dict> | ||
<key>name</key> | ||
<string>meta.footer.tasks</string> | ||
</dict> | ||
</dict> | ||
<key>match</key> | ||
<string>^(\s*)(\>\s*[^\n]+)$</string> | ||
<key>name</key> | ||
<string>meta.footer-line.tasks</string> | ||
</dict> | ||
<dict> | ||
<key>captures</key> | ||
<dict> | ||
<key>1</key> | ||
<dict> | ||
<key>name</key> | ||
<string>meta.leading-whitespace.tasks</string> | ||
</dict> | ||
<key>2</key> | ||
<dict> | ||
<key>name</key> | ||
<string>meta.subheader.tasks</string> | ||
</dict> | ||
<key>3</key> | ||
<dict> | ||
<key>name</key> | ||
<string>meta.toc-list.tasks</string> | ||
</dict> | ||
<key>4</key> | ||
<dict> | ||
<key>name</key> | ||
<string>punctuation.definition.separator.tasks</string> | ||
</dict> | ||
</dict> | ||
<key>match</key> | ||
<string>^(\s*)((\@\s*.+)(:?)$)</string> | ||
<key>name</key> | ||
<string>meta.subheader-line.tasks</string> | ||
</dict> | ||
<dict> | ||
<key>captures</key> | ||
<dict> | ||
<key>1</key> | ||
<dict> | ||
<key>name</key> | ||
<string>meta.leading-whitespace.tasks</string> | ||
</dict> | ||
<key>2</key> | ||
<dict> | ||
<key>name</key> | ||
<string>punctuation.definition.bullet.tasks</string> | ||
</dict> | ||
<key>3</key> | ||
<dict> | ||
<key>name</key> | ||
<string>meta.task-proper.tasks</string> | ||
</dict> | ||
</dict> | ||
<key>match</key> | ||
<string>^(\s*)(-)(.*)$\n?</string> | ||
<key>name</key> | ||
<string>meta.task.pending.tasks</string> | ||
</dict> | ||
<dict> | ||
<key>captures</key> | ||
<dict> | ||
<key>1</key> | ||
<dict> | ||
<key>name</key> | ||
<string>meta.leading-whitespace.tasks</string> | ||
</dict> | ||
<key>2</key> | ||
<dict> | ||
<key>name</key> | ||
<string>meta.header.tasks</string> | ||
</dict> | ||
<key>3</key> | ||
<dict> | ||
<key>name</key> | ||
<string>meta.toc-list.tasks</string> | ||
</dict> | ||
<key>4</key> | ||
<dict> | ||
<key>name</key> | ||
<string>punctuation.definition.separator.tasks</string> | ||
</dict> | ||
</dict> | ||
<key>match</key> | ||
<string>^(\s*)(([^@>]+)(:)\s*$\n?)</string> | ||
<key>name</key> | ||
<string>meta.header-line.tasks</string> | ||
</dict> | ||
</array> | ||
</dict> | ||
<key>deleted</key> | ||
<array/> | ||
<key>isDelta</key> | ||
<true/> | ||
<key>uuid</key> | ||
<string>CDF5D65E-F8C5-4FD5-8BC3-D4BE8FE2C1EA</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>changed</key> | ||
<dict> | ||
<key>ordering</key> | ||
<array> | ||
<string>DD46B6D4-3616-4797-87D4-F089F68B28A7</string> | ||
<string>5D4655C1-4F49-43F4-80D1-472127217ECA</string> | ||
<string>AA183261-1483-41D3-BFE4-42D23B6A1353</string> | ||
<string>F924F556-9D59-4163-8CCB-FD1EFE5D3F5B</string> | ||
<string>B0949D68-BD8E-4CA7-BA92-61A0498A345D</string> | ||
<string>59C72689-01D3-4817-989E-7E7870C23F55</string> | ||
<string>7CEAC287-41F5-4ED7-908F-D29D3F0DBC1B</string> | ||
<string>40140EB8-3634-465A-A656-32D6C879C85B</string> | ||
<string>9216E069-0972-4C19-8475-4943B4A51D0B</string> | ||
<string>A017686E-8A69-4886-97D4-34A99BCEEDB5</string> | ||
<string>A7D7304B-829F-4981-B85A-70B6948AF992</string> | ||
<string>840B8DDD-86C9-4BC3-8A86-1AC4B7EC34BD</string> | ||
<string>2D8A85E4-442E-4853-A147-120015DE38C0</string> | ||
<string>CDF5D65E-F8C5-4FD5-8BC3-D4BE8FE2C1EA</string> | ||
</array> | ||
</dict> | ||
<key>deleted</key> | ||
<array/> | ||
<key>isDelta</key> | ||
<true/> | ||
<key>uuid</key> | ||
<string>32A18B7A-5704-4B47-945A-392F7C3BB6AF</string> | ||
</dict> | ||
</plist> |