web counter logdy.com -->

Blog sobre este navegador homebrew para Nintendo DS

20.8.07

Preguntas y respuestas (IV)

(Tenía esta entrada medio escrita, pero no la he podido terminar hasta ahora porque he dedicado algo de tiempo a mi vida social y a otras aficiones -no tecnológicas, por cierto-.)

¿Para qué sirve cada botón?

El primero (kiwi) es para introducir la dirección que se quiere visitar.
El quinto (espiral) es para recargar la página que se está mostrando.
El sexto (casa redonda) es para ir a la página de inicio (no configurable por ahora).
El octavo (punto de mira) es para seleccionar el factor de zoom.
Los demás aún no funcionan.

De todas formas, redactaré una pequeña guía de uso, que se incluirá en versiones futuras.

Me sale una pantalla roja al iniciarlo. ¿Qué sucede?

La pantalla roja aparece ante problemas de inicialización de la biblioteca de FAT (acceso a ficheros) o del módulo de texto -que tiene que cargar los ficheros de fuentes- porque no los encuentra.

A este respecto agradezco la ayuda que os brindáis unos usuarios a otros, ya que me permite dedicar más tiempo a programar.

¿Por qué tarda más en ejecutarse la primera vez?

Porque está prerenderizando las fuentes. Crea los .okf y .okm a partir de las fuentes TrueType. Es un proceso que no debería tardar más que unos pocos minutos. Si no termina, tal vez haya problemas de acceso a ficheros.

¿En qué estás trabajando ahora?

Estos días he seguido mejorando el módulo de CSS. Además de corregir un bug en el análisis sintáctico, he implementado el cálculo de la especificidad de los selectores, he mejorado el mecanismo de herencia de estilos y he incluido el procesamiento del atributo style.

¿Con qué vas a seguir?

- Interpretación de los atributos de presentación de HTML, para que no sólo se vean bien las páginas estilizadas con CSS.
- Tablas.
- Formularios y cookies.

No tengo un punto de acceso wifi al que conectarme. ¿Puedo usar Okiwi para leer páginas guardadas en la tarjeta?

Debería poderse. Pero hay un problema, y es que puse como página de inicio una de Internet -este blog-, por lo que trata de conectarse a un punto de acceso. En la siguiente versión cambiaré esto para que no tengáis problemas.

Digo que debería poderse porque, al no encontrar el punto de acceso, debería mostrar un mensaje de error y permitir utilizarlo, pero, por los problemas que algunos comentáis, esta situación no está bien controlada todavía.

¿Por qué "anuncias" las cosas antes de hacerlas?

La filosofía de los blogs permite a los autores expresar opiniones, reflexionar, comentar pensamientos, hablar de sus planes futuros, etc. Si se aplica todo esto a un blog de desarrollo de una aplicación, la cuestión queda aclarada.

Decidí emprender un blog para acercar el proceso a aquellos interesados en temas de programación, y porque me gusta hablar sobre ello. Aquellos que no tengan interés en ello, pueden limitarse a leer las entradas dedicadas a nuevas características y versiones terminadas.

English version:


Questions and answers (IV)

(This post was half-written, but I haven't been able to finish it until now because I have devoted some time to my social life and to other hobbies -no technologic, by the way-.)

What is each button used for?

The first (kiwi) allows to enter the address to be visited.
The fifth (spiral) reloads the current page.
The sixth (round house) directs the browser to the home page (not configurable by now).
The eighth (crosshair) allows to choose the zoom level.
The rest aren't functional yet.

Anyway, I'll write a little user guide, which will be included in future versions.

I get a red screen on the startup. What happens?

The red screen shows up on problems in the initialization of the FAT library (file access) or the text module -which has to load the font files- because it doesn't find them.

To this respect I thank you for the help you provide each other, as it allows me to devote more time to programming.

Why does it take longer to start up the first time?

Because it's prerendering the fonts. It creates the .okf and .okm from the TrueType fonts. It's a process that shouldn't take more than a few minutes. If it doesn't finish, perhaps there are file access problems.

What are you working on now?

These days I've been enhancing the CSS module. As well as fixing a bug in the parsing, I've implemented the computation of selector specificity, I've improved the style inheritance mechanism and I've added the style attribute processing.

What next?

- HTML presentational attributes interpreting, so not only webs driven by CSS are displayed well.
- Tables.
- Forms and cookies.

I have not a wifi hotspot to connect to. May I use Okiwi to read pages saved in the memory card?

You should be able. But there's a problem, and it's that I set an Internet page -this blog- as the home page, because of which it tries to associate with a hotspot. In the next release I'll change this so you have no problems any more.

I say it should be possible because, when it doesn't find the hotspot, it should display an error message and allow the user to use it, but it seems that this situation is not handled well.

Why do you "advertise" the features before making them?

The philosophy of blogs allows authors to express opninions, make considerations, talk about thoughts and future plans, etc. If all this is applied to an application development blog, the issue gets clear.

I decided to start a blog to bring the process near those interested in programming topics, and because I like to talk about it. Those not interested in that, may read only the posts related to finished new features and releases.

6.8.07

La nueva alfa ya está aquí

Por fin, después de unos días en los que me he hecho uno con el ordenador, publico la segunda alfa de Okiwi (versión 0.2).

Okiwi en www.devkitpro.org

Permite la lectura de ficheros desde la tarjeta (escribiendo direcciones del tipo file:///ruta, como, p.ej., file:///prueba.html) o Internet (http://...). Algunas páginas se ven bastante bien (sobre todo los blogs, como es éste, que está preconfigurado como página de inicio), mientras que otras no funcionan en absoluto, con lo que tendré que investigar poco a poco qué le falta a Okiwi por saber.

Por ahora es capaz de interpretar bastantes de las propiedades de CSS 2.1, como márgenes, rellenos, flotación, colores, etc., aunque aún faltan unas cuantas. Otras cosas que faltan por hacer son: tablas, formularios, cookies e imágenes, así como corregir algunos otros fallos y carencias de los que soy consciente.

Para desplazarse por una página, el arrastre con el stylus sigue siendo la única opción. Se han añadido niveles de zoom del 75% y 150%, de los que carecía la versión anterior. Para seguir un enlace basta con "pinchar" sobre él, aunque no siempre funciona, y debo depurarlo.

La buena noticia es que, a partir de ahora, las versiones se van a suceder mucho más rápidamente. Publicaré una cada vez que implemente una de las características que ahora faltan o corrija bugs importantes.

Esta versión se instala igual que la anterior, así que recomiendo leer las instrucciones que publiqué en su momento. Si alguien tiene aún en su tarjeta la versión vieja, es recomendable que la borre completamente antes de instalar ésta.

Bueno, espero que os guste y que sigáis ahí.

Descarga:
Okiwi 0.2-Alpha
Recordad parchearlo con DLDI. Por defecto está parcheado para la SuperCard Lite.

Enlace alternativo de descarga:
Okiwi 0.2-Alpha

English version:


The new alpha is here

At last, after several days in which I have been one with my computer, I'm releasing the second alpha of Okiwi (version 0.2).

Okiwi at www.devkitpro.org

It allows to read files from the card (by entering addresses like file:///path, like, for example, file:///test.html) or Internet (http://...). Some pages are displayed fairly well (specially blogs, like this, which is preconfigured as the home page), while others don't work at all, so I'll have to investigate little by little what Okiwi fails to know.

By now it's able to interpret numerous CSS 2.1 properties, like margins, paddings, floating, colors, etc., altough there are several missing. Some other things not done yet are: tables, forms, cookies and images. There are also some other bugs and lacks I'm aware of.

To scroll a page, dragging with the stylus is still the only way. 75% and 150% zoom levels, which were missing in the first version, have been added. To follow a link, it's enough to "click" on it, altough it doesn't work always, and I must debug it.

The good news is that, from now on, new versions will be released with a much higher frequency. I'll release one each time I implement one of the lacking features or fix important bugs.

The installation procedure of this release is the same as the last, so I encourage the reading of the instructions I published that time. If someone has still the old version in his card, it's recommended to erase it completely before installing this one.

Well, I hope you like it and keep on there.

Download:
Okiwi 0.2-Alpha
Remember to patch with DLDI. By default it's patched for SuperCard Lite.

Alternative download link:
Okiwi 0.2-Alpha