Kylie

Software Screenshot:
Kylie
Software Details:
Version: 0.0.7
Upload Date: 3 Jun 15
Developer: Ulric Eriksson
Distribution Type: Freeware
Downloads: 11

Rating: nan/5 (Total Votes: 0)

Kylie is a web browser. It does text, images, tables and soon forms. It doesn't know css, frames or scripting. And it's neither fast nor cute. That's why it is version 0.0.x.

Parsing

The HTML parser in MwHtmlParser.c creates a linked list of all the
nodes: wordparts, whitespace and special tags.

Newline immediately before end tag is ignored. Newline immediately after
start tag is ignored.

Composite objects (currently limited to TABLE, ROW and CELL, but
frames belong there too) branch the list so it actually becomes a tree.

Displaying

When the widget gets the list back, it lays out the boxes by assigning
width and height and placing them in a line from left to right. If
there is too little space left for another box, start over on a new
line.

In a second pass the objects are drawn which are located in the
currently visible part of the window.

Two callbacks in the widget, begin_a and
end_a, handle and tags. The coordinates are put in the
a_href or a_name tables depending on their HREF or NAME values.

Composite objects are displayed by recursively drawing the list
of children.

Navigation

There are two linked lists for backwards and forwards navigation.
Each time we visit a link, the current url is added to the backwards
lists and the forwards list is cleared, *except* when we visit the
link by clicking the back button. In that case the current url is
added to the forwards list instead.

Type 1 fonts

If Mowitz was compiled with t1lib support, Kylie can take advantage
of it out of the box. The standard fonts.txt file is used for font
management. Antialias is not supported.

IO

The IO is split into different modules with narrow interfaces. The
modules are:

io.c: Register protocol drivers, normalize urls, cache documents.
External linkage: load_url.

http.c: Fetch documents over http. The only symbol with external
linkage is load_http, which should *only* be called from io.c.

file.c: Fetch local file or predefined "documents".
External linkage: load_file and load_about.

FTP is currently not implemented.

None of this belongs in the widget code. The widget should only
have the bare minimum required to render stuff in a window.
The widget will probably eventually move over to Mowitz.
It should suffice to have url resource that is a string to give
to a loader function.
This function can also be set through a resource and defaults to
a function which loads the file from the local file system using
the url as filename.
Everything else belongs in the application.

Images

The file image.c contains a small, stack-oriented library of functions
which can perform a variety of operations on images. The only thing
we're using it for at the moment is to load images, usually with
the help of external applications such as the netpbm kit.

An advantage to this approach is that we can display many types of
images. In the future we will also be able to manipulate images in
more ways than we are using now.

The disadvantage is that it is relatively slow. This is mainly due
to the fact that we have to convert between the library's internal
format, image, and the format X understands, XImage. It should be
possible to help the situation somewhat by caching the XImage; the
current cache implementation only caches the image.

What's New in This Release:

Screenshots

kylie_1_144708.png

Other Software of Developer Ulric Eriksson

Parsecgi
Parsecgi

2 Jun 15

Siag Office
Siag Office

3 Jun 15

Shohei Mail
Shohei Mail

3 Jun 15

Comments to Kylie

Comments not found
Add Comment
Turn on images!