Re: [Google Wave APIs] Re: Can one user proxy many users

2009-12-17 Thread Jonathan Hunt
Hi Pamela,

Have you guys started provisioning apps domains? I signed up when it
first came out but haven't heard anything since them. I'm guessing
Wave for your domain is not a great deal of use until Wave preview
enables federation.

J

On Thu, Dec 17, 2009 at 4:13 AM, pamela (Google Employee)
pamela...@gmail.com wrote:
 You can request that your Apps domain be Wave-enabled by filling out a
 form. You can read more information here:
 http://googleenterprise.blogspot.com/2009/09/waving-hello-to-google-apps.html


 On Wed, Dec 16, 2009 at 8:38 PM, saurabh sagarwal1...@gmail.com wrote:
 Hi Pamela,

 As far as I understand I have to have a google app domain and ask for
 add services ...

 I just did that but I cant find any services like google wave can you
 please spend a minute to explain it further.

 Is it a premium service or free.

 Thanks
 Saurabh

 On Dec 16, 9:53 am, saurabh sagarwal1...@gmail.com wrote:
 Thanks a lot pamela for the quick rreply but I am not able to get the
 second point You may want to create
 a Google Apps domain and request that be Wave enabled, as then you
 would be
 able to provision more users on that domain and not be concerned about
 the
 limited public accounts.

 Does that mean:

 I create my website on google apps engine and there my website can be
 wave enabled and I can register more users on my wave engine which are
 completely different from General Google wave ...

 I know i sound little weired but I am not able to understand that ,
 can you please explain a little more.

 Appreciate your help and time.

 Regards
 Saurabh

 On Dec 15, 4:19 pm, pamela (Google Employee) pamela...@gmail.com
 wrote:

  Hi Saraubh-

  I imagine you could use the proxy for property with operations to 
  specify
  the physical users. There will be more support for that in the next 
  version
  of the API. (And there's a bit of info in the protocol 
  doc:http://code.google.com/apis/wave/extensions/robots/protocol.html)

  We don't have a timeline for the public Wave launch. You may want to 
  create
  a Google Apps domain and request that be Wave enabled, as then you would 
  be
  able to provision more users on that domain and not be concerned about the
  limited public accounts.

  - pamela

  On Mon, Dec 14, 2009 at 6:41 PM, saurabh sagarwal1...@gmail.com wrote:
   Hi All,

   I want to make an application in which a google wave user can login on
   multiple computers and and multiple users ( physical ) can interact
   with the wave I want to know if there are any technical and legal
   issues to it.

   Additionally any rough idea when wave will be launched as my
   application will be dependednt on google wave.

   Thanks
   Saurabh

   --

   You received this message because you are subscribed to the Google 
   Groups
   Google Wave API group.
   To post to this group, send email to google-wave-...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-wave-api+unsubscr...@googlegroups.comgoogle-wave-api%2bunsubscr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-wave-api?hl=en.

 --

 You received this message because you are subscribed to the Google Groups 
 Google Wave API group.
 To post to this group, send email to google-wave-...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-wave-api+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-wave-api?hl=en.




 --

 You received this message because you are subscribed to the Google Groups 
 Google Wave API group.
 To post to this group, send email to google-wave-...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-wave-api+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-wave-api?hl=en.






-- 
Jonathan J Hunt j...@42quarks.com
Homepage: http://www.42quarks.com
(Further contact details there)
Physics isn't the most important thing. Love is. Richard Feynman

--

You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Dropdowns with robots

2009-12-14 Thread Jonathan Hunt
Hi,

Is there any way that a robot can insert a dropdown list (similar to
radiobuttons)? If not, is this likely to be added in future?

Thanks for any help.
Jonny

-- 
Jonathan J Hunt j...@42quarks.com
Homepage: http://www.42quarks.com
(Further contact details there)
Physics isn't the most important thing. Love is. Richard Feynman

--

You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.




[Google Wave APIs] Headings

2009-10-25 Thread Jonathan Hunt

Hi,

I think my question relates to this bug (but it's not very clear)
http://code.google.com/p/google-wave-resources/issues/detail?id=85
but the bug is reported closed and moved to the Java API.

I am using the python API for robots. I would like to access
information about which parts of the text are marked up as headings
(i.e. h1 or h2) and I would have thought this would just be an
annotation of some description, but it doesn't appear to be. Is there
any way to get this information? Seems odd that it's missing, when
bold text etc. is annotated. I can't see this information anywhere in
the JSON packet the bot receives. Am I missing something, why is this
bug closed?

Regards,
Jonny

-- 
Jonathan J Hunt j...@42quarks.com
Homepage: http://www.42quarks.com
(Further contact details there)
Physics isn't the most important thing. Love is. Richard Feynman

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Gadget shared state question

2009-10-23 Thread Jonathan Hunt

You are using wave-preview so you may be encounter this bug
http://code.google.com/p/google-wave-resources/issues/detail?id=333

On Sat, Oct 24, 2009 at 1:22 AM, Ruprict glenn.goodr...@gmail.com wrote:

 So, lemme see if I have this straight:

 I have a gadget that responds to a user event by calling

 wave.getState().submitValue(mykey,myvalue);

 I have this in the gadgetInit

 if (wave  wave.isInWaveContainer()) {
        wave.setStateCallback(stateUpdated);
 }

 I have my test sandbox and my regular sandbox account both looking at
 a wave where I've added the gadget by url.  When it loads, I set
 mykey, and the stateUpdated fires.   After that, it never fires again,
 for either wave participant.  I am most certainly doing something
 wrong, so any ideas are appreciated.

 http://ruprict-gadgets.googlecode.com/svn/trunk/arcgismap.xml is where
 this abomination lives (first shot at a gadget)...

 Thanks,
 Ruprict

 On Oct 17, 6:23 pm, David Nesting da...@fastolfe.net wrote:
 On Sat, Oct 17, 2009 at 1:43 PM, maxsap max.saprani...@gmail.com wrote:
  Hello to all, I have a question about the gadget api.
  the gadget has shared state wright? this means that if i make a
  playback gadget and some user in a wavelet plays a file from that
  gadget all the users in  the wavelet will hear the sound? or if the

 The gadgets share state, but they have to be written in such a way that they
 work from that persisted state, rather than directly with user events.  In
 other words, if a gadget responds to a button's click event, and starts
 playback, the other instances of that gadget will never see it, because no
 state change was written to the wave.  If, instead, the button's click event
 simply wrote a current state = play state change to the wave, and the
 gadgets listened for those state changes to decide what state they should be
 in, then each instance of the gadget would react to that press of the
 button.

 David
 




-- 
Jonathan J Hunt j...@42quarks.com
Homepage: http://www.42quarks.com
(Further contact details there)
Physics isn't the most important thing. Love is. Richard Feynman

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Internal links in Wave

2009-10-21 Thread Jonathan Hunt

Hi all,

Apologies if this is documented somewhere and I haven't be able to
find it. Is there a method (perhaps some sort of annotation) of
creating internal links within a wave (i.e as I said in my earlier
blip) where earlier blip is a link to the blip of interest, or links
to a specific part of a Wave from other Waves (i.e. as Mr Fishy said
in this other Wave linking to the correct blip in the Wave). I guess
this could get complicated if Waves are edited etc. but it seems also
quite useful. I am interested if there is a standard for how to do
this because I want people to be able to refer to equations (i.e. as I
showed in *eqn 4* etc.) and I'm writing an equation gadget/robot.

The other question I had was, somewhat related. Is there a standard
way to link to a Wave. The reason I ask is most links are currently of
the form wave.google.com/... or wave.google.com/a/sandbox... but
obviously once Waves are federated I just want to point to the Wave
independent of the client. I.e. I might be using wave.google.com and
you might be using fedone.com for your waving, but we can both access
the public wave which was started on example.com in our clients. It
seems there is two ways of doing this, defining a Wave protocol
(wave://example.com/#HASH) or using a standardized HTML redirect (i.e.
always link waves as http://wave.com/example.com/#HASH) and the
redirect can ask (and remember) which client the user is using. Or
possibly there are cleverer ways I haven't thought of.

Regards,
Jonny

-- 
Jonathan J Hunt j...@42quarks.com
Homepage: http://www.42quarks.com
(Further contact details there)
Physics isn't the most important thing. Love is. Richard Feynman

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Dynamic height gadget not always resizing

2009-10-20 Thread Jonathan Hunt

Hi,

So after much mucking about I've found that when the gadget fails in
Chrome/Safari the init function is called and setStateCallback is set
but the stateChanged function is never called. This happens sometimes
on Chrome and never on Firefox (Mac). It seems to occur more often
when the Wave is larger with more gadgets.

It seems the issue is the way that I use the Wave library (since I am
using mode changes, I need wave-preview). If you use wave-preview as
per the documentation errors arise in Chrome and Safari (on the Mac)
but your gadget will work in Firefox. I've reported the bug.
http://code.google.com/p/google-wave-resources/issues/detail?id=333

However, the work around is to remove require wave and require
wave-preview from your gadget specification and add the line:
script src=https://wave-api.appspot.com/public/wave.js;
type=text/javascript/script
to the top of the HTML of your gadget.

Hopefully this might solve your problem too Chris and Vision Jinx.

Pamela, what is the deal with
https://wave-api.appspot.com/public/wave.js. I noticed some of the
gadget examples use this method of accessing the wave api (which is
how I found it). Is this recommended? Do you know why this solves my
problem?

Thanks,
Jonny

On Tue, Oct 20, 2009 at 12:38 PM, pamela (Google Employee)
pamela...@gmail.com wrote:
 Hey Jonathan-
 Yes, sorry that I haven't been able to spend more time on your example yet.
 Gadgets debugging can be really frustrating, due to the nature of them being
 embedded.
 We're working on re-enabling debug log, that issue is here:
 http://code.google.com/p/google-wave-resources/issues/detail?id=325
 That may not help you as much as you'd desire however -- it's most useful
 for just logging state deltas and other messages.
 If it's a bug that affects API development, you can log it in the API issue
 tracker and we will try to respond within a few days.
 For a bug like that (the error w/multiple gadgets), it's helpful if you can
 add one of us to the Wave and specify the URL in the issue.
 I just tried a quick replication, in case we broke something badly in last
 release, and I couldn't get the error.
 - pamela
 On Tue, Oct 20, 2009 at 1:11 PM, Jonathan Hunt j...@42quarks.com wrote:

 Hi Pamela,

 I have been working on giving you a minimal example but I'm now
 finding the Uncaught TypeError's on almost any wave that has
 multiple gadgets inserted in Chrome or Safari (i.e. yes no maybe
 gadgets or see my minimal example
 http://waveyscience.appspot.com/eqygadget/test.xml). However, the
 example gadgets seem to keep working after this error occurs but mine
 don't for some reason. This is the latest Chrome/Safari on Mac (when
 Safari doesn't crash outright ;-)). I don't always get these errors,
 but often, and particularly on waves which have lots of gadgets.

 Where is the best place to report Wave bugs? Getting these errors with
 Yes/No/Maybe gadget makes me think this is not my bug.

 Also, I don't mean to complain, but I've put a significant amount of
 effort into trying to narrow down the source of the problem, build a
 simple test case etc. Google Wave JS has debug versions available (I
 can see them if I change debug=0 to debug=1) but I can't put Wave in
 debug mode which means I can't use them to get a line number or much
 useful information about where in the Wave js code the error is
 occurring. I understand this is a dev preview so I don't expect no
 problems, but for both of our productivities, it would be nice to have
 access to a debug mode (on a related note I got an email telling me to
 choose a username for the sandbox but never heard back, although from
 what I hear sandbox doesn't have debug mode anymore).

 Thanks for any help.
 Jonny

 On Tue, Oct 20, 2009 at 1:39 AM, pamela (Google Employee)
 pamela...@gmail.com wrote:
  Hmm. Maybe you or Jonny can try to put together a minimal example that
  shows
  this? It might be easy to see if you draw a box (DIV) inside a gadget of
  particular heights. Jonny's example is a bit harder to test with because
  of
  the difference in mode switch, where it sometimes shows a form and
  sometimes
  nothing at all.
 
  On Tue, Oct 20, 2009 at 2:15 AM, Vision Jinx vjn...@gmail.com wrote:
 
  I have had the same issue since last week or more.
 
  I have a gadget that uses Dynamic Height, I asked Pamela Fox (on
  Twitter) if there were any issues with the lib, she replied saying
  none that she knew of, I have the same issue in Wave and iGoogle.
 
  Works fine with Firefox but on Mac w/Safari and Google chrome (on
  Windows) I have a lot of extra white space. I checked the rendered
  code (on iGoogle) and the Gadget is being loaded at 1157px (on
  average) which is many times the height of the gadgets content.
 
  I sent an email also to the iGoogle dev team but holding true to their
  form no reply and in my exp they are more interested in breaking
  things then fixing them or addressing developer concerns/issues (which
  is why they lost all

[Google Wave APIs] Re: Google Wave sandbox account?

2009-10-20 Thread Jonathan Hunt

Hi Pamela,

I have had a similar issue with the the invitation arriving and
filling in a form to choose a username for Wave but never receiving
anything after that.

Jonny
(j...@42quarks.com or jhun...@gmail.com)

On Wed, Oct 21, 2009 at 3:39 AM, instcode instc...@gmail.com wrote:

 Hi Pamela,

 I got an invitation to Google Wave Developer Sandbox account and I
 also submitted the form 1 week ago (2 times already) but I haven't
 received anything yet. My friend only needs 1 day for his sandbox
 accounts to be arrival after submitting the form. So, I think my
 submission is stuck in somewhere in the Google data center ;-)

 I've just finished my gadget and now I really need those sandbox
 accounts for doing test. Could you please check whether my sandbox
 accounts/passwords are on the sending queue or not? My invitation
 email address is instcode [at) gmail (.] com.

 Thanks in advance.

 On Oct 19, 10:43 pm, pamela (Google Employee) pamela...@gmail.com
 wrote:
 There's a link to a form in the upper right corner of the documentation,
 please fill that out.
 - pamela

 On Tue, Oct 20, 2009 at 1:25 AM, TrixJo tri...@gmail.com wrote:

  My apologies.  It appears that Google is not allowing new Wave users
  to invite additional people -- which really limits my ability to make
  a robot.  Bummer.

  Second quesion still stands: how do I get a @wavesandbox.com account?

  thanks

  On Oct 19, 10:03 am, TrixJo tri...@gmail.com wrote:
   I have a google wave account and I want to start developing a couple
   of extensions for it with a few colleagues.

   But I don't know how to nominate these colleagues to get them
   started.  Googling this gives me inappropriate links so I thought I
   would post here.

   Additionally, I have my wave access but how do I get a
   @wavesandbox.com account?

   Please help

   Thanks



 




-- 
Jonathan J Hunt j...@42quarks.com
Homepage: http://www.42quarks.com
(Further contact details there)
Physics isn't the most important thing. Love is. Richard Feynman

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Reference JS file from XML with relative path

2009-10-19 Thread Jonathan Hunt

Hi,

I am running my test version of my gadget on a different version of
appengine from the deployed version. I just wasted a bunch of time
trying to figure out why none of my changes were not working before I
realized that my XML gadget specification references pulls in the
javascript file script src =... using an absolute URL so it was
pointing to the deployed version the whole time. Initially I had tried
to use a relative URL (the js file and the XML file reside in the same
directory) but it didn't work. Is there any easy way to do this
without resorting to server side scripts?

To make things clearer.
a.com/gadget.xml
a.com/gadget.js
at the moment the only way I can find to include the js file from XML
requires specifying the absolute URL (src=http://a.com/gadget.js')
but the problem is that if the whole thing is moved to b.com then the
gadget is still loading a.com js file until the xml specification is
edited, it would be much nicer if there was a way to use a relative
URL.

And I want to keep the js seperate for tidyness, debugging etc.

Thanks for any help,
Jonny

-- 
Jonathan J Hunt j...@42quarks.com
Homepage: http://www.42quarks.com
(Further contact details there)
Physics isn't the most important thing. Love is. Richard Feynman

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Dynamic height gadget not always resizing

2009-10-19 Thread Jonathan Hunt

Hi Chris,

I tried modifying my gadget so that the size of the image was always
specified explicity (i.e. start with default size and use img.onload
to update the size) before calling gadgets.window.adjustHeight(); but
I still have the same problem.

I notice that the js file having the error
https://www-wave-opensocial.googleusercontent.com/gadgets/js/dynamic-height:wave:wave-preview.js?v=1cf0e493105d2223097f7244b563beacontainer=wavedebug=0
can also be loaded with debug=1, but I can't find a way to put the
Wave preview in debug mode and I don't have access to the sandbox. You
might want to see if this is something you can do in the sandbox as
then you can see what line in the file the error is occuring at.

If you do find a fix please let me know, as I can't figure it out for
my gadget, and it's making the gadget much less useful than it
otherwise might be. It seems to be to occur more frequently in Chrome
and more often on pages with lots of gadgets.

Google any help or acknowledgement is this is your bug would be appreciated.

Cheers,
Jonny

On Mon, Oct 19, 2009 at 7:59 PM, Chris Searle chrisdsea...@gmail.com wrote:

 Is this simply a preview problem (can't say that I've seen it in the
 developer sandbox) ?

 OK - today I can say I see it in the developer sandbox too :(
 




-- 
Jonathan J Hunt j...@42quarks.com
Homepage: http://www.42quarks.com
(Further contact details there)
Physics isn't the most important thing. Love is. Richard Feynman

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Dynamic height gadget not always resizing

2009-10-19 Thread Jonathan Hunt

Hi Pamela,

Thanks for the quick response. The gadget I'm having problems with is:
http://waveyscience.appspot.com/eqygadget/eqygadget.xml

I haven't filed a bug because I assumed it must be my fault or Google
Chrome on Mac (which is pre-beta). But I am getting reports from users
that it is also occurring on Firefox (although less often).

Any help would be greatly appreciated. Apologies in advance if it
turns out to be my mistake.

Is there any progress on giving access to the Wave sandbox (and debug
versions of Wave). I got an email telling me to choose a username for
the sandbox etc. about a week ago but haven't heard anything since.

Regards,
Jonny

On Mon, Oct 19, 2009 at 11:13 PM, pamela (Google Employee)
pamela...@gmail.com wrote:
 Hi Jonny-
 Can you post a link to the gadget? That would make it easier to debug. I
 don't see any bugs filed that match your description of the problem.
 Thanks!
 - pamela

 On Tue, Oct 20, 2009 at 12:10 AM, Jonathan Hunt j...@42quarks.com wrote:

 Hi Chris,

 I tried modifying my gadget so that the size of the image was always
 specified explicity (i.e. start with default size and use img.onload
 to update the size) before calling gadgets.window.adjustHeight(); but
 I still have the same problem.

 I notice that the js file having the error

 https://www-wave-opensocial.googleusercontent.com/gadgets/js/dynamic-height:wave:wave-preview.js?v=1cf0e493105d2223097f7244b563beacontainer=wavedebug=0
 can also be loaded with debug=1, but I can't find a way to put the
 Wave preview in debug mode and I don't have access to the sandbox. You
 might want to see if this is something you can do in the sandbox as
 then you can see what line in the file the error is occuring at.

 If you do find a fix please let me know, as I can't figure it out for
 my gadget, and it's making the gadget much less useful than it
 otherwise might be. It seems to be to occur more frequently in Chrome
 and more often on pages with lots of gadgets.

 Google any help or acknowledgement is this is your bug would be
 appreciated.

 Cheers,
 Jonny

 On Mon, Oct 19, 2009 at 7:59 PM, Chris Searle chrisdsea...@gmail.com
 wrote:
 
  Is this simply a preview problem (can't say that I've seen it in the
  developer sandbox) ?
 
  OK - today I can say I see it in the developer sandbox too :(
  
 



 --
 Jonathan J Hunt j...@42quarks.com
 Homepage: http://www.42quarks.com
 (Further contact details there)
 Physics isn't the most important thing. Love is. Richard Feynman




 




-- 
Jonathan J Hunt j...@42quarks.com
Homepage: http://www.42quarks.com
(Further contact details there)
Physics isn't the most important thing. Love is. Richard Feynman

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Dynamic height gadget not always resizing

2009-10-19 Thread Jonathan Hunt

Hi Pamela,

I have been working on giving you a minimal example but I'm now
finding the Uncaught TypeError's on almost any wave that has
multiple gadgets inserted in Chrome or Safari (i.e. yes no maybe
gadgets or see my minimal example
http://waveyscience.appspot.com/eqygadget/test.xml). However, the
example gadgets seem to keep working after this error occurs but mine
don't for some reason. This is the latest Chrome/Safari on Mac (when
Safari doesn't crash outright ;-)). I don't always get these errors,
but often, and particularly on waves which have lots of gadgets.

Where is the best place to report Wave bugs? Getting these errors with
Yes/No/Maybe gadget makes me think this is not my bug.

Also, I don't mean to complain, but I've put a significant amount of
effort into trying to narrow down the source of the problem, build a
simple test case etc. Google Wave JS has debug versions available (I
can see them if I change debug=0 to debug=1) but I can't put Wave in
debug mode which means I can't use them to get a line number or much
useful information about where in the Wave js code the error is
occurring. I understand this is a dev preview so I don't expect no
problems, but for both of our productivities, it would be nice to have
access to a debug mode (on a related note I got an email telling me to
choose a username for the sandbox but never heard back, although from
what I hear sandbox doesn't have debug mode anymore).

Thanks for any help.
Jonny

On Tue, Oct 20, 2009 at 1:39 AM, pamela (Google Employee)
pamela...@gmail.com wrote:
 Hmm. Maybe you or Jonny can try to put together a minimal example that shows
 this? It might be easy to see if you draw a box (DIV) inside a gadget of
 particular heights. Jonny's example is a bit harder to test with because of
 the difference in mode switch, where it sometimes shows a form and sometimes
 nothing at all.

 On Tue, Oct 20, 2009 at 2:15 AM, Vision Jinx vjn...@gmail.com wrote:

 I have had the same issue since last week or more.

 I have a gadget that uses Dynamic Height, I asked Pamela Fox (on
 Twitter) if there were any issues with the lib, she replied saying
 none that she knew of, I have the same issue in Wave and iGoogle.

 Works fine with Firefox but on Mac w/Safari and Google chrome (on
 Windows) I have a lot of extra white space. I checked the rendered
 code (on iGoogle) and the Gadget is being loaded at 1157px (on
 average) which is many times the height of the gadgets content.

 I sent an email also to the iGoogle dev team but holding true to their
 form no reply and in my exp they are more interested in breaking
 things then fixing them or addressing developer concerns/issues (which
 is why they lost all their Gurus ~nuff said).

 Regards,
 Vision Jinx


 On Oct 18, 11:30 pm, Chris Searle chrisdsea...@gmail.com wrote:
  Have a gadget with the dynamic-height feature.
 
  The last line of the stateUpdated method is
  gadgets.window.adjustHeight();
 
  However, I see that the gadget stays at 200px quite often. Leaving and
  re-opening the wave sometimes helps, not always. If you have the
  gadget several times in a wave some resize some don't. It all seems a
  little random.
 
  Is this simply a preview problem (can't say that I've seen it in the
  developer sandbox) ?



 




-- 
Jonathan J Hunt j...@42quarks.com
Homepage: http://www.42quarks.com
(Further contact details there)
Physics isn't the most important thing. Love is. Richard Feynman

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Inline gadgets

2009-10-19 Thread Jonathan Hunt

Hi,

I am developing an math's equation editing gadget for Wave. One
feature several users have access is the ability to include equations
inline (i.e. not on a seperate line, but on the same line as text).
This is commonly used when writing text. You often have an equation on
a seperate line:
f(x) = x^2 + y^2 + z^2
and then refer to part of it inline as in the x^2 term in the equation
bla bla ...

I can't see a way to do something like this with the current Wave
api's. There seems to be no option of dynamic-width or anything.
Does anyone have any ideas how to do something like this? Is this
something the gadget APIs might be extended to support in future?

Thanks for any ideas.
Jonny

-- 
Jonathan J Hunt j...@42quarks.com
Homepage: http://www.42quarks.com
(Further contact details there)
Physics isn't the most important thing. Love is. Richard Feynman

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Dynamic height gadget not always resizing

2009-10-18 Thread Jonathan Hunt

Hi Chris,

Are you using Google Chrome - are there any errors output on the
console? I am having problems in Google Chrome (Mac) with gadget
resizing but not on Firefox.

Regards,
Jonny

On Mon, Oct 19, 2009 at 3:30 PM, Chris Searle chrisdsea...@gmail.com wrote:

 Have a gadget with the dynamic-height feature.

 The last line of the stateUpdated method is
 gadgets.window.adjustHeight();

 However, I see that the gadget stays at 200px quite often. Leaving and
 re-opening the wave sometimes helps, not always. If you have the
 gadget several times in a wave some resize some don't. It all seems a
 little random.

 Is this simply a preview problem (can't say that I've seen it in the
 developer sandbox) ?

 




-- 
Jonathan J Hunt j...@42quarks.com
Homepage: http://www.42quarks.com
(Further contact details there)
Physics isn't the most important thing. Love is. Richard Feynman

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Server-side timestamp

2009-10-14 Thread Jonathan Hunt

Hi,

I have a question about the best way to manage state changes with an
interactive gadget. My gadget has a textbox for user's to write an
equation in (http://waveyscience.appspot.com). Every time the user
types in the textbox I change the stored equation (submitDelta). I
don't want to wait until they leave the textbox so that other user's
can see any changes they make right away. Now the problem is that, for
the user's who haven't edited the textbox, upon receiving a
stateUpdated event they need to update the textbox, but the editing
user may have written another character in the mean time and I
wouldn't be polite to overwrite that.

At the moment I get around this by having a variable lastUpdate
which records the last state update submitted, and ignores state
changes until the lastUpdate state change is received. This means if
user types a and then b generating state changes a and ab
quickly, the stateUpdated event with just the state change 'a' (which
will occur after both keypresses if typing quickly) will get ignored
in the originating gadget (because it is waiting for the state change
'ab' which it know's it has submitted). This seems to work. The only
problem is, that (I think) if another user types 'c' quickly, then the
state might get merge on the server and so the state change to 'ab'
will never be received by the gadget. This leaves it in a stuck state
waiting for state change that will never come and ignoring other ones.

One hack would be to have some sort of timeout. But it seems like a
better way would be to have submitDelta give some sort of server side
timestamp, so one can test in statedUpdated if that delta is still
pending or a newer state is now available. getTime seems like it might
be the kinda thing I'm after but I can't really see how to use it, and
at the moment I think it just gives the client time (which won't work
if the client clocks are out of sync (and they'd only need to be out
by milliseconds).

Basically, what I'm asking is, does anyone have a demo implementation
of a gadget that is just a textbox editable by multiple users,
synchronizing with each keypress. I don't quite understand the Wave
way to do this, as gadget's don't have access to the full Wave OT.

Thanks for any help.
Jonny
-- 
Jonathan J Hunt j...@42quarks.com
Homepage: http://www.42quarks.com
(Further contact details there)
Physics isn't the most important thing. Love is. Richard Feynman

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: wave.getMode() troubles

2009-10-13 Thread Jonathan Hunt

Hi,

You can see the simple equation gadget I built which uses getMode and
seems to work (for me).
http://waveyscience.appspot.com/eqygadget/eqygadget.xml

Regards,
Jonny

On Wed, Oct 14, 2009 at 12:33 PM, nerd_boy i.am.nerd...@gmail.com wrote:

 Changed the require feature as you stated, but it still isn't
 working. :|  I'll continue sifting through the source of other gadgets
 to try and figure it out. Thanks.

 On Oct 13, 8:46 pm, pamela (Google Employee) pamela...@gmail.com
 wrote:
 Hi nerd_boy -
 We are currently updating the documentation with a notice that some
 functionality (like this) is only available in the latest version of the
 API.
 Change Require feature=wave to wave-preview and it should work.

 Check the Map Gadget in the samples gallery for example usage.

 - pamela



 On Wed, Oct 14, 2009 at 9:21 AM, nerd_boy i.am.nerd...@gmail.com wrote:

  'lo all

      Firstly, let me say I don't have access to the Sandbox, so if
  this is a silly question that would easily be answered there or
  whatever, that is why.

      Toying around with making a gadget, and I'm wanting to have a
  different view if the wave is in EDIT mode rather than the regular
  VIEW mode. However, with the code:

      if(wave.getMode()==wave.Mode.VIEW){document.write(View Mode);
      else if(wave.getMode()==wave.Mode.EDIT){document.write(Edit
  Mode);

  in script tags, neither one appear either when I'm viewing the wave
  or when I'm editing it. I threw a document.write(Testing
  Javascript); outside of the if statements to ensure I hadn't borked
  anything else up, and that at least prints.

      So, any ideas as to what I'm doing wrong? Or is getMode not yet
  fully supported in Wave Preview? Thanks in advance,
  --nerd_boy

 




-- 
Jonathan J Hunt j...@42quarks.com
Homepage: http://www.42quarks.com
(Further contact details there)
Physics isn't the most important thing. Love is. Richard Feynman

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Wave API group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---