Ignore:
Timestamp:
Jul 26, 2009, 1:24:19 PM (10 years ago)
Author:
gz
Message:

Some changes in support of Slime:

Implement CCL:COMPUTE-APPLICABLE-METHODS-USING-CLASSES

Add a :stream-args argument to CCL:ACCEPT-CONNECTION, for one-time initargs for the stream being created. E.g. (accept-connection listener :stream-args `(:external-format ,external-format-for-this-connection-only))

Add CCL:TEMP-PATHNAME

Bind new var CCL:*TOP-ERROR-FRAME* to the error frame in break loops, to make it available to debugger/break hooks.

Add CCL:*SELECT-INTERACTIVE-PROCESS-HOOK* and call it to select the process to use for handling SIGINT.

Add CCL:*MERGE-COMPILER-WARNINGS* to control whether warnings with the same format string and args but different source locations should be merged.

Export CCL:COMPILER-WARNING, CCL:STYLE-WARNING, CCL:COMPILER-WARNING-FUNCTION-NAME and CCL:COMPILER-WARNING-SOURCE-NOTE.

Create a CCL:COMPILER-WARNING-SOURCE-NOTE even if not otherwise saving source locations, just using the fasl file and toplevel stream position, but taking into account compile-file-original-truename and compiler-file-original-buffer-offset. Get rid of stream-position and file-name slots in compiler warnings.

Export CCL:REPORT-COMPILER-WARNING, and make it accept a :SHORT keyword arg to skip the textual representation of the warning location.

Export CCL:NAME-OF, and make it return the fully qualified name for methods, return object for eql-specializer

Make CCL:FIND-DEFINITION-SOURCES handle xref-entries.

Export CCL:SETF-FUNCTION-SPEC-NAME, make it explicitly ignore the long-form setf method case.

Export the basic inspector API from the inspector package.

Export EQL-SPECIALIZER and SLOT-DEFINITION-DOCUMENTATION from OPENMCL-MOP

Refactor things a bit in backtrace code, define and export an API for examining backtraces:

CCL:MAP-CALL-FRAMES
CCL:FRAME-FUNCTION
CCL:FRAME-SUPPLIED-ARGUMENTS
CCL:FRAME-NAMED-VARIABLES

other misc new exports:

CCL:DEFINITION-TYPE
CCL;CALLER-FUNCTIONS
CCL:SLOT-DEFINITION-DOCUMENTATION
CCL:*SAVE-ARGLIST-INFO*
CCL:NATIVE-TRANSLATED-NAMESTRING
CCL:NATIVE-TO-PATHNAME
CCL:HASH-TABLE-WEAK-P
CCL;PROCESS-SERIAL-NUMBER
CCL:PROCESS-EXHAUSTED-P
CCL:APPLY-IN-FRAME

Other misc tweaks:

Make cbreak-loop use the break message when given a uselessly empty condition.

Use setf-function-name-p more consistently

Make find-applicable-methods handle eql specializers better.

Try to more consistently recognize lists of the form (:method ...) as method names.

Add xref-entry-full-name (which wasn't needed in the end)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lib/ccl-export-syms.lisp

    r12368 r12463  
    4242     find-definition-sources
    4343     define-definition-type
     44     definition-type
    4445     definition-type-name
    4546     *save-source-locations*
     
    5455     *record-pc-mapping*
    5556     find-source-note-at-pc
     57     caller-functions
    5658     *svn-program*
    5759     
     
    7476     *backtrace-show-internal-frames*
    7577     *backtrace-format*
     78     map-call-frames
     79     frame-function
     80     frame-supplied-arguments
     81     frame-named-variables
     82     apply-in-frame
    7683     *quit-on-eof*
    7784     *quit-interrupt-hook*
    7885     *break-hook*
     86     *top-error-frame*
     87     *select-interactive-process-hook*
    7988     interrupt-signal-condition
    8089     macroexpand-all
     
    8392     compile-user-function
    8493     uncompile-function
     94     report-compiler-warning
     95     compiler-warning
     96     style-warning
     97     compiler-warning-source-note
     98     compiler-warning-function-name
     99     *merge-compiler-warnings*
    85100     abort-break
    86101     *trace-print-level*
     
    94109     nfunction
    95110     function-name
     111     setf-function-p
     112     setf-function-spec-name
     113     name-of
    96114
    97115     assq
     
    194212     method-specializers
    195213     method-qualifiers
     214     slot-definition-documentation
    196215     slot-definition-allocation
    197216     slot-definition-initargs
     
    262281     *record-source-file*
    263282     *save-doc-strings*
     283     *fasl-save-doc-strings*
    264284     *warn-if-redefine*
    265285     *break-on-errors*
    266286     *save-definitions*
     287     *fasl-save-definitions*
    267288     *save-local-symbols*
    268289     *fasl-save-local-symbols*
     290     *save-arglist-info*
    269291     *always-eval-user-defvars*
    270292
     
    283305     directory-pathname-p
    284306     full-pathname
     307     temp-pathname
    285308     create-file
    286309     create-directory
     
    305328     with-filename-cstrs
    306329     get-foreign-namestring
     330     native-translated-namestring
     331     native-to-pathname
    307332     fasl-concatenate
    308333     event-ticks
     
    426451     *trace-max-indent*
    427452     *trace-level*
    428      *fasl-save-doc-strings*
    429      *fasl-save-definitions*
    430453     *static-cons-chunk*
    431454     static-cons
     
    435458     population-type
    436459     population-contents
     460
     461     hash-table-weak-p
    437462
    438463     compiler-let
     
    463488     make-process
    464489     process-suspend-count
     490     process-serial-number
    465491     process-initial-form
    466492     process-whostate
     
    471497     process-resume
    472498     process-suspend
     499     process-exhausted-p
    473500     let-globally
    474501     process-wait
     
    741768   "METHOD-SPECIALIZERS"
    742769   "METHOD-QUALIFIERS"
     770   "SLOT-DEFINITION-DOCUMENTATION"
    743771   "SLOT-DEFINITION-ALLOCATION"
    744772   "SLOT-DEFINITION-INITARGS"
     
    825853   "ENSURE-CLASS-USING-CLASS"
    826854   "ENSURE-GENERIC-FUNCTION-USING-CLASS"
     855   "EQL-SPECIALIZER"
    827856   "EQL-SPECIALIZER-OBJECT"
    828857   "EXTRACT-LAMBDA-LIST"
     
    847876   "METHOD-SPECIALIZERS"
    848877   "METHOD-QUALIFIERS"
     878   "SLOT-DEFINITION-DOCUMENTATION"
    849879   "SLOT-DEFINITION-ALLOCATION"
    850880   "SLOT-DEFINITION-INITARGS"
Note: See TracChangeset for help on using the changeset viewer.