Clozure / ccl

Clozure Common Lisp
http://ccl.clozure.com
Apache License 2.0
840 stars 105 forks source link

obscuring grey bar at bottom of listener window #464

Closed markklein closed 7 months ago

markklein commented 7 months ago

CCL Version 1.12-2 (1.12.2) MacOS 14.1.1 (23B81)

There's a grey bar at the bottom of the listener window which obscures the bottom line of code when I'm typing it in!

Screenshot 2023-11-26 at 3 56 57 PM

xrme commented 7 months ago

This should be fixed now. It appeared due to a change that Apple made in macOS 14, but the code in the CCL IDE was sloppy at best, so I can't really put a lot of blame on Apple for this.

Thank you for the bug report.

markklein commented 7 months ago

Thanks for fixing it so fast, amazing!

What do I need to do to get the fix? It doesn't look like the fix is incorporated in ccl-1.12.2-platform.gz on github, since the last update is August 8. I've never tried cloning a git repository and pulling a commit. Is it simple to do? Sorry for the newbie question.

Mark

On Nov 26, 2023, at 8:56 PM, R. Matthew Emerson @.***> wrote:

This should be fixed now. It appeared due to a change that Apple made in macOS 14, but the code in the CCL IDE was sloppy at best, so I can't really put a lot of blame on Apple for this. Thank you for the bug report. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>


Mark Klein, PhD Principal Research Scientist Massachusetts Institute of Technology http://cci.mit.edu/klein/

xrme commented 7 months ago

Cloning and building from source isn't too hard. On a Mac, you would need to make sure Xcode is installed (you can download it from the Mac App Store).

See the top part of https://github.com/Clozure/ccl/releases/tag/v1.12.2 where it says "If, on the other hand..."

The important bit would be

git clone https://github.com/Clozure/ccl.git ccl
curl -L -O https://github.com/Clozure/ccl/releases/download/v1.12.2/darwinx86.tar.gz
cd ccl
tar xf ../darwinx86.tar.gz

If you don't want to fuss with that, I guess you could edit your local source code to make the small change from https://github.com/Clozure/ccl/commit/c98de5b5a2ff7561e15c100b33aa689662573465.

After you edit cocoa-editor.lisp, doing (require 'cocoa) or (require 'cocoa-application) should pick up the change.

markklein commented 6 months ago

Hi,

I tried editing cocoa-editor.lisp according to the github committ:

@.***

and then evaluated (require 'cocoa-application).

I got the following:

(require 'cocoa-application) ;Loading #P"ccl:mac-ui;fasls;cf-utils.dx64fsl.newest"... ;Loading #P"ccl:mac-ui;fasls;libdispatch.dx64fsl.newest"... ;Loading #P"ccl:mac-ui;fasls;ccl-application.dx64fsl.newest"... ;Loading #P"ccl:mac-ui;fasls;event-process.dx64fsl.newest"... ;Loading #P"ccl:mac-ui;fasls;cg.dx64fsl.newest"... ;Loading #P"ccl:cocoa-ide;fasls;constants.dx64fsl.newest"... ;Loading #P"ccl:cocoa-ide;fasls;ide-application.dx64fsl.newest"...

Error: class_addIvar failed While executing: #<STANDARD-METHOD (SETF CLASS-DIRECT-SLOTS) :BEFORE (T OBJC:OBJC-CLASS)>, in process Listener(4). Type cmd-. to abort, cmd-\ for a list of available restarts. Type :? for other options.

Is there a easy fix for that, or should I download xcode and go that route?

Thanks!

    Mark

On Nov 27, 2023, at 12:07 AM, R. Matthew Emerson @.***> wrote:

Cloning and building from source isn't too hard. On a Mac, you would need to make sure Xcode is installed (you can download it from the Mac App Store). See the top part of https://github.com/Clozure/ccl/releases/tag/v1.12.2 where it says "If, on the other hand..." The important bit would be git clone https://github.com/Clozure/ccl.git ccl curl -L -O https://github.com/Clozure/ccl/releases/download/v1.12.2/darwinx86.tar.gz cd ccl tar xf ../darwinx86.tar.gz

If you don't want to fuss with that, I guess you could edit your local source code to make the small change from c98de5b. After you edit cocoa-editor.lisp, doing (require 'cocoa) or (require 'cocoa-application) should pick up the change. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>


Mark Klein, PhD Principal Research Scientist Massachusetts Institute of Technology http://cci.mit.edu/klein/

markklein commented 6 months ago

Never mind, I just reinstalled the latest clozure from scratch and apparently it now includes the commit you made to fix the bouding triangle in the listener window.

Mark

On Nov 27, 2023, at 12:07 AM, R. Matthew Emerson @.***> wrote:

Cloning and building from source isn't too hard. On a Mac, you would need to make sure Xcode is installed (you can download it from the Mac App Store). See the top part of https://github.com/Clozure/ccl/releases/tag/v1.12.2 where it says "If, on the other hand..." The important bit would be git clone https://github.com/Clozure/ccl.git ccl curl -L -O https://github.com/Clozure/ccl/releases/download/v1.12.2/darwinx86.tar.gz cd ccl tar xf ../darwinx86.tar.gz

If you don't want to fuss with that, I guess you could edit your local source code to make the small change from c98de5b. After you edit cocoa-editor.lisp, doing (require 'cocoa) or (require 'cocoa-application) should pick up the change. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>


Mark Klein, PhD Principal Research Scientist Massachusetts Institute of Technology http://cci.mit.edu/klein/