Giter VIP home page Giter VIP logo

xmlisp's People

Contributors

gmpalter avatar

Watchers

 avatar

xmlisp's Issues

Crash after selecting an openGL object and then open the open file chooser

What steps will reproduce the problem?
1. start of the windows ccl IDE
2.  load xmlisp-init
3. Execute this code:
(in-package :xlui)
(setq window
<application-window>
<agent-3d-view>
<cube/>
</agent-3d-view>
</application-window>)
3.  Select the cube that shows up (notice the cube is highlighted)
4. in the windows ccl IDE go to the file menu, select open
5. The IDE will crash.

What is the expected output? What do you see instead?
I expect that this will not crash the IDE.

Please use labels and text to provide additional information.

This bug is easily reproducible on two mac computer running windows XP and 
windows 7 on 
parallels, and on normal PC running XP and windows 7 but it seems that Gary has 
not been able 
to reproduce this bug on his machine.  

Original issue reported on code.google.com by [email protected] on 6 Apr 2010 at 12:38

Scaling does not work with NSImageView (possible problem with the bridge)

What steps will reproduce the problem?
1.Start up the ccl ide on windows with the newest version of cocotron.
2.Execute an example that includes an XLUI img.  There is an example in
test-case-examples.lisp that contains only an application-window and an img
which shows the scalable game design logo (if you just search for <img in
test-case-examples.lisp you should be able to find it).  

What is the expected output? What do you see instead?

When this test is done on the Mac side, we see the image scaled to fit
inside the window, but on the PC side the image is not scaled at all.  

Please use labels and text to provide additional information.

At first this issue seemed to be an issue that only had to do with
Cocotron, but after some experiments it seems that there might be a problem
with the objective C bridge.  I created an example in objective C (with
Xcode) that just contains a window with a 128x128 NSImageView that scales a
16x16 .png file up to 96x96.  This example scales the image properly when I
target for both Mac or Windows.  This example seems to suggest that this
bug does not reside merely in the domain of Cocotron.  

I also encountered another interesting anomaly while trying to track down
the beginning of this issue.  I had noticed that this bug did not occur on
my old install of the CCl Windows IDE (I had not updated the CCL ide on
well over a month and this version of CCL had a quite old version of
Cocotorn as well).  I began rolling back version of Cocotron (from this
repository
http://svn.clozure.com/publicsvn/openmcl/trunk/aux/cocotron/win32/cocotron
) until I found a version that did not exhibit this issue and I found that
13540 was the first one to have this problem.  Coincidentally, 13540 is
also the last revision that will work with the newest version of ccl I have
(the .tz2 file clozure sent to us).  In order to get version 13539 to work
I had use the old version of the IDE.  I am not sure if this has anything
to do with this issue but thought it might be relevant.  

Original issue reported on code.google.com by [email protected] on 31 Mar 2010 at 3:53

no known way to turn off window menu

What steps will reproduce the problem?
1. make alert window

What is the expected output? What do you see instead?
- no menu bar in window

Need: control to turn menu bar off on a per-class or per-instance basis

Original issue reported on code.google.com by [email protected] on 9 Dec 2009 at 11:09

#/mouseEventWithType:location.... method does not work with cocotron ccl but seems to be implemented by cocotron

The full method name is: 
#/mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:event
Number:
clickCount:pressure:
this method is used to create an a mouse click event but it seems to not work 
cocotron ccl even 
though it seems that it is implemented here: 

http://code.google.com/p/cocotron/source/browse/trunk/AppKit/NSEvent.subproj/NSE
vent.m

Here are a couple of methods that will help you reproduce the problem all the 
code executes but 
when the button is pressed it works fine on mac ccl but on windows it reports 
that the 
mouseEventWithType method is undefined:

;this function when called will just make a dummy event, please not that this 
will have to be 
;in the LUI package because it uses native-view
(export '(make-event))
(defun make-event (window) 
  (ns:with-ns-rect (Frame 100 50 200 200)
    (ns:with-ns-point (Point 50 50)
      (let ((context (#/graphicsContextWithWindow: ns:ns-graphics-context (native-window 
window))))
        (let ((event 
(#/mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:even
tNumber:
clickCount:pressure:
                      ns:ns-event
                      #$NSLeftMouseDown
                      Point
                      0
                      55555555545464564646.0d0
                      1
                      context
                      1
                      1
                      1.0))))))))

;This code will just display a button that when pressed will call the 
make-event method
(defmethod hello ((w application-window) (Button button))
  (make-event w))

<application-window title="Currency Converter" width="300" height="180">
  <column align="stretch" valign="stretch" padding="9">
    <row align="stretch" minimize="vertical" valign="bottom">
      <button text="make-event" action="hello" width="100" default-button="true"/>
    </row>
  </column>
</application-window>

Original issue reported on code.google.com by [email protected] on 18 Dec 2009 at 7:31

Listener freezes while executing a large block of code sometimes

What steps will reproduce the problem?
1. Start up the ccl windows IDE
2. Open the file xmlisp-init.lisp inside the ccl ide using the file chooser
3. Inside the xmlisp-init.lisp file, select the lisp menu item and select 
execute all.
4. Repeat step 3 until the listener freezes (sometimes this happens the first 
time you execute all, 
sometimes it takes as many as 10 tries but I have always been able to crash it 
eventually when 
trying).  

What is the expected output? What do you see instead?
I expect that execute all should not crash the IDE.  

Please use labels and text to provide additional information.

This seems to be a new issue.  I never saw this happen using older setups but 
since I have 
started using ccl-r13548.tz2 this has happened quite frequently.  

Original issue reported on code.google.com by [email protected] on 6 Apr 2010 at 12:42

window flicker

What steps will reproduce the problem?
1. when changing window controls, e.g., sliders, resulting in call to display 
the window content will 
flicker, examples: color picker 3

What is the expected output? What do you see instead?
- no flicker, i.e., double buffering

Original issue reported on code.google.com by [email protected] on 9 Dec 2009 at 11:06

CCL Warnings cause error in appkit thread

In the appkit thread (i.e., all the event handler code invoked by GUI 
components) any kind of warning, 
including the use the warn function itself, will stop the execution of code. 

What steps will reproduce the problem?

(in-package :ccl)

(in-main-thread ()
               (warn "something fishy")
               (print "post warn")
               nil)

;; with Gary P's macro to run body in the appkit thread:

(defmacro IN-MAIN-THREAD (() &body body)
 (let ((thunk (gensym))
       (done (gensym))
       (result (gensym)))
   `(let ((,done nil)
          (,result nil))
      (flet ((,thunk ()
               (setq ,result (multiple-value-list (progn ,@body))
                     ,done t)))
        (gui::execute-in-gui #',thunk)
        (process-wait "Main thread" #'(lambda () ,done))
        (values-list ,result)))))



What is the expected output? 
- see "something fishy" warning printed in alt console,
- see "post warn" printed in alt console

What do you see instead?
- CCL 1.4 PPC -> Error message in al console: this should not be an error
- other platforms: no output, warning does cause error with no output, code 
following warn is NOT executed

Original issue reported on code.google.com by [email protected] on 13 May 2010 at 2:40

cannot save text editor windows

What steps will reproduce the problem?
1. new window, type in text, try to save

What is the expected output? What do you see instead?
- expected: saved window text content
- save + save as is offered but will result in error 

Original issue reported on code.google.com by [email protected] on 9 Dec 2009 at 11:28

CPU hogging after using sliders in some examples

What steps will reproduce the problem?
1. eval color picker 3 example
2. move one slider

What is the expected output? What do you see instead?
- expected: agile slider
- got: sluggish slider. After moving slider CPU is going up to 100% 


Original issue reported on code.google.com by [email protected] on 9 Dec 2009 at 10:59

Doesn't start on lion (10.7.1)

AltConsole in Dock with this message:

> Error: value #<A Foreign Pointer #x7FFF7BEFE8A0> is not of the expected type 
OBJC:OBJC-OBJECT.
> While executing: (:INTERNAL GUI::|+[LispApplicationDelegate initialize]|), in 
process Initial(0).


The CCL Icon in the dock doesn't stop jumping up and down, no CCL menu appears.

Original issue reported on code.google.com by [email protected] on 1 Sep 2011 at 7:27

crash when starting on 10.6 on mac mini

BusyBeaver-2:~ gb$ cd /Applications/XMLisp/
BusyBeaver-2:XMLisp gb$ cd XMLisp.app/
BusyBeaver-2:XMLisp.app gb$ cd Contents/
BusyBeaver-2:Contents gb$ cd MacOS/
BusyBeaver-2:MacOS gb$ ./XMLisp 
dyld: lazy symbol binding failed: Symbol not found: _sigreturn
  Referenced from: /Applications/XMLisp/XMLisp.app/Contents/MacOS/./XMLisp
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _sigreturn
  Referenced from: /Applications/XMLisp/XMLisp.app/Contents/MacOS/./XMLisp
  Expected in: /usr/lib/libSystem.B.dylib

Original issue reported on code.google.com by [email protected] on 23 Oct 2009 at 8:34

some Cocotron controls show up with **error**

What steps will reproduce the problem?
1. <mike please add steps to reproduce>

What is the expected output? What do you see instead?
- instead of actual control some generic outline will show up with the text 
"**error**" will show up


Please use labels and text to provide additional information.

Original issue reported on code.google.com by [email protected] on 9 Dec 2009 at 11:03

Crashed caused by unimplemented method in NSFontManager

The code below pops up a menu in ccl on the mac but in the pc version it
gives the following error:
convertFont:toHaveTrait: failed, Courier 3"
and reports that some code in the file
/Users/palter/Clozure/cocotron/AppKit/NSfontManager is not implemented at
line 309.
Here is the code example which can be found in the test-case-examples (you
will need to check out the newest copy of XMLISP for this exampel to work:
;; Popup Test
(defmethod hello ((w application-window) (Button button))
  (show-string-popup w))

<application-window title="Currency Converter" width="300" height="180">
  <column align="stretch" valign="stretch" padding="9">
    <row align="stretch" minimize="vertical" valign="bottom">
      <button text="make-event" action="hello" width="100"
default-button="true"/>
    </row>
  </column>
</application-window>




Original issue reported on code.google.com by [email protected] on 22 Dec 2009 at 2:19

problems with printing from event thread

What steps will reproduce the problem?
1. print in event thread

What is the expected output? What do you see instead?
- expect print output in DOS console
- get: sometimes: no output anywhere


Original issue reported on code.google.com by [email protected] on 9 Dec 2009 at 11:13

image buttons do not work

What steps will reproduce the problem?
1. <image-button ...> does not work

What is the expected output? What do you see instead?

a button should be produced




Original issue reported on code.google.com by [email protected] on 14 May 2009 at 8:22

application window initialization bug: many examples only work after resizing window at least once

What steps will reproduce the problem?

Create window with resizable content. Content of window looked as if it is 
clipped, e.g., button 
should fill out window. After resizing it will. In some examples, e.g., OpenGL 
example 2, the layout 
is wrong as well before resizing window.

What is the expected output? What do you see instead?

e.g., resizable button and window example. See "Bad resize"


Original issue reported on code.google.com by [email protected] on 9 Dec 2009 at 10:35

Attachments:

Crash when starting

What steps will reproduce the problem?

Following instructions on home page of project. No previous installation of 
xmllisp or clozure cl is present.

1. Download 0.3 version for Intel
2. Move XMLLisp to Applications
2. Double-click on Agentsheets-Globe.lisp
3. choose Lisp-> Load Buffer

What is the expected output? What do you see instead?

Expect simulation to run. 

See 

Unhandled exception 10 at 0x8fe010e3, context->regs at #xb029e5fc
Exception occurred while executing foreign code
? for help
[16456] Clozure CL kernel debugger:

What version of the product are you using? On what operating system?

I am using 0.3 Intel on a MacBook Pro OS X 10.6.2 

Please provide any additional information below.

This seems to be the response no matter what I do. Do I need to install 
Clozure CL first?

Original issue reported on code.google.com by [email protected] on 17 Feb 2010 at 1:38

can't make stand alone Windows application

What steps will reproduce the problem?
1. (require :cocoa-application) makes a OS X .app folder

What is the expected output? What do you see instead?
- expected: create working .exe application
- got: creates .app folder with OS X folder structure -> not very useful



Please use labels and text to provide additional information.

Original issue reported on code.google.com by [email protected] on 9 Dec 2009 at 10:56

closing window will, eventually, crash CCL

reproduce: run any of the XMLisp examples; close window; eval different 
example. Eventually you 
get something like "window crash" image

speculation: window may not be properly taken down (seems to work different 
than Cocoa on Mac)

What is the expected output? What do you see instead?
- should not crash


Original issue reported on code.google.com by [email protected] on 9 Dec 2009 at 10:46

Attachments:

loads "ccl-init.lisp" file

What steps will reproduce the problem?
1. launch XMLisp

What is the expected output? What do you see instead?

if there is a "ccl-init.lisp" in the user directory then XMLisp will load it. 
This file is only for 
developers. 

Original issue reported on code.google.com by [email protected] on 20 May 2009 at 8:17

Binaries created with (ccl::BUILD-APPLICAITON) crash when they are ran through gdb

What steps will reproduce the problem?
1. Make a .app file using the build-applicaiton command called myApp
2. Go into the dos emulator and fire up gdb with the newly created binary as 
the target 
(gdb *path to .app file*\myApp.app\Contents\Windows\myApp
3. gdb will load now type run

What is the expected output? What do you see instead?
I would expect the application to start and see the CCL windows listener pop 
up.  Instead the 
application crashes with a segmentation fault.  

Please use labels and text to provide additional information.

Original issue reported on code.google.com by [email protected] on 6 Apr 2010 at 9:06

New windows created in the IDE always have a - temp bundle 32 after the file name.

What steps will reproduce the problem?
1.  Start of the CCL Windows IDE
2.  Execute (require 'cocoa) to bring up the listener
3. In the listener go to the file menu and select new

What is the expected output? What do you see instead?
I would expect a file to come up that was titled "Untitled " or "Untitled - CCL 
Windows" instead I see 
something like "Untitled - temp bundle 32".  I am not sure where this temp 
bundle32 comes from. 

Please use labels and text to provide additional information.

Original issue reported on code.google.com by [email protected] on 6 Apr 2010 at 8:53

A lot of examples don't run, condition that element TITLE is missing, the whole thing is unstable

CCL is a mess and should not be used to deliver anything
resembling an end-user application, much less used to teach
newbies opengl/and-or lisp. This is exactly the sort of app
that turns people away from Lisp alltogether. If you can not
do it right, its better not to do it at all.

Detailed issues: 80% of the examples do not run as condition
is thrown about TITLE missing. It would be good if the example code
within the examples was uncommented and ran on 'compile and load file'.

The IDE is abysmally bad to the point of becoming a mockery of Lisp.
Extremelly unstable, beach balls all the time seemingly for no reason at
all, lack of customization, stupid defaults, alien look & feel with no
relevance to Apple HIG. Most importantly: It does not inspire confidence
for someone to make the investment and learn/use lisp.

Original issue reported on code.google.com by [email protected] on 22 May 2009 at 3:09

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.