Permalink
Switch branches/tags
Commits on Dec 5, 2017
  1. Updated installation and dependencies in .travis.yml

    scymtym committed Dec 5, 2017
    * .travis.yml (install): fixed SBCL download; don't micromanage
      Quicklisp installation directory
      (script): let cl-launch handle Quicklisp setup and system loading
Commits on Feb 2, 2017
  1. Print progress percentage before operation in src/conditions.lisp

    scymtym committed Feb 2, 2017
    * src/conditions.lisp (header): updated copyright
      (print-object progress-condition t): print percentage before
      operation
    * test/conditions.lisp (header): updated copyright
      (define-condition-suite progress-condition): adapted expected output
      to changes
      (define-condition-suite simple-progress-condition): likewise
Commits on Jan 26, 2017
  1. Removed unnecessary package in more-conditions.asd

    scymtym committed Jan 26, 2017
    Performing system definitions in dedicated packages is no longer
    necessary with modern ASDF.
    
    * more-conditions.asd (more-conditions-system): removed; no longer
      needed
  2. Removed unnecessary register-local-projects call in .travis.yml

    scymtym committed Jan 26, 2017
    * .travis.yml (script): removed unnecessary `register-local-projects'
      call
  3. Read version from version-string.sexp in more-conditions.asd

    scymtym committed Jan 26, 2017
    * more-conditions.asd (more-conditions-system): removed exported
      symbols version/{list,string}
      (+version-major+): removed; no longer needed
      (+version-minor+): likewise
      (+version-revision+): likewise
      (version/list): likewise
      (version/string): likewise
      (system more-conditions): read version from "version-string.sexp"
      (system more-conditions/test): likewise
    * version-string.sexp: new file; contains system version as a string
  4. Fixed parameter name in perform method in more-conditions.asd

    scymtym committed Jan 26, 2017
    * more-conditions.asd (perform test-op eql :more-conditions/test):
      fixed parameter name op -> operation
  5. Renamed test systems -test -> /test in more-conditions.asd

    scymtym committed Jan 26, 2017
    * more-conditions.asd (header): updated copyright
      (system more-conditions): adapted in-order-to to renamed test system
      (system more-conditions/test): renamed more-conditions{- -> /}test
      (perform test-op eql more-conditions/test): adapted specializer
    * .travis.yml (script): only load test systems
Commits on Aug 29, 2016
  1. Simplified run-tests in test/package.lisp

    scymtym committed Aug 29, 2016
    * test/package.lisp (header): updated copyright
      (run-tests): simplified
    * more-conditions.asd (header): updated copyright
      (system more-conditions-test): changed version in system dependency on
      fiveam 1.1 -> 1.3
Commits on Oct 10, 2015
  1. First stab at Travis CI integration testing in .travis.yml

    scymtym committed Oct 10, 2015
    * test/package.lisp (header): updated copyright
      (run-tests): return Boolean value indicating whether the tests
      succeeded
    * .travis.yml: new file; installs SBCL, cl-launch and quicklisp, then
      runs unit tests
    * README.org (Introduction): added Travis CI build status image and link
Commits on Oct 9, 2015
  1. Cosmetic change in src/conditions.lisp

    scymtym committed Oct 9, 2015
    * src/conditions.lisp (header): updated copyright
      (chainable-condition): whitespace fix
  2. Fixed duplicate reference inheritance in src/protocol.lisp

    scymtym committed Oct 9, 2015
    * src/protocol.lisp (header): updated copyright
      (default-references class): remove duplicates since default references
      inherited from multiple superclasses do not have to be disjunct
    * test/conditions.lisp (header): updated copyright
      (reference-condition.inheritance.suberror.1): renamed
      reference-condition.inheritance.suberror{ -> .1}
      (define-condition-suite reference-condition.inheritance.suberror.1):
      accordingly
      (reference-condition.inheritance.supererror.3): renamed
      reference-condition.inheritance.supererror{2 -> .3}
      (reference-condition.inheritance.suberror.3): similar
      (define-condition-suite reference-condition.inheritance.suberror.3):
      similar
      (test reference-condition.print/logical-block): adapted to renamed
      conditions
Commits on Oct 8, 2015
  1. Minor improvement in more-conditions.asd

    scymtym committed Oct 8, 2015
    * more-conditions.asd (header): updated copyright
      (system more-conditions): fixed license initarg
      (system more-conditions-test): likewise
  2. Removed leftover file lift-standard.config

    scymtym committed Oct 8, 2015
    * lift-standard.config: removed; no longer needed
Commits on Aug 18, 2014
  1. Added chain-same-class? in with-condition-translation in src/macros.lisp

    scymtym committed Aug 18, 2014
    * src/macros.lisp (with-condition-translation): accept chain-same-class?
      parameter which controls whether conditions which already are
      instances of the target condition class should still be wrapped in an
      instance of the target condition class
    * test/macros.lisp
      (test with-condition-translation.smoke/chain-same-class): new test
      case; test supplying different values for the new chain-same-class?
      parameter of the `with-condition-translation' macro
    * more-conditions.asd (+version-revision+): bumped 4 -> 5
Commits on Jun 7, 2014
  1. Generate initial 0 progress event in with-sequence-progress in src/ma…

    scymtym committed Jun 7, 2014
    …cros.lisp
    
    * src/macros.lisp (with-sequence-progress): generate initial 0 progress
      event
    * test/macros.lisp (test with-sequence-progress.smoke): adjusted number
      of expected progress conditions
  2. Added %progress for sane lexical shadowing of progress in src/conditi…

    scymtym committed Jun 6, 2014
    …ons.lisp
    
    This allows lexically shadowing `progress' for user code (as done in
    `with-sequence-progress') without making its functionality
    unavailable (available by calling `%progress').
    
    * src/conditions.lisp (%progress): new function; same as former
      `progress'
      (progress): call `%progress'
      (progressing): use `%progress'
    * src/macros.lisp (header): updated copyright
      (with-trivial-progress):  use `%progress'
      (with-sequence-progress): likewise
Commits on Apr 30, 2014
  1. Require closer-mop 1.0.0 to work around ASDF problem in more-conditio…

    scymtym committed Apr 30, 2014
    …ns.asd
    
    
    fixes #2
    
    The problem is that the previous dependency specification
    
      (:version :closer-mop "0.61")
    
    means "at least version 0.61" in recent versions of ASDF, but "at least
    0.61 and less than 1.0" in older versions of ASDF. Specifying the
    dependency on version 1.0.0 works with both ASDF behaviors. The downside
    is that we do not actually need "at least 1.0.0".
    
    * more-conditions.asd (system more-conditions): changed version of
      closer-mop dependency 0.61 -> 1.0.0
    
    Reported-by: Anton Vodonosov
Commits on Apr 12, 2014
  1. Added extended default reference protocol in src/{protocol,conditions…

    scymtym committed Oct 5, 2013
    …}.lisp
    
    This allows specifying default references using the :direct-references initarg
    and accessing direct and inherited default references via
    direct-default-references and default-references respectively.
    
    * src/protocol.lisp (header):updated copyright
      (direct-default-references): new generic function; return list of
      direct default references; methods for symbol and class return default
      value of :direct-references initarg
      (default-references): new generic function; return list of all default
      references; methods for symbol and class return union of transitive
      direct default references
      (default-initarg-value): new function; helper function for determining
      the default value of an initarg
    * src/conditions.lisp (reference-condition::references): allow value
      :compute; change initform to :compute; change accessor
      condition-references -> condition-%references
      (condition-reference reference-condition): new method; perform lazy
      computation of reference when references slot is :compute
      (shared-initialize :before reference-condition): new method; make
      direct-references a legal initarg
    * src/package.lisp (package more-conditions): added exported symbols
      direct-default-references and default-references
    * test/conditions.lisp (princ-to-string-with-special-bindings): new
      function; helper function for printing with bound special variables
      (define-condition-suite): added keyword parameter repeat to repeat
      printing of condition instance; added keyword parameters
      constructor-args and special-bindings to clauses; use
      `princ-to-string-with-special-bindings' to bind special variables
      (define-condition-suite missing-required-argument): adapted to changed
      macro
      (define-condition-suite initarg-error): likewise
      (define-condition-suite missing-required-initarg): likewise
      (define-condition-suite incompatible-initargs): likewise
      (define-condition-suite reference-error): likewise; added cases; test
      binding *print-references*; added comments
      (condition reference-condition.inheritance.super^2error): new
      condition class; for inheritance test
      (condition reference-condition.inheritance.supererror): likewise
      (condition reference-condition.inheritance.subererror): likewise
      (define-condition-suite reference-condition.inheritance.suberror): new
      test suite; test inheritance of default references
      (condition reference-condition.inheritance.supererror2): new condition
      class; for inheritance test
      (condition reference-condition.inheritance.subererror2): likewise
      (define-condition-suite reference-condition.inheritance.suberror2):
      new test suite; test inheritance of default references
      (test reference-condition.print/logical-block): added a second test case
      (define-condition-suite progress-condition): adapted to changed macro
    * more-conditions.asd (+version-revision+): changed 3 -> 4
      (system more-conditions): added system dependency on closer-mop
Commits on Mar 15, 2014
  1. Improved argument handling in progress[ing] in src/conditions.lisp

    scymtym committed Mar 15, 2014
    * src/conditions.lisp (progress): allow
      format-control-or-condition-class to be a formatter function; updated
      documentation string accordingly
      (progressing): similar; pass arguments to format string or formatter
      function
    * test/macros.lisp (test with-sequence-progress.smoke): test formatter
      functions; for `progressing', check that format string can refer to
      the current sequence element
  2. format-{control,arguments} in simple-progress-condition in src/condit…

    scymtym committed Mar 15, 2014
    …ions.lisp
    
    * src/conditions.lisp (simple-progress-condition): added default
      initargs format-control and format-arguments
    * test/conditions.lisp (test maybe-print-explanation.print): do not try
      to construct an instance without format-control and format-arguments
      initargs on on-sbcl
  3. Format string fixes in src/conditions.lisp

    scymtym committed Mar 15, 2014
    * src/conditions.lisp (print-object :after reference-condition t): use
      mandatory pretty-print newline for non-sbcl case
      (print-arguments): removed illegal @ modifier from ; directive
Commits on Feb 2, 2014
  1. Fixed funcall + read-from-string in more-conditions.asd

    scymtym committed Feb 2, 2014
    Fixes #1
    
    Thanks to Anton Vodonosov for pointing out that lowercase strings are
    better in such situations because of potential problems with Allegro
    CL's Modern Mode and non-default readtables.
    
    * more-conditions.asd (perform test-op eql :more-conditions-test):
      changed function name string to lowercase
    
    Reported-by: Anton Vodonosov
Commits on Jan 26, 2014
  1. Fixed with-condition-translation.smoke/no-cause in test/macros.lisp

    scymtym committed Jan 26, 2014
    * test/macros.lisp (header): updated copyright
      (test with-condition-translation.smoke/no-cause): use :cause-initarg
      nil in `with-condition-translation' form
Commits on Jan 24, 2014
  1. uiop:symbol-call => funcall + read-from-string in more-conditions.asd

    scymtym committed Jan 24, 2014
    Fixes #1
    
    * more-conditions.asd (perform test-op eql :more-conditions-test): use
      `funcall' and `read-from-string' instead of `uiop:symbol-call' for
      compatibility with older ASDF versions
Commits on Jan 15, 2014
  1. Fixed report of mock-error/reference-condition in test/conditions.lisp

    scymtym committed Jan 15, 2014
    * test/conditions.lisp (mock-error/reference-condition): do not
      needlessly bind `*print-reference*' in report
  2. On SBCL, improve print-object reference-condition in logical blocks i…

    scymtym committed Jan 13, 2014
    …n src/conditions.lisp
    
    * src/conditions.lisp (print-object :after reference-condition): on
      SBCL, act differently depending on whether the stream is a pretty
      printing stream
    * test/conditions.lisp (test reference-condition.print/logical-block):
      new test; test printing `reference-condition' within a logical block
Commits on Jan 13, 2014
  1. Improve print-reference in logical blocks in src/conditions.lisp

    scymtym committed Jan 13, 2014
    * src/conditions.lisp (print-reference): use :fill-style conditional
      newlines at suitable positions
Commits on Jan 2, 2014
  1. Allow computed condition references in src/protocol.lisp

    scymtym committed Jan 2, 2014
    * src/protocol.lisp (condition-references): added :around t method
      which resolves references specified as functions by calling the
      functions
    * test/conditions.lisp (define-suite reference-error): test specifying
      references as functions
    * more-conditions.asd (header): updated copyright
      (+version-revision+): changed 2 -> 3
  2. Added explanatory comment in condition-references in src/conditions.lisp

    scymtym committed Oct 19, 2013
    * src/conditions.lisp (condition-references chainable-condition):
      added a comment explaining precedence of references
  3. Made link part of reference-spec optional in src/types.lisp

    scymtym committed Jan 2, 2014
    * src/types.lisp (header): updated copyright
      (reference-spec): made link part optional as stated in documentation
      string
    * src/conditions.lisp (print-reference): added type declaration for
      spec parameter
  4. Actually run test cases in test/conditions.lisp

    scymtym committed Jan 2, 2014
    * test/conditions.lisp (define-condition-suite): generate unique names
      for test cases; placing them in different test suites is not enough
Commits on Jan 1, 2014
  1. On SBCL, maybe-print-cause works with logical blocks in src/condition…

    scymtym committed Jan 1, 2014
    …s.lisp
    
    * src/conditions.lisp (maybe-print-cause): on SBCL, act differently
      depending on whether the stream is a pretty printing stream
    * test/conditions.lisp (test maybe-print-cause.print): test printing
      causes within and outside of logical blocks
  2. Added missing-required-initarg calls in src/conditions.lisp

    scymtym committed Jan 1, 2014
    * src/conditions.lisp (header): updated copyright
      (missing-required-argument): added default-initargs for :parameter
      which calls `missing-required-initarg'
      (incompatible-arguments): similar for :parameters and :values
      (initarg-error): similar for :class
  3. Use fiveam instead of lift in test/*.lisp

    scymtym committed Oct 19, 2013
    * test/conditions.lisp (test suite conditions-root): removed; tests
      just live in the more-conditions suite now
      (test maybe-print-cause.print): converted to fiveam
      (test maybe-print-explanation.print): likewise
      (define-condition-suite): likewise
    * test/macros.lisp (test suite macros-root): removed; tests just live
      in the more-conditions suite now
      (test with-condition-translation.smoke/no-cause): converted to
      fiveam
      (test with-condition-translation.smoke/cause): likewise
      (def-fixture with-mock-generic-function/foo): new fixture; define
      and undefine generic function `foo'
      (test define-condition-translating-method.smoke/cause): converted to
      fiveam; use `with-mock-generic-function/foo' fixture
      (def-fixture with-mock-generic-function/foo/initargs): new fixture;
      define and undefine generic function `foo/initargs'
      (test define-condition-translating-method.smoke/initargs): converted
      to fiveam; use `with-mock-generic-function/foo/initargs' fixture
      (test error-behavior-restart-case-root.smoke): converted to fiveam
      (test with-trivial-progress-root.smoke): likewise
      (test with-sequence-progress.smoke): likewise
    * test/package.lisp (package more-conditions.test): removed used
      package lift; added used packages let-plus and fiveam; removed
      exported symbol root; added exported symbol run-tests
      (def-suite :more-conditions): converted root test suite to fiveam
      (run-tests): new function; run all tests
    * more-conditions.asd (system more-conditions-test): removed system
      dependency on lift; added system dependencies on let-plus and fiveam
      (perform test-op eql :more-conditions-test): use `uiop:symbol-call'
      to call `more-conditions.test:run-tests'
Commits on Dec 31, 2013
  1. Moved protocol generic functions to new file src/protocol.lisp

    scymtym committed Oct 19, 2013
    * src/protocol.lisp: new file; contains protocol provided by the more
      conditions system
    * src/conditions.lisp (cause): removed; moved to src/protocol.lisp
      (root-cause): likewise
      (condition-references): likewise
      (condition-references t): likewise
      (progress-condition-message): likewise
      (progress-condition-message condition): likewise
    * more-conditions.asd (system more-conditions): added file
      src/protocol.lisp