summaryrefslogtreecommitdiffstats
path: root/linkwave.scm
Commit message (Collapse)AuthorAgeFilesLines
* RestructureGravatar Tom Willemsen2012-12-281-56/+0
| | | | | Put all source files in `src/' and add the `conkeror/' directory from the old project.
* Remove db as a global variableGravatar Tom Willemsen2012-12-281-14/+13
| | | | There's no need for it to be a global variable.
* Define a main functionGravatar Tom Willemsen2012-12-281-7/+9
| | | | It looks somewhat cleaner.
* Don't bail when a tag doesn't exist yetGravatar Tom Willemsen2012-12-281-7/+13
| | | | Add the tag to the database if `first-result' returns nothing.
* Use a transaction when adding new bookmarksGravatar Tom Willemsen2012-12-281-3/+10
| | | | | | | During testing it was discovered that the `first-result' procedure throws an exception, which left the database in a somewhat inconsistent state, the bookmark had been added, but (at least one of) the tags weren't added. This should make it all succeed or all fail.
* Update linkwaveGravatar Tom Willemsen2012-12-271-2/+27
| | | | | | | | | | | | * Add parsing of command line arguments, if the first argument starts with "http://" assume it's a new bookmark and save it to the database. * Add adding bookmarks to the database. * linkwave.scm (string-no-null): Only try to remove the final null byte if the string is longer than 0 characters and only if the last character _is_ a null character.
* Initial commitGravatar Tom Willemsen2012-12-241-0/+17