Commit graph

27 commits

Author SHA1 Message Date
6fdc8f2f5a Add url lookup for conkeror
Add simple url lookup for conkeror. Currently loads all bookmarks into
the completion buffer, but this will be changed.
2013-02-11 23:04:53 +01:00
d5dbe8ed27 Add simple searching 2013-02-02 16:53:16 +01:00
1d51bacd51 Cleanup
- Disable interpreted usage, it doesn't seem to work.
- Move comments outside of functions, I miss docstrings...
- Move handling of "other" arguments to separate function.
2013-02-02 15:27:28 +01:00
e0cb224854 Add install-strip target 2013-01-06 15:59:16 +01:00
4fde21d991 Use more variables
This allows any command used to be overridden, when, for example,
they're not installed in PATH.
2013-01-06 15:52:33 +01:00
e2999eed45 Add uninstall target
Removes all files from their installed locations.
2013-01-06 15:30:50 +01:00
759b8b0cf9 Add more documentation formats to Makefile
`dvi', `pdf' and `ps' can be compiled/installed by explicitly
specifying `make FORMAT' or `make install-FORMAT'.
2013-01-06 15:10:37 +01:00
58a7c046d2 Add install target to Makefile
Installs everything under `DESTDIR', which is `/usr/local' by
default.
2013-01-06 14:36:51 +01:00
8d9615f72a Add comment about running as script
Also say that it is not the recommended way.
2012-12-30 02:04:27 +01:00
455f40c794 Add possibility of running as scripts
By using the `#+' read syntax to determine if the file is being run as
a script or (presumably) compiled, we can use it as either a binary or
a script.
2012-12-30 02:00:08 +01:00
3820e65992 Rename convert to markam-convert 2012-12-29 17:10:12 +01:00
b467939385 Rename linkwave to markam 2012-12-29 16:54:16 +01:00
f379783d28 Add version and help options to convert
Place the `version' and `display-version' items in `common.scm' so
they can be easily used by both executables.
2012-12-29 02:55:03 +01:00
27bdb9bdd1 Add version and help options to linkwave 2012-12-29 02:21:21 +01:00
71e54b6a61 Ignore binaries and other generated files 2012-12-28 22:56:30 +01:00
bf63bf47c7 Add Texinfo documentation 2012-12-28 22:55:16 +01:00
e3d4594eb7 Add/improve some documentation comments
Since CHICKEN scheme doesn't do docstrings I'm just using comments.
2012-12-28 22:03:55 +01:00
e72e942eca Add GPLv3 2012-12-28 20:45:32 +01:00
5535308fff Restructure
Put all source files in `src/' and add the `conkeror/' directory from
the old project.
2012-12-28 20:24:20 +01:00
57f06ec8c9 Remove db as a global variable
There's no need for it to be a global variable.
2012-12-28 01:46:15 +01:00
f71c70ca7b Define a main function
It looks somewhat cleaner.
2012-12-28 01:42:21 +01:00
59af3a13f9 Don't bail when a tag doesn't exist yet
Add the tag to the database if `first-result' returns nothing.
2012-12-28 01:39:16 +01:00
908bbc3cfb Use a transaction when adding new bookmarks
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.
2012-12-28 01:00:26 +01:00
0c24993384 Add README 2012-12-27 03:12:15 +01:00
10d453e5d7 Update linkwave
* 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.
2012-12-27 03:08:55 +01:00
1b6badfcce Guard against non-blob values of bookmark.date 2012-12-27 03:03:24 +01:00
77c7dbaa9a Initial commit 2012-12-24 01:27:14 +01:00