Custom Query (1030 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (889 - 891 of 1030)

Ticket Resolution Summary Owner Reporter
#439 fixed Gray Streams malfunction Gary Byers David McClain
Description

(defclass ubyte-stream ()

())

(defmethod cl:stream-element-type ((stream ubyte-stream))

'(unsigned-byte 8))

;; --------------------------------------------------------------------------------

(defclass ubyte-output-stream (ccl:fundamental-binary-output-stream ubyte-stream)

((arr :accessor uos-arr :initform (make-array 0

:element-type '(unsigned-byte 8) :adjustable t :fill-pointer t))))

(defun make-ubyte-output-stream ()

(make-instance 'ubyte-output-stream))


Now try:

(defparameter s (make-ubyte-output-stream))

(write-byte 15 s) -->> boom!

value #<UBYTE-OUTPUT-STREAM #x9224AEE> is not of the expected type (AND

OUTPUT-STREAM CCL::BINARY-STREAM).

[Condition of type TYPE-ERROR]

Yet, if I do the following:

(typep s '(and output-stream ccl::binary-stream)) ==> t

#440 worksforme CCL:REBUILD-CCL fails on OS X due to untranslated and embedded logical pathnames R. Matthew Emerson David McClain
Description

Attempting to regenerate CCL:

(ccl:rebuild-ccl :full t)

==> Rebuilding Clozure Common Lisp using Version 1.3-RC1-r11719M (DarwinX8632)

Error: Invalid pathname : "ccl:". While executing: CWD, in process listener(1). Type :POP to abort, :R for a list of available restarts. Type :? for other options.

#441 fixed Would like to add PROCESS-PLIST slot to PROCESS instances Gary Byers David McClain
Description

Having a PROCESS-PLIST accessor on PROCESS instances would be very helpful and appears to have benign consequences for existing code. This permits us to associate other items of interest with all processes, e.g., a PID (process descriptor) which can be used to encapsulate a lot of other information (e.g., mailboxes, locks, types of processes, etc.) without actually extending the PROCESS class object beyond the property list slot.

This is needed because calling make-process uses an existing class definition by default. New instances can be applied to extended class definitions using the :CLASS keyword parameter. But existing processes will not have the features needed by extended process objects. And the listener process, and perhaps others, will have already been created, yet need to participate with other instances in these extended applications.

By adding a PLIST slot with accessor CCL:PROCESS-PLIST we can associate arbitrary extensions with already existing processes as needed by applications.

(defclass process () .... (PLIST :INITFORM NIL :ACCESSOR PROCESS-PLIST) ...)

  • DM
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.