Slashdot Mirror


freedesktop.org xlibs 1.0 Released

Daniel Stone writes "A short time ago, freedesktop.org xlibs 1.0 was released. Simply put, this is the collection of libX11, libXext, and other little-used libraries that kind of power your whole desktop. The xlibs team at fd.o are now maintaining all these libraries, and more, and we're going to be making releases as part of the fd.o platform, which is far more wide-ranging, but it still forms an important part of the platform. Share and enjoy!"

55 of 243 comments (clear)

  1. Re:Who uses Xlib by IversenX · · Score: 5, Informative

    What is your definition of "Doesn't depend on"?

    They both use xlib exclusively for drawing!

    QT (and possibly GTK) exists in a version for embedding/framebuffer devices, but that's not the version you see in everyday KDE/Gnome.

    --
    With great numbers come great responsibility!
  2. Some of us by Anonymous Coward · · Score: 2, Interesting

    still use non-bloated window managers like WindowMaker, Blackbox, IceWM, and Enlightenment that don't use the GTK/QT libraries.

    1. Re:Some of us by psavo · · Score: 3, Insightful

      Yeah, and what kind of non-bloated non-gtk/qt applications do you run in your non-bloated window manager?

      psavo, a wmaker user himself

      --
      fucktard is a tenderhearted description
  3. Little used ? by noselasd · · Score: 3, Informative

    Virtually every toolkit out there uses xlib. It really isn't
    "little used", but rather key part of the whole *nix desktop.

    1. Re:Little used ? by Simon+Kongshoj · · Score: 2, Funny

      Blargh.
      #include <irony.h>
      Sorry 'bout that.

      --
      Six sick .sigs, the Number of the Beast!
    2. Re:Little used ? by rsidd · · Score: 2, Informative
      It really isn't "little used", but rather key part of the whole *nix desktop.

      As indeed the rest of that sentence indicates: "... libraries that kind of power your whole desktop." Try twiddling the knobs on your humour meter.

  4. Not that X is slow ... by Space+cowboy · · Score: 2, Insightful

    ... but having one group looking after all these libs would seem to offer some scope for optimisation and consolidation. Sounds like a good thing...

    What's the DBUS ? (Desktop bus ?)

    Simon

    --
    Physicists get Hadrons!
    1. Re:Not that X is slow ... by AllUsernamesAreGone · · Score: 4, Funny

      What's the DBUS ?

      It's dthing you get on to go to work in when you don't want to get dcar out of dgarage mon.

      Or, put another way, I don't have a fscking clue so, in the greatest tradition of /., I said something silly instead.

    2. Re:Not that X is slow ... by Carewolf · · Score: 5, Informative

      D-BUS is the replacement for DCOP. "Agnostically" written in C this time to help GNOME developers swallow (not so agnostically though since Glib kept sneaking in, but fortunately got replaced in the end).

      It does have a few neat features that DCOP doesnt. Like being system-wide, and thus support signals from the kernel (implemented by HAL) and signals from other non-desktop application like Apache.

    3. Re:Not that X is slow ... by jackbird · · Score: 3, Funny

      ...so you could say that, um, DBUS ran over DCOP? Tragic.

    4. Re:Not that X is slow ... by ajs · · Score: 3, Interesting

      IMHO, every major C project should use glib. It is fairly lightweight and provides a lot of the features that C programmers end up carrying around anyway. It's certainly not a Gnome thing in the strictest sense. You could ship glib with KDE and have no dependence on Gnome, GTK+ or anything else like that.

      Glib 2.0 also includes GObject, the core object system on which Gtk+ and Gnome are based, though again, you could write grep using these objects, they're not graphics-specific.

    5. Re:Not that X is slow ... by be-fan · · Score: 3, Informative

      D-BUS wasn't something the GNOME people thought up. The freedesktop.org people modeled it after DCOP, but made it independent of KDE's framework so the GNOME people could use it. The plans for D-BUS in KDE seem uncertain. Some developers want to just ditch D-COP entirely and use D-BUS, since D-BUS is similar. Others want to bridge D-COP and D-BUS, and retain D-COP for intra-KDE communication, and use D-BUS for inter-desktop communication.

      --
      A deep unwavering belief is a sure sign you're missing something...
    6. Re:Not that X is slow ... by caseih · · Score: 4, Insightful

      I can't agree more. I recently wrote a fairly complicated proxy server and using glib (combined with the gnet libraries) has completely saved me. The glib routines for building quick hashtables, lists, and dynamic strings (all in C) make so many aspects of my life easier. By using a glib dynamic string as my input buffer, I can easily grow it to accomodate the incoming data rather than having to do all the realloc stuff myself.

      I think glib (at least the routines for data types -- lists, hash tables, strings, etc) should be in the C standard library. The gobject stuff, while useful, should always be in a separate library.

    7. Re:Not that X is slow ... by Anonymous Coward · · Score: 2, Insightful

      > IMHO, every major C project should use glib

      glib is incredibly convenient to program in because it has no error handling. Your app just goes boom if something unexpected happens, like a memory allocation failing. You can kind of prevent your program for totally blowing up, but you don't have the ability to correctly handle errors (at least in glib 1.2, don't know if 2.0 fixed this - we're talking about a nontrivial change here).

      Great for building toy programs, but absolutely terrible for building a production quality system. It saddens me that so much otherwise great work (for example from the GNOME folks) is a castle built on a swamp. And it saddens me much more that people who don't understand this problem would say things like you just said, encouraging others who might not yet know better to build more software on a poor foundation.

    8. Re:Not that X is slow ... by IamTheRealMike · · Score: 2, Informative
      Over half the size of glib is unicode translation tables (ie pure data), which apps require for correct internationalization.

      In fact this is one big reason to use glib: it makes it very easy to support UTF-8 and other things in a portable (to windows) way.

  5. Re:Who uses Xlib by CoolVibe · · Score: 5, Insightful
    Raw Xlib? Almost nobody. And yes, GTK and QT on X11 do depend on it. The fd.o stuff looks really promising, since the stuff from X.org is starting to show it's age.

    And X is NOT slow. For what it does, it does it quite efficiently, and it even has network transparancy thrown in for "free", because of the way it works. Just because the code base of XFree86 is a bit aged and has accumulated a lot of cruft over the years, doesn't mean the initial design is flawed. It was ahead of it's time, and it's still relevant.

    Oh, and X works pretty good for me. Haven't seen a crash because of X in years. Maybe it's something else (buggy driver? broken hardware?) that's plagueing you. It's not X, in any case.

  6. XFree86 Has Not Merged With X.Org ?? by cyber_rigger · · Score: 4, Informative


    XFree86 Has Not Merged With X.Org (see News)

    [23 January 2004] http://www.xfree86.org/

    So have they merged or not merged?

  7. Any idea on the total size of the libaries? by saskboy · · Score: 2, Interesting

    Is there any chance of this desktop being used on a distribution small enough for a credit card sized CD? 50MB.

    From the site:

    This table represents the state of libs from XFree86 that should be brought into the Freedesktop cvs as autofooed projects. Please update these if you have any further information.

    Library current status
    GL needs to be done
    GLU FreeGlu? may be better? (don't think so, and Mesa should have the same libGLU available --EricAnholt)
    GLw
    XThrStub? would be part of libX11, but may be better not as a separate library
    XTrap
    Xaw6
    Xbsd
    Xfontcache
    Xft1 Maybe do not need this
    Xinerama Multiscreen unified display
    Xp X print
    Xss X screen saver A newer smarter version of this may be nice
    Xtst
    XvMC?
    Xxf86dga Probably does not need to be done.
    Xxf86misc getting and setting of input device attributes possible ideas for better device handling
    Xxf86rush
    Xxf86vm VidMode? extension that allows modifying video attributes on the fly
    apple
    dps There may be a GNU package for this, but it may be old.
    dpstk See dps
    expat Should be depended upon
    font
    fontconfig
    fontenc
    freetype2 Should be depended upon
    libxutil
    libxml2 Should be depended upon
    misc
    oldX
    psres See dps
    regex
    xkbfile
    xkbui
    zlib Should be depended upon

    --
    Saskboy's blog is good. 9 out of 10 dentists agree.
    1. Re:Any idea on the total size of the libaries? by caseih · · Score: 4, Informative

      The fd.o xserver is about 1 mb, and the X11 libraries to drive your apps weigh in at around 1 mb or so stripped, I think. At least on my fd.o installation they do. Also kdrive + libs + gtk2 + apps runs comfortably on a device like the Zaurus. Of course that's with no openGL stuff, or xinerama or xprint. But it does include freetype, xft, xrender, xdamage, composite, etc. The basic libraries are quite compact. If you really look at it, 1mb for kdrive, 1mb for libraries, plus maybe 5 mb for gtk2, an X11-based enbedded environment (supporting just one kind of display hardware) is very light and competitive with the Qtopia framebuffer system. Given that, I can't see any reason do use qt-embedded or gtk-fb for most things.

      Some of those things in your list are not really libraries providing an api, but rather utilities, many of which on an embedded environment aren't needed.

  8. Re:Who uses Xlib by bad_sheep · · Score: 4, Funny

    Don't forget to remove the line containing "killall X" in your crontab !

  9. Re:Xlib is trash. by serial+frame · · Score: 2, Insightful

    Bullshit.

    I triple dog dare you (not necessarily the parent troll, but the general audience) to find a binary or library capable of displaying on an X11 display that's not linked, statically or dynamically, to libX11 and friends; of course, barring the things written by masochists that implement the X Window protocol themselves over a TCP or Unix socket.

    --

    -
    And the Angel said unto me, "These are the cries of the carrots! The cries of the carrots!"
  10. vs XFree86 ? by noselasd · · Score: 4, Interesting

    One more question. Whats the diffrence between the freedesktop xlibs, and the xlibs in XFree86 ? I understand they forked from XFree at one point. What did they change/improve ?

    1. Re:vs XFree86 ? by CoolVibe · · Score: 2, Informative

      They got rewritten from scratch. :)

    2. Re:vs XFree86 ? by be-fan · · Score: 3, Informative

      The XServer got rewritten from scratch*. The xlibs are an evolution of the XFree86.org code.

      *> Well, not really. The FD.O X server is based on Keith Packard's KDrive (AKA TinyX) server, which is a vastly restructured and rewritten XFree86.

      --
      A deep unwavering belief is a sure sign you're missing something...
    3. Re:vs XFree86 ? by dossen · · Score: 2, Informative

      If I read it correctly, they are replacing the Imake buildsystem with GNU autoconf/automake - a good thing I think. Other than that I don't know what the differences are (going to be), but they will probably try to integrate some of the other parts of the freedesktop platform.

    4. Re:vs XFree86 ? by be-fan · · Score: 4, Informative

      Its not so much its superiority to imake, as its superiority to the imake setup of XFree86. The XFree86 build scripts are horribly complex to understand, and while autoconf/automake suck too, they suck less. Plus, more people are familier with them, so there is less of a learning curve for developers.

      --
      A deep unwavering belief is a sure sign you're missing something...
    5. Re:vs XFree86 ? by Fnord · · Score: 4, Informative

      Mostly they've just changed the build system. Someone mentioned that they're using automake/autoconf. But that's only a minor part of it. The big thing is that they're making it so that you can compile these libraries without having the entire X11 tree. X until now was this giant monolithic source tree with tons of interdependancies so you'd have to build it all at once. Their first goal is to modularize X and that means making the Xserver, Xlibs and the basic X programs all build separately.

    6. Re:vs XFree86 ? by dossen · · Score: 2, Informative

      Pretty much where I was coming from. I have also messed around, hacking around broken stuff, with both Imake and autoconf/automak based stuff, and Imake just looks worse (maybe it would be different if I had some experience with either, but just fixing a broken link parameter and that sort of thing seems much simpler with auto*). And if it gets the options of X into a configure script instead the host.def file, then I wont complain (force of habit I guess).

    7. Re:vs XFree86 ? by puetzk · · Score: 2, Informative

      There are lots of pieces to the recent work that's been happening on X under the freedesktop banner. Here's my understanding of what the pices are...

      Xouvert was/is also working on build changes (and quite possibly this release is based on their work - I don't really know). In any case. the freedesktop.org xlibs announced here (http://xlibs.freedesktop.org/) release has actually got them all made (quite possibly based on contributions from xouvert) and is a full set of 'split' xlibs which build with autoconf/pkg-config.

      Additionally, freedesktop has at least two other major X-related projects going (some of the same people, some different). One of these is the xcb/xcl to replace xlibs, the other is a kdrive-based xserver. Neither of these projects has yet made a full release, though both have code that works and is making excellent progress

      xcb (http://xcb.freedesktop.org/) is a new API targeted toward letting toolkit authors handle asyncronous events more effectively, without some of the compromises xlib made to ease writing apps directly to it. The rise of high-level toolkits (Qt, GTK, wxWindows, Tk, etc) has definitely changed the way the xlib API is typically used. For compatibility with existing apps and for easier programming of apps which (for whatever reason) do not want to use a high-level toolkit, xcl is a an xlib-compatible API sitting on top of xcb. Think of it as a minimal 'toolkit' which provides the 'wait-for-reply' API to error handling and return-values that xlib uses today.

      The new kdrive xserver's primary features are the DAMAGE and COMPOSITE extensions (allowing multiple apps to coordinate and share in painting what actually appears on the screen. It also features a much smaller&simpler codebase from the XFree86 server, allowing easier experimentation with still other new ideas.

      --
      The Matrix is going down for reboot now! Stopping reality: OK. The system is halted.
  11. Too many damn x's! by joelgrimes · · Score: 3, Interesting

    I've used linux for years, but still get confused when people bring up this subject. I can't make heads or tails of all the different X's being bandied about. Half the time I can't tell if it's a group of people or a program.

    X11, x.org, xfree86, X Consortium, X Window(s?), not to mention freedesktop.org which is commonly mentioned in the same breath - i'm sure i'm missing some.

    I'm sure there's others that would appreciate an unscrambling of the relationships between the x's

    1. Re:Too many damn x's! by Narchie+Troll · · Score: 5, Informative

      x.org == X Consortium
      X11 == X Window System 11
      X Window System == A windowing system, consisting of a client and a server that communicate via an open protocol. Many different vendors distribute X clients and servers, commercial and free.

      The X Consortium manages the X protocol and distributes a reference implementation of clients and servers. XFree86 is a fork of the X Consortium implementation that was originally intended to run on x86-class machines -- thus the name. Freedesktop.org is a loose coalition attempting to corral all the competing *nix desktop software into a cohesive whole by setting up standards. They also provide support for a project that is working on an improved client and server for X11.

    2. Re:Too many damn x's! by allanc · · Score: 3, Informative

      X11 and The X Window System (not, they stress "X Windows" because that sounds too much like MS Windows) are the same thing. Just different names for it. It's the base window system.

      The group that releases the standard X code distribution, specifications for new versions of X, etc is the X Consortium, X11 is, more fully, X11R6--X Window System version 11 release 6. If X11R7 happens, it'll come from the X Consortium. Their web site is x.org.

      XFree86 is the group that does the free version of the X Window System, originally for Intel x86 systems (hence the name) but nowadays for pretty much every system that'll run a free OS.

      Freedesktop.org works on higher level standards, like drag and drop and such. Stuff that lets the various apps running under X11 to interact but not low enough to be under the jurisdiction of the X Consortium.

      --AC

    3. Re:Too many damn x's! by be-fan · · Score: 4, Informative

      X11 - The protocol spoken by modern X servers.

      x.org - Formerly the X Consortium, an organization of X-using businesses, like the OpenGL ARB. They are responsible for changes to the spec.

      X Windows - Shorthand for X Window System --- refers to the whole thing, servers, libs etc.

      freedesktop.org - A new organization dedicated to making standards for the *NIX desktop. For example, they have specified a common MIME framework, common menu format, common window manager specification, etc. Many of these, (ex. the window manager specification) have already been adopted. They are also an umbrella project for other projects for improving the X desktop. For example, D-BUS which is the new messaging system developed for KDE and GNOME, is a freedesktop.org project. Keith Packard and others are also developing a new X server under the freedesktop.org umbrella. This new X server already supports complete-back buffering of windows (each window gets its own buffer, like OS X, to make moving windows smooth and free of redraw) and window compositing (for transparency, shadows, other effects). They are also restructuring the driver API to support OpenGL independent of X, so the X server can sit on top of OpenGL and use it to accelerate drawing. At the same time, they are also introducing new extensions (Xfixes, XDamage, etc) to allow applications to access the extended features for the new server, as well as working on existing extensions (XRender) to improve their implementation (add acceleration via OpenGL, for example).

      --
      A deep unwavering belief is a sure sign you're missing something...
    4. Re:Too many damn x's! by haroldhunt · · Score: 2, Insightful

      Actually, the line about X.Org was mostly true until a few days ago. X.Org has just been reformed as a group that individuals can join and contribute too without any sort of monetary contribution. The new X.Org is essentially like the GNOME Foundation. Open elections will be held within the next coming months and anyone is free to participate in the elections and/or run for a seat. freedesktop.org is actually involved in the reformation of X.Org; there is a lot of overlap between the two projects and who is working on them. The xlibs release is something that the memebers of the new X.Org are interested in and are moving to as the future of X.

      Harold

  12. Re:Who uses Xlib by iabervon · · Score: 4, Informative

    Every single X program uses xlib directly or indirectly. So GTK always uses it, and QT uses it except when using a framebuffer directly or using some other underlying mechanism (like non-X11 Mac, IIRC).

    Chances are that X isn't what's crashing for you, but rather some program running under X (unless you have hardware problems, a bad driver, a corrupted X server, or something like that). X is also generally quite fast, but most programs (such as any that use GTK or QT, except for really recent ones) use it extremely badly.

    Actually, what is generally slow about X is that is doesn't have the drawing primitives that modern interfaces want to use, so they have to implement them inefficiently with the available primitives. Present development is helping to rectify this situation, however.

  13. Re:Who uses Xlib by BrookHarty · · Score: 5, Insightful

    And X is NOT slow.

    He is right about X not being slow. The problem is the perception thats X is slow. X is what is visual to the user, users either blame KDE/Gnome or X.

    Take a pre-emptive low latency linux kernel and run X on it, its like night and day, its smooth, fast, which proves its not X but the kernel.

    Windows cheats and loads the gui extremely fast, but if you watch your hardrive light, and tool tray, you will noticed things are still being loaded in the background. The system is busy for a few more seconds. You can load an application, and it waits till after the services start.

    So, X seems slow compared to other OS's.
    1. Long delays to get into KDE/Gnome, and actually use the system.
    2. Slow response on user input.
    3. Multitasking, switching apps pause the system.
    4. Loading directories in ICON/Image view takes longer than windows.
    5. Lindows has everything running as Root for a speed boost.

    I predict we will see pre-emptive, low lantency kernels as standard on Mandrake and Suse. Preemptive kernels are now standard on 2.6.x (well, if you check the box). And even more pre-linking to help boot time.

    BSD has the same issues. Apple's X server does seem faster than both Linux & BSD. I'm only running window maker on it, so its not an exact match, but task switching and running gimp does seem more reponsive.

    Could the answer be the mach kernel osx uses? Maybe we need a new suite of benchmarks for user interaction. (os+X+wm/etc).
    -
    I code in my SecondLife

  14. Re:Nethack X is slow ... by Anonymous Coward · · Score: 3, Informative

    From The DCOP site:

    DCOP is built on top of the Inter Client Exchange (ICE) protocol, which comes standard as a part of X11R6 and later. It also depends on Qt, but beyond that it does not require any other libraries.

    So DCOP does depend on Qt. Also, it is written in C++, whereas the GNOME libraries are almost always written in C (I'm not saying this is better, this is just how it's been done). Until DCOP doesn't depend on Qt and gets a binding to C, I see no reason why the GNOME project shouldn't pursue DBUS. (Had to post as AC because I have bad karma...)

  15. Re:Who uses Xlib by sfraggle · · Score: 2, Informative
    I'm not sure GTK/QT depends on Xlib. Correct me if I'm wrong.
    You are wrong.

    fraggle@yaffle:~$ ldd /usr/lib/libgtk-x11-2.0.so
    ...
    libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x402e8000)
    ...

    fraggle@yaffle:~$ ldd /usr/lib/libqt.so.3
    ...
    libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4081f000)
    ...
    --
    were you expecting to see a sig here? perhaps you'd rather see the inside of an ambulance!
  16. Re:3d interfaces are a joke. by temojen · · Score: 3, Informative

    Now, I know I'm responding to an Offtopic troll, but...

    OpenGL is an API for talking to a Vector and/or Raster drawing subsystem. It works for 3d and 2d drawing. Where hardware acceleration for vector drawing exists (ie most modern desktops) OpenGL can send the drawing commands direct to the Video Card, without rasterizing the result first. This means that vector applications (such as SVG rendering) can operate a whole lot faster, and are simpler to code.

    Where the application is not running on the same machine as the display, sending GLX vector commands rather than rasterized images can be much faster. Also, it does not load the machine significantly more than having application-side rasterization where acceleration hardware doesn't exist.

    So by working on OpenGL (which is mostly a server issue, not an XLib issue), developers are working on SVG, Animated Everything, and faster 2d.

  17. Re:Who uses Xlib by Curtman · · Score: 2, Informative

    GTK on the framebuffer is quite nice. Aside from the nice transparency effects in the screenshots, it's really quick. Hopefully we'll see a LiveCD come along soon with GTK on DirectFB so people can evaluate it without jumping through a great many hurdles. I bet a great many GNU/Linux/BSD users don't need or even know about the many features of X11 like network transparency, let alone use them.

    I like to think DirectFB is to X11 as Hurd is to Linux. ( in design - not availability :) I could be wrong about that, but it seems to be more modular, and lightweight.

    With that said, congrats to freedesktop.org. They are becoming more and more valuable to our little community every day it seems.

  18. Re:Xlib is trash. by Curtman · · Score: 2, Informative
    The GTK FAQ has this to say about it:

    • What is GDK?

      GDK is basically a wrapper around the standard Xlib function calls. If you are at all familiar with Xlib, a lot of the functions in GDK will require little or no getting used to. All functions are written to provide an way to access Xlib functions in an easier and slightly more intuitive manner. In addition, since GDK uses GLib (see below), it will be more portable and safer to use on multiple platforms.
  19. Re:Who uses Xlib by be-fan · · Score: 2, Informative

    Everyone. Right now, there are two ways to communicate with X-server.

    XCB - A new, low-level binding designed for big toolkits like Qt/GTK+ that can handle their own caching, buffering, etc.

    XLib - An older, higher-level binding originally released with X.

    Currently, almost all apps still use Xlib, as do all toolkits.

    --
    A deep unwavering belief is a sure sign you're missing something...
  20. weird naming by abe+ferlman · · Score: 3, Funny

    Nothing happens when I issue the following command

    mount /dev/fd.o /mnt/floppy

    Am I using this wrong?

    --
    microsoftword.mp3 - it doesn't care that they're not words...
  21. How does this relate to XFree86 (Is it a fork?) by rmsousa · · Score: 3, Interesting

    Are the people at XFree86 maintaining xlibs also? Will this be imported back at XFree86? The release email says xlibs is actively maintained by fd.o (does this mean it is not actively maintained by xf86.org?), but does this mean fd.o will become the official version (i.e., the version bundled in the mainstream distros)? Or will they be two competing implementations?

    IIRC, Debian already uses libXft from fd.o (which is a bit obvious, as Keith Packard is in fd.o).

  22. Re:Nethack X is slow ... by Carewolf · · Score: 4, Informative

    AFAIK DCOP doesn't depend on Qt directly and has C-bindings. The problem is with depending on C++, and depending on Qt for communicating with KDE-programs. Many KDE-programs uses the Qt-internal structures to stream over DCOP, that makes it very difficult to communicate with them without Qt.

  23. Re:MODS: EXPLAIN by Beek · · Score: 2, Funny

    Meritless? It was a lot more amusing than the robotic cliches that modded up to +5.

    "DRM infringes on my freedom." +5 BORING!!!!!

  24. Re:XFree86 Has Not Merged With X.Org ?? by asobala · · Score: 2, Informative

    The way I understand it, Havoc Pennington said that several X.org and XFree86 developers were working together. This was misinterpreted by journalists as the projects working together.

    Hmmm.

  25. Re:XFree86 Has Not Merged With X.Org ?? by haroldhunt · · Score: 4, Insightful

    The headline that got put on the press release was misleading. The reality is that X.Org has been reformed to be more like the GNOME Foundation. There will be open elections to appoint a board. Votes will no longer be obtained through monetary contributions; in other words, any one can have a vote and be elected, no matter their affiliation. The actual information handed out by X.Org should be posted on their site in the next few days, which includes the mission statement and aims of the project.

    Some developers that have at one time or another been associated with XFree86 are participating in the reformation of X.org. How that translated into "XFree86 and X.org have mereged" in the headline is beyond me.

    Harold

  26. Re:Accelerated Desktop by sirReal.83. · · Score: 2, Informative

    i don't know about windows, but osx uses GL for most/all graphics. fdo's xserver aims to do the same thing. it's a completely new X server based on keithp's kdrive. afaik xfree doesn't use GL for anything 2D.

  27. Things That Happen When You Say X-Windows by SimHacker · · Score: 3, Offtopic
    I was digging through some old papers, and ran across a 15 year old "XNextEvent" newsletter, "The Official Newsletter of XUG, the X User's Group", Volume 1 Number 2, from June 1988. Here's an article that illustrates how far the usage of the term "X Windows" has evolved over the past 15 years. (Too bad The Window System Improperly Known as X Windows itself hasn't evolved.)

    Someone on slashdot asks, " Why is it still called X-Windows?".

    Predictably, the first reply says: "It isn't. It's called 'The X Window System.' Or simply 'X'. 'X Windows' is a misnomer."

    He didn't ask why it is "X-Windows". He asked why it's called "X-Windows". You're wrong that it isn't called "X-Windows". It is! It's just that it isn't "X-Windows". Being something is independent of being called something.

    The answer to the question 'Why is it still called X-Windows?' is: It's still called X-Windows in order to annoy the X-Windows Fanatics, who take it upon themselves to correct you every time you call it X-Windows. That's why it's called X-Windows.

    The following definitive guide to the consequences of saying "X Windows" is from the June 1988 "XNextEvent" newsletter, "The Official Newsletter of XUG, the X User's Group", Volume 1 Number 2:

    Things That Happen When You Say 'X Windows'

    THE OFFICAL NAMES

    The official names of the software described herein are:

    X
    X Window System
    X Version 11
    X Window System, Version 11
    X11

    Note that the phrases X.11, X-11, X Windows or any permutation thereof, are explicitly excluded from this list and should not be used to describe the X Window System (window system should be thought of as one word).

    The above should be enough to scare anyone into using the proper terminology, but sadly enough, it's not. Recently, certain people, lacking sufficient motivation to change their speech patterns, have fallen victim to various 'accidents', or 'misfortune'. I've compiled a short list of happenings, some of which I have witnessed, others which remain heresay. I'm not claiming any direct connection between their speech habits and the reported incidents, but you be the judge... And woe betide any who set the cursed phrase into print!

    You are forced to explain toolkit programming to X neophytes.

    Bob Schiefler says, "You should know better than that!"

    The Power Supply (and unknown boards) on your workstation mysteriously give up the ghost.

    Ditto for the controller board for the disk on your new Sun.

    Your hair falls out.

    xmh refuses to come up in a useful size, no matter what you fiddle.

    You inexplicitly lose both of your complete Ultrix Doc sets.

    R2 won't build.

    Bob Schiefler says "Type 'man X'".

    Your nifty new X screen saver just won't go away.

    The window you're working in loses input focus. Permanently

    -Don

    --
    Take a look and feel free: http://www.PieMenu.com
  28. 4Sight by SimHacker · · Score: 2, Interesting
    "SGI shipped a very high-performance X implementation."
    You must be talking about 4Sight, SGI's window server that integrated both X11 and NeWS 1.1 (Network extensible Window System). Thanks the NeWS, clients could make efficient use of the network bandwidth by downloading PostScript programs into the server, which executed locally and only sent responses over the network when absolutely necessary.

    In 1988, I helped develop the NeWS driver for UniPress Emacs. James Gosling wrote UniPress's version of Emacs, as well as the NeWS window system itself. UniPress Emacs ran quite nicely on 4Sight. Emacs downloaded code to handle all the pop-up menus (pie menus or linear menus -- you could decide) and text selection feedback locally in the server.

    After Emacs draws the text on the screen, it downloads a short array of numbers telling the server how many characters wide each line is, so the code running in the server knows just what it needs to give local text selection feedback.

    So when you press down and drag to select text in emacs, the selection feedback is instantaneous even if you're running over a low speed dial-up connection. When you release the button or move the cursor outside of the scroll region, only then does it send a message back up to Emacs telling it to select the text, or initiate autoscroll.

    How would you do that in X-Windows? Please explain your approach to extending the X-Windows server to support local text selection in emacs (and local pop-up menus while you're at it), without any unnecessary network traffic?

    -Don

    --
    Take a look and feel free: http://www.PieMenu.com
    1. Re:4Sight by Daengbo · · Score: 3, Insightful

      I think, right now, you're looking more like the fanatic.

  29. Re:What is X-Windows? by afree87 · · Score: 2, Funny

    It's a stupid graphical system that inverts the meaning of client and server. It needs a client (or is it server?) like XFree86 to run on your computer and display an ugly, useless black-and-white screen. It needs software like xterm to do anything with. It needs a window manager like TWM, FVWM or Metacity to actually move around windows. It needs a windowing system like KDE or GNOME to be presentable.

    What it does by itself is anyone's guess. Probably low-level graphics calls.

  30. Re:X is extremely inefficient on the network. by be-fan · · Score: 2, Insightful

    What do you mean by "is"? "Should always be in every case"? Or "X-Windows has always forced us to do it this way"?
    ---
    X makes you do input-processing application-side, but that doesn't really introduce an inefficiency. The data rate of a mouse/keyboard even uncompressed never approaches more than 100 bytes/second. That's really not a bottleneck for the roles X is aimed at.

    Says who? I certainly see a need. Would you want to run an X-Windows server on a cell phone, where you have to pay for bandwidth and wait for round trips? Nope.
    ---
    Probably not. But nobody is trying to remote X over a cell-phone link. However, X is quite usable over a low-bandwidth link, given an appropriate compression technology.

    A NeWS-like architecture is much more efficient for implementing distributed applications on cell phones, because it permits the application to download executable code to the phone, saves the user time and money, as provides a high quality, responsive user interface.
    ---
    Maybe, but cell-phone applications would necessarily have to be a lot-more limited than general-purpose desktop apps.

    Have you ever heard of a language called "JavaScript"?
    ---
    Yes.

    In case you never heard of it, believe me: there are a lot of people willing to download JavaScript code.
    ---
    If you can convince app developers to write their code in Javascript, than more power to you. But that's where I was getting at with the Lisp comment. To be really practical for modern desktop apps, you'd have to use something a lot faster than Javascript. For stuff like HTML rendering, there is a large computational bottleneck. Thus, you'd need a safe, yet fast language.

    In case it's not obvious: The web browser / http server model IS a NeWS-like architecture.
    ---
    To tell the truth, the web-browser, http-server model is working just fine on top of X. The needs of an internet-based system are very different from a local/network-based system, and I really see little advantage to a NeWS style system targeted at the markets X is aimed at.

    The main problem with your HTML/Javascript example is that it only works well because all applications use the same basic display logic (HTML/CSS). However, desktop applications in general do *not* use the same basic display logic. The display logic of a text-editor is very different from the display-logic of a photo editor. If you want to implement this differing display logic in a NeWS-style system, you end up loading large amounts of complex display code into the server. And to feed that display logic, you end up shipping large amounts of data over the wire.

    - additional ranting deleted -
    ---
    There is no indication that X is holding back Linux on the desktop. What's holding back Linux on the desktop are ease of use and application support. X is quite competitive with the other two desktop systems out there (OS X's and Win XP's). With the freedesktop.org work, it'll be highly competitive with future UIs like Longhorn.

    --
    A deep unwavering belief is a sure sign you're missing something...
  31. Re:That's the point by ajs · · Score: 3, Insightful

    A C++ program can rely on a glib-based C library just as easily (perhaps somewhat easier, due to the consistent object model) as on any other C library. There is no problem here at all.

    "Using Glib in KDE is pointless"

    Using glib in DBUS is not however, and using DBUS in KDE is not... moot point. Also keep in mind that KDE's reliance on C++ and C++'s platform difficulties (SOME of which went away with the finalization of the ANSI standard a few years back) was exactly the reason that Sun had to choose Gnome as their desktop, even though they prefered KDE at the time. They had to support two compilers though, and if you can't lock customers into a compiler, C is the only way to fly (Java is as close as it gets otherwise, and it might be ok after another decade or two to mature).

    I'm not language zeloting here... I see the value of C++ accedemically, but building software in it DOES cut you off from the rest of the world in the sense that the many, many thousands of C-based software projects and products in the world then have a hard time making any use of you at all.