Slashdot Mirror


Nokia Engineers on KHTML

Rich writes "KDE could soon be making its way into your mobile phone. At aKademy in August David Carson and Deepika Chauhan from Nokia presented the work they've done in integrating KDE components into the latest version of the company's mobile phone software. Philip Rodrigues discusses this work with them on dot.kde.org."

12 of 98 comments (clear)

  1. Re:KHTML? by biehl · · Score: 5, Informative

    Yes, WebCore is Apples fork of KHTML. Read here for an explanation on how the collaboration between the projects works.

  2. Re:Cool... BUT (there's always a BUT) by TheRaven64 · · Score: 5, Informative
    WebCore is not dependent on X. It uses a small Qt-like backend. On OS X, this translates drawing calls into Quatrz (PDF-like) drawing commands. On X11, they can be translated into X11 drawing calls. On a Series 60 phone they will be translated into the native GUI's API.

    WebCore is LGPL. They have to make their changes available to people who buy their 'phones (they also have to allow their customers to use a different version of WebCore, which could be interesting). They do not have to contribute their changes directly back to Apple, but they probably will since it is usually much easier to contribute patches than maintain a fork (note that this didn't apply to Apple when they forked KHTML, since they were throwing more developer time at the codebase than KHTML had in total, so it was easier to fork).

    --
    I am TheRaven on Soylent News
  3. Re:Cool... BUT (there's always a BUT) by molnarcs · · Score: 2, Informative
    1. Is this an appropriate GUI system to be using in such memory-deficient devices? I believe we we find out soon...

    Yes. If you think specifically of KDE/QT - check out what runs on zaurus, ipaq, and whatnot, but you have to remember that this is Qtopia, not the same thing you have as a kde desktop, although resourcewise, KDE is becoming lighter and lighter...

    Also, they speak about a rendering engine, not a GUI/OS solution (and afaik Nokia did a browser using khtml but with GTK UI).

  4. Re:KHTML? by EntropyEngine · · Score: 2, Informative

    As I understand it -- and have read elsewhere -- Nokia became interested through Apple's interest in kHTML.

    After all, Apple have had some success with Quicktime on mobile devices and Nokia like that kind of stuff.

    There's been all kinds of talk of Apple and Nokia gettin' all cozy on some smart phone stuff, but nothing has been confirmed, yet...

  5. Re:Cool... BUT (there's always a BUT) by RossyB · · Score: 4, Informative
    2. What bothers me about an X system is that it is targetted at client-server, and the resultant code bloat may prove hazardous to an embedded implementation. I do however that an open-source-based solution should be used (why re-invent the wheel).

    Sigh, this again. In X when the client and the server are on the same machine, communication is by local Unix sockets, which are the fastest form of IPC on Linux. Keith Packard wrote a new X server (kdrive) to demonstrate that X doesn't have to be slow, and he was right: the "overhead" of the client/server communication is nothing compared to the time it takes smaller systems to draw.

  6. Re:Small RAM footprint by Jessta · · Score: 4, Informative

    it's not KDE. It's KHTML.
    KHTML has a far lower footprint than something like GECKO(mozilla firefox).

    --
    ...and that is all I have to say about that.
    http://jessta.id.au
  7. Re:Cool... BUT (there's always a BUT) by Bogtha · · Score: 3, Informative

    Is this an appropriate GUI system to be using in such memory-deficient devices?

    RTFA:

    We started investigating the available open-source solutions and decided to go with a KDE-based solution for primarily 3 reasons:

    1. Series 60 devices are constrained by ROM/RAM. WebCore/KHTML and JavaScriptCore/KJS provide rendering engines that use very small RAM/ROM footprint. That was really a clincher for us.

    --
    Bogtha Bogtha Bogtha
  8. Re: KHTML by g2devi · · Score: 5, Informative

    There are two ports, one from Apple and one based off the work from Apple by Nokia. Here's the link I think you're referring to:
                http://gtk-webcore.sourceforge.net/

    From the page: "Gtk+ WebCore is a Linux/Gtk+ port of Apple Computer Inc.'s WebCore KHTML html rendering engine including a web component. A reference browser implementation is included in the project. Gtk+ WebCore is a standards compliant (X)HTML rendering engine, javascript interpreter and an embeddable web component. The purpose of the web component is to be a light-weight, easy-to-compile and embed, open source rendering component.

    The project work is done at Nokia Research Center (NRC) as part of ongoing internet browser-related research activities. By releasing the source we hope to support in open source communities interested in using KHTML rendering engine component."

  9. Re:KHTML? by fdobbie · · Score: 5, Informative

    Since that was written, the world has moved on. Apple launched the WebKit open-source project as part of OpenDarwin. This means that WebKit bugs are now being tracked in bugzilla (in addition to Apple's internal bug tracking system), and WebKit, WebCore and JavaScriptCore have moved to a publicly accessible CVS server.

  10. Re:Another feature to run down the battery... by Chicane-UK · · Score: 2, Informative

    What the hell phone do you have that goes flat after 1 day?!

    I run a Microsoft / Orange SPV C500 and its loaded with features.. MSN Messenger, Internet Explorer, Media Player, etc - I use it heavily for SMS texting (250/month roughly) and make about 2 or 3 calls a week on average and it usually lasts me about 5 days between charging. Its small too!

    --
    "Hey! Unless this is a nude love-in, get the hell off my property!!"
  11. Re:Cool... BUT (there's always a BUT) by Anonymous Coward · · Score: 1, Informative

    Sigh, this again. In X when the client and the server are on the same machine, communication is by local Unix sockets, which are the fastest form of IPC on Linux. 1. Why do you need IPC? Because the X drwaing code is in a diferent process. This is not the case in many embedded platforms, where the drawing code is in the OS kernel or the application itself. In such situations, the overhead of local Unix sockets is rather significat (and most of the time unacceptable). 2. Because you have to deal with the case where the client and the server are not in the same machine with the same code, code for X that uses bitmaps tends to store both "local" and "server" copys of images, thus doubling memory usage.

  12. Re:Cool... BUT (there's always a BUT) by rdieter · · Score: 4, Informative

    WebCore is LGPL. They have to make their changes available to people who buy their 'phones


    True.


    (they also have to allow their customers to use a different version of WebCore, which could be interesting).


    That's an interesting but (IMO) false interpretation of the LGPL.