Jump to content
  • 0
Sign in to follow this  
Bo Rossen

Appearance and AjaxLife

Question

  • 0

How old is the libsl/libomv used in ajaxlife? Historically the library was pretty bad at handling appearance updates, but it's a lot better in the trunk (maybe the 0.7 release too, but I'm not so sure about that one). Assuming ajaxlife is happy running against the newer library, you can look in the source for TestClient's appearance command for what calls to use. (libsl based clients tend to call the appearance stuff automagically these days, but the command is still there to peek at.)

  • Like 1

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

How old is the libsl/libomv used in ajaxlife? Historically the library was pretty bad at handling appearance updates, but it's a lot better in the trunk (maybe the 0.7 release too, but I'm not so sure about that one). Assuming ajaxlife is happy running against the newer library, you can look in the source for TestClient's appearance command for what calls to use. (libsl based clients tend to call the appearance stuff automagically these days, but the command is still there to peek at.)

  • Like 1

Share this post


Link to post
Share on other sites
  • 0

The most recent AjaxLife code runs against libomv 0.7; prior to this (a couple of months ago) it was using libsl 0.5. Under libsl 0.5, it would successfully appear; under libomv 0.7 is does not. I must admit that I have not looked into why this is the case.

Previously, the only dealing with appearance was this line:


client.Appearance.SetPreviousAppearance(false);

Obviously, that doesn't work any more (and, in fairness, only ever worked "most" of the time).

There may be an easy fix, but I don't know what it might be, nor do I currently have the motivation to investigate it.

Share this post


Link to post
Share on other sites
  • 0

Katherine,


Previously, the only dealing with appearance was this line:

client.Appearance.SetPreviousAppearance(false);

This is the line I found as well


There may be an easy fix, but I don't know what it might be, nor do I currently have the motivation to investigate it.

I can understand. Therefore I'll be happy take this up and find a proper working fix for it. I have already joined the openmv dev list, so hopefully they'll have a definitive answer. I also downloaded the openmv sources, and will look into the example code to see how it's done.

Even though I have little C# development knowledge, I have been able to understand your code quite well (thanks to my Delphi and Java background). When I have created a proper fix for it, I shall send you the diff, so that when you do have the time and energy you can take a look at it and add it to the git. Hopefully I should have come up with something by the end of next week (if my current job-load allows it).

For what it's worth Kath, I think that your project has been one of the best development idea's of the last decade. Who knows, HTML5 might even give us the handle to even further improve it. And I am more than willing to help and devote my spare time on it.

Take care, and I hope to see you back online soon!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...