aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Add tags commandHEADmasterGravatar Tom Willemse2013-10-062-0/+23
|
* Change *help-messages* to parameterGravatar Tom Willemse2013-10-061-1/+1
| | | | | | | When testing in the REPL and reloading the package, using a `defvar' causes it to collect the names and help messages for commands more than once. With `defparameter' this variable is reset every time the package is loaded.
* Export commandsGravatar Tom Willemse2013-10-061-1/+2
|
* Change that crazy nameGravatar Tom Willemse2013-10-065-8/+8
| | | | | Practical Common Lisp suggested that most Lisp projects used Java-like naming schemes. I have not seen this happen in the real world so much.
* Fix compilation errorsGravatar Tom Willemse2013-10-064-6/+7
|
* Allow CLark to be used from the lisp REPLGravatar Tom Willemse2013-10-061-8/+11
|
* Move command definitions to separate fileGravatar Tom Willemse2013-10-064-111/+132
| | | | Hoping to keep the clark source file clean.
* Add remove-tags commandGravatar Tom Willemse2013-07-023-4/+24
| | | | | This command removes the given tags (or all if none are specified) from a bookmark's tag list.
* Check bookmark doesn't exist before insertingGravatar Tom Willemse2013-06-121-3/+5
| | | | | The `add' command checks if the given url has been registered before and if so will print a message about this.
* Allow LISP to be specified on the outsideGravatar Tom Willemse2013-06-061-1/+1
| | | | | I don't think it's wise to force everyone to use system-wide lisp libraries by specifying `--no-userinit' here, but my pkgbuilds need it.
* Use parameter instead of constant for versionGravatar Tom Willemse2013-06-041-1/+1
| | | | | The `defconstant' form generates an error when compiling, that the value is not `eq' to the previous value.
* Move most queries to queries.lispGravatar Tom Willemse2013-06-042-77/+100
|
* Add random commandGravatar Tom Willemse2013-06-043-1/+59
| | | | | | | | | | This command simply prints a random URL. A tag may be specified to limit the search to that tag. In the Conkeror module this command immediately loads the random bookmark in the current buffer. - js/clark.js: If `error' is empty, return the value of `data'. This makes it easier for some commands to use the result of the command. Add `clark-random' to `clark_keymap'.
* Bump version to v0.1.1Gravatar Tom Willemsen2013-04-072-2/+2
|
* Rename *version* to versionGravatar Tom Willemsen2013-04-071-2/+2
| | | | | Since `*version*' is a constant, it should not be named as a special variable.
* Remove McCLIM as dependency and properly requireGravatar Tom Willemsen2013-04-073-4/+2
| | | | | | | | The McCLIM dependency will come back, but for v0.1.* it is not a requirement. Also properly require `cl-sqlite' by adding it in the `asdf:defsystem' call.
* Exit with status 1 on errorGravatar Tom Willemsen2013-04-061-11/+30
| | | | | | | | | | Add macros `with-error-status' and `with-error-and-help' that help to easily report errors to the user. The latter also calls the `help' command. All commands, when done, exit with `*exit-status*' being the status code used. The `with-error-status' macro let-binds this variable so that the command function exits with the given status code.
* Fix usage without XDG_*_HOMEGravatar Tom Willemsen2013-04-061-10/+14
| | | | | `concatenate' does not work as I thought, cannot handle list arguments, except `nil'.
* Eval make-command-name during executeGravatar Tom Willemsen2013-04-061-1/+1
| | | | So that it also works when loaded from some other place.
* Move the export to package definitionGravatar Tom Willemsen2013-04-062-3/+2
| | | | That's where it belongs.
* Add sql macroGravatar Tom Willemsen2013-03-301-26/+46
| | | | | This gives SQL queries a little more Lisp-y feel and allows for better formatting of the code written.
* Change order of script outputGravatar Tom Willemsen2013-03-281-1/+1
| | | | | The order of parameters for `--script' and without it was different, to keep things simple these should be the same.
* Clarify defcommandGravatar Tom Willemsen2013-03-281-43/+35
| | | | | | Writing a command like with a normal labmda-list to indicate parameters is much clearer than using an `args' parameter that semmingly comes out of nowhere.
* Bump version in system, 0.0.1 is very low...Gravatar Tom Willemsen2013-03-271-1/+1
|
* Print to *error-output* when an error occursGravatar Tom Willemsen2013-03-271-7/+9
|
* Load an init file at startupGravatar Tom Willemsen2013-03-241-0/+14
| | | | | With this init file one can change certain defaults, and define their own commands.
* Update the help messages to include the optionGravatar Tom Willemsen2013-03-231-1/+5
| | | | The `--script' option was not yet documented in the help message.
* Simplify usage of call-commandGravatar Tom Willemsen2013-03-231-5/+5
|
* Add remove commandGravatar Tom Willemsen2013-03-231-0/+9
| | | | Removes a bookmark from the database.
* Add set-tags commandGravatar Tom Willemsen2013-03-231-7/+30
| | | | | The set-tags command clears any tags for the bookmark, and then adds the ones given.
* Add edit commandGravatar Tom Willemsen2013-03-231-0/+22
| | | | Allows one to edit the name and description of a bookmark.
* Check argument numbers for each commandGravatar Tom Willemsen2013-03-231-12/+23
| | | | | This should keep error conditions from being signalled when someone enters the wrong number of arguments.
* Add --script optionGravatar Tom Willemsen2013-03-231-26/+33
| | | | | When passing in the --script option all output will be formatted in a machine-readable way.
* Simplify get-bookmarksGravatar Tom Willemsen2013-03-231-8/+2
|
* Fix typoGravatar Tom Willemsen2013-03-231-1/+1
|
* Simplify the exists commandGravatar Tom Willemsen2013-03-231-8/+3
|
* Hide command detailGravatar Tom Willemsen2013-03-231-2/+6
| | | | | Hide the fact that a command is just of the form NAME-command by abstracting it away into a macro.
* Improve help messagesGravatar Tom Willemsen2013-03-231-16/+45
| | | | The `help' command can now be used to view help about other commands.
* Add exists commandGravatar Tom Willemsen2013-03-231-4/+15
| | | | This command shows whether or not the given url is known to CLark.
* Place the database in XDG_DATA_HOME if possibleGravatar Tom Willemsen2013-03-231-2/+16
|
* Add some Makefile targetsGravatar Tom Willemsen2013-03-231-1/+22
|
* Add GPLv3 license infoGravatar Tom Willemsen2013-03-235-0/+93
|
* Move lisp sources to lisp/Gravatar Tom Willemsen2013-03-235-0/+191