Nick Levine | 1 Nov 16:26 2005

Re: HtmlHelp

Sometime last week, I brightly asked

  Has anyone had any experience invoking HtmlHelp from Lispworks?

...and by the time we'd got it working some of us had had more
experience with this than we felt we really deserved.

Now for question two:

  Has anyone had any experience invoking HtmlHelp from a delivered
  Lispworks?

When invoking the same code from a (level 0) delivered CAPI
application, the first (only the first? always the first?) invocation
to HH_DISPLAY_TOPIC fails.

It does this not by returning an error code, but by displaying Internet
Explorer's "The page cannot be displayed" page (aka dnserror.htm) in
the Help Window.

If I put a small sleep (0.l s) into (check-register-htmlhelp), thus
separating the HH_INITIALIZE from the first HH_DISPLAY_TOPIC, the
problem appears to go away. I don't know how reliable that is and
anyway I dislike kludging my way out of the unknown.

Any thoughts? 

Can the LispWorks team tell us whether the threading / message-passing
protocols are different in delivered images?

(Continue reading)

Jeff Caldwell | 1 Nov 18:40 2005
Picon

Re: HtmlHelp

Hi Nick,

--- Nick Levine <ndl <at> ravenbrook.com> wrote:

> Sometime last week, I brightly asked
> 
>   Has anyone had any experience invoking HtmlHelp from Lispworks?
> 
> ...and by the time we'd got it working some of us had had more
> experience with this than we felt we really deserved.
> 
> Now for question two:
> 
>   Has anyone had any experience invoking HtmlHelp from a delivered
>   Lispworks?
> 
> When invoking the same code from a (level 0) delivered CAPI
> application, the first (only the first? always the first?) invocation
> to HH_DISPLAY_TOPIC fails.
...

Reverting back to the last example I submitted, with a small change made to
support delivery, works OK for me:

(defun demo-help (&rest args)
  (declare (ignore args))
  (display-help-topic "c:\\WINUI.CHM"))

(capi:define-interface demo ()  ()
  (:menus
(Continue reading)

Mika Kuuskankare | 1 Nov 20:54 2005
Picon

Re: OpenGL shared context in Linux (Ubuntu 5.04)


On 30.10.2005, at 15.52, Mika Kuuskankare wrote:

> Is there a way to get the OpenGL shared context to work under Linux?
> I am using :configuration (:double-buffer t :rgba t :share  
> <opengl::glxcontext>)
> This works both in OS X and Windows XP. I am using LW Personal  
> Edition 4.4.6 in Ubuntu Linux 5.04.
>
> Regards,
>
> Mika

Hi Dave,

The schizophrenic that I am, I am now replying to my own question.
I finally took a look at the opengl source code provided by Lispworks.
In   (defmethod %make-context ((widget xt-lib:widget) opengl- 
configuration)    it seems to me that (typep share 'glxcontext)  
blocks out the glxcontext pointer. This returns NIL even if there is  
a valid glxcontext as a parameter (I am using opengl::ensure-context  
to acquire a context).

If I remove the test shared contexts work like charm in Linux too.

t. Mika

Edi Weitz | 2 Nov 02:31 2005
Picon

Right-click in list panels

There are many tools in the LW IDE (for example the "Functions" tab in
a class browser) that upon inspection seem to be list panels and that
show a popup menu if one right-clicks an entry.

Is there a way to do the same thing in user code, i.e. to add
callbacks for right clicks on list panels?

Thanks,
Edi.

Nick Levine | 2 Nov 06:28 2005

Re: Right-click in list panels


   There are many tools in the LW IDE (for example the "Functions" tab
   in a class browser) that upon inspection seem to be list panels and
   that show a popup menu if one right-clicks an entry.

   Is there a way to do the same thing in user code, i.e. to add
   callbacks for right clicks on list panels?

In brief:

          (setf (capi-internals:pane-menu pane)
                (lambda (pane local x y)
                    (declare (ignore local x y))
                    (make-instance 'capi:menu
                                   ....)))

- nick

Klaus Harbo | 2 Nov 09:34 2005
Picon

LW and SNMP?

Does anyone on the list have experience with the combination of Lispworks and SNMP?  I'm considering 
monitoring a system using SNMP, both for regular SNMP reads and for proactively sending SNMP traps.

I've found some SNMP-related stuff at common-lisp.net, but it is not clear what its status is (and 
doesn't mention LW at all).

Has anyone attempted anything like this and, if so, how did you accomplish it?

Thanks in advance.

-Klaus.

Edi Weitz | 2 Nov 12:23 2005
Picon

Re: Right-click in list panels

On Wed, 2 Nov 2005 05:28:08 GMT, Nick Levine <ndl <at> ravenbrook.com> wrote:

> In brief:
>  
>           (setf (capi-internals:pane-menu pane)
>                 (lambda (pane local x y)
>                     (declare (ignore local x y))
>                     (make-instance 'capi:menu
>                                    ....)))

Great, that works!  Thanks, Nick.

Now, do you also happen to know how one can easily translate the X/Y
coordinates (LOCAL seems to be always NIL in my case) to the list
panel item that's below the mouse?  I rummaged around a bit but can't
seem to find anything.

Thanks again,
Edi.

Edi Weitz | 2 Nov 13:34 2005
Picon

LW-ADD-ONS update

Let me spam the list for a moment to notify those who use LW-ADD-ONS
that I've just uploaded a new version which adds a nifty Apropos
dialog (mimicking a Lisp implementation I won't mention here) and
several new features mostly submitted by Sean Ross.

  <http://weitz.de/lw-add-ons/>

Note that you need the latest and greatest CL-PPCRE (1.2.12 or higher)
for this.

Cheers,
Edi.

davef | 2 Nov 20:15 2005

LispWorks 4.4.6 Patch Release


LispWorks 4.4.6 Patch Release

Cambridge, England, 2 November 2005

LispWorks Ltd is pleased to announce the LispWorks 4.4.6 patch
release.

This is a bug fix release which upgrades the commercial product to the
same version as the recent Personal Edition release.

AVAILABILITY

The LispWorks 4.4.6 patch release is available free of charge to
customers with LispWorks 4.4.5 on all supported platforms.

BUG FIXES

Details of the bug fixes in this release can be found in the Release
Notes at
ftp://ftp.lispworks.com/pub/software_tools/downloads/patches/lw44/readme-446.txt

To see which private patches have been included in 4.4.6, check the
list at the end of the Release Notes.

HOW TO OBTAIN LISPWORKS 4.4.6

Visit the LispWorks Patches page at
www.lispworks.com/downloads/patch-selection.html

(Continue reading)

Nick Levine | 3 Nov 00:52 2005

Re: Right-click in list panels

Edi,

   >           (setf (capi-internals:pane-menu pane)
   >                 (lambda (pane local x y)
   >                     (declare (ignore local x y))
   >                     (make-instance 'capi:menu
   >                                    ....)))

   Great, that works!  Thanks, Nick.

   Now, do you also happen to know how one can easily translate the
   X/Y coordinates (LOCAL seems to be always NIL in my case) to the
   list panel item that's below the mouse?  

I got around this by having my menu act on the current selection. Uh,
if it's a multiple-selection pane then I present a popup menu whose
items are named after current selections, and each of these has
subitems which act on that item.

- nick


Gmane