miércoles, 29 de octubre de 2008

The first uploaded code

Hello after so long ...

It's possible to download the firs source code of the application but it isn't a stable version, sorry. I have had problems with the svn of google code that I solved creating a new project (with other name) named xhttp. You can see it here. I'm thinking for changing the project name but it's something doesn't care me now.

I hope upload a stable version soon.

Enjoy ;)

martes, 14 de octubre de 2008

Objetives, step by step

Hi.

I'm working,... I know, I don't write in the blog for one week ago,... but I'm working. I'm converting the X protocol language to Java language.

I'm thinking about my objetives in this project. The first objective for me will be to write fonts in the HTML. Is it easy ? Mmmh, I don't know and I'm reading the X protocol documentation I found and then I'll tell you how hard is to make it real ;)

I'm having problems to upload the source code I have made, but I'm working about it too.

Enjoy ;)

jueves, 2 de octubre de 2008

Binding server calls

I needed to know what does the server recive ,... and now I can know it with the logs. For example, belove you can see the log when I execute the X client xeyes:

DEBUG com.jcraft.weirdx.Client - XWeb: Request: Create GC
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Query Extension
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Get Property
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Query Extension
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Intern Atom
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Intern Atom
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Intern Atom
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Intern Atom
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Create Pixmap
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Create Pixmap
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Free Pixmap
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Create Pixmap
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Free Pixmap
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Create Pixmap
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Free Pixmap
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Create Pixmap
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Free Pixmap
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Get Input Focus
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Query Extension
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Create GC
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Put Image
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Free GC
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Create Pixmap
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Create GC
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Put Image
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Free GC
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Create GC
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Create GC
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Query Extension
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Creating window
DEBUG com.xweb.DefaultHTMLFactory - Xwww: Window id: 4194315
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Change Property
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Change Property
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Change Property
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Change Property
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Change Property
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Change Property
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Change Property
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Intern Atom
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Change Property
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Change Property
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Intern Atom
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Change Property
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Creating window
DEBUG com.xweb.DefaultHTMLFactory - Xwww: Window id: 4194316
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Clear Area
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Create Pixmap
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Create GC
DEBUG com.jcraft.weirdx.Client - XWeb: Request: ¿¿ 77 ??
DEBUG com.jcraft.weirdx.Client - XWeb: Request sub 77: Fill Rectangle
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Change GC
DEBUG com.jcraft.weirdx.Client - XWeb: Request: ¿¿ 77 ??
DEBUG com.jcraft.weirdx.Client - XWeb: Request sub 77: Fill Poly Arc
DEBUG com.jcraft.weirdx.Client - XWeb: Request: ¿¿ 77 ??
DEBUG com.jcraft.weirdx.Client - XWeb: Request sub 77: Fill Poly Arc
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Free Pixmap
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Map Sub Windows
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Map Window
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Intern Atom
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Change Property
DEBUG com.jcraft.weirdx.Client - XWeb: Request: ¿¿ 77 ??
DEBUG com.jcraft.weirdx.Client - XWeb: Request sub 77: Fill Poly Arc
DEBUG com.jcraft.weirdx.Client - XWeb: Request: ¿¿ 77 ??
DEBUG com.jcraft.weirdx.Client - XWeb: Request sub 77: Fill Poly Arc
DEBUG com.jcraft.weirdx.Client - XWeb: Request: ¿¿ 77 ??
DEBUG com.jcraft.weirdx.Client - XWeb: Request sub 77: Fill Poly Arc
DEBUG com.jcraft.weirdx.Client - XWeb: Request: ¿¿ 77 ??
DEBUG com.jcraft.weirdx.Client - XWeb: Request sub 77: Fill Poly Arc
DEBUG com.jcraft.weirdx.Client - XWeb: Request: ¿¿ 77 ??
DEBUG com.jcraft.weirdx.Client - XWeb: Request sub 77: Fill Poly Arc
DEBUG com.jcraft.weirdx.Client - XWeb: Request: ¿¿ 77 ??
DEBUG com.jcraft.weirdx.Client - XWeb: Request sub 77: Fill Poly Arc
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Query Pointer
DEBUG com.jcraft.weirdx.Client - XWeb: Request: ¿¿ 77 ??
DEBUG com.jcraft.weirdx.Client - XWeb: Request sub 77: Fill Poly Arc
DEBUG com.jcraft.weirdx.Client - XWeb: Request: ¿¿ 77 ??
DEBUG com.jcraft.weirdx.Client - XWeb: Request sub 77: Fill Poly Arc
DEBUG com.jcraft.weirdx.Client - XWeb: Request: ¿¿ 77 ??
DEBUG com.jcraft.weirdx.Client - XWeb: Request sub 77: Fill Poly Arc
DEBUG com.jcraft.weirdx.Client - XWeb: Request: ¿¿ 77 ??
DEBUG com.jcraft.weirdx.Client - XWeb: Request sub 77: Fill Poly Arc
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Query Pointer
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Query Pointer
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Query Pointer
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Query Pointer
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Query Pointer
DEBUG com.jcraft.weirdx.Client - XWeb: Request: Query Pointer
...

I have to improve my logs yet but for now it's enought ;)

Enjoy ;)

miércoles, 1 de octubre de 2008

Preparing the ingredients

Hi ;)

I have studied the X protocol and I found a X server project in Java. Java isn't the best way to build the server because is slower than a C++ Application, for example, but it's easy for me so that I know this program language and I can implement an application very fast with it.

I will use the project WiredX or here and I will modified it so that the output is a HTML/Javascript files instead of a Swing window.

I will use too the project ExtJs to make the HTML/Javascript files. I'm not much more complicated life ;), I will have time to optimize it.

For now I have achieved to see a minimal X applications such as xeyes and xcalc and only to represent windows.







Enjoy ;)