Custom Query (1030 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (919 - 921 of 1030)

Ticket Resolution Summary Owner Reporter
#986 worksforme NSColorPanel is not a class. Pascal Bourguignon
Description

NSWindow and a number of other Objective-C classes are mapped to symbols in the NS package in ccl::*lisp-classname-table*:

cl-user> (apropos "NS-WINDOW")
ns:+ns-window,  Value: #<objc:objc-metaclass ns:+ns-window (#x1D7D7A8)>
 ns:ns-window,  Value: #<objc:objc-class ns:ns-window (#x1D7D7D0)>
ns:+ns-window-controller,  Value: #<objc:objc-metaclass ns:+ns-window-controller (#x1D7D988)>
 ns:ns-window-controller,  Value: #<objc:objc-class ns:ns-window-controller (#x1D7D9B0)>
; No value
cl-user> (gethash "NSWindow" ccl::*lisp-classname-table*)
ns:ns-window
t

but not NSColorPanel:

cl-user> (apropos "NS-COLOR-PANEL")
 ns:ns-color-panel,  Value: #<objc:objc-class ns:ns-color-panel (#x1D73280)>
ns:+ns-color-panel,  Value: #<objc:objc-metaclass ns:+ns-color-panel (#x1D73258)>
; No value
cl-user> (gethash "NSColorPanel" ccl::*lisp-classname-table*)
"NS-COLOR-PANEL"
t

even after instantiating a NSColorPanel:

cl-user> (#/sharedColorPanel ns:ns-color-panel)
#<ns-color-panel <NSColorPanel: 0x31ae720> (#x31AE720)>
cl-user> (gethash "NSColorPanel" ccl::*lisp-classname-table*)
"NS-COLOR-PANEL"
t
#998 worksforme weird behavior of (read-line) Yuhao Huang
Description

e.g. when I do the following loop, it only read two lines. (Lispworks and CLisp read 3 lines)

(loop for i from 1 to 3 do (read-line))
1 2
2 3
NIL
}}
and the following code only reports error in Clozure (in CLisp and Lispworks it is fine):
{{{
? (defun take-input(n)
(let ((s ()))
  (dotimes (i n)
    (push 
     (with-input-from-string (s (read-line)) (loop for x = (read s nil :end) until (eq x :end) collect x)) s))
s))
? (take-input 1)
1 2
> Error: Reader error on #<STRING-INPUT-STREAM  #x302006AA204D>, near position 1, within ")":
>        Unmatched ')' .
}}}
#1004 worksforme segfault (ICE) on gnome 2 header when creating FFI file Faheem Mitha
Description

In the course of rebuilding the interface headers, I got an ICE on Debian unstable on an i386 system. This error does not show up on Debian squeeze (stable).

This corresponds to the file x86-headers/gnome2/C/populate.sh in the sources, whose content is

################################################## #!/bin/sh CFLAGS="-m32"; export CFLAGS h-to-ffi.sh pkg-config --cflags libgnomeui-2.0 /usr/include/libgnomeui-2.0/gnome.h ##################################################

The error is:

In file included from /usr/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:34, from /usr/include/libgnomeui-2.0/gnome.h:7: /usr/include/libgnomeui-2.0/libgnomeui/gnome-app.h:58: internal compiler error: Segmentation fault

I have therefore disabled the building of the ffi for this header. I don't get any errors for the other headers.

I have no idea what information would be useful or relevant, so let me know what information you need.

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