Slashdot Mirror


Mozilla as GTK Widget

AT writes "The new Mozilla Gecko display engine has been embedded into a GTK widget. This means that you can embed webpages into your application, just like you might with an ActiveX control under Windows. " Can I embed mozilla in mozilla yet?

95 comments

  1. Re:What's a GTK Widget? by Anonymous Coward · · Score: 0

    gtk+ is the library on which several applications (GIMP, Gnome stuff etc) are based. This announcement applies to any window manager / OS that can run gtk+ stuff, and the Mozilla code. There's no reason why it shouldn't run even on Micros~1 Windows, for example.

    ac.

  2. KDE already has KHtml by Anonymous Coward · · Score: 0

    This is the widget used for KFM, etc.. it can be embedded into any application. A good example of this is kdehelp, which also uses the KHtml widget

  3. And Konq is a Corba part by Anonymous Coward · · Score: 0

    And also, the browser view of Konq is a Corba KOM/OP part in the CVS.

  4. Re:Mozilla is Extremely Slow by Anonymous Coward · · Score: 0

    Check out the discussions on news.mozilla.org. Basically most of these problems are Linux only, and related to the integration between Mozilla and GTK. It is known, reasonably well understood, and being worked on.

  5. Re:What about CORBA? by Anonymous Coward · · Score: 0

    Bonobo can do this.

  6. Too much like windows. by Anonymous Coward · · Score: 0

    Gee, wouldn't that make Gnome even MORE like Windows? Ah, but that's okay because Miguel sez so, I guess.

    1. Re:Too much like windows. by Anonymous Coward · · Score: 0

      Oh, give me a break. The knee-jerk reflex against anything that smacks of Windows can get quite irritating here. Yes, Windows is poorly designed and bloated, but it contains many good ideas (almost all of which were stolen and only exist to give other M$ products more muscle, but never mind that for now). Object embedding, code reuse and integration of apps, when done correctly, are all great ideas. Yes, GNOME is becoming more like Windows - without the serious bugs, bloat, and excessive idiot-proofing.

    2. Re:Too much like windows. by Anonymous Coward · · Score: 0

      GNOME is "without serious bugs and bloat"? Perhaps you meant Blackbox?
      And you can NEVER have too much idiot-proofing.

    3. Re:Too much like windows. by Anonymous Coward · · Score: 0

      /*The simple fact is that it is natural evolution. If SGI hadn't done it first, Microsoft would have. If Microsoft hadn't, perhaps GNOME would have. No
      matter who did it "first", the point is, someone would have done it, and it's a benefit to mankind, regardless of its inventor. */

      Microsoft wouldn't... Microsoft don't come up with new ideas, they just steal others ideas and make a lousy implementation of them.

    4. Re:Too much like windows. by Acronym · · Score: 1

      Well, I'm running Gnome on a M2-166 with 40MB of RAM, and it doesn't seem desperately slow to me.

      I would guess that the WM you use with it will make a very great difference - something like FVWM or similar is much faster than E, purely because it is more mature and has a slimmer featureset. Yes, Gnome is bigger than other "user environments", although X itself is less than a model of efficiency, so to speak, but;

      a) If you want slimness and speed above all else, use wm2. Features will slow your computer down, in the same way running lots of apps at the same time will - there is only so much RAM, and there are only so many clock cycles to go round.

      It's a tradeoff - networking built-into the windowing system, as in X, could be regarded as bloat. I regard it as an invaluable feature.

      Furthermore;

      b) Use whatever suits your needs best. Me, I like the integrated desktop, as I use my Linux box primarily as a personal workstation. It may not be suited to your needs.

      As for bugginess, Netscrape wins that award hands down. Crashes are not exactly rare for Netscape, let us remember (and I would be amazed if you do not use it) and Gnome does not crash nearly as much as Windows does. Given it is not designed for use on servers and other such mission-critical boxes, I'd say it's at least tolerably stable, and will get better.

      As for idiot-proofing, I will agree that it is desirable, but Linux tends to act as a moron-filter at present - you still need a certain degree of technical ability in order to use it. Thus it is more important, I suspect, for the developers to concentrate on the feature set whilst it is a higl techy audience using it - the handholding can come later.

    5. Re:Too much like windows. by Xar · · Score: 2

      Comments like this really get me going. I am no Microsoft fan, but I am intelligent enough to recognize that, yes, Microsoft has done *some* nice things with Windows. Having a browser at your beck and call whenever you need one is a *feature*, not a hindrance.

      People also seem to forget that SGI had a web-enabled desktop in IRIX before Microsoft was able to embed IE in Explorer. Perhaps it was Microsoft making Windows more like IRIX.

      The simple fact is that it is natural evolution. If SGI hadn't done it first, Microsoft would have. If Microsoft hadn't, perhaps GNOME would have. No matter who did it "first", the point is, someone would have done it, and it's a benefit to mankind, regardless of its inventor.

      There are *no* disadvantages to having a web browser embedded in your desktop (at least, not in GNOME--having Explorer crash when you view a Java page is not a Good Thing, but that's Microsoft's fault.) If you don't want to use it, don't navigate to an HTTP address. There, now you don't even know it's there. "Bloat" you say? Get more RAM. The 80s are gone, and so is the 640k limit. A 128M PC100 DIMM is currently ~$80 on PriceWatch, so there's no excuse for not having enough RAM to support the needs of modern software.

      Saying adding a browser to GNOME is making is MORE like Windows is like saying that adding wheels to a wheelbarrow is making it MORE like a car, in some derrogatory sense. Bullsh*t. It rolls, now, and helps you get your work done faster. You can carry your boulders all day, for all I care, but I want to wheel mine, thank you. I have better things to do with the time I save.

  7. The NPL by Anonymous Coward · · Score: 0

    The NPL is incompatible with the GPL, it would seem. It seems to be close to a BSD-style license. At least it's still a pretty liberal license. The only major difference that I can see is that you are required to include the little "Mozilla Inside"-type notice in the source code. Am I wrong here?

  8. Re:Moderating these kinds of posts by Anonymous Coward · · Score: 0

    This would include most slashdot posts. That is, if the moderators weren't complete morons themselves.

    Anonymous Spanker

  9. Re:Why the moderation? by Anonymous Coward · · Score: 0

    For that matter, why was the original post moderated as "informative"? I believe that slashdot is moderated by a crack team of elite drunken mongoloids to sew discontent among the GNU/slashdot community.

    Rob, how could you have sold us out to Redmond. Don't you ralize how important the efforts of these geeks are to improve the world. Besides, the slashdot forums are vital to our nation's security. What is the commies infiltrate?

    Anonymous Spanker

  10. Re:Moderating these kinds of posts by Anonymous Coward · · Score: 0

    I'm a linux user, but I don't want to be dragged down to the level of a slashdot poster.

    Too late, you already posted.

  11. Re:no bloat at all by Anonymous Coward · · Score: 0

    The way I see it, there are people who call anything X11 based bloat.
    They would love to have you learn all 10000000000 features of an
    office program from a 2Gb man page. They do not understand why you
    need screenshots to figure out which button to push of which menu to
    use. They think anything that makes your life easier and faster, while
    cutting your learning curve into oblivion is bloat and excessive.
    Then again, they do not understand why you need an office program
    in the first place. To them, vi and TeX (talk about a learning curve) do the job.
    While such trolls are more annoying than Jar Jar, they are fighting a losing
    battle and I have a feeling they know it, which is why they scream louder and
    louder. They are a dying breed, so ignore them.

  12. Licenses by Anonymous Coward · · Score: 0

    GTK+ is distributed under a LGPL license. That is why commercial software can be built on top of it.
    If GTK+ had a GPL license, then commercial software (or NPL for that effect) could not touch it.

    Unfortunately QT has a license that restricts its utilisation for commercial use (enterprises have to pay TT) and only separated patchs are allowed by TT as source code modifications.

    GNOME and KDE have both a GPL license, so they are protected from commercial greed. This is fine because GNOME and KDE are final products, not constructing libraries as GTK+, QT, Motif, etc...

    1. Re:Licenses by gavinhall · · Score: 1

      Posted by Moritz Moeller - Herrmann:

      > Unfortunately QT has a license that restricts its
      > utilisation for commercial use (enterprises have
      > to pay TT) and only separated patchs are allowed by TT as source code modifications.

      NOOOOOOOO!

      QT impairs closed sourced applications. commercial closed source ones have to pay for developers licenses.

      GPL forbids closed sourced applications.
      LGPL imposes no limits on closed sourced applications.

  13. Re:Mozilla in mozilla by Anonymous Coward · · Score: 0

    ActiveX support for Mozilla is provided by a single module npmozctl.dll. Not only does this allow Mozilla to be an ActiveX control, it also allows ActiveX controls to be embedded in HTML.

    This means in theory you could have a Mozilla control inside an IE control inside a Mozilla control.

    I believe the npmozctl.dll can also be compiled in a special mode that lets it be used as a plugin with Communicator 4.x so you can even embed Mozilla and IE5 in 4.x!

  14. Re:GPL ActiveX by Anonymous Coward · · Score: 0

    Although it hasn't been addressed too closely yet, it's likely the ActiveX control will have LGPL-like rules. This means you will be able to embed it inside your app without making your app NPL too. However if you make changes to the control, you probably have to submit them back to Mozilla for inclusion.

  15. Re:bloating by Anonymous Coward · · Score: 0

    Now think of someone trying to write an online-training package, an encylopedia app or anything else requiring formatted output and tell me how such a control isn't useful?

  16. Re:no bloat at all by Anonymous Coward · · Score: 0

    Why is linux used? The open source philosophy partly, another vast part is the fact linux will run on an "obsolete" system and prove that bigger does not necessarily mean better. By Linux moving to be so X11 oriented I think it is loosing some of its ideals, a 486 with X, enlightenment, and netscape? Sure... that would run. Many people use linux for its stability and efficiency, X11 is not all evil, but it does spit in the face of that ideal.

    If you do not want a learning curve, simple use Microsoft products. Linux is not the OS to not want to learn anything with, or at least it never has been before.

    Maybe I am a dying breed. Maybe few people remain that enjoy learning and find satisfaction in it. Maybe the point of Linux is changing from a dork oriented OS to simply free point and click GUI.... I hope not.

  17. Re:no bloat at all by Anonymous Coward · · Score: 0
    Silly me, thinking the point of free software in general was "free as in freedom, not price".

    Show me anything in the statement "free as in freedom, not price" that says free software should be inaccessible and user-hostile. In fact, I think exactly the opposite is true. If the only way to do your job quickly and easily is to chain yourself up with proprietary, closed-source software, then people will not only chain themselves up but pay for the privilege.

    If Linux is about freedom at all, then "simply free point and click GUI" is not just an admirable goal, but a desirable one.

  18. Re:What's so groundbreaking about this? by Anonymous Coward · · Score: 0

    If you need a modern, compliant browser with support for Javascript, CSS1, (some) CSS2, DOM, RDF, PICS and XML then Mozilla is your only choice.

    The Gnome and KDE HTML widgets might be good enough for online help and simple browsing but they don't hold a candle against Mozilla.

    It's open source (more close to GPL than KDE is), cross-platform, fast, compliant and free. Add to this the fact that it runs as a widget and you can write some truely awesome applications. The Mozilla widget means for Linux (and other Unices) the same things as the Mozilla ActiveX control does on Win32 - scores of developers will harness the power of Mozilla to make some very cool apps.

    In short, it is a killer app (and an IE-killer) so don't knock it!

  19. Well, the first two are false... by Anonymous Coward · · Score: 0

    And mousewheel support is in KDE2.0

    mosfet@jorsm.com

  20. Re:Why the moderation? by Anonymous Coward · · Score: 0

    My guess is that it got moderated down because someone wanted to "punish" the original poster, but didn't want to flame them (because then they're farther away from moderator status next time.)

    It's just moderator abuse.

    ROB: PLEASE change the moderating so that moderators can only demote once... it really would go a long way towards stopping this abuse.

    (now THIS post is off-topic.)

  21. Re:bloating by Anonymous Coward · · Score: 1
    Why is this necessary? Well, off the top of my head:

    - Someone decided that this was an itch they wanted to scratch, so they wrote it.

    - Lots of applications need to display text in a window. Why shouldn't these applications also be able to handle HTML in a window? For that matter, why should they only display HTML when they can also win XML for relatively zero cost?

    - For a help file, HTML is a lot more accessible than anything else out there. Linux needs documentation, and the surest way to not get it is to smack potential doc writers in the face and say "We're sorry, but unless you learn nroff your help is not welcome."

    - And most importantly, useful feature parity with Windows. People are already using Windows HTML tool to author help files, and are using Internet Explorer for XML applications (though not on the accessible Web). It'd be a horrible shame if free software shrugged its collective shoulders and said unto the people who want to use Linux instead, "We're sorry, but your application is bloat to us. Continue making Microsoft rich."

  22. Great Idea by Anonymous Coward · · Score: 1

    I'm glad someone actually did this. I had the same idea a bit ago. Another idea I had was to embed a file manager into Mozilla for any platform. Then maybe we can "integrate" it into gnome. How about it?

    1. Re:Great Idea by Malc · · Score: 1

      Sounds like Internet Exploder with the desktop enhancement, or the KDE disk navigator

  23. What's a GTK Widget? by Anonymous Coward · · Score: 2

    Help me and my fellow clue depriveds. Is this specific to a window manager? What operating systems? help!

    1. Re:What's a GTK Widget? by AT · · Score: 3

      Widget: generic user interface component. e.g. button, text field, menu, etc. Windows calls them controls. The term originates with the original Xt toolkit, and Motif which is layered on top of Xt.

      GTK: aka GTK+. The {Generic|GNU|GIMP} toolkit. A specific GUI toolkit that sits on top of X11. An alternative to Motif and Qt. Unlike Motif, it is not layered on Xt. Started as part of the GIMP project when Motif was dropped because of functionality/availability/licence concerns.

    2. Re:What's a GTK Widget? by Trojan · · Score: 1

      It is a GTK widget, so you need to have GTK. GTK is a widget set designed for Unix/X. So at least for the moment this particular thingy is tied to Unix (and only those Unices that have a working Mozilla port). Some people are porting GTK to Windows, so at some point it might be possible to use this widget in a win32 program. However, Mozilla has an implementation as Active X control (if that's the right way to phrase it), so embedding Mozilla in Windows applications should already be possible.

      And no, this is not specific to any window manager.

  24. What about CORBA? by Anonymous Coward · · Score: 2

    This is nice, but shouldn't this all be done in CORBA, or something similar (ie like how KOffice is doing it)? By using widgets you're pretty much limiting it to gtk apps. Using something along the lines of CORBA should allow just about ANY app to use it (whether it be GTK, KDE, etc).

  25. Mozilla is Extremely Slow by Aaron+M.+Renn · · Score: 2

    I downloaded the M5 release and tried it out. First I tried building from source, which succeeded, but they when I tried to run it I had an assertion failure in ld.so ("DYNAMIC LINKER BUG", etc) so that was out. I then downloaded the binary. Somebody had said M5 was way faster than previous versions. Well, not for me. I found it to be extremely slow. As in sit back and wait for the button bar to repaint sort of thing. What is being done for the speed? I ask because if they embed this thing inside something else with its own layer of slowness ontop the speed would be intolerable.

    1. Re:Mozilla is Extremely Slow by Tack · · Score: 1

      I'm a bit concerned about this, actually. Mozilla is unusable on my high-end PII. Even with lots of profiling and removing the debugging code, I'm not sure how much of an improvement they can make.

      But that's Mozilla. It's my understanding that the layout engine is very fast, and I assume the gtk+ component would just wrap the layout engine and not all of Mozilla.

      Jason.

    2. Re:Mozilla is Extremely Slow by SuperDee · · Score: 3

      The UI is certainly slow. But look at the rendering of pages--that is FAST. The reason for the UI slowness is because of some well-known bugs which the Mozilla team has been wrestling with for over 3 milestones now.

      Basically, the problem is that incremental reflow causes the entire window to get repainted, often times more than once. You can probably imagine that this would slow it down. They are working on this, but it isn't easy... It is particularly a problem under Linux, with GTK (Windows doesn't notice it as much, from what I've heard). They need more GTK experts to help them.

      So please, HELP MOZILLA!! And feel free to give it another try. Don't be scared. It's only a lizard. :-)

    3. Re:Mozilla is Extremely Slow by nmarshall · · Score: 1

      first Mozilla spits out debugging info so yea it is slow loading etc...
      but try some of the tests ie. Debug / ViewerDemos.
      now resize mozilla see how fast it is at rendering tables? also try some more tests.
      arent the css tests kewl? wouldnt it be nice to write webpages to spec. in that you would know they are rendered right.


      nmarshall
      #include "standard_disclaimer.h"
      R.U. SIRIUS: THE ONLY POSSIBLE RESPONSE

      --
      nmarshall

      The law is that which it boldly asserted and plausibly maintained..
      --Colonel Burr 1783
  26. Re:License by gavinhall · · Score: 1

    Posted by Moritz Moeller - Herrmann:

    Haha, listen to the ant-QT mafia finding excuses.
    Of course it is NOT legal to link GPL applications to NPL or QPL licenced libraries/widgets! At least if you believe the anti-KDE stories circulating.

    Of course nobody will care because it's open source after all and GPL isn't sacred.

  27. Excellent (if it's done right) by Jerky+McNaughty · · Score: 4

    As long as it's quick, I'd be a great way to display online help in an application. If it's done well, it'll be very popular.

    XEmacs can be a widget in an application, too, but I've never actually seen anyone use it for that, presumably because of incredibly extreme bloat. (It's great as an app, but as a widget!?)

    There are a couple of other really nice new gtk widgets: GtkSheet (a spreadsheet with inplace editing, widgets inside the sheet, etc.) and GtkPlot (a really nice plotting widget). You can see them right here

    .
    1. Re:Excellent (if it's done right) by scrytch · · Score: 1

      Xemacs was able to be an Xt widget at one point, but the ability has been broken for years. jwz occasionally kvetches about that, but few people want to deal with Xt who might be inclined to embed emacs.

      --
      I've finally had it: until slashdot gets article moderation, I am not coming back.
  28. Sod HTML... by jd · · Score: 1

    I want a TeX engine on my desktop! Ok, maybe merge in the hypertext stuff..

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  29. How would that work? by Malc · · Score: 1

    CORBA is a specification that allows objects to communicate seamlessly in a distributed system. It's seems to me that it would be overly complicated (and with performance issues) using CORBA within the presentation logic. How would it work? I guess that the UI component would be some sort of "local" CORBA service. Surely that would mean passing UI client areas around as CORBA::Any's so that the component could draw itself correctly in its container.

    Has anybody done this? Am I barking up the wrong tree? If so, how is it down, and what is the performance like?

  30. Re:Good idea but.... by Eric+E.+Coe · · Score: 0

    Except for those of us who have wives and post - but I can't complain.

    --
    An esoteric scratched itch:
    Homeworld Map Maker Tool
  31. This is cool, but... by Amphigory · · Score: 4

    The "right" way to do this would be to make the gecko widget into a bonobo/baboon control that could be embedded in Gnome apps. I would assume that something similar could be done in the KDE world.

    This widget approach is not really directly comparable (as I understand) to the IE CaptiveX control. There is not going to be the kind of insulation between mozilla changes and this widget that a true component environment would provide.

    However, this could be a straw man kind of problem -- I haven't read the source.

    Very cool regardless!

    --
    -- Slashdot sucks.
    1. Re:This is cool, but... by itp · · Score: 3

      Besides being the "right" way, this is also, coincidentally, exactly the way it is being done. Have no fear, little one. :)

      --
      Ian Peters

    2. Re:This is cool, but... by scrytch · · Score: 1

      kfm's really useless in some ways.

      1. It doesn't do POST. Not correctly anyhow.

      2. Doesn't do any auth at all.

      3. Dragging randomly alternates between hilighting text and dragging out rubberbands, with no apparent way to switch behaviors.

      4. Poor control over fonts. A case where integration is not what I want, I prefer larger fonts in my web browser than in my file manager.

      5. Doesn't use the mousewheel. I can make netscape use it (oddly, it seems to have lost the ability just now though).

      --
      I've finally had it: until slashdot gets article moderation, I am not coming back.
    3. Re:This is cool, but... by Belgarath · · Score: 2

      Actually, there's been some discussion on the Gnome mailing lists about doing just this. Apparently it wouldn't be that difficult, either, so in time we may have an embeddable Gecko component for Gnome.

    4. Re:This is cool, but... by Arandir · · Score: 1

      I don't know if KDE does it the same way as the gtk/mozilla thing, but there is a khtml widget in the KDE library. It's used in a similar way to the rich text widgets. A lot of KDE applications use it for displaying help. I don't believe that it's 100% HTML4.0 like gecko eventually will be, but it's close enough to HTML3.2 that it's suitable for real world surfing, and more than enough for help files.

      I also believe that this will be used as the basic for a KOM/OP component.

      --
      A Government Is a Body of People, Usually Notably Ungoverned
  32. Good idea but.... by tgd · · Score: 4

    Its a good idea. Too bad the current tree has been pretty well horked for the last day or two, and like a bonehead I forgot to check the tinderbox status before I pulled it.

    On another note though, for those who don't watch the mozilla status daily, M6 is probably going to hit the ftp site tommorrow they're saying...

    Its already been pulled into a new branch, and I think the general trouble (particularly with Linux builds) in the tree are on the main branch leading to M7.

    Hmmmm... maybe I'll pull the M6 branch and check this out. :)

  33. Re:Standardized Widgetry. by Dr.+Evil · · Score: 1

    Yeah, I guess you're right, every server needs a web browser to view a man page or helpfile. I'll throw out 'less' once Netscape 5 comes out.

    It's thin... for a webbrowser. But who needs five or ten megs of code soaking up another ten megs of ram just to view a helpfile? Even if it is only two megs of ram, it is still two completely wasted megs of ram.

    It's neat, but I hope it comes with an off switch.

  34. Standardized Widgetry. by Dr.+Evil · · Score: 2

    It would be nice to have the option of which bloated HTML/XML engine to use for displaying your help files.

    I opt for 'less'. I'll save a few megabytes of ram and just parse it all in my head.

    I love the idea regardless, I just fear that this may push the system requirements up for very simple applications... I guess it's the way of the future though.

    1. Re:Standardized Widgetry. by GypC · · Score: 1

      Gecko promises to be anything but bloated... where have you been?

    2. Re:Standardized Widgetry. by smileyy · · Score: 1

      If bloat is your concern, and text is your desire, doesn't it make as much sense to have a way to embed lynx as your HTML help file viewer?

      What's the footprint on Lynx anyway?

      --
      pooptruck
  35. Re:Absolutely Brilliant! by Ben+Hutchings · · Score: 1
    An embeded web browser IS a bad thing! Especially if you don't want to use it. Why would a 486 Linux fileserver (for example) need to have all that bloat. You could say don't start X, but that is beside the point. The web browser SHOULD be seperate and be able to be turned off if you don't want it.

    What are you talking about? For normal operation, Windows 9X/NT requires a shell to be running that implements a certain COM interface; MS supplies IE4 as the default shell and there are few alternatives. No such requirement exists for X; so I don't see why you think that we are suddenly going to be forced into loading web browsers we don't use.

  36. Re:Moderating these kinds of posts by luge · · Score: 0

    I agree. I always browse at -1, but being ridiculously offtopic (or even substantially tasteless) is one thing, while obscenity of this level probably deserves to get completely bumped. I like the thought of letting only moderators see them. Rob???

    --

    IAAL,BIANLY

  37. Re:TeX plugin from IBM by Vermeer · · Score: 1

    "pretty well"? It's darn great!

    --
    -- LaTeX, The Best There Is ;-)
  38. Re:Moderating these kinds of posts by mortonda · · Score: 0

    Maybe this category could cause a special rating of -2 ? This page looks obscene.

  39. possible applications by arielb · · Score: 1

    some have mentioned using this for html help files. That's nice. email and newsreaders with html? even nicer. But the full potential of gtkmozilla is using it in css authoring tools. A simple html 3.2 widget isn't enough. You need a browser component that's meant for the real world if you want to design for the web

    --
    ---
  40. screenshots by arielb · · Score: 1

    helpbrowser news://news.mozilla.org/374B247B.D508670D%40netsca pe.com?part=1.2 and simplebrowser news://news.mozilla.org/374B247B.D508670D%40netsca pe.com?part=1.3

    --
    ---
  41. Re:What's so groundbreaking about this? by arielb · · Score: 1

    this is gecko. Now this is one step closer for real-world web ability in linux apps such as web authoring tools (like homesite or hot dog), multimedia hypertext presentations using dynamic html, your own custom non-netscape browsers that renders websites the same way as Netscape, etc

    --
    ---
  42. GtkMozilla and GNOME by itp · · Score: 3

    GNOME will be using the GtkMozilla widget, embedded as a Bonobo object (work progresses as we speak). All will be well. And the licenses aren't a problem, with the way the widget is embedded rather than linked.

    --
    Ian Peters

  43. Interface Scminterface by Aglassis · · Score: 1

    Actually with Chrome, Mozilla can take any interface you want. All that you have to do is click on a hyperlink, wait ten seconds and your interface will be updated. Its a very easy way to add new buttons and such. You can add a button and a function in 15 minutes (the function with Mozilla modularity) for all platforms. Its been said that to add a single button to a single platform takes an engineer roughly an entire day. So, I suppose if you really want that 'go' button you can add it.

    --
    Suddenly, the hairy finger of a familiar monkey tapped me on the shoulder. It was time.--G. T.
  44. Absolutely Brilliant! by Aglassis · · Score: 1

    An embeded web browser IS a bad thing! Especially if you don't want to use it. Why would a 486 Linux fileserver (for example) need to have all that bloat. You could say don't start X, but that is beside the point. The web browser SHOULD be seperate and be able to be turned off if you don't want it.

    Lets just do some quick logical thought. You are saying that in certain implementations it is a GOOD thing to have a program sitting in memory that you don't need. Am I confused or are you just INSANE?

    It is utter bullshit to say that you should have to get more RAM for a embedded program that you don't need. Why is it that we should upgrade computers every other year to accomidate the software that does little more than add more bulk into memory. The last time I checked on one of my Win98 systems, that was idling, with only two processes running 'Explorer and Systray' it was still eating 60 megs of memory! Win95 would idle at 15 megs. Yes, Einstein, this is the browser that you have at your beck and call. And since IE 4.0 memory leaked like mad, this was another GOOD thing. How do you fix a program that is leaking like mad that is embedded into the OS and that you can't kill. The only answer is reboot. If this were Linux it would mean kill X.

    I agree with you on the point that it is a good thing if you want it. But there is no reason that you can't have it having embedded functionality yet still vulnerable to be killed.

    --
    Suddenly, the hairy finger of a familiar monkey tapped me on the shoulder. It was time.--G. T.
  45. What's so groundbreaking about this? by Alex+Zepeda · · Score: 1

    Maybe Rob's anti-KDE actions are becoming a bit more blunt, but I really don't see how this is news. KDE has had a HTML widget since pre 1.0 days (someone's even hacked up java support forit too). For that matter even Gnome has had a HTML widget somewhere, right? Hmm.

    --
    The revolution will be mocked
    1. Re:What's so groundbreaking about this? by Alex+Zepeda · · Score: 1

      Blow me. I'll knock whatever I fucking choose to knock.

      PICS support doesn't belong in an HTML widget, period. It's an HTTP (that can easily be abstracted to become HTTP independant) thing.

      KHTML already has some JS stubs (read: JavaScript is probably not far off), and some CSS support. Not modern? Try something OO and GUI written in C.

      Despite popular FUD, GPL is *not* opensource, it's strangulation of source. Incidentally, khtml is closer to the GPL than the NPL is. Thank you :)

      Uh yeah scores of developers can use Linux and Win32. Whoopie. Mozilla is currently a bitch to compile out of the box, and for that matter so is Gnome. I'd rather just stick with KDE which is thankfully quite easy to build out of the box on my FreeBSD box.

      --
      The revolution will be mocked
    2. Re:What's so groundbreaking about this? by Alex+Zepeda · · Score: 1

      Whoop de do. That's all that's important is that it's gecko? *yawn*. Get a life.

      --
      The revolution will be mocked
  46. Obviously... by Axe · · Score: 0

    ...some of the moderators are stupid "C" bigots, lazy (and stupid) to learn how to use modern languages. Flaimbate? The article discusses a GUI toolkit. Written in C. What is a silly idea IMO. What's so strange in this opinion?

    --
    <^>_<(ô ô)>_<^>
  47. Re:Moderating these kinds of posts by mattc · · Score: 0

    I agree. This comment is just as useful as most slashdot comments (ie, not at all)...at least this one are funny. Let us read them!

  48. Mozilla in mozilla by Rayban · · Score: 2

    Well, if Mozilla can act as a GTK+ container, I don't see any reason why you couldn't do that.

    The Gecko inside IE screenshots were really cool... I wouldn't mind browsing that way, if it means I get the best engine available.

    --
    æeee!
    1. Re:Mozilla in mozilla by extrasolar · · Score: 1
      Hmm. If Mozilla can act as a container... Anyone want to use the IE5 ActiveX control in Mozilla? It would be interesting to see if this would work. It would be a whole difference in competition between the two browsers. If Mozilla has more compliant renderer and IE has a better interface (complete with a go button)...

      Okay. Im just theorizing here.

      --

    2. Re:Mozilla in mozilla by Panoramix · · Score: 1

      I guess that allowing mozilla to embed GTK widgets, or (more probably) XPCOM components like mozilla itself, in a document, should be a feature really easy to add right now.

      But I also think they won't going to do it. It would be a non-standard extension, hence as evil as the ActiveX extension that Micros~1 tried to force down our throats (and succeeded in some places -you should see some intranet projects I've seen in some banks here in México).

  49. GtkMozilla also going into main tree by SuperDee · · Score: 3

    From what I've read in the public.netscape.mozilla.gtk newsgroup, it looks like GtkMozilla is also soon going to be put into the main tree, possibly under /mozilla/webshell/embed/gtk. The ActiveX wrapper is in /mozilla/webshell/embed/ActiveX.

    Offhand, I'd say that this GTK widget *will* allow embedding like the ActiveX control. After all, even if GTK itself changed in the future, what then? I should think all it would mean was some "tweaking" of the GtkMozilla code to work with the newer GTK. Likewise if the Mozilla code changed. Same goes for the ActiveX control, if Micro$oft one day decided (heaven forbid) to change the ActiveX standards slightly. In fact, I wonder if this isn't already coming--I understand they are working on COM+ as we speak.

    Incidently, I also know that the GNOME Project has been trying for some time to find a way of embedding browser-like functionality into things like the file manager and the help system... And so far, all they have really are things like the Express browser, which is not very far beyond the planning stage.

    My hope is that GtkMozilla will finally bridge this gap... I wonder, does anybody know if the NPL/MPL would allow this? I am assuming it would, if they are already going to allow people to embed the ActiveX control in their programs. But does anyone here more knowledgeable about licenses than me want to confirm this?

    1. Re:GtkMozilla also going into main tree by Trojan · · Score: 1

      I don't know too much about licenses...
      But an ActiveX control might be considered to be an independent program, so that no GPL restrictions apply. Just like I can use Unix pipes to make the output of a GPL'd program the input of another program with incompatible license. (On the other hand, I guess the GPL might apply if the resulting application can't run without the ActiveX Mozilla control. And that could be solved by implementing a rather trivial ActiveX plain text viewer and distributing it with the application.)

      Hmmm.. I should add I don't know anything about ActiveX :). And I think it's time to reread the GPL.

  50. Embedding Mozilla by Industrial+Disease · · Score: 4

    One of the most amusing things I've seen out of Mozilla was the screenshot of Gecko running as an ActiveX control in IE. Probably the only way IE is ever going to render Box Acid worth a damn.

    --
    Weblogging Considered Harmful:
  51. Re:Moderating these kinds of posts by blaine · · Score: 0

    I think what it comes down to is there needs to be a way to differentiate between the levels of "bad" in a post. I personally view at -1, because occasionally there is something amusing, and usually its not that bad. But there needs to be -2, -3, etc, so that we can distinguish between "offtopic but funny" and "lame, unnecessary, and just plain dumb". As it is now, the two get lumped into one category. If we could have people moderated even lower, then we could still see the -1's if we wanted, but the truly useless and/or vulgar and/or offensive posts would go to -2 and beyond. Those who feel like reading -2 and below can if they want.

    I guess I just don't like having 5 levels of "good", but only 1 level of "bad". Its not always that clear cut.

    --

    -[Blaine]- "'Oh dear,' says God, 'I hadn't thought of that,' and promptly vanishes in a puff of logic."
  52. Re:Moderating these kinds of posts by blaine · · Score: 1

    a score of -2 should only be visible to moderators. That way, if something was unfairly scored down that far, a moderator could fix it, but otherwise, the 99% of the time that it DESERVED a -2, nobody would ever see it again.


    --

    -[Blaine]- "'Oh dear,' says God, 'I hadn't thought of that,' and promptly vanishes in a puff of logic."
  53. Re:License by Arandir · · Score: 1

    If this widget is nothing more than a wrapper for gecko, meaning that you can replace gecko with something else, then it should be fine. It just can't be packaged together with gecko.

    If it's bound too tightly with gecko, then it will probably need to be released under the NPL.

    --
    A Government Is a Body of People, Usually Notably Ungoverned
  54. Re:no bloat at all by Gorgonzola · · Score: 1

    Well, in fact, my box at home is a 486DX2-66, with 32 MB RAM and I am running X, E & Netscape on it. Works for me, although I am considering one of the new lightweight WM's with Gnome support instead of E.

    --
    -- Spelling and grammar errors tend to be a sign of erroneous thinking.
  55. Moderating these kinds of posts by Megaweapon · · Score: 0

    Can we have a Complete Moron score category or something similar? Some posts are a bit off-topic, but this is outright stupidity.


    --
    I'm sure "SlashdotMedia" will improve on all the wonders that Dice Holdings blessed us all with
    1. Re:Moderating these kinds of posts by Megaweapon · · Score: 0

      Great! A score of -2 should also hide the subject line.

      --
      I'm sure "SlashdotMedia" will improve on all the wonders that Dice Holdings blessed us all with
    2. Re:Moderating these kinds of posts by Megaweapon · · Score: 0

      I wonder how many of these posts are from ultra right-wing facists who are trying to build excuses for government mandated internet censorship. On a more serious note, it's probably just some spazz looking for a cheap laugh.

      --
      I'm sure "SlashdotMedia" will improve on all the wonders that Dice Holdings blessed us all with
    3. Re:Moderating these kinds of posts by lubricated · · Score: 0

      I disagree if I want to look at this kind of stuff than I should have the choice to do so. if there will be a new -2 score than I don't think moderators should be the only ones to see it. besides all the stuff thats -1 is trash already so if you don't want to see it set your threshold to 0

      --
      It has been statistically shown that helmets increase the risk of head injury.
  56. GPL ActiveX by DonkPunch · · Score: 2

    An Active X component is really just a library. You must specifically reference an Active X component in the code of the calling program. There is no standalone entry point that allows execution of an Active X component (no main() ).

    I can _possibly_ see an Active X Gecko component being released under an LGPL. I suspect, though, that the Gecko Active X component is the Gecko code with the required Active X entry points added. If the internal Gecko code is already GPL, I don't think you can release such a component under LGPL.

    FWIW, I think a Gecko component is one of the coolest ideas I've heard in a while.

    --

    Save the whales. Feed the hungry. Free the mallocs.
    1. Re:GPL ActiveX by Trojan · · Score: 1

      The internal Gecko code is NPL, not GPL, and I'm not sure how that relates to LGPL. But it's apparently fine to use it as Active X component in IE, so I don't think the problem (with embedding Gecko in a GPL app) lies with Gecko... it's just that the GPL (as it stands) doesn't allow it. Of course the copyright holder could make a special exception, but only he can do that.

  57. Re:no bloat at all by Panoramix · · Score: 1

    Dying breed? I don't think so, but then again, I don't care. Look, "making your life easier and faster" and "cutting your learning curve" are all nice and dandy, but those are the same things that have made the net a slow swamp of clueless people clogging the wires with "multimedia" and "active content" and whatever you want to call that stuff.

    Now, this is not necessarily evil. It was unavoidable, and yes I think that is very nice that most of my family can email me now, and my secretary don't have to cope with clumsy and noisy typewriters anymore. But you should try to understand why some of us sometimes loose our patience when trying to explain to some AOLer the deep concept of "current working directory", or close our eyes and sigh every time someone releases a new kind of "streaming multimedia gadget" or whatever.

    And now, just to avoid been marked as offtopic: this GTK widget is a heaven-sent answer for a project I'm cooking right now. Actually, since the thing not only renders HTML, but XML, and has that cool XUL thing for building UIs, I'm starting to think that this could entirely change the way I build applications for X. One thing is for sure: this stuff is not only for showing help files. You'll see.

    And I can't wait for this thing to reach beta...

  58. license by jpc · · Score: 1

    As the NPL is not compatible with the GPL, is
    this allowable? I wondered about this a while back
    and decided that it is not.

    1. Re:License by Trojan · · Score: 1

      Sounds very reasonable. And gecko can be almost trivially replaced by a simple text viewer, so that doesn't sound like a problem.

      Of course 'packaged together' can mean a lot of things.. not in one rpm, or not on one CD...

  59. TeX plugin from IBM by octothorpe · · Score: 2

    IBM has a plugin for TeX/LaTeX for IE and Netscape(WIN, IRIX, Solaris, Linux, AIX) that seems to work pretty well.
    http://www.software.ibm.com/network/techexplorer /

  60. Why the moderation? by Trojan · · Score: 1

    Could anyone tell me how this message is offtopic? (It is currently moderated down.)

  61. License by Trojan · · Score: 2

    Apparently this widget is distributed under the NPL. That's ok with me, but it does make me curious. For example, could I use this widget to embed Mozilla in a GPL'd program?

  62. no bloat at all by Trojan · · Score: 2

    Gecko is just a bunch of shared libraries. If you already have mozilla or netscape-5.0 running, using Gecko as a help browser for a solitaire game wouldn't cost you any extra memory nor diskspace. In fact, having all those little solitaire-like games include their own simple help viewer would really give unnecessary bloat.

  63. Cool! by SingleTracker · · Score: 1

    Should make writing mail clients that deal with text/enriched or HTML easier...maybe we'll get some good functionality out of this

  64. Re:The NPL or MPL? by basic · · Score: 1

    I think the author made a mistake, he probably meant to use MPL and not NPL. As NPL gives special rights to netscape.

    --
    Basic
  65. bloating by Speef · · Score: 1

    Other then the "wow that's kinda cool" factor, why would anyone want this?
    Hmmm, a solitare game with a web browser for viewing help files... that is REAL necessary!
    Bloatware at its finest.

    1. Re:bloating by B.Operator · · Score: 1

      This widget is not for viewing HTML as
      help files, but we can write E-Mail and NEWS-Clients which can deal well with HTML.

      That`s the fact !!!