Documentation?

2009-04-06 Thread Mark Wagner
I'm busy updating the Linux branch of a cross-platform toolkit that was last updated in 1994. The big problem I'm running into is a lack of documentation on how to program for XWindows: the online documentation I've been able to find is at least as old as the toolkit -- for exam

Documentation

2010-12-31 Thread Nima Sahraneshin
Hi I want to write a program based on X .I need some documentation about X (using X) . ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your

libXrender - documentation?

2009-01-21 Thread Charles Lindsey
indeed any documentation at all. I have Googled extensively, but all I can find is sites that offer to downlaod the source, or the binary, or which discuss bugs. Nowhere can I find any description of what it does, or how to use it. Help! -- Charles H. Lindsey -At Home, doing my own thing

Re: Documentation?

2009-04-07 Thread Nicolas Mailhot
Le Mar 7 avril 2009 02:43, Mark Wagner a écrit : > > I'm busy updating the Linux branch of a cross-platform toolkit that > was last updated in 1994. ... > Is there a good online document on how to program for XWindows using > Xlib? XWindows changed a lot since 1994. Legacy stuff is still avail

Re: Documentation?

2009-04-07 Thread Tuomo Valkonen
On 2009-04-07, Nicolas Mailhot wrote: > XWindows changed a lot since 1994. Legacy stuff is still available but > not really supposed to be used anymore, and in particular (and of > special interest to toolkit authors) nowadays to display text you > should go through XFT and fontconfig and not use

Re: Documentation?

2009-04-07 Thread Nicolas Mailhot
Le Mar 7 avril 2009 11:03, Tuomo Valkonen a écrit : > > On 2009-04-07, Nicolas Mailhot wrote: >> XWindows changed a lot since 1994. Legacy stuff is still available >> but >> not really supposed to be used anymore, and in particular (and of >> special interest to toolkit authors) nowadays to disp

Re: Documentation?

2009-04-07 Thread Tuomo Valkonen
On 2009-04-07 11:36 +0200, Nicolas Mailhot wrote: > The core X11 font system just can not scale to modern requirements. Works fine for me, good-looking fonts without any effort. Out-of-the-box! Not so with blur-fascist Xft/fontconfig, where you have to compile bytecode interpreters and _sudo_ touc

Re: Documentation?

2009-04-07 Thread Nicolas Mailhot
Le Mar 7 avril 2009 12:27, Tuomo Valkonen a écrit : > The requirements haven't changed in twenty years. They have. Systems now have Unicode locale as default, and font foundries do not use the same formats as twenty years ago. What has no changed is that apps using core fonts just crash all th

Re: Documentation?

2009-04-07 Thread Ross Burton
On Tue, 2009-04-07 at 09:03 +, Tuomo Valkonen wrote: > On 2009-04-07, Nicolas Mailhot wrote: > > XWindows changed a lot since 1994. Legacy stuff is still available but > > not really supposed to be used anymore, and in particular (and of > > special interest to toolkit authors) nowadays to dis

Re: Documentation?

2009-04-07 Thread Joerg Sonnenberger
On Tue, Apr 07, 2009 at 01:37:33PM +0200, Nicolas Mailhot wrote: > What has no changed is that apps using core fonts just crash all the > time. Sorry, but stupid programmers not doing correct validation of return values is NO ARGUMENT. It is just ridicilous. But naturally, it is easier to scream "

Re: Documentation?

2009-04-07 Thread Daniel Stone
On Tue, Apr 07, 2009 at 10:27:37AM +, Tuomo Valkonen wrote: > The only problem with core fonts is the blur-fascist elite > not bothering to fix UTF-8 fontset support, so there you have > some problems. I don't think I ever saw any patches. > But don't mind me, the last person who wants good f

Re: Documentation?

2009-04-07 Thread Daniel Stone
On Tue, Apr 07, 2009 at 12:01:42PM +, Tuomo Valkonen wrote: > that need root access to modify. That or an ability to read documentation. > (Nobody ever does anything new properly, just adds layers upon > layers of indirection, complexity upon complexity. Latest example > bein

Re: Documentation?

2009-04-07 Thread Tuomo Valkonen
On 2009-04-07, Ross Burton wrote: > I can't believe I'm feeding the troll, but in GNOME (and KDE I'm sure) > there is a nice big "Antialiasing: off" button in the font > configuration. Pollute my system with KDE or Gnome? Rather install Windows. And besides, the big buttons don't remove the an

Re: Documentation?

2009-04-07 Thread Corbin Simpson
Tuomo Valkonen wrote: > On 2009-04-07, Ross Burton wrote: >> I can't believe I'm feeding the troll, but in GNOME (and KDE I'm sure) >> there is a nice big "Antialiasing: off" button in the font >> configuration. > > Pollute my system with KDE or Gnome? Rather install Windows. Sounds like a pla

Re: Documentation?

2009-04-07 Thread Nicolas Mailhot
Le Mar 7 avril 2009 14:06, Joerg Sonnenberger a écrit : > > On Tue, Apr 07, 2009 at 01:37:33PM +0200, Nicolas Mailhot wrote: >> What has no changed is that apps using core fonts just crash all the >> time. > > Sorry, but stupid programmers not doing correct validation of return > values is NO ARG

Re: Documentation?

2009-04-07 Thread Glynn Clements
Mark Wagner wrote: > I'm busy updating the Linux branch of a cross-platform toolkit that > was last updated in 1994. The big problem I'm running into is a lack > of documentation on how to program for XWindows: the online > documentation I've been able to find is at

Re: Documentation?

2009-04-07 Thread Maarten Maathuis
You can argue against the config system, xml is not ideal for manual editing. But, having hinted, aliased fonts isn't impossible. It's pretty simple actually. Providing you have a suitable freetype version. So please put your ranting into perspective. Maarten. ___

Re: Documentation?

2009-04-07 Thread Joerg Sonnenberger
On Tue, Apr 07, 2009 at 02:32:38PM +0200, Nicolas Mailhot wrote: > > This is not something specific to core fonts. > > Fontconfig-using apps do not crash for lack of fonts, because > fontconfig has built-in font substitution Are you *really* sure about that? I haven't tried Firefox 3, but older v

Re: Documentation?

2009-04-07 Thread Simon Thum
Tuomo Valkonen wrote: > The only problem with core fonts is the blur-fascist elite > not bothering to fix UTF-8 fontset support, so there you have > some problems. If transporting visual information that would otherwise go lost is blurring, then I'm probably not from this world. The implementation

Re: Documentation?

2009-04-07 Thread Tuomo Valkonen
On 2009-04-07, Simon Thum wrote: > If transporting visual information that would otherwise go lost is > blurring, then I'm probably not from this world. The implementation > isn't ideal (not gamma correct), but switching off is an option. Shitty low-resolution computer display hardware can't di

Re: Documentation?

2009-04-07 Thread Nicolas Mailhot
Le Mar 7 avril 2009 14:52, Joerg Sonnenberger a écrit : > > On Tue, Apr 07, 2009 at 02:32:38PM +0200, Nicolas Mailhot wrote: >> > This is not something specific to core fonts. >> >> Fontconfig-using apps do not crash for lack of fonts, because >> fontconfig has built-in font substitution > > Are

Re: Documentation?

2009-04-07 Thread Patrick O'Donnell
>Date: Tue, 7 Apr 2009 13:37:33 +0200 (CEST) >From: "Nicolas Mailhot" > >Le Mar 7 avril 2009 12:27, Tuomo Valkonen a écrit : > >> The requirements haven't changed in twenty years. > >They have. Systems now have Unicode locale as default, and font >foundries do not use the same formats as twenty ye

Re: Documentation?

2009-04-07 Thread Olivier Galibert
On Tue, Apr 07, 2009 at 02:32:38PM +0200, Nicolas Mailhot wrote: > Fontconfig-using apps do not crash for lack of fonts, because > fontconfig has built-in font substitution Nice theory. Kinda breaks down when you find out that pango_font_metrics_get_approximate_char_width answers 0 on such a subt

Re: Documentation?

2009-04-07 Thread Patrick O'Donnell
>Date: Tue, 7 Apr 2009 22:23:35 +1000 >From: Daniel Stone > >On Tue, Apr 07, 2009 at 12:01:42PM +, Tuomo Valkonen wrote: >> that need root access to modify. > >That or an ability to read documentation. Hmmm.. It seems to me that that's how this thread started,

Re: Documentation?

2009-04-07 Thread Behdad Esfahbod
On 04/07/2009 11:11 AM, Olivier Galibert wrote: > On Tue, Apr 07, 2009 at 02:32:38PM +0200, Nicolas Mailhot wrote: >> Fontconfig-using apps do not crash for lack of fonts, because >> fontconfig has built-in font substitution > > Nice theory. Kinda breaks down when you find out that > pango_font_m

Re: Documentation?

2009-04-07 Thread Patrick O'Donnell
>Date: Tue, 7 Apr 2009 16:50:26 +0100 >From: Alan Cox > >> Someone offered up www.x.org/docs, which may be fine for X Window >> System developers, but is not what most application programmers would >> call documentation. > >Why would an application programm

Re: Documentation?

2009-04-07 Thread Alan Cox
> Someone offered up www.x.org/docs, which may be fine for X Window > System developers, but is not what most application programmers would > call documentation. Why would an application programmer want to be using Xlib directly ? There is good documentation for things like pango and

Re: Documentation?

2009-04-07 Thread Alan Cox
tep up and offer the time > necessary to learn the changes and write the documenation folks like > me seek for X.Org. Though, that may be the help that is needed -- > I've been told more than a few times that documentation I write is not > easily understood :-(. I'd b

Re: Documentation?

2009-04-07 Thread Behdad Esfahbod
On 04/07/2009 11:33 AM, Behdad Esfahbod wrote: > > Nice theory. Kinda breaks down when you find out that > > pango_font_metrics_get_approximate_char_width answers 0 on such a > > subtitution. On further inspection, does it? Do you have a test case? It does return if you pass a NULL object t

Re: Documentation?

2009-04-07 Thread Adam Jackson
On Mon, 2009-04-06 at 17:43 -0700, Mark Wagner wrote: > Are there programming references for the various extensions, or do I > need to work from protocol specifications and uncommented header > files? Much of the old Xlib documentation was paid for by the Open Group or its predeces

Re: Documentation?

2009-04-07 Thread Adam Jackson
On Tue, 2009-04-07 at 12:01 +, Tuomo Valkonen wrote: > On 2009-04-07, Ross Burton wrote: > > I can't believe I'm feeding the troll, but in GNOME (and KDE I'm sure) > > there is a nice big "Antialiasing: off" button in the font > > configuration. > > Pollute my system with KDE or Gnome? Rath

Re: Documentation?

2009-04-07 Thread Nathan Kidd
Mark Wagner wrote: > I'm busy updating the Linux branch of a cross-platform toolkit that > was last updated in 1994. ... > Is there a good online document on how to program for XWindows using Xlib? > > Are there programming references for the various extensions, or do I > need to work from proto

Re: Documentation?

2009-04-07 Thread Tuomo Valkonen
On 2009-04-07, Daniel Stone wrote: > On Tue, Apr 07, 2009 at 12:01:42PM +, Tuomo Valkonen wrote: >> that need root access to modify. > > That or an ability to read documentation. A 1000 page developer document for a simple setting. YUP. That is indeed the typical approach t

Re: Documentation?

2009-04-07 Thread Glynn Clements
Ross Burton wrote: > I can't believe I'm feeding the troll, but in GNOME (and KDE I'm sure) > there is a nice big "Antialiasing: off" button in the font > configuration. And where is the "Prefer legibility over getting the exact physical size to within a nanometre" button? -- Glynn Clements _

Re: Documentation?

2009-04-07 Thread Glynn Clements
Patrick O'Donnell wrote: > >> that need root access to modify. > > > >That or an ability to read documentation. > > Hmmm.. It seems to me that that's how this thread started, and the > original question has yet to be answered. > > Someone offe

Re: Documentation?

2009-04-07 Thread Tuomo Valkonen
On 2009-04-07, Daniel Stone wrote: > That or an ability to read documentation. 1000-page developer documention. Yup. That's the approach to most things in Linux these days. fontconfig, Xft, udev, HAL, all screaming out loud POWER USERS: VANISH! THIS OS IS FOR DEVELOPERS AND UNDEMANDI

Re: Documentation?

2009-04-07 Thread Andrew Clayton
On Tue, 7 Apr 2009 18:36:20 + (UTC), Tuomo Valkonen wrote: > On 2009-04-07, Alan Cox wrote: > >> several mission-critical applications that has seen two and a half > >> decades of development based on Xlib. (... with all the > >> assumptions > > > > Commiserations but at least Xlib today is

Re: Documentation?

2009-04-07 Thread Alan Cox
On Tue, 7 Apr 2009 18:36:20 + (UTC) Tuomo Valkonen wrote: > On 2009-04-07, Alan Cox wrote: > >> several mission-critical applications that has seen two and a half > >> decades of development based on Xlib. (... with all the assumptions > > > > Commiserations but at least Xlib today is back

Re: Documentation?

2009-04-07 Thread Tuomo Valkonen
On 2009-04-07, Corbin Simpson wrote: >> Pollute my system with KDE or Gnome? Rather install Windows. > > Sounds like a plan. Enjoy your Cleartype. Plan executed and succesfully accomplished. Byebye Linux. Windows XP has a simple option to disable blurring -- actually it isn't even enabled by def

Re: Documentation?

2009-04-07 Thread Tuomo Valkonen
On 2009-04-07, Alan Cox wrote: >> several mission-critical applications that has seen two and a half >> decades of development based on Xlib. (... with all the assumptions > > Commiserations but at least Xlib today is back compatible. Try a 25 year > old windows app and weep. Try a 5 year old Li

Re: Documentation?

2009-04-07 Thread Behdad Esfahbod
On 04/07/2009 02:19 PM, Tuomo Valkonen wrote: > On 2009-04-07, Daniel Stone wrote: >> On Tue, Apr 07, 2009 at 12:01:42PM +, Tuomo Valkonen wrote: >>> that need root access to modify. >> That or an ability to read documentation. > > A 1000 page developer docu

Re: Documentation?

2009-04-07 Thread Patrick O'Donnell
>Date: Tue, 7 Apr 2009 17:56:01 +0100 >From: Alan Cox > >> several mission-critical applications that has seen two and a half >> decades of development based on Xlib. (... with all the assumptions > >Commiserations but at least Xlib today is back compatible. Try a 25 year >old windows app and wee

Re: Documentation?

2009-04-07 Thread Mark Wagner
On Tue, Apr 7, 2009 at 10:07, Adam Jackson wrote: > On Mon, 2009-04-06 at 17:43 -0700, Mark Wagner wrote: > >> Are there programming references for the various extensions, or do I >> need to work from protocol specifications and uncommented header >> files? > > Much

Re: Documentation?

2009-04-07 Thread Patrick O'Donnell
>From: Glynn Clements >Date: Tue, 7 Apr 2009 19:44:19 +0100 > >Patrick O'Donnell wrote: >> Someone offered up www.x.org/docs, which may be fine for X Window >> System developers, but is not what most application programmers would >> call documentation. >

Re: Documentation?

2009-04-07 Thread Thomas Dickey
On Tue, 7 Apr 2009, Alan Cox wrote: > On Tue, 7 Apr 2009 18:36:20 + (UTC) > Tuomo Valkonen wrote: > >> On 2009-04-07, Alan Cox wrote: several mission-critical applications that has seen two and a half decades of development based on Xlib. (... with all the assumptions >>> >>> Comm

Re: Documentation?

2009-04-07 Thread Patrick O'Donnell
>From: "Patrick O'Donnell" >>From: Glynn Clements >>Patrick O'Donnell wrote: >>> I have made similar queries on this list for >>> documentation, with similar lack of results. >> >>IOW, you ask, people answer, you don't like t

Re: Documentation?

2009-04-07 Thread Alan Coopersmith
Patrick O'Donnell wrote: > Someone offered up www.x.org/docs, which may be fine for X Window > System developers, but is not what most application programmers would > call documentation. There's also http://www.x.org/wiki/Documentation which isn't much better, but is a l

Re: Documentation?

2009-04-07 Thread Peter Harris
Mark Wagner wrote: > > Thanks. Is there any documentation on the best way to do various > high-level tasks Xlib is all about low-level tasks, and very intentionally leaves high-level tasks to the various toolkits. In order to get much lower level than Xlib, you'd have to use write

Re: Documentation?

2009-04-07 Thread Daniel Kasak
On Tue, 2009-04-07 at 18:39 +, Tuomo Valkonen wrote: > On 2009-04-07, Corbin Simpson wrote: > >> Pollute my system with KDE or Gnome? Rather install Windows. > > > > Sounds like a plan. Enjoy your Cleartype. > > Plan executed and succesfully accomplished. Byebye Linux. Yes so you keep sayin

Re: Documentation?

2009-04-07 Thread Mark Wagner
On Tue, Apr 7, 2009 at 15:37, Peter Harris wrote: > Mark Wagner wrote: >> >>, such as drawing images?  One of the big things I >> need to update is the toolkit's image-handling code: right now, a >> simple JPEG splashscreen takes seven seconds to draw. > > Seven seconds! The last time I saw a spla

RE: Documentation?

2009-04-07 Thread McDonald, Michael-p7438c
> -Original Message- > From: xorg-boun...@lists.freedesktop.org > [mailto:xorg-boun...@lists.freedesktop.org] On Behalf Of Mark Wagner > Sent: Tuesday, April 07, 2009 4:15 PM > To: Peter Harris > Cc: xorg@lists.freedesktop.org > Subject: Re: Documentation? >

Re: Documentation?

2009-04-07 Thread Peter Harris
Mark Wagner wrote: > On Tue, Apr 7, 2009 at 15:37, Peter Harris wrote: >> Mark Wagner wrote: >>> , such as drawing images? One of the big things I >>> need to update is the toolkit's image-handling code: right now, a >>> simple JPEG splashscreen takes seven seconds to draw. >> Seven seconds! The

Re: Documentation?

2009-04-07 Thread Daniel Stone
On Tue, Apr 07, 2009 at 06:39:59PM +, Tuomo Valkonen wrote: > On 2009-04-07, Corbin Simpson wrote: > >> Pollute my system with KDE or Gnome? Rather install Windows. > > > > Sounds like a plan. Enjoy your Cleartype. > > Plan executed and succesfully accomplished. Byebye Linux. > > Windows XP

Re: Documentation?

2009-04-08 Thread Michel Dänzer
On Tue, 2009-04-07 at 16:27 -0400, Patrick O'Donnell wrote: > > >There shouldn't be any breakage of compatibility in old old apps. ... > > Perhaps not compatibility, strictly speaking, but we're going to miss > our old friends backing store and save unders. Their demise feels > like a breakage o

Re: Documentation?

2009-04-08 Thread Nicolas Mailhot
Le Mar 7 avril 2009 22:41, Mark Wagner a écrit : > Thanks. Is there any documentation on the best way to do various > high-level tasks, such as drawing images? As already discussed, for higher-level tasks you'll be better of going through a higher-level library such as cairo. c

Re: Documentation?

2009-04-08 Thread Tuomo Valkonen
On 2009-04-07, Daniel Stone wrote: > xmodmap should work fine these days: if it doesn't, file an actual bug > on http://bugs.freedesktop.org, instead of non-specific whining on a > mailing list. It doesn't. Not combined with X kitten butcher keymaps. E.g. ISO_Level3_Shit+j can't be assigned in th

Re: Documentation?

2009-04-08 Thread Glynn Clements
Patrick O'Donnell wrote: > >> Someone offered up www.x.org/docs, which may be fine for X Window > >> System developers, but is not what most application programmers would > >> call documentation. > > > >Oh? Would you care to elaborate? Like, what is

Re: Documentation?

2009-04-08 Thread Rémi Cardona
Tuomo Valkonen a écrit : > Which is a registration-required suckzilla. No thanks. Projects > that require registration for their bug trackers, clearly and > loudly state that they're not interested in the reports. Enough already, please stop. Rémi ___ x

Re: Documentation?

2009-04-08 Thread Daniel Stone
On Wed, Apr 08, 2009 at 12:06:35PM +, Tuomo Valkonen wrote: > On 2009-04-08, Daniel Stone wrote: > >> > xmodmap should work fine these days: if it doesn't, file an actual bug > > ^^ > >> > on http://bugs.freedesktop.org, i

Re: Documentation?

2009-04-08 Thread Thomas Dickey
On Tue, 7 Apr 2009, Alan Coopersmith wrote: > Patrick O'Donnell wrote: >> Someone offered up www.x.org/docs, which may be fine for X Window >> System developers, but is not what most application programmers would >> call documentation. > > There's also http

Re: Documentation?

2009-04-08 Thread Daniel Stone
On Wed, Apr 08, 2009 at 09:16:49AM +, Tuomo Valkonen wrote: > On 2009-04-07, Daniel Stone wrote: > > xmodmap should work fine these days: if it doesn't, file an actual bug ^^ > > on http://bugs.freedesktop.org, instead of

Re: Documentation?

2009-04-08 Thread Tuomo Valkonen
On 2009-04-08, Daniel Stone wrote: >> > xmodmap should work fine these days: if it doesn't, file an actual bug > ^^ >> > on http://bugs.freedesktop.org, instead of non-specific whining on a > ^^

Re: Documentation?

2009-04-08 Thread Patrick O'Donnell
>From: Michel =?ISO-8859-1?Q?D=E4nzer?= >Date: Wed, 08 Apr 2009 09:42:01 +0200 > >On Tue, 2009-04-07 at 16:27 -0400, Patrick O'Donnell wrote: >> One of our applications has a very expensive redraw cycle that we now >> have to decide how we are going to manage when backing store is not >> being sup

Re: Documentation?

2009-04-08 Thread Patrick O'Donnell
>Date: Tue, 07 Apr 2009 20:05:08 -0400 >From: Peter Harris > >Unless you need to maintain support for legacy (PseudoColor) >displays, ... > >Yes, PseudoColor is a pain. ... Fortunately, PseudoColor seems to be >mostly dead these days. Please don't write off PseudoColor quite yet. A writable colo

Re: Documentation?

2009-04-08 Thread Michel Dänzer
On Wed, 2009-04-08 at 09:14 -0400, Patrick O'Donnell wrote: > >From: Michel =?ISO-8859-1?Q?D=E4nzer?= > >Date: Wed, 08 Apr 2009 09:42:01 +0200 > > > >On Tue, 2009-04-07 at 16:27 -0400, Patrick O'Donnell wrote: > >> One of our applications has a very expensive redraw cycle that we now > >> have to

Re: Documentation?

2009-04-08 Thread Patrick O'Donnell
st of the above aren't relevant if you're using toolkits ... > >Writing a GUI application using nothing but raw Xlib is a bad idea. >It's analogous to writing an application without any libraries (even >libc), using nothing but home-grown functions and direct system calls.

Re: Documentation?

2009-04-08 Thread Patrick O'Donnell
>From: Michel =?ISO-8859-1?Q?D=E4nzer?= >Date: Wed, 08 Apr 2009 15:29:28 +0200 > >On Wed, 2009-04-08 at 09:14 -0400, Patrick O'Donnell wrote: >> Unfortunately, that's not going to be available for all the platforms >> we must support. > >Why not? U... Because the servers on those platforms d

Re: Documentation?

2009-04-08 Thread Michel Dänzer
On Wed, 2009-04-08 at 09:55 -0400, Patrick O'Donnell wrote: > >From: Michel =?ISO-8859-1?Q?D=E4nzer?= > >Date: Wed, 08 Apr 2009 15:29:28 +0200 > > > >On Wed, 2009-04-08 at 09:14 -0400, Patrick O'Donnell wrote: > >> Unfortunately, that's not going to be available for all the platforms > >> we must

Re: Documentation?

2009-04-08 Thread Patrick O'Donnell
>From: Michel =?ISO-8859-1?Q?D=E4nzer?= >Date: Wed, 08 Apr 2009 15:58:18 +0200 > >On Wed, 2009-04-08 at 09:55 -0400, Patrick O'Donnell wrote: >> >From: Michel =?ISO-8859-1?Q?D=E4nzer?= >> >Date: Wed, 08 Apr 2009 15:29:28 +0200 >> > >> >On Wed, 2009-04-08 at 09:14 -0400, Patrick O'Donnell wrote: >

Re: Documentation?

2009-04-08 Thread Adam Jackson
On Wed, 2009-04-08 at 09:33 -0400, Patrick O'Donnell wrote: > >From: Glynn Clements > >Date: Wed, 8 Apr 2009 11:58:45 +0100 > > > >Patrick O'Donnell wrote: > > > >> >> Someone offered up www.x.org/docs > >> ... a guide to what's even in that > >> directory. ... > > > >Okay. > > > >BDF Bitmap Dis

Re: Documentation?

2009-04-08 Thread Michel Dänzer
On Wed, 2009-04-08 at 10:30 -0400, Patrick O'Donnell wrote: > >From: Michel =?ISO-8859-1?Q?D=E4nzer?= > >Date: Wed, 08 Apr 2009 15:58:18 +0200 > > > >On Wed, 2009-04-08 at 09:55 -0400, Patrick O'Donnell wrote: > >> >From: Michel =?ISO-8859-1?Q?D=E4nzer?= > >> >Date: Wed, 08 Apr 2009 15:29:28 +020

Re: Documentation?

2009-04-08 Thread Peter Harris
Patrick O'Donnell wrote: >> From: Peter Harris >> ...Even if you do need to work on a PseudoColor display, you're far >> better off allocating a new Colormap[1] and calling XStoreColors once >> (to fill the whole Colormap with exactly the colors you need) for >> this sort of thing. > > But for ne

Re: Documentation?

2009-04-08 Thread Patrick O'Donnell
>Date: Wed, 08 Apr 2009 11:11:15 -0400 >From: Peter Harris > >Solaris: Default install is TrueColor only (?). ... >IRIX: dead. But when it was alive, it often had multiple hardware >colormaps (little or no flashing) even when the root visual was PseudoColor. The Solaris on Ultrasparc I've used fo

Re: Documentation?

2009-04-08 Thread Peter Harris
Michel Dänzer wrote: > On Wed, 2009-04-08 at 10:30 -0400, Patrick O'Donnell wrote: >>> From: Michel =?ISO-8859-1?Q?D=E4nzer?= >>> Date: Wed, 08 Apr 2009 15:58:18 +0200 >>> >>> On Wed, 2009-04-08 at 09:55 -0400, Patrick O'Donnell wrote: > From: Michel =?ISO-8859-1?Q?D=E4nzer?= > Date: Wed,

Re: Documentation?

2009-04-08 Thread Alan Coopersmith
Patrick O'Donnell wrote: >> ...Even if you do need to work on a PseudoColor display, you're far >> better off allocating a new Colormap[1] and calling XStoreColors once >> (to fill the whole Colormap with exactly the colors you need) for >> this sort of thing. > > But for nearly all systems, alloc

Re: Documentation?

2009-04-08 Thread Gene Heskett
On Wednesday 08 April 2009, Rémi Cardona wrote: >Tuomo Valkonen a écrit : >> Which is a registration-required suckzilla. No thanks. Projects >> that require registration for their bug trackers, clearly and >> loudly state that they're not interested in the reports. > >Enough already, please stop.

Re: Documentation?

2009-04-08 Thread Gene Heskett
On Wednesday 08 April 2009, Tuomo Valkonen wrote: >On 2009-04-08, Daniel Stone wrote: >>> > xmodmap should work fine these days: if it doesn't, file an actual bug >> >> ^^ >> >>> > on http://bugs.freedesktop.org, instead of no

Re: Documentation?

2009-04-08 Thread Alan Coopersmith
Gene Heskett wrote: > You want a bug report? Let us file the bug without half an hour filling out > forms and such to register for yet another service that may generate even > more > spam. Screw it. Registering for a bugzilla account doesn't take any longer than subscribing to this mailing lis

Re: Documentation?

2009-04-08 Thread Patrick O'Donnell
>Date: Wed, 08 Apr 2009 11:36:33 -0400 >From: Peter Harris > >As a constructive suggestion: For expensive drawing, you can draw to a >pixmap and just copy from that pixmap to the window every time you get >an Expose event. Thanks. That is the tack I'm planning to take. Though, another suggestio

Re: Documentation?

2009-04-08 Thread tv
subsitute, like a generic CM that isn't a complete joke. (And CMs are overall a fucking joke and a waste of CPU cycles and memory... unless you can somehow emulate just saveunders etc. without storing all the hundred windows in memory... but all this has *piss-poor* documentation in a typical fas

Re: Documentation?

2009-04-08 Thread tv
On 2009-04-08, Alan Coopersmith wrote: > Gene Heskett wrote: >> You want a bug report? Let us file the bug without half an hour filling out >> forms and such to register for yet another service that may generate even >> more >> spam. Screw it. > > Registering for a bugzilla account doesn't tak

Re: Documentation?

2009-04-08 Thread Corbin Simpson
that isn't a complete joke. (And CMs are > overall a fucking joke and a waste of CPU cycles and memory... unless > you can somehow emulate just saveunders etc. without storing all the > hundred windows in memory... but all this has *piss-poor* documentation > in a typical fashion.)

Re: Documentation?

2009-04-08 Thread Mark Wagner
On Wed, Apr 8, 2009 at 01:19, Nicolas Mailhot wrote: > > Le Mar 7 avril 2009 22:41, Mark Wagner a écrit : > >> Thanks.  Is there any documentation on the best way to do various >> high-level tasks, such as drawing images? > > As already discussed, for higher-level task

Re: Documentation?

2009-04-08 Thread Olivier Galibert
On Wed, Apr 08, 2009 at 12:55:09PM -0700, Corbin Simpson wrote: > Write an application that understands that backing store is an > optimization that the server may not actually honor, and no pain would > have ever befallen you. You could say the exact same thing of pixmaps. After all, an implemen

Re: Documentation?

2009-04-08 Thread Alan Cox
> Dropping support for automatic backing store while at the same pushing > for a design, composite, that is all backing store all the time means > one of three things : lazyness, incompetence, or a big honking design > issue in the server. So, which one is it? Backing store has long been off by d

Re: Documentation?

2009-04-08 Thread tv
On 2009-04-08, Corbin Simpson wrote: > Write an application that understands that backing store is an > optimization that the server may not actually honor, and no pain would > have ever befallen you. Consider a simple drag&drop application with a window being dragged around the screen. It simply

Re: Documentation?

2009-04-08 Thread Olivier Galibert
On Wed, Apr 08, 2009 at 09:28:47PM +0100, Alan Cox wrote: > > Dropping support for automatic backing store while at the same pushing > > for a design, composite, that is all backing store all the time means > > one of three things : lazyness, incompetence, or a big honking design > > issue in the s

Re: Documentation?

2009-04-08 Thread Stephane Marchesin
On Wed, Apr 8, 2009 at 18:18, Gene Heskett wrote: > On Wednesday 08 April 2009, Tuomo Valkonen wrote: >>On 2009-04-08, Daniel Stone wrote: > xmodmap should work fine these days: if it doesn't, file an actual bug >>> >>>                                                        

Re: Documentation?

2009-04-08 Thread Stephane Marchesin
On Wed, Apr 8, 2009 at 22:13, Olivier Galibert wrote: > > Dropping support for automatic backing store while at the same pushing > for a design, composite, that is all backing store all the time means > one of three things : lazyness, incompetence, or a big honking design > issue in the server.  S

Re: Documentation?

2009-04-08 Thread Olivier Galibert
On Wed, Apr 08, 2009 at 10:36:13PM +0200, Stephane Marchesin wrote: > I agree with you. If you're too lazy and do not have enough dedication > to create an account on our bugzilla to file a proper bug report, > you're probably not going to follow-up when we send patches/fixes your > way. So I say y

Re: Documentation?

2009-04-08 Thread tv
On 2009-04-08, Stephane Marchesin wrote: > I never saw any of the people who complain here submit a single patch > for their issues, yet they are very quick to complain for every change > they don't like. > Since you don't submit patches, that means one of three things: > lazyness, incompetence, o

Re: Documentation?

2009-04-08 Thread Olivier Galibert
On Wed, Apr 08, 2009 at 10:37:27PM +0200, Stephane Marchesin wrote: > I never saw any of the people who complain here submit a single patch > for their issues, yet they are very quick to complain for every change > they don't like. > Since you don't submit patches, that means one of three things:

Re: Documentation?

2009-04-08 Thread Thomas Dickey
On Wed, Apr 08, 2009 at 01:13:32PM -0700, Mark Wagner wrote: > On Wed, Apr 8, 2009 at 01:19, Nicolas Mailhot > wrote: > > > > Le Mar 7 avril 2009 22:41, Mark Wagner a écrit : > > > >> Thanks.  Is there any documentation on the best way to do various >

Re: Documentation?

2009-04-08 Thread Behdad Esfahbod
On 04/08/2009 05:00 PM, Thomas Dickey wrote: > Well, I'd go to the source, rather than rely on comments. > > Quoting from > > http://cairographics.org/documentation/ > > Documentation for cairo is an area that could always be greatly > improved. C

Re: Documentation?

2009-04-08 Thread Alan Cox
> > if someone massively resizes a window with backing store (remembering it > > can be mostly offscreen) your X server explodes. > > Hence the pleasure that is composite. Compositing only has to deal with the visible resources. The design very carefully keeps the rendering determined by the size

Re: Documentation?

2009-04-08 Thread Olivier Galibert
On Wed, Apr 08, 2009 at 10:15:44PM +0100, Alan Cox wrote: > Again compositing handles this cleanly and elegantly, and you can use > compositing solely for simple 2D resource buffering and management far > more effectively without breaking everything else interesting. That would be something intere

Re: Documentation?

2009-04-08 Thread Thomas Dickey
On Wed, 8 Apr 2009, Behdad Esfahbod wrote: > On 04/08/2009 05:00 PM, Thomas Dickey wrote: >> Well, I'd go to the source, rather than rely on comments. >> >> Quoting from >> >> http://cairographics.org/documentation/ >> >> Documentation

Re: Documentation?

2009-04-08 Thread Behdad Esfahbod
://cairographics.org/download/ > > (I was curious if there was some documentation there). > >>> If only the latest release is "API-stable", by definition it's not >>> stable. This cannot be deduced from that line. You need to review your math. >>

Re: Documentation?

2009-04-08 Thread Nicolas Mailhot
Le mercredi 08 avril 2009 à 13:13 -0700, Mark Wagner a écrit : > How standard is Cairo? The proof-of-concept app from 15 years ago > still works fine because it's only got two dependancies: Xlib and > libc. It works everywhere for the same reason. If I added Cairo as a > dependancy, would apps

Re: Documentation?

2009-04-08 Thread Thomas Dickey
table version of cairo. > >> > >>Not sure where you are quoting this from. > > > >http://cairographics.org/download/ > > > >(I was curious if there was some documentation there). > > > >>>If only the latest release is "API-stable"

  1   2   3   >