lp:cl-hooks

Created by Jan Moringen and last modified
Get this branch:
bzr branch lp:cl-hooks
Only Jan Moringen can upload to this branch. If you are Jan Moringen please log in for upload directions.

Related bugs

Related blueprints

Branch information

Owner:
Jan Moringen
Project:
cl-hooks
Status:
Development

Recent revisions

107. By Jan Moringen <jmoringe@azurit>

Cosmetic changes in src/symbol.lisp
* src/symbol.lisp (header): fixed one-line summary
  (setf documentation string symbol eql hook): cosmetic change

106. By Jan Moringen <jmoringe@azurit>

Removed dependency on iterate in src/*.lisp, cl-hooks.asd
* src/macros.lisp (with-handlers): removed use of `iter'
* src/hook.lisp (run-hook t): likewise
  (run-hook-fast): likewise
* src/package.lisp (package hooks): removed used package iterate
* cl-hooks.asd (system cl-hooks): remove dependency on system iterate

105. By Jan Moringen <jmoringe@azurit>

Simplifications and version bump in cl-hooks.asd
* cl-hooks.asd (header): added one-line summary
  (system cl-hooks): bumped version 0.1.0 -> 0.2.0; simplified
  dependency structure; improved description
  (system cl-hooks-test): bumped version 0.1.0 -> 0.2.0; removed
  unnecessary rule
  (system cl-hooks-and-bind): bumped version 0.1.0 -> 0.2.0;
  simplified module structure

104. By Jan Moringen <jmoringe@azurit>

Added file src/protocol.lisp
* src/protocol.lisp: new file; contains generic function protocol of
  the cl-hooks system
* src/hook.lisp: moved generic functions to src/protocol.lisp
* cl-hooks.asd (header): updated copyright
  (system cl-hooks): added file src/protocol.lisp

103. By Jan Moringen <jmoringe@azurit>

Fixed and extended tests in test/*.lisp
* test/symbol.lisp (test suite symbol-root): clear hook handlers after
  each test case
  (test symbol-root::writers): new test case; test hook writers
* test/object-internal.lisp (%hook-object/object-internal): new class;
  mock class for the test
  (test suite object-internal): removed superclass object-hook-test;
  use `%hook-object/object-intern instead; clear hook object after
  each test case
  (test object-internal::writers): new test case; test hook writers
* test/object-external.lisp (%hook-object/object-external): new class;
  mock class for the test
  (test suite object-external): removed superclass object-hook-test;
  use `%hook-object/object-external' instead; clear hook object after
  each test case
  (test object-external::writer): new test case; test hook writers
  (test object-external::add-to-hook): fixed comparison predicate
* test/state.lisp (%hook-object/state): new class; mock class for the
  test
  (test suite state-root): removed superclass object-hook-test; use
  `%hook-object/state instead; clear hook object after each test case
* test/bind.lisp (%hook-object/bind): new class; mock class for the
  test
  (test suite bind-root): removed superclass object-hook-test; use
  `%hook-object/bind instead; clear hook object after each test case
* test/package.lisp (test suite hook-suite): added function
  `exercise-hook-writers'; cosmetic changes
  (hook-object): removed; no longer needed
  (test suite object-hook-test): likewise

102. By Jan Moringen <jmoringe@azurit>

Fixed setf documentation in in src/object-internal.lisp
* src/object-internal.lisp (setf documentation string object-hook t):
  fixed

101. By Jan Moringen <jmoringe@azurit>

Fixed return value of add-to-hook in src/hook.lisp
* src/hook.lisp (add-to-hook t function): fixed return value

100. By Jan Moringen <jmoringe@azurit>

Improved initarg handling and reports in src/conditions.lisp
* src/conditions.lisp (hook-error-mixin): made hook initarg mandatory
  (no-such-hook): improved condition report
  (duplicate-handler): made handler initarg mandatory; improved
  condition report
  (malformed-handler-binding): made binding initarg mandatory;
  improved condition report

99. By Jan Moringen <jmoringe@azurit>

Renamed/exported conditions in src/{conditions,package}.lisp
* src/conditions.lisp (malformed-handler-binding): renamed
  malformed-hook-handler-binding -> malformed-handler-binding
* src/macros.lisp (with-handlers): adapted name of signaled error
  malformed-hook-handler-binding -> malformed-handler-binding
* src/bind.lisp (defbinding-form :handler): likewise
* src/package.lisp (package hooks): added exported symbols
  hook-error-mixin, hook-error-hook, hook-error-handler and
  malformed-handler-binding-binding; changed exported symbol
  malformed-hook-handler-binding -> malformed-handler-binding

98. By Jan Moringen <jmoringe@azurit>

Cleaned up package hooks in src/package.lisp
* src/package.lisp (package hooks): cleanup; added documentation
  string

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers