Custom Query (1030 matches)
Results (688 - 690 of 1030)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #665 | invalid | Setting a reader macro for a constituent breaks objc method syntax | ||
| Description |
SLSIA. Here's an example: Welcome to Clozure Common Lisp Version 1.5-dev-r13442M-trunk (DarwinX8664)! ? (#/title (car (gui::windows))) #<NS-MUTABLE-STRING "Listener" (#x1D03B0)> ? (set-macro-character #\e (lambda (stream char) char) t) ;Compiler warnings : ; In an anonymous lambda form at position 25: Unused lexical variable STREAM T ? (#/title (car (gui::windows))) > Error: Undefined function NEXTSTEP-FUNCTIONS:|titl| called with arguments (#\e #<HEMLOCK-LISTENER-FRAME <HemlockListenerFrame: 0x1cd640> (#x1CD640)>) . Here's the fix: (set-dispatch-macro-character #\# #\/
(let ((rt (copy-readtable nil)))
(lambda (stream subchar numarg)
(declare (ignorable subchar numarg))
(let* ((token (make-array 16 :element-type 'character :fill-pointer 0 :adjustable t))
(attrtab (rdtab.ttab rt)))
(when (peek-char t stream nil nil)
(loop
(multiple-value-bind (char attr)
(%next-char-and-attr stream attrtab)
(unless (eql attr $cht_cnst)
(when char (unread-char char stream))
(return))
(vector-push-extend char token))))
(unless *read-suppress*
(unless (> (length token) 0)
(signal-reader-error stream "Invalid token after #/."))
(check-objc-message-name token)
(intern token "NSFUN"))))))
NOTE: This issue is related to the issue of reader macros affecting the syntax of uninterned symbols, which generate some controversy on the mailing list. In this case, the syntax of objective-C function names is not governed by the ANSI standard, so the controversy is moot. |
|||
| #668 | worksforme | public svn off-line | ||
| Description |
The following are not operative: $ svn up svn: OPTIONS of 'http://svn.clozure.com/publicsvn/openmcl/trunk/darwinx86/ccl': could not connect to server (http://svn.clozure.com) $ svn co http://svn.clozure.com/publicsvn/openmcl/release/1.4/darwinx86/ccl svn: OPTIONS of 'http://svn.clozure.com/publicsvn/openmcl/release/1.4/darwinx86/ccl': could not connect to server (http://svn.clozure.com) Why? Telnet-ing to svn.clozure.com's port 80 and manually doing a GET reveals: $ telnet svn.clozure.com 80 Trying 74.50.56.8... Connected to setf.clozure.com. Escape character is '^]'. GET /publicsvn/ <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /publicsvn/ was not found on this server.</p> <hr> <address>Apache/2.2.8 (Ubuntu) DAV/2 SVN/1.5.1 mod_python/3.3.1 Python/2.5.2 PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g mod_perl/2.0.3 Perl/v5.8.8 Server at setf.clozure.com Port 80</address> </body></html> Connection closed by foreign host. Basically, the web server doesn't have a /publicsvn page. Is a handler off-line? |
|||
| #670 | worksforme | Clozure CL64 crash when viewing a webpage using javascript | ||
| Description |
From a fresh trunk launch of the 64-bit intel IDE (Clozure CL64) execute: (require 'webkit) which will load the webkit example from the ccl:examples directory. when webkit is done loading, execute: (ccl::browser-window "http://www.apple.com") this will drop you into AltConsole with the following error and backtrace, etc. that appears to be related to JavaScript execution. NB, this same series of steps does not error under the 32-bit intel IDE (Clozure CL32). Unhandled exception 4 at 0x256157e28c4f, context->regs at #x7fff5fbfcfe0 Exception occurred while executing foreign code ? for help [4160] Clozure CL kernel debugger: ? (G) Set specified GPR to new value (R) Show raw GPR/SPR register values (L) Show Lisp values of tagged registers (F) Show FPU registers (S) Find and describe symbol matching specified name (B) Show backtrace (T) Show info about current thread (X) Exit from this debugger, asserting that any exception was handled (P) Propagate the exception to another handler (debugger or OS) (K) Kill Clozure CL process (?) Show this help [4160] Clozure CL kernel debugger: r %rax = 0x000000001549a080 %r8 = 0x000000000000003f %rcx = 0x0000000015b77838 %r9 = 0x00000000156496a0 %rdx = 0x0000000000000000 %r10 = 0x000000001549a2c0 %rbx = 0x0000000015c1e480 %r11 = 0x0000000015b80e40 %rsp = 0x00007fff5fbfd4b0 %r12 = 0x00000000000001e8 %rbp = 0x00007fff5fbfd520 %r13 = 0x0000000015710148 %rsi = 0x0000000015710148 %r14 = 0xffff000000000000 %rdi = 0x0000000015638000 %r15 = 0xffff000000000002 %rip = 0x0000256157e28c4f %rflags = 0x00010202 [4160] Clozure CL kernel debugger: l [4160] Clozure CL kernel debugger: f f00: 0x1549a640 (4.072277e-26), 0x000000001549a640 (1.764547e-315) f01: 0x1549a6c0 (4.072317e-26), 0x000000001549a6c0 (1.764547e-315) f02: 0x1549a740 (4.072356e-26), 0x000000001549a740 (1.764548e-315) f03: 0x1549a7c0 (4.072396e-26), 0x000000001549a7c0 (1.764549e-315) f04: 0x00000002 (2.802597e-45), 0x0000000000000002 (9.881313e-324) f05: 0x00730065 (1.056122e-38), 0x0061002e00730065 (7.565563e-307) f06: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00) f07: 0x00000000 (0.000000e+00), 0x3ff0000000000000 (1.000000e+00) f08: 0x00000000 (0.000000e+00), 0x3ff0000000000000 (1.000000e+00) f09: 0x00000000 (0.000000e+00), 0x3ff0000000000000 (1.000000e+00) f10: 0x00000000 (0.000000e+00), 0x3ff0000000000000 (1.000000e+00) f11: 0x00000000 (0.000000e+00), 0x3ff0000000000000 (1.000000e+00) f12: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00) f13: 0x00000000 (0.000000e+00), 0x4030000000000000 (1.600000e+01) f14: 0x3b808081 (3.921569e-03), 0x3b8080813b808081 (4.368036e-22) f15: 0x00000000 (0.000000e+00), 0x0000000000000000 (0.000000e+00) mxcsr = 0x00001fa1 [4160] Clozure CL kernel debugger: b current thread: tcr = 0x1007b0, native thread ID = 0x207, interrupts enabled (#x000000000044BF30) #x0000300000DE030C : #<Anonymous Function #x0000300000DE025F> + 173 (#x000000000044BF50) #x0000300001178884 : #<Function (:OBJC-DISPATCH run) #x000030000117864F> + 565 (#x000000000044BF88) #x0000300001178164 : #<Function EVENT-LOOP #x0000300001177FBF> + 421 [4160] Clozure CL kernel debugger: t Current Thread Context Record (tcr) = 0x1007b0 Control (C) stack area: low = 0x7fff5f99c000, high = 0x7fff5fbffac0 Value (lisp) stack area: low = 0x200000, high = 0x44c000 Exception stack pointer = 0x7fff5fbfd4b0 [4160] Clozure CL kernel debugger: |
|||
