summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use primitive-load to avoid compilationgoopsGravatar Tom Willemsen2012-10-041-1/+1
| | | | | Since the docstrings are no longer docstring the undonerc file doesn't need to be compiled anymore.
* Re-implement (part of) define-view in view.scmGravatar Tom Willemsen2012-10-042-57/+22
| | | | | This new macro should replace most of the functionality of the old one, for the moment it only allows specification of what to print how.
* Add view-doc genericGravatar Tom Willemsen2012-10-042-2/+6
| | | | | | This function should return a string that explains what the view does. This should remove the need to compile the undonerc in order to get the explanation.
* Compile view.scm firstGravatar Tom Willemsen2012-10-041-1/+1
| | | | | This is to avoid automatic compilation to the cache when main.scm is being built.
* Add update commandGravatar Tom Willemsen2012-10-021-13/+32
| | | | | | | | * undone/main.scm (args->alist): Place argument parsing for add/update in separate function for reuse. (delete-item): Renamed from `delete', which is in conflict with guile's own `delete'. (update): New function.
* Remove <todo-view> definitionGravatar Tom Willemsen2012-10-011-15/+0
| | | | This was only there for testing purposes, it has been moved to my rc file.
* Make the <view> class do its workGravatar Tom Willemsen2012-10-012-15/+11
| | | | | I still need to rewrite the macros to work with this new style of view.
* Seperate view code and clarify the proofGravatar Tom Willemsen2012-09-273-29/+43
|
* Don't fail when generating first idGravatar Tom Willemsen2012-09-261-3/+5
|
* Improve loading of filesGravatar Tom Willemsen2012-09-261-12/+5
|
* GOOPS "Proof of concept"Gravatar Tom Willemsen2012-09-261-1/+39
| | | | Doesn't actually do anything yet, but shows where to start.
* Use for-each instead of mapHEADmasterGravatar Tom Willemsen2012-09-161-4/+5
| | | | | Since we don't need the result of going through all the views, we can just discard it.
* Add delete commandGravatar Tom Willemsen2012-09-161-0/+11
| | | | | | The delete command removes an item from the todo-list, it does this by filtering out the item wich has the given `id' value and saving the result.
* Make file loading a bit more robustGravatar Tom Willemsen2012-09-161-37/+35
| | | | Don't fail when a file can't be found.
* Leave auto-compile onGravatar Tom Willemsen2012-09-161-1/+1
| | | | | This way docstrings will be generated so that the `views' command can read them.
* Only show items with an id in defaultGravatar Tom Willemsen2012-09-101-1/+1
|
* Rename viewname to view-nameGravatar Tom Willemsen2012-09-101-3/+3
| | | | * undone/main.scm (define-view): Looks nicer
* Add id to each itemGravatar Tom Willemsen2012-09-101-2/+15
| | | | | | | * undone/main.scm (get-field-value): Allow specification of default return if no key is found. (next-id): New function. (add): Add `id' to the todo item.
* Don't fail when an item doesn't have a propertyGravatar Tom Willemsen2012-08-311-11/+25
| | | | | | | | | | | * undone/main.scm (get-field): Only get a cons cell, don't get its cdr. (get-field-value): New macro. (define-view): Add filtered list syntax, which filters items that don't have the needed properties. Filter results before looking through them.
* Trim whitespace at end of entryGravatar Tom Willemsen2012-08-171-2/+2
| | | | | | * undone/main.scm (add): Trim whitespace from the end of whatever text gets filled in. (default): Place newline after each item.
* Use `,' to denote listGravatar Tom Willemsen2012-08-171-3/+8
| | | | | * undone/main.scm (add): When encountering a value that starts with `,', assume that it should be turned into a list.
* Use one big file for nowGravatar Tom Willemsen2012-08-171-1/+19
| | | | | | | * undone/main.scm (todo-list-file): Check to see if we should use a file in XDG_DATA_HOME or HOME. (mkdirs): New function. (save): Ensure the directory tree exists by calling `mkdirs' first.
* Don't auto-compileGravatar Tom Willemsen2012-08-151-1/+1
| | | | Doesn't look nice when your rc file compiles every time.
* Add Makefiles and othersGravatar Tom Willemsen2012-08-1510-3/+757
|
* Add sorting and don't collect resultGravatar Tom Willemsen2012-08-141-16/+41
|
* Simplify macroGravatar Tom Willemsen2012-08-141-9/+15
|
* Improve macroGravatar Tom Willemsen2012-08-141-5/+7
|
* Simplify call to define-viewGravatar Tom Willemsen2012-08-141-11/+11
|
* Rename test view to rawGravatar Tom Willemsen2012-08-141-1/+1
|
* Prettier test-view outputGravatar Tom Willemsen2012-08-141-1/+1
|
* Oops, should have been more carefulGravatar Tom Willemsen2012-08-141-2/+2
|
* Load rc from appropriate locationGravatar Tom Willemsen2012-08-141-1/+11
|
* Properly load undonercGravatar Tom Willemsen2012-08-141-1/+1
|
* Initial commit.Gravatar Tom Willemsen2012-08-131-0/+105