Re: WiaB client code usage in the wild (a.k.a Undercurrent in Blogger)

2012-02-05 Thread David Hearnden
On Mon, Feb 6, 2012 at 12:36 PM, Thomas Wrobel wrote: > ".e., to have a build setup that has user-agent specific builds, > with compile-time minimization, and also an all-agent build? It might > take > some GWT-fu to set that up." > > GWT makes specific optimized builds for 6 or so user agents

Re: WiaB client code usage in the wild (a.k.a Undercurrent in Blogger)

2012-02-05 Thread David Hearnden
1) Yes please! Cutting the Blip -> Document dependency would make the code cleaner. Client side, I don't think that Blip::getDocument() is used. Undercurrent has its own DocumentRegistry to look up the document object for a particular blip, rather than getting it from the blip directly, in order

Re: Wave OT / CC Call for Help

2012-01-08 Thread David Hearnden
Hi Michael, Torben gave a nice general description of the relationship between retain and composition. I'll try to concretize that to your specific questions below. On Wed, Dec 28, 2011 at 3:24 AM, Michael MacFadden < michael.macfad...@gmail.com> wrote: > > 1) In order to compose operations I a

Re: Wave OT / CC Call for Help

2012-01-08 Thread David Hearnden
Hi Michael, I can answer that new question quickly. If you're looking for an object model that has the same structure as a DOM (i.e., element nodes, text nodes, etc), then you won't find it on the server. Saying that the documents are "annotated XML" is an abstract description that conveys the k

Re: Improving the Webclient

2011-11-20 Thread David Hearnden
EditToolbar.install() with configureEditToolbar(EditToolbar.create()), moving EditToolbar's implicit set of buttons out into something configurable, and override configureEditToolbar() with your own configuration.* Or whatever else works - it should be just a simple matter of programming. HTH,

Re: Improving the Webclient

2011-11-20 Thread David Hearnden
Sorry to chime in late to this discussion.  It seems like it comes up every now and again.  My opinions:* I welcome any effort to rewrite the top level WIAB client component (the bit that glues together the search panel, wave panel, websocket etc).* I don't see how Gin will add any value.  Dependen

Re: Code Migration to SVN

2011-10-11 Thread David Hearnden
Great work Michael. -Dave On Wed, Oct 12, 2011 at 6:54 AM, Upayavira wrote: > Fab, thanks Michael, great to see it done. > > Upayavira > > On Tuesday, October 11, 2011 8:18 AM, "Michael MacFadden" > wrote: > > All, > > > > After many months our migration from Google Code to the Apache SVN has

Re: Code clean up: Removal of IndexWave and ConsoleClient

2011-08-21 Thread David Hearnden
Option 3 gets a +1 from me. It would be great to restore the ConsoleClient at some stage - it's a nice lightweight client, it helps to ensure a sound protocol, and it should be a useful reference implementation. But if nobody has the time to maintain it right now, then it's better to focus on the

Re: wave-editor set doodad over selection

2011-08-10 Thread David Hearnden
Hi Anton, Could you please clarify what you're trying to do? Are you trying to insert a doodad programmatically into a document? Or are you trying to add code to replace the current browser selection in a document being edited with a doodad? Or are you trying to make a doodad appear when a user

Re: Client/Server protocol (again)

2011-07-11 Thread David Hearnden
;> pretty stable at this point. Its documented here: > >>> >> > >>> > http://www.waveprotocol.org/protocol/design-proposals/clientserver-protocol > >>> >> ... Though that documentation is probably out of date. > >>> > > >>&g

Re: Client/Server protocol (again)

2011-07-11 Thread David Hearnden
On Sat, Jul 9, 2011 at 8:19 AM, Thomas Wrobel wrote: > > David Hearnden there said; > > "I would strongly encourage not building too much on the current protocol, > since it has a number of known limitations. The new protocol is simpler > and > achieves a better s

Re: Client/Server protocol (again)

2011-07-11 Thread David Hearnden
On Sat, Jul 9, 2011 at 3:15 AM, Joseph Gentle wrote: > > > The client and server talk by sending protobuf messages encoded as > JSON over a socket.io connection. Protobufs are quite formally defined > - so you can see what the messages look like by looking at a few > files in the repository: > >

Re: Wave richtext editor

2011-06-23 Thread David Hearnden
Hi Anton, The underlying document model in Wave has no relation to HTML - it's a custom document format designed for rich concurrent editing (see http://mail-archives.apache.org/mod_mbox/incubator-wave-dev/201102.mbox/%3caanlktikjj_jjjhji-7fvhhqkrop4rauj8murp3hhj...@mail.gmail.com%3Efor some discu

Re: Apache Shiro or Spring Security

2011-06-07 Thread David Hearnden
+1 to keeping WIAB lightweight. WIAB is intended as a reference implementation after all. Also keep in mind that many Java Web frameworks only provide the illusion of security, and are vulnerable to a large number of ingenius attack vectors due to their high level of complexity. It only takes a

Re: UI question - unused avatar column

2011-05-31 Thread David Hearnden
To add some detail to Pat's answer, the primary reasons for the changed layout were: * Consistent left-alignment makes the blips easier to read and use, especially if you start making bullets. * Content-editable regions in IE get a mutually exclusive rectangular layout box, so any content that is i

Re: webclient-server communication

2011-05-28 Thread David Hearnden
w.rateoholic.co.uk > Please try out my new site and give feedback :) > > > > On 25 May 2011 07:36, David Hearnden wrote: >> There is a technical roadmap (i.e., rich design docs etc, published >> somewhere on the site - let me know if you can't find them) for a new >

Re: webclient-server communication

2011-05-24 Thread David Hearnden
There is a technical roadmap (i.e., rich design docs etc, published somewhere on the site - let me know if you can't find them) for a new protocol that overcomes many of the issues with the current one, and works much better with more advanced features (e.g. diff-on-open). I don't think it's a mov

Re: Ability to Delete Waves

2011-05-17 Thread David Hearnden
If space is not an issue, then you can always remove yourself as a participant so that the wave doesn't end up in your inbox anymore. That's pretty close to deleting it, even though it's not gone from disk. -Dave On Tue, May 17, 2011 at 9:28 AM, Michael MacFadden < michael.macfad...@gmail.com> w

Re: BlipMetaViewBuilder Question

2011-05-17 Thread David Hearnden
You're right Michael - the document rendering is included in the rendering of the "meta" view. The short story is that the DOM structure changed to accommodate a different rendering, and the names of the view components were never updated to reflect that. Essentially, the two parts of a Blip view

Re: JIRA developer access

2011-05-03 Thread David Hearnden
My JIRA username is: hearnden. -Dave On Wed, May 4, 2011 at 12:14 PM, Michael MacFadden < michael.macfad...@gmail.com> wrote: > Soren and Christian should now be set up as committers in Jira. > > ~Michael > > On May 3, 2011, at 2:10 PM, Soren Lassen wrote: > > > My Jira Id is sorenlassen. > > >

Re: Wave Client password

2011-05-01 Thread David Hearnden
Hi Thomas, Could you clarify what you mean by separate (I've noticed you've mentioned it a few times)? The code is already logically separate in the package and component structure, so do you mean some further level of separation? e.g., separate build processes, file trees, code repositories, Ec

Re: [DISCUSS] Jira Cut Over

2011-04-26 Thread David Hearnden
+1 (most of Australia has just come back from a 5-day weekend, so we've been pretty quiet). Thanks Michael, -Dave On Tue, Apr 26, 2011 at 4:20 AM, Michael MacFadden < michael.macfad...@gmail.com> wrote: > I have created the INFRA Jira issue here: > > https://issues.apache.org/jira/browse/INFRA-

Re: Editor as standalone component and better usage of GWT

2011-04-25 Thread David Hearnden
Hi Thomas, On Wed, Apr 20, 2011 at 11:47 PM, Thomas Broyer wrote: > Hi everyone, > > First, let me introduce myself: I'm a french software engineer working > in a small IT consulting company. I'm working with GWT for 3 years now > and contributing patches on a regular basis (BTW, I'm the only >

Re: OT constraints on element nesting

2011-04-12 Thread David Hearnden
Hi Andy, 1) The problem being demonstrated is how to express style information. It is a requirement for a rich text editor to be able to apply and change styles over arbitrary ranges of content. If nested elements are used to express style (e.g., s, s etc), then this means that applying and cha

Re: A suggested time for Office Hours

2011-04-11 Thread David Hearnden
+1 On Tue, Apr 12, 2011 at 11:33 AM, Soren Lassen wrote: > That time suits me. I'm in. > > On Tue, Apr 12, 2011 at 10:18 AM, James Purser > wrote: > > Okay the following assumes that at least half of the people who will be > > attending resides in the US so if I'm wrong please let me know. > > >

winding down my contributions

2011-04-10 Thread David Hearnden
Hello Wavers, Just a quick note to let you all know that my contributions to Wave are winding down (but not to zero!). I have been transitioning to a new project at Google, which means that my support and contribution to Apache Wave will come from my spare time, so I will be less prolific as I ha

Re: WIAB GUI modification

2011-04-07 Thread David Hearnden
Hi Michael, The rendering definitions for a participant can be found in FullDomRenderer#render(Conversation, ParticipantId). In the Google Wave, the conversation model of a wave revealed the creator, but doing so caused some complicated scenarios if the creator gets removed from the participant l

Re: jWebSocket + Tomcat

2011-04-07 Thread David Hearnden
Anything that moves WIAB closer to a deployable war SGTM. -Dave On Fri, Apr 8, 2011 at 2:34 AM, Yuri Z wrote: > It sounds to me like a very mice idea. Being able to deploy WIAB on other > server definitely would be a huge step toward mass adoption. > > 2011/4/7 Nelson Silva > > > Hi all, > > >

Re: Document with dialogue...

2011-04-06 Thread David Hearnden
Hi Scott, I agree that using the reply box at the bottom of the wave does not work too well for discussing points in the top blip after many replies are made. I'd suggest two alternatives: * Use inline replies, by selecting a location in the top blip then creating a reply (hit enter, click the bl

Re: ssl and wiab....

2011-03-31 Thread David Hearnden
Hi Scott, Node is a JavaScript web server. We're using Jetty, a Java web server. I don't know if Jetty supports SSL out of the box, but I wouldn't be surprised if it did. Was there a reason you wanted to use Apache to proxy https? -Dave On Fri, Apr 1, 2011 at 12:12 PM, Scott Mitchell wrote:

Re: Debugging settings...

2011-03-31 Thread David Hearnden
Hi Scott, That "wdm" cookie is used by DomLogger, which is part of the debug panel from the Google Wave client (which is disabled in production). DomLogger is not hooked up in Apache Wave. AFAIK there is no debug support in Apache Wave beyond watching the log panel that is present in the compile

Re: ssl and wiab....

2011-03-30 Thread David Hearnden
It looks to me like everything is working ok apart from the socket.ioconnection. >From looking at WebClient.java:232, it looks like the websocket connection is to ws://..., which is for http, rather than wss://, which is for https. If you change: ... return "ws" + ... to ... return "wss" + ..

Re: Error Compiling

2011-03-30 Thread David Hearnden
Hi Obed, It compiles fine with Sun/Oracle JDK 1.6.0_24 on Mac, and OpenJDK on Linux. Are you able to upgrade to a more recent version of Java? If not, I can take a look at reducing the strictness of those types. -Dave On Thu, Mar 31, 2011 at 8:10 AM, Jesús Obed Murillo Hernández < obed...@gmai

Re: A proposal

2011-03-29 Thread David Hearnden
+1. On Wed, Mar 30, 2011 at 2:27 PM, Soren Lassen wrote: > That's a good idea. I'm in. > > On Wed, Mar 30, 2011 at 2:16 PM, James Purser > wrote: > > Hi Guys and Gals, I'm thinking we might try and organise another Apache > Wave > > Office hour, but this time I think we should use apache wave t

Re: [DISCUSS] Jira Components

2011-03-23 Thread David Hearnden
t;> > > >> ~Michael > > >> > > >> > > >> On Mar 22, 2011, at 8:55 PM, James Purser wrote: > > >> > > >>> For the moment, might be best to replicate what the Google Issues > > tracker > > >>> has so that we

Re: [DISCUSS] Jira Components

2011-03-22 Thread David Hearnden
Are those components something that can be refined later? i.e., could we start with high-level categories, and later refine them as needed? Or are those categories set in stone at setup time? That might strongly influence the component list. (I've never used JIRA) -Dave On Wed, Mar 23, 2011 a

Re: Persistent storage options for Deltas

2011-03-21 Thread David Hearnden
There was a largish discussion in January about persistence, and I seem to recall other discussions before that, split across the (Apache) wave-dev and (Google Groups) wave-protocol lists. Here's one of the main threads, and is a worthwhile read where many options were proposed (cassandra, couch,

Re: Compile error

2011-03-21 Thread David Hearnden
James kindly verified that that patch worked, so I've just submitted it. -Dave On Tue, Mar 22, 2011 at 10:13 AM, David Hearnden wrote: > Hi Giacomo, > > Can you please apply the following patch (it's a 1-line change) and see if > it fixes the issue? If so, I'll prepar

Re: Compile error

2011-03-21 Thread David Hearnden
Hi Giacomo, Can you please apply the following patch (it's a 1-line change) and see if it fixes the issue? If so, I'll prepare a patch for it. I'd test it myself, but I'm unable to reproduce the original error (which but I'm fairly sure is from using an older version of Java 6). If it doesn't wo

Re: Compile error in tip

2011-03-09 Thread David Hearnden
Hi Vicente, What JDK are you using? It should compile fine with Java 6. I know that Sun/Oracle's Java 5's type inference is not as good as Java 6, and different compilers have different levels of sophistication (Eclipse's java compiler is usually better). -Dave On Thu, Mar 10, 2011 at 2:21 AM,

Re: Should composing ops have side effects?

2011-03-07 Thread David Hearnden
More precisely, Wave's composition and transformation functions do not commute. Transformation of the composition of two ops does not always produce the same op as the successive transformations of those two ops: Ts (Ts (s, c1), c2) != Ts (s, c1 ; c2) where Ts is one side of the transform func

Re: Pure HTML Doodad

2011-02-28 Thread David Hearnden
Hi Nelson, Is your goal to allow collaborative editing of the full HTML spectrum in a wysiwyg fasgion? HTML is a mismatched hybrid of content and presentation, and does neither of the two particularly well except for the particularly narrow purpose for which it was designed (single-column paragra

Re: is wave playback a priority right now?

2011-02-22 Thread David Hearnden
Hi Gerardo, It depends on what kind of playback experience you would like. In Google Wave, playback does not necessarily play things chronologically, but instead can reorder things to make the history simpler. e.g., if two users A and B are concurrently adding their own replies, then the playbac

Re: More Site Updates

2011-02-21 Thread David Hearnden
Well done Zachary on such a faithful replication of the Google Wave styling! However, for WIAB, I think it's important not to alienate the vast majority of internet users, whose browsers do not support CSS3. Even though visitors of the apache site are more likely to be using a CSS3-capable browse

Re: A few suggestions

2011-02-08 Thread David Hearnden
Adding wave templates would be an excellent starter project for anyone who's keen to get involved on the web client. -Dave On Wed, Feb 9, 2011 at 12:17 PM, Branden Martin wrote: > Hi everyone, > > > > I hope I am putting this in the correct place. I have a few suggestions > that > I've always wa

Re: Basic questions about the c/s protocol and the blip creation process;

2011-02-02 Thread David Hearnden
Hi Thomas, On Wed, Feb 2, 2011 at 10:53 PM, Thomas Wrobel wrote: > I got a few basic questions about the blip creation process. > I've been working on a Android client with a group and so far we have > been using a modified version of the old FedOne code (specifically we > made "fedone-android-c

Re: SVN Set Up

2011-02-01 Thread David Hearnden
The most painless solution would be just to check in a snapshot of the hg repo into svn. If there is a way to preserve history, then that would be better, but I don't think the history is valuable enough for anyone to spend more than a few hours looking in to it. e.g., we've lost history twice be

Re: Build failed in Hudson: wave-small_tests #48

2011-02-01 Thread David Hearnden
Something's wrong with the protos. I'm looking in to it. -Dave On Wed, Feb 2, 2011 at 11:57 AM, Apache Hudson Server < hud...@hudson.apache.org> wrote: > See > > Changes: > > [Yuri Z. ] Adds search service to webclient, and > se

Re: Debugging Wave Client Eclipse

2011-02-01 Thread David Hearnden
> road map. > > Warm Regards, > allahbaksh > > > On Mon, Jan 31, 2011 at 5:57 AM, David Hearnden > wrote: > > > Hi Allahbaksh, > > > > GXP files are templates for producing dynamic HTML content, much like > JSP. > > From a .gxp file, the GXP com

client/server search

2011-02-01 Thread David Hearnden
Hi all, Yuri's already posted his plans on how to get a new search service up and running in the web client, and I'm going to be working with him to get that rolled out. Our current plan is as follows: A. Add a search service interface, to expose the rpcs to the client (analogous to WaveViewServ

Re: Debugging Wave Client Eclipse

2011-01-30 Thread David Hearnden
Hi Allahbaksh, GXP files are templates for producing dynamic HTML content, much like JSP. From a .gxp file, the GXP compiler produces a Java class that a servlet can invoke (supplying parameters declared in that .gxp file) in order to produce an HTML response for an HTTP request. Advantages over

Re: Debugging Wave Client Eclipse

2011-01-27 Thread David Hearnden
Hi Allahbaksh, Please see http://www.waveprotocol.org/code/client-development-environment-set-up. Debugging the full client is a last resort, because you need to build and run the WIAB server. Try and debug using the harnesses first. To answer your question about embedding, the 'org.waveprotoco

Re: URLDecoder, URLEncoder cannot be resolved...

2011-01-27 Thread David Hearnden
Those errors are harmless. It's the GWT compiler warning that there is code in one of the packages that can not be compiled into JavaScript. However, that code is unused by the web client (otherwise it would have been a compile failure, rather than a warning). I'll prepare a patch to exclude the

Re: Web Site Progress

2011-01-26 Thread David Hearnden
My confluence username is: hearnden. -Dave On Thu, Jan 27, 2011 at 12:39 PM, Patrick Nagel wrote: > Hi, > > On 2011-01-26 15:28, Andrus Adamchik wrote: > >> CWIKI -- The confluence space has been created. I don't > >> think that I have access to edit content yet. I think one of the > >

Re: Search functionality - client side

2011-01-24 Thread David Hearnden
> event with search results. > The WaveListPanel would be modified to display up to 5(?) digests lists > (instead just the inbox one), each in its own tab. > The additional tabs with search results will be refreshed every 30(?) > seconds, user can dismiss a tab (inbox tab cannot be dismi

Re: Starter project

2011-01-24 Thread David Hearnden
Add outline:0 to get rid of that box on Webkit. -Dave On Fri, Jan 21, 2011 at 7:51 AM, Zachary "Gamer_Z." Yaro wrote: > If you mean the 2px green border that shows on focus, that should show in > all browsers in Gwave and my version. I can easily change or disable this. > > If you mean the rect

Re: Search functionality - client side

2011-01-23 Thread David Hearnden
Just an FYI: there is a load of legacy code in the web client that remains solely to keep running the inbox protocol (i.e., there are two separate code stacks for running and rendering waves: the new one, which is used for all waves except the inbox wave, and the old one which is used just for the

Re: Gadget Hieght

2011-01-20 Thread David Hearnden
As to why the height is 20px, it's the default height constant in GadgetWidgetUi. When the iframe gets constructed, that's the height it gets. When I add a gadget to a wave, the height does gets adjusted to the correct height after the gadget loads. Does that not happen for you? (Gadgets do seem

Wave Office Hours

2011-01-19 Thread David Hearnden
Hi everyone, Here's the wave for today's office hours: https://wave.google.com/wave/#restored:wave:googlewave.com%252Fw%252BbD6QIVQwA Bring your questions, and see you there! -Dave

Re: Shiny on New Wave

2011-01-17 Thread David Hearnden
Chrome on Mac is working fine for me. Rev 841. -Dave On Sun, Jan 16, 2011 at 3:34 PM, James Purser wrote: > Okay I've updated to the latest tip and I'm now getting a shiny any time I > attempt to start a new wave. > > Just before I lodge an issue can someone else confirm? > > James >

Re: Packaging WaveClientRpc.gwt.xml

2011-01-16 Thread David Hearnden
That file is located at: proto_gwt_src/org/waveprotocol/box/common/comms/WaveClientRpc.gwt.xml Can you verify that that file exists? Did you create the eclipse project following https://sites.google.com/a/waveprotocol.org/wave-protocol/code/client-development-environment-set-up ? The eclipse pr

Re: Build failed in Hudson: wave-small_tests #19

2011-01-13 Thread David Hearnden
My fault - I forgot to hg add some files before committing. Fix pushed. On Fri, Jan 14, 2011 at 4:30 PM, Apache Hudson Server < hud...@hudson.apache.org> wrote: > See > > Changes: > > [Daniel Danilatos ] Strip w: prefix from code

Re: Wave office hours

2011-01-13 Thread David Hearnden
Either of those are fine for me. -Dave On Fri, Jan 14, 2011 at 2:15 PM, James Purser wrote: > +1 For Thursday/Wednesday. I'm usually at a clients Monday to Wednesday > > James > > On Fri, Jan 14, 2011 at 1:56 PM, Alex North wrote: > > > On 14 January 2011 13:55, Alex North wrote: > > > > > Hi

Re: Wave Incubator Website

2011-01-13 Thread David Hearnden
+1 On Fri, Jan 14, 2011 at 11:54 AM, James Purser wrote: > +1 > > On Fri, Jan 14, 2011 at 11:51 AM, Alex North wrote: > > > +1 > > > > On 14 January 2011 10:09, Michael MacFadden > >wrote: > > > > > Alright unless there are objections, I recommend the Apache CMS for > > "basic > > > web content

Re: What is current state of the search functionality?

2011-01-11 Thread David Hearnden
As far as I know, nobody is working on that. You're more than welcome to dive in! -Dave On Tue, Jan 11, 2011 at 5:43 AM, Yuri Z wrote: > I am currently working on the UI for the search functionality. I would like > to know if someone is working on the server side aspects of this. > Thanks >

Re: Can't import java.nio

2011-01-06 Thread David Hearnden
The java code in org.waveprotocol.wave.model.* gets compiled by GWT into a javascript application. All the code in that package must be executable in a browser environment, so IO code is unlikely to be compatible with that. What parts of java.nio are you using? There may be regular JDK equivalen

Re: Build failure on tip

2011-01-05 Thread David Hearnden
James, which OS / JDK version? It's building fine for me. Java is meant to allow unicode in comments. -Dave On Thu, Jan 6, 2011 at 11:06 AM, Brett Morgan wrote: > does java deal with utf8 in source code these days? > > On Thu, Jan 6, 2011 at 10:45 AM, James Purser wrote: > >> Is anyone else g

Ant target renames

2011-01-04 Thread David Hearnden
Hi all, I've just removed inconsistencies in the target names in the build file, so you may need to update your fingers' muscle memory for the new names. * All names now use hyphens as separators (so compile_gwt_dev is now compile-gwt-dev, for example). * All compound names are verb phrases, meani