Re: +BubbleButton does not update chart when javascript enabled

2009-02-21 Thread Tomas Hlavaty
Hi Alex, > The restriction to HTTP/1.0 has another disadvantage: It will degrade > the performance of XMLHttpRequests, because it needs to open and close a > separate TCP connection for each HTTP transaction. Certain operations, > like scrolling in charts, are perceptibly slowed down, especially w

Re: +BubbleButton does not update chart when javascript enabled

2009-02-21 Thread Alexander Burger
Hi Tomas, > However, nginx proxy implements http1.0 only. The fix makes form.l The restriction to HTTP/1.0 has another disadvantage: It will degrade the performance of XMLHttpRequests, because it needs to open and close a separate TCP connection for each HTTP transaction. Certain operations, lik

Re: +BubbleButton does not update chart when javascript enabled

2009-02-21 Thread Alexander Burger
Hi Tomas, > I fixed lib/form.l which is attached. The problem was that chunking > was hardcoded in the form.l code limiting it's usability to http1.1. > However, nginx proxy implements http1.0 only. The fix makes form.l > usable with both http1.0 and http1.1. Many thanks, good idea! I incorpor

Re: +BubbleButton does not update chart when javascript enabled

2009-02-21 Thread Tomas Hlavaty
Hi Alex, >> I see, so it looks like some kind of mismatch between chunked and >> non-chunked mode used by the web server and expected by the client >> script. I'll have a look into it. nginx probably messes that up. > To be precise, that message is "1^M^JT^M^J0^M^J^M" (see line 154 of > "lib/fo

Re: +BubbleButton does not update chart when javascript enabled

2009-02-21 Thread Alexander Burger
Hi Tomas, > I see, so it looks like some kind of mismatch between chunked and > non-chunked mode used by the web server and expected by the client > script. I'll have a look into it. nginx probably messes that up. I'm not sure whether it is relevant here, but I know of another (similar?) phenom

Re: +BubbleButton does not update chart when javascript enabled

2009-02-20 Thread Tomas Hlavaty
Hi Alex, > To be precise, that message is "1^M^JT^M^J0^M^J^M" (see line 154 of > "lib/form.l"). It is just an explicit formulation of the token "T" in > chunked encoding. It could as well be (ht:Out T (prin T)). I see, so it looks like some kind of mismatch between chunked and non-chunked mode us

Re: +BubbleButton does not update chart when javascript enabled

2009-02-20 Thread Alexander Burger
Hi Tomas, > it looks like it should not be getting 1 T 0 from the server but only > T. Not sure why is that... Could you please describe the form.js > protocol briefly? To be precise, that message is "1^M^JT^M^J0^M^J^M" (see line 154 of "lib/form.l"). It is just an explicit formulation of the t

Re: +BubbleButton does not update chart when javascript enabled

2009-02-20 Thread Tomas Hlavaty
Hi Alex, it looks like it should not be getting 1 T 0 from the server but only T. Not sure why is that... Could you please describe the form.js protocol briefly? Thank you, Tomas -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Re: +BubbleButton does not update chart when javascript enabled

2009-02-20 Thread Tomas Hlavaty
Hi Alex, > I pasted it into "app/role.l", changed 'it' to 'usr', '+It' to '+User' > and (choIt ..) to (choDlg ..), and it works just fine. I found it works with the standard deployment with httpGate but does not work for me when running behind a web server (nginx). Everything seems to be working

Re: +BubbleButton does not update chart when javascript enabled

2009-02-19 Thread Alexander Burger
Hi Tomas, strange, the code looks all right (except for the argument to 'scroll', which should perhaps be 15 instead of 6, but doesn't really have to). I pasted it into "app/role.l", changed 'it' to 'usr', '+It' to '+User' and (choIt ..) to (choDlg ..), and it works just fine. Also, I'm using '+