From jimis at gmx.net Sat Oct 9 22:21:36 2004 From: jimis at gmx.net (Dimitrios Apostolou) Date: Sat Oct 9 22:23:37 2004 Subject: [Y-devel] widget size independant to screen resolution Message-ID: <41685660.1090502@gmx.net> Hello list, sorry to break radio silence :-), I hope Y wakes up some time soon. The reason I'm writing is to express my desire for all graphical environments. Unfortunately this feature is not fully implemented anywhere (to my knowledge) but I'd love to see it in the window server of the future ;-). In a few words what I want is that widget size should be independant to screen resolution. Actually, by saying widget I mean everything drawn on screen: menus, buttons, toolbars, tasbar, window margins, borders, title bars e.t.c., even common text. And by saying independant to screen resolution I certainly don't expect everything to have the same size in every screen at every resolution. What I consider fairly easy is drawing everything like now, with default size, but giving the user an option using a slider to change the "widget size". When changing this variable everything mentioned before should change size alltogether. As for the implementation, the general idea is to multiply the dimensions of everything drawn on screen (e.g. font size) with a float variable, initially set to 1 and changed with the previous slider. There is a problem with the graphics inside widgets, but can be solved either using exlusively scalable graphics, or bitmaps properly resized. The usefulness is obvious to whoever hates giantic widgets (desktops like kindergarden :-) ) and is stuck with a low-res TFT. I see this as an opportunity to creative discussion so please comment on my idea while waiting the new Y to erupt... Thank you, Dimitris From matt at matt-land.com Sun Oct 10 08:41:01 2004 From: matt at matt-land.com (Matthew A. Nicholson) Date: Sun Oct 10 09:35:28 2004 Subject: [Y-devel] widget size independant to screen resolution In-Reply-To: <41685660.1090502@gmx.net> References: <41685660.1090502@gmx.net> Message-ID: <4168E78D.2000007@matt-land.com> I like this idea very much. Of course it still may be necessary to specify a more fixed size or over ride this type of positioning/sizing. Dimitrios Apostolou wrote: > Hello list, > > sorry to break radio silence :-), I hope Y wakes up some time soon. > > The reason I'm writing is to express my desire for all graphical > environments. Unfortunately this feature is not fully implemented > anywhere (to my knowledge) but I'd love to see it in the window server > of the future ;-). > > In a few words what I want is that widget size should be independant to > screen resolution. > Actually, by saying widget I mean everything drawn on screen: menus, > buttons, toolbars, tasbar, window margins, borders, title bars e.t.c., > even common text. > And by saying independant to screen resolution I certainly don't > expect everything to have the same size in every screen at every > resolution. What I consider fairly easy is drawing everything like now, > with default size, but giving the user an option using a slider to > change the "widget size". When changing this variable everything > mentioned before should change size alltogether. > > As for the implementation, the general idea is to multiply the > dimensions of everything drawn on screen (e.g. font size) with a float > variable, initially set to 1 and changed with the previous slider. There > is a problem with the graphics inside widgets, but can be solved either > using exlusively scalable graphics, or bitmaps properly resized. > > The usefulness is obvious to whoever hates giantic widgets (desktops > like kindergarden :-) ) and is stuck with a low-res TFT. > > > I see this as an opportunity to creative discussion so please comment on > my idea while waiting the new Y to erupt... > > Thank you, > Dimitris > > -- Matthew A. Nicholson Matt-land.com From jacob at ivorytower.ca Sun Oct 10 14:21:14 2004 From: jacob at ivorytower.ca (Jacob O'Reilly) Date: Sun Oct 10 14:21:51 2004 Subject: [Y-devel] widget size independant to screen resolution References: <41685660.1090502@gmx.net> <4168E78D.2000007@matt-land.com> Message-ID: <000a01c4aecc$0482d120$6700a8c0@JIMMY> Sounds much like the scaling in .NET's Windows Forms. Your widgets grow proportionately to the Windows font size setting (e.g. Large Fonts or arbitrary user preference.) Works especially well when you use the layout mechnisms like anchoring and docking. ----- Original Message ----- From: "Matthew A. Nicholson" To: "Dimitrios Apostolou" Cc: Sent: Sunday, October 10, 2004 4:41 AM Subject: Re: [Y-devel] widget size independant to screen resolution >I like this idea very much. Of course it still may be necessary to specify >a more fixed size or over ride this type of positioning/sizing. > > Dimitrios Apostolou wrote: >> Hello list, >> >> sorry to break radio silence :-), I hope Y wakes up some time soon. >> >> The reason I'm writing is to express my desire for all graphical >> environments. Unfortunately this feature is not fully implemented >> anywhere (to my knowledge) but I'd love to see it in the window server of >> the future ;-). >> >> In a few words what I want is that widget size should be independant to >> screen resolution. >> Actually, by saying widget I mean everything drawn on screen: menus, >> buttons, toolbars, tasbar, window margins, borders, title bars e.t.c., >> even common text. >> And by saying independant to screen resolution I certainly don't >> expect everything to have the same size in every screen at every >> resolution. What I consider fairly easy is drawing everything like now, >> with default size, but giving the user an option using a slider to change >> the "widget size". When changing this variable everything mentioned >> before should change size alltogether. >> >> As for the implementation, the general idea is to multiply the dimensions >> of everything drawn on screen (e.g. font size) with a float variable, >> initially set to 1 and changed with the previous slider. There is a >> problem with the graphics inside widgets, but can be solved either using >> exlusively scalable graphics, or bitmaps properly resized. >> >> The usefulness is obvious to whoever hates giantic widgets (desktops like >> kindergarden :-) ) and is stuck with a low-res TFT. >> >> >> I see this as an opportunity to creative discussion so please comment on >> my idea while waiting the new Y to erupt... >> >> Thank you, >> Dimitris >> >> > > > -- > Matthew A. Nicholson > Matt-land.com > > From arpad at gamesweb.com Sat Oct 16 10:12:59 2004 From: arpad at gamesweb.com (Arpad Borsos) Date: Sat Oct 16 10:11:54 2004 Subject: [Y-devel] Activity Message-ID: <4170E61B.7040306@gamesweb.com> Come on guys. This is not how the project should be like. There hasn't been any activity in the last 2-3 month. I know that Andrew is busy with some things but then release some new code at least. And stop yelling at people that they are to stupid to set up arch. I'm a complete linux n00b and i managed to get the latest release from arch. But that doesnt really help me if there hasn't been any activity in the arch tree since july. So please at least commit your changes to arch that other people can play with the code and that i can test it. I had a compile error some time ago which i could resolve with a little help from a friend but since i have switched to gcc 3.4 i'm totaly out of luck. Unfortunately i can't code C++ :( See the Build Config Page for more details. As i mentioned before, i can't help with coding but if you need someone who knows good PHP and XHTML let me know ;) PHP bindings would be realy cool though. So long. I hope there will be some changes in the future. -- ________________________________ MfG Arpad Borsos aka "Swatinem" IRC: irc://de.quakenet.org/swatinemz ________________________________ Reclaim Your Inbox! - Mozilla Thunderbird http://www.mozilla.org/products/thunderbird/ Take Back the Web! - Mozilla Firefox http://www.mozilla.org/products/firefox/ ________________________________ From phil at y-windows.org Sat Oct 16 12:43:33 2004 From: phil at y-windows.org (Phil Willoughby) Date: Sat Oct 16 12:43:34 2004 Subject: [Y-devel] Activity In-Reply-To: <4170E61B.7040306@gamesweb.com> References: <4170E61B.7040306@gamesweb.com> Message-ID: <1097927013.4171096517728@www.tastycake.net> Quoting Arpad Borsos : > So please at least commit your changes to arch that other people can > play with the code and that i can test it. You seem to be under the impression that there is some secret hidden codebase somewhere in which changes have been made. There isn't. Everyone's busy. > I had a compile error some time ago which i could resolve with a little > help from a friend but since i have switched to gcc 3.4 i'm totaly out > of luck. Unfortunately i can't code C++ :( See the Build Config Page for > more details. Where's that page then? As a complaint, this is probably the most useless information ever. If you send the last few lines of your make output (from the point it executed the compiler to the point make noticed the error) to the list there's a moderate chance you might get some help. This patch fixes some bugs in code which may or may not be related to your problem (against markbt@efaref.net--2004 Y--devel--0.2--patch-54): ===begin=== --- orig/Y/main/config.c +++ mod/Y/main/config.c @@ -199,7 +199,7 @@ long int i = strtol(*c, &end, 0); /* Must be terminated with whitespace */ - if (!isspace(*c)) + if (!isspace(*end)) return false; *c = end; @@ -218,7 +218,7 @@ unsigned long int i = strtoul(*c, &end, 0); /* Must be terminated with whitespace */ - if (!isspace(*c)) + if (!isspace(*end)) return false; *c = end; --- orig/Y/main/y.c +++ mod/Y/main/y.c @@ -92,7 +92,7 @@ { fprintf(stderr, "Usage: Y [OPTION ...]\n"); fprintf(stderr, " --config file use a different config file\n"); - fprintf(stderr, " --no-detach do not detach from teh controlling terminal\n"); + fprintf(stderr, " --no-detach do not detach from the controlling terminal\n"); fprintf(stderr, " --emit-pid when detaching, emit the pid of the server on stdout\n"); fprintf(stderr, "\n"); fprintf(stderr, " --version display version information and exit\n"); ===end=== Phil From richard at playford.net Sat Oct 16 13:01:05 2004 From: richard at playford.net (richard) Date: Sat Oct 16 13:01:16 2004 Subject: [Y-devel] Activity In-Reply-To: <1097927013.4171096517728@www.tastycake.net> References: <4170E61B.7040306@gamesweb.com> <1097927013.4171096517728@www.tastycake.net> Message-ID: <1097928065.1476.26.camel@localhost.localdomain> On Sat, 2004-10-16 at 12:43, Phil Willoughby wrote: > Quoting Arpad Borsos : > > So please at least commit your changes to arch that other people can > > play with the code and that i can test it. > > You seem to be under the impression that there is some secret hidden codebase > somewhere in which changes have been made. There isn't. Everyone's busy. Given Suffield's comment recently: > Development activity is roughly inversely proportional to time > spent farting about on IRC, for pretty much any project. ... I assumed development was leaping ahead. Richard From blblack at gmail.com Sat Oct 16 16:31:38 2004 From: blblack at gmail.com (Brandon Black) Date: Sat Oct 16 16:31:45 2004 Subject: [Y-devel] Activity In-Reply-To: <1097928065.1476.26.camel@localhost.localdomain> References: <4170E61B.7040306@gamesweb.com> <1097927013.4171096517728@www.tastycake.net> <1097928065.1476.26.camel@localhost.localdomain> Message-ID: <84621a604101608312d42e657@mail.gmail.com> Regardless of whether any work is being done by anyone, or being made available to the public, you can't really fault anyone for open source work, or chide them for not making their own efforts available and easy for you to use right now. If you're itching to work on Y, then by all means, grab the latest source you can find and work on it yourself. On Sat, 16 Oct 2004 13:01:05 +0100, richard wrote: > On Sat, 2004-10-16 at 12:43, Phil Willoughby wrote: > > Quoting Arpad Borsos : > > > So please at least commit your changes to arch that other people can > > > play with the code and that i can test it. > > > > You seem to be under the impression that there is some secret hidden codebase > > somewhere in which changes have been made. There isn't. Everyone's busy. > > Given Suffield's comment recently: > > > Development activity is roughly inversely proportional to time > > spent farting about on IRC, for pretty much any project. > > ... I assumed development was leaping ahead. > > Richard > > From james at grickle.org Sat Oct 16 23:21:57 2004 From: james at grickle.org (james@grickle.org) Date: Sat Oct 16 23:22:09 2004 Subject: [Y-devel] Arch tutorial article. Message-ID: <40714.127.0.0.1.1097965317.squirrel@grickle.org> http://www.linuxjournal.com/article.php?sid=7671 I saw this article while browsing around and thought I'd bring it up since a lot of people have either problems or fear of arch. It seems to explain things a little simpler than the arch-tutiral (http://gnuarch.org/tutorial/html/arch.html). Cheers, James From matthew at wellquite.org Sun Oct 17 00:00:40 2004 From: matthew at wellquite.org (Matthew Sackman) Date: Sun Oct 17 00:01:26 2004 Subject: [Y-devel] Arch tutorial article. In-Reply-To: <40714.127.0.0.1.1097965317.squirrel@grickle.org> References: <40714.127.0.0.1.1097965317.squirrel@grickle.org> Message-ID: <20041016230040.GR27544@smudge.flat> On Sat, Oct 16, 2004 at 10:21:57PM -0000, james@grickle.org wrote: > http://www.linuxjournal.com/article.php?sid=7671 Goodness, someone's finally invented a time machine. Matthew -- Matthew Sackman BOFH excuse #149: Dew on the telephone lines. From arpad at gamesweb.com Sun Oct 17 09:52:10 2004 From: arpad at gamesweb.com (Arpad Borsos) Date: Sun Oct 17 09:51:04 2004 Subject: [Y-devel] Arch tutorial article. Message-ID: <417232BA.1030108@gamesweb.com> I dont realy think that Arch is the problem. I found it realy easy to install. The problem is, that there hasn't been any commits in since july. Or is there somewhere some secret archive that is not documented in the wiki? -- ________________________________ MfG Arpad Borsos aka "Swatinem" IRC: irc://de.quakenet.org/swatinemz ________________________________ Reclaim Your Inbox! - Mozilla Thunderbird http://www.mozilla.org/products/thunderbird/ Take Back the Web! - Mozilla Firefox http://www.mozilla.org/products/firefox/ ________________________________ From james at grickle.org Sun Oct 17 21:02:02 2004 From: james at grickle.org (James Harr) Date: Sun Oct 17 21:02:09 2004 Subject: [Y-devel] Arch tutorial article. Message-ID: A while back there was some bickering about how we should use subversion or something else because arch was a pain or it was too bothersome to use. I was just posting it for those who were either complaining because of arch or who are just lurking on the mailing list and haven't bothered to try arch yet. >I dont realy think that Arch is the problem. I found it realy easy to >install. From phil at y-windows.org Sun Oct 17 21:58:33 2004 From: phil at y-windows.org (Phil Willoughby) Date: Sun Oct 17 21:58:46 2004 Subject: [Y-devel] Arch tutorial article. In-Reply-To: References: Message-ID: <4172DCF9.8000702@y-windows.org> James Harr wrote: > A while back there was some bickering about how we should use subversion or something > else because arch was a pain or it was too bothersome to use. I was just posting it for those > who were either complaining because of arch or who are just lurking on the mailing list and > haven't bothered to try arch yet. The biggest single proble with tla is that all the commands require so much typing. It's about 4 times worse for RSI sufferers than CVS. If I could get a decent set of tcsh completion rules for tla it wouldn't be so bad. As it is, so far I reckon I've spent more time typing tla commands than producing code. Phil From misterpib at gmail.com Mon Oct 18 00:28:52 2004 From: misterpib at gmail.com (Paul Bonser) Date: Mon Oct 18 00:28:59 2004 Subject: [Y-devel] Error when starting Y In-Reply-To: <4172DCF9.8000702@y-windows.org> References: <4172DCF9.8000702@y-windows.org> Message-ID: I was very excited to start messing around with Y (pretty much just what I've been looking for to use with a project I am looking to start), but when I compiled the latest version 0.2.1 and ran it, it simply returned, saying "Y: server exited before starting up". I decided to try out version 0.2 and when I tried running it, the window titled "Y on SDL" popped up for a few seconds, goes away, and then Y keeps running until I kill it. Am I missing something? I'd sure like to give this a try. -Paul Bonser From arpad at gamesweb.com Mon Oct 18 06:17:09 2004 From: arpad at gamesweb.com (Arpad Borsos) Date: Mon Oct 18 06:16:00 2004 Subject: [Y-devel] Error when starting Y In-Reply-To: References: <4172DCF9.8000702@y-windows.org> Message-ID: <417351D5.80801@gamesweb.com> try editing the font paths in /usr/local/etc/Y/server.conf i had the same problem too. After setting the font paths correctly it worked. Paul Bonser schrieb: >I was very excited to start messing around with Y (pretty much just >what I've been looking for to use with a project I am looking to >start), but when I compiled the latest version 0.2.1 and ran it, it >simply returned, saying "Y: server exited before starting up". > >I decided to try out version 0.2 and when I tried running it, the >window titled "Y on SDL" popped up for a few seconds, goes away, and >then Y keeps running until I kill it. > >Am I missing something? I'd sure like to give this a try. > >-Paul Bonser > > > > > -- ________________________________ MfG Arpad Borsos aka "Swatinem" IRC: irc://de.quakenet.org/swatinemz ________________________________ Reclaim Your Inbox! - Mozilla Thunderbird http://www.mozilla.org/products/thunderbird/ Take Back the Web! - Mozilla Firefox http://www.mozilla.org/products/firefox/ ________________________________ From xfurious at gmail.com Tue Oct 19 03:37:00 2004 From: xfurious at gmail.com (William Lahti) Date: Tue Oct 19 03:37:09 2004 Subject: [Y-devel] widget size independant to screen resolution In-Reply-To: <000a01c4aecc$0482d120$6700a8c0@JIMMY> References: <41685660.1090502@gmx.net> <4168E78D.2000007@matt-land.com> <000a01c4aecc$0482d120$6700a8c0@JIMMY> Message-ID: <925b3e00041018193733725a79@mail.gmail.com> Screen resolution is *not* meant to change the size of your desktop. Screen resolution is intended to increase quality as resolution gets higher. This means that widgets should be drawn the same size no matter what resolution your in. This fits in nicely with your slider idea (which I also thought of when working on my own graphics project). By doing this, you need to stop applications from specifying sizes in pixels. Pixels are low-level units and should never be needed by standard applications. You could however specify a 'virtual pixel' unit which splits the screen into 640x480 units (no matter what resolution). Such a mapping would allow people to have the familiarity of pixels and still support resolution independence. In the past (and present) people thought that since people with larger screens can have larger resolutions, the widgets end up being the same size. This is ignorant, as most monitors support at least two different resolutions. I think all modern toolkits should have unit measurement built in. That is to say that the programmer can input measurements in many different units. These units are automatically converted to pixels. Because the underlying system performs the translation, you can support not only static PPIs for each resolution (pixels per inch o' course) but you can also gather such PPI information from the hardware if it makes it available. This would allow a windowing system to display an inch as exactly an inch. On Sun, 10 Oct 2004 10:21:14 -0300, Jacob O'Reilly wrote: > Sounds much like the scaling in .NET's Windows Forms. Your widgets grow > proportionately to the Windows font size setting (e.g. Large Fonts or > arbitrary user preference.) Works especially well when you use the layout > mechnisms like anchoring and docking. > > > > ----- Original Message ----- > From: "Matthew A. Nicholson" > To: "Dimitrios Apostolou" > Cc: > Sent: Sunday, October 10, 2004 4:41 AM > Subject: Re: [Y-devel] widget size independant to screen resolution > > >I like this idea very much. Of course it still may be necessary to specify > >a more fixed size or over ride this type of positioning/sizing. > > > > Dimitrios Apostolou wrote: > >> Hello list, > >> > >> sorry to break radio silence :-), I hope Y wakes up some time soon. > >> > >> The reason I'm writing is to express my desire for all graphical > >> environments. Unfortunately this feature is not fully implemented > >> anywhere (to my knowledge) but I'd love to see it in the window server of > >> the future ;-). > >> > >> In a few words what I want is that widget size should be independant to > >> screen resolution. > >> Actually, by saying widget I mean everything drawn on screen: menus, > >> buttons, toolbars, tasbar, window margins, borders, title bars e.t.c., > >> even common text. > >> And by saying independant to screen resolution I certainly don't > >> expect everything to have the same size in every screen at every > >> resolution. What I consider fairly easy is drawing everything like now, > >> with default size, but giving the user an option using a slider to change > >> the "widget size". When changing this variable everything mentioned > >> before should change size alltogether. > >> > >> As for the implementation, the general idea is to multiply the dimensions > >> of everything drawn on screen (e.g. font size) with a float variable, > >> initially set to 1 and changed with the previous slider. There is a > >> problem with the graphics inside widgets, but can be solved either using > >> exlusively scalable graphics, or bitmaps properly resized. > >> > >> The usefulness is obvious to whoever hates giantic widgets (desktops like > >> kindergarden :-) ) and is stuck with a low-res TFT. > >> > >> > >> I see this as an opportunity to creative discussion so please comment on > >> my idea while waiting the new Y to erupt... > >> > >> Thank you, > >> Dimitris > >> > >> > > > > > > -- > > Matthew A. Nicholson > > Matt-land.com > > > > > > From xhook at hot.ee Tue Oct 19 08:36:04 2004 From: xhook at hot.ee (xhook) Date: Tue Oct 19 08:36:14 2004 Subject: [Y-devel] widget size independant to screen resolution In-Reply-To: <925b3e00041018193733725a79@mail.gmail.com> Message-ID: <20041019073604.4E28D18AFF@portal.hot.ee> The only problem with that is that there must be an anti-aliasing for everything that exists on the screen. Also there must be some kind of smart filtering for images (there is a cool algorithm with the same name. I've seen the descrption for that in russian (somewhere on www.gamedev.ru). But i don't know if there is in english.) BTW, where must this feature be located? I think somewhere in themes implementation, so not every theme can support it. For example themes with raster widgets can't fully support it. Best whishes, Dmitry. > Screen resolution is *not* meant to change the size of your desktop. > Screen resolution is intended to increase quality as resolution gets > higher. This means that widgets should be drawn the same size no > matter what resolution your in. This fits in nicely with your slider > idea (which I also thought of when working on my own graphics > project). > > By doing this, you need to stop applications from specifying sizes in > pixels. Pixels are low-level units and should never be needed by > standard applications. You could however specify a 'virtual pixel' > unit which splits the screen into 640x480 units (no matter what > resolution). Such a mapping would allow people to have the familiarity > of pixels and still support resolution independence. > > In the past (and present) people thought that since people with larger > screens can have larger resolutions, the widgets end up being the same > size. This is ignorant, as most monitors support at least two > different resolutions. > > I think all modern toolkits should have unit measurement built in. > That is to say that the programmer can input measurements in many > different units. These units are automatically converted to pixels. > Because the underlying system performs the translation, you can > support not only static PPIs for each resolution (pixels per inch o' > course) but you can also gather such PPI information from the hardware > if it makes it available. This would allow a windowing system to > display an inch as exactly an inch. > > > On Sun, 10 Oct 2004 10:21:14 -0300, Jacob O'Reilly wrote: > > Sounds much like the scaling in .NET's Windows Forms. Your widgets grow > > proportionately to the Windows font size setting (e.g. Large Fonts or > > arbitrary user preference.) Works especially well when you use the layout > > mechnisms like anchoring and docking. > > > > > > > > ----- Original Message ----- > > From: "Matthew A. Nicholson" > > To: "Dimitrios Apostolou" > > Cc: > > Sent: Sunday, October 10, 2004 4:41 AM > > Subject: Re: [Y-devel] widget size independant to screen resolution > > > > >I like this idea very much. Of course it still may be necessary to specify > > >a more fixed size or over ride this type of positioning/sizing. > > > > > > Dimitrios Apostolou wrote: > > >> Hello list, > > >> > > >> sorry to break radio silence :-), I hope Y wakes up some time soon. > > >> > > >> The reason I'm writing is to express my desire for all graphical > > >> environments. Unfortunately this feature is not fully implemented > > >> anywhere (to my knowledge) but I'd love to see it in the window server of > > >> the future ;-). > > >> > > >> In a few words what I want is that widget size should be independant to > > >> screen resolution. > > >> Actually, by saying widget I mean everything drawn on screen: menus, > > >> buttons, toolbars, tasbar, window margins, borders, title bars e.t.c., > > >> even common text. > > >> And by saying independant to screen resolution I certainly don't > > >> expect everything to have the same size in every screen at every > > >> resolution. What I consider fairly easy is drawing everything like now, > > >> with default size, but giving the user an option using a slider to change > > >> the "widget size". When changing this variable everything mentioned > > >> before should change size alltogether. > > >> > > >> As for the implementation, the general idea is to multiply the dimensions > > >> of everything drawn on screen (e.g. font size) with a float variable, > > >> initially set to 1 and changed with the previous slider. There is a > > >> problem with the graphics inside widgets, but can be solved either using > > >> exlusively scalable graphics, or bitmaps properly resized. > > >> > > >> The usefulness is obvious to whoever hates giantic widgets (desktops like > > >> kindergarden :-) ) and is stuck with a low-res TFT. > > >> > > >> > > >> I see this as an opportunity to creative discussion so please comment on > > >> my idea while waiting the new Y to erupt... > > >> > > >> Thank you, > > >> Dimitris > > >> > > >> > > > > > > > > > -- > > > Matthew A. Nicholson > > > Matt-land.com > > > > > > > > > > > > ----------------------------------------- ITV - Sinu lemmiksaated internetis! http://www.itv.ee From misterpib at gmail.com Tue Oct 19 08:54:10 2004 From: misterpib at gmail.com (Paul Bonser) Date: Tue Oct 19 08:54:19 2004 Subject: [Y-devel] widget size independant to screen resolution In-Reply-To: <20041019073604.4E28D18AFF@portal.hot.ee> References: <925b3e00041018193733725a79@mail.gmail.com> <20041019073604.4E28D18AFF@portal.hot.ee> Message-ID: I would imagine that this would be implemented in a theme engine (since at the root of the Y server, everything will still be pixels, as that is what it is actually drawing in, obviously). The great thing about Y is that this should be totally transparent to any client application, it can just assume that the units it is being told are pixels, and the widget system will take care of the rest for it. There might be some setbacks in the actual implementation of such a system, but that's what discussion is for, right? -Paul Bonser On Tue, 19 Oct 2004 10:36:04 +0300 (EEST), xhook wrote: > The only problem with that is that there must be an anti-aliasing for everything that exists on the screen. Also there must be some kind of smart filtering for images (there is a cool algorithm with the same name. I've seen the descrption for that in russian (somewhere on www.gamedev.ru). But i don't know if there is in english.) > > BTW, where must this feature be located? I think somewhere in themes implementation, so not every theme can support it. For example themes with raster widgets can't fully support it. > > Best whishes, Dmitry. > > > > > Screen resolution is *not* meant to change the size of your desktop. > > Screen resolution is intended to increase quality as resolution gets > > higher. This means that widgets should be drawn the same size no > > matter what resolution your in. This fits in nicely with your slider > > idea (which I also thought of when working on my own graphics > > project). > > > > By doing this, you need to stop applications from specifying sizes in > > pixels. Pixels are low-level units and should never be needed by > > standard applications. You could however specify a 'virtual pixel' > > unit which splits the screen into 640x480 units (no matter what > > resolution). Such a mapping would allow people to have the familiarity > > of pixels and still support resolution independence. > > > > In the past (and present) people thought that since people with larger > > screens can have larger resolutions, the widgets end up being the same > > size. This is ignorant, as most monitors support at least two > > different resolutions. > > > > I think all modern toolkits should have unit measurement built in. > > That is to say that the programmer can input measurements in many > > different units. These units are automatically converted to pixels. > > Because the underlying system performs the translation, you can > > support not only static PPIs for each resolution (pixels per inch o' > > course) but you can also gather such PPI information from the hardware > > if it makes it available. This would allow a windowing system to > > display an inch as exactly an inch. > > > > > > On Sun, 10 Oct 2004 10:21:14 -0300, Jacob O'Reilly wrote: > > > Sounds much like the scaling in .NET's Windows Forms. Your widgets grow > > > proportionately to the Windows font size setting (e.g. Large Fonts or > > > arbitrary user preference.) Works especially well when you use the layout > > > mechnisms like anchoring and docking. > > > > > > > > > > > > ----- Original Message ----- > > > From: "Matthew A. Nicholson" > > > To: "Dimitrios Apostolou" > > > Cc: > > > Sent: Sunday, October 10, 2004 4:41 AM > > > Subject: Re: [Y-devel] widget size independant to screen resolution > > > > > > >I like this idea very much. Of course it still may be necessary to specify > > > >a more fixed size or over ride this type of positioning/sizing. > > > > > > > > Dimitrios Apostolou wrote: > > > >> Hello list, > > > >> > > > >> sorry to break radio silence :-), I hope Y wakes up some time soon. > > > >> > > > >> The reason I'm writing is to express my desire for all graphical > > > >> environments. Unfortunately this feature is not fully implemented > > > >> anywhere (to my knowledge) but I'd love to see it in the window server of > > > >> the future ;-). > > > >> > > > >> In a few words what I want is that widget size should be independant to > > > >> screen resolution. > > > >> Actually, by saying widget I mean everything drawn on screen: menus, > > > >> buttons, toolbars, tasbar, window margins, borders, title bars e.t.c., > > > >> even common text. > > > >> And by saying independant to screen resolution I certainly don't > > > >> expect everything to have the same size in every screen at every > > > >> resolution. What I consider fairly easy is drawing everything like now, > > > >> with default size, but giving the user an option using a slider to change > > > >> the "widget size". When changing this variable everything mentioned > > > >> before should change size alltogether. > > > >> > > > >> As for the implementation, the general idea is to multiply the dimensions > > > >> of everything drawn on screen (e.g. font size) with a float variable, > > > >> initially set to 1 and changed with the previous slider. There is a > > > >> problem with the graphics inside widgets, but can be solved either using > > > >> exlusively scalable graphics, or bitmaps properly resized. > > > >> > > > >> The usefulness is obvious to whoever hates giantic widgets (desktops like > > > >> kindergarden :-) ) and is stuck with a low-res TFT. > > > >> > > > >> > > > >> I see this as an opportunity to creative discussion so please comment on > > > >> my idea while waiting the new Y to erupt... > > > >> > > > >> Thank you, > > > >> Dimitris > > > >> > > > >> > > > > > > > > > > > > -- > > > > Matthew A. Nicholson > > > > Matt-land.com > > > > > > > > > > > > > > > > > > > > ----------------------------------------- > ITV - Sinu lemmiksaated internetis! > http://www.itv.ee > > -- "C++ also supports the notion of *friends*: cooperative classes that are permitted to see each other's private parts." - Grady Booch From benurban at users.sourceforge.net Tue Oct 19 17:45:01 2004 From: benurban at users.sourceforge.net (Ben Urban) Date: Tue Oct 19 17:45:38 2004 Subject: [Y-devel] widget size independant to screen resolution In-Reply-To: <925b3e00041018193733725a79@mail.gmail.com> References: <41685660.1090502@gmx.net> <4168E78D.2000007@matt-land.com> <000a01c4aecc$0482d120$6700a8c0@JIMMY> <925b3e00041018193733725a79@mail.gmail.com> Message-ID: <1098204301.5746.1.camel@localhost> On Mon, 2004-10-18 at 22:37, William Lahti wrote: > Screen resolution is *not* meant to change the size of your desktop. > Screen resolution is intended to increase quality as resolution gets > higher. This means that widgets should be drawn the same size no > matter what resolution your in. This fits in nicely with your slider > idea (which I also thought of when working on my own graphics > project). > > By doing this, you need to stop applications from specifying sizes in > pixels. Pixels are low-level units and should never be needed by > standard applications. You could however specify a 'virtual pixel' > unit which splits the screen into 640x480 units (no matter what > resolution). Such a mapping would allow people to have the familiarity > of pixels and still support resolution independence. > > In the past (and present) people thought that since people with larger > screens can have larger resolutions, the widgets end up being the same > size. This is ignorant, as most monitors support at least two > different resolutions. > > I think all modern toolkits should have unit measurement built in. > That is to say that the programmer can input measurements in many > different units. These units are automatically converted to pixels. > Because the underlying system performs the translation, you can > support not only static PPIs for each resolution (pixels per inch o' > course) but you can also gather such PPI information from the hardware > if it makes it available. This would allow a windowing system to > display an inch as exactly an inch. > > [Snip] I have a number of interesting points to make: * It may be beneficial to have a control panel (or part of one) dedicated to allowing the user to specify the correct PPI setting for his/her monitor and resolution, such as the way the GIMP handles it (by allowing manual specification and a calibration dialog). Unlike the GIMP, this would have to be a desktop-wide setting, rather than an individual application setting. * It could automatically adjust the PPI setting when changing resolutions. * I would recommend that this setting be independent of the scaling factor discussed in this thread, as some programs may need accurate ruler measurements (print preview functionality comes to mind). * Also, I don't think it would be wise to ask the user to specify this setting (or the scale factor, for that matter) upon the initial run of the windowing system (the way the GIMP does). An option like that would probably best be handled later (assuming sensible defaults are used). * It must be made clear that applications are to use the scaling factor pixels unless an accurate ruler is absolutely necessary, and that an application is not to use pure pixels at all. In fact, pure pixels do not even have to be made available to applications (or even widgets). Isn't abstraction fun? :) * An application that needs the PPI setting could inform the user if he/she has not already set it, and give the user the option to enter the control panel to do so. From misterpib at gmail.com Tue Oct 19 21:01:01 2004 From: misterpib at gmail.com (Paul Bonser) Date: Tue Oct 19 21:01:11 2004 Subject: [Y-devel] widget size independant to screen resolution In-Reply-To: <1098204301.5746.1.camel@localhost> References: <41685660.1090502@gmx.net> <4168E78D.2000007@matt-land.com> <000a01c4aecc$0482d120$6700a8c0@JIMMY> <925b3e00041018193733725a79@mail.gmail.com> <1098204301.5746.1.camel@localhost> Message-ID: It might also be good to have some functionality in the window manager to scale an individual window's PPI (how about DPI, so we aren't limited to thinking of pixels?) There are many times where I will want to watch a window, but don't need it to be full size, like a download window or when I'm doing an emerge or something. It'd be nice to scale the window down a bit, so I can keep an eye on it without taking up too much of my precious screen real estate. This would also be useful for such things as scaling down all but the currently focused window, or OSX expos? type stuff (but with a few more functions to be a bit more useful). It could also be used for completely pointless eye-candy, of course...which always attracts people to things :P -- Paul Bonser > I have a number of interesting points to make: > * It may be beneficial to have a control panel (or part of one) > dedicated to allowing the user to specify the correct PPI setting for > his/her monitor and resolution, such as the way the GIMP handles it (by > allowing manual specification and a calibration dialog). Unlike the > GIMP, this would have to be a desktop-wide setting, rather than an > individual application setting. > * It could automatically adjust the PPI setting when changing > resolutions. > * I would recommend that this setting be independent of the scaling > factor discussed in this thread, as some programs may need accurate > ruler measurements (print preview functionality comes to mind). > * Also, I don't think it would be wise to ask the user to specify this > setting (or the scale factor, for that matter) upon the initial run of > the windowing system (the way the GIMP does). An option like that would > probably best be handled later (assuming sensible defaults are used). > * It must be made clear that applications are to use the scaling factor > pixels unless an accurate ruler is absolutely necessary, and that an > application is not to use pure pixels at all. In fact, pure pixels do > not even have to be made available to applications (or even widgets). > Isn't abstraction fun? :) > * An application that needs the PPI setting could inform the user if > he/she has not already set it, and give the user the option to enter the > control panel to do so. > > -- "C++ also supports the notion of *friends*: cooperative classes that are permitted to see each other's private parts." - Grady Booch From misterpib at gmail.com Tue Oct 19 21:02:55 2004 From: misterpib at gmail.com (Paul Bonser) Date: Tue Oct 19 21:03:10 2004 Subject: [Y-devel] widget size independant to screen resolution In-Reply-To: References: <41685660.1090502@gmx.net> <4168E78D.2000007@matt-land.com> <000a01c4aecc$0482d120$6700a8c0@JIMMY> <925b3e00041018193733725a79@mail.gmail.com> <1098204301.5746.1.camel@localhost> Message-ID: And I almost forgot to mention, rotating windows by 90 degrees would also be useful for watching windows, especially ones that are wider than they are tall, I could fit them into a little space next to my browser or editor window, rotated and scaled down, just big enough so I can see when whatever process is running is finished. On Tue, 19 Oct 2004 13:01:01 -0700, Paul Bonser wrote: > It might also be good to have some functionality in the window manager > to scale an individual window's PPI (how about DPI, so we aren't > limited to thinking of pixels?) > There are many times where I will want to watch a window, but don't > need it to be full size, like a download window or when I'm doing an > emerge or something. It'd be nice to scale the window down a bit, so I > can keep an eye on it without taking up too much of my precious screen > real estate. > > This would also be useful for such things as scaling down all but the > currently focused window, or OSX expos? type stuff (but with a few > more functions to be a bit more useful). > It could also be used for completely pointless eye-candy, of > course...which always attracts people to things :P > > -- Paul Bonser > > > > > > I have a number of interesting points to make: > > * It may be beneficial to have a control panel (or part of one) > > dedicated to allowing the user to specify the correct PPI setting for > > his/her monitor and resolution, such as the way the GIMP handles it (by > > allowing manual specification and a calibration dialog). Unlike the > > GIMP, this would have to be a desktop-wide setting, rather than an > > individual application setting. > > * It could automatically adjust the PPI setting when changing > > resolutions. > > * I would recommend that this setting be independent of the scaling > > factor discussed in this thread, as some programs may need accurate > > ruler measurements (print preview functionality comes to mind). > > * Also, I don't think it would be wise to ask the user to specify this > > setting (or the scale factor, for that matter) upon the initial run of > > the windowing system (the way the GIMP does). An option like that would > > probably best be handled later (assuming sensible defaults are used). > > * It must be made clear that applications are to use the scaling factor > > pixels unless an accurate ruler is absolutely necessary, and that an > > application is not to use pure pixels at all. In fact, pure pixels do > > not even have to be made available to applications (or even widgets). > > Isn't abstraction fun? :) > > * An application that needs the PPI setting could inform the user if > > he/she has not already set it, and give the user the option to enter the > > control panel to do so. > > > > > > -- > "C++ also supports the notion of *friends*: cooperative classes that > are permitted to see each other's private parts." - Grady Booch > -- "C++ also supports the notion of *friends*: cooperative classes that are permitted to see each other's private parts." - Grady Booch From phil at y-windows.org Tue Oct 19 23:33:51 2004 From: phil at y-windows.org (Phil) Date: Tue Oct 19 22:33:51 2004 Subject: [Y-devel] widget size independant to screen resolution In-Reply-To: <1098204301.5746.1.camel@localhost> References: <41685660.1090502@gmx.net> <4168E78D.2000007@matt-land.com> <000a01c4aecc$0482d120$6700a8c0@JIMMY> <925b3e00041018193733725a79@mail.gmail.com> <1098204301.5746.1.camel@localhost> Message-ID: <4175964F.1050305@y-windows.org> Ben Urban wrote: > I have a number of interesting points to make: > * It may be beneficial to have a control panel (or part of one) > dedicated to allowing the user to specify the correct PPI setting for > his/her monitor and resolution, such as the way the GIMP handles it (by > allowing manual specification and a calibration dialog). Unlike the > GIMP, this would have to be a desktop-wide setting, rather than an > individual application setting. VESA DDC (and for DVI machines the DVI protocol) report the physical dimensions of the VDU in extremely precise terms. There is no need to bother with a user-settable value. > * It could automatically adjust the PPI setting when changing > resolutions. Well, of course. However, I think it would be best measured in pixels-per-metre. It's both more metric and more amenable to being stored as an unsigned integer value. My screen has around 4000 p/m, which means that a uint32_t ought to be good enough for pretty much forever -- at a reasonable distance from the screen I have trouble picking out individual pixels anyway. The highest density screen I know of today is 8000 p/m*, and I had trouble seeing those pixels with a magnifying glass. Since horizontal- and vertical-density usually differ, a pair of values is the right way to store this data. I'll add it to my todo list. > * It must be made clear that applications are to use the scaling factor > pixels unless an accurate ruler is absolutely necessary Well, applications should certainly respect the user's preference for relative widget size (relative to whatever 'normal' widget size is). > , and that an > application is not to use pure pixels at all. In fact, pure pixels do > not even have to be made available to applications (or even widgets). > Isn't abstraction fun? :) This is probably the worst idea I've heard on this list. On my screen, I would want things to be ~1.25 times the pixel dimensions they are on Mark's desktop -- mostly because I am short sighted. Say, for instance, that Mark takes a screenshot of his desktop to show me something. There is absolutely no way to abstract pixels away so that when that image is rescaled to 1.25 it's original pixel dimensions on my machine it doesn't: (a) look absolutely crap, (b) take ages to render, or (c) both of the above. Phil * Actully, I know of some up in the 32000s -- but they don't allow individual pixels to be addressed. From phil at y-windows.org Tue Oct 19 23:39:52 2004 From: phil at y-windows.org (Phil) Date: Tue Oct 19 22:39:46 2004 Subject: [Y-devel] widget size independant to screen resolution In-Reply-To: References: <41685660.1090502@gmx.net> <4168E78D.2000007@matt-land.com> <000a01c4aecc$0482d120$6700a8c0@JIMMY> <925b3e00041018193733725a79@mail.gmail.com> <1098204301.5746.1.camel@localhost> Message-ID: <417597B8.1020503@y-windows.org> Paul Bonser wrote: > There are many times where I will want to watch a window, but don't > need it to be full size, like a download window or when I'm doing an > emerge or something. It'd be nice to scale the window down a bit, so I > can keep an eye on it without taking up too much of my precious screen > real estate. To give a reasonable impression of an active 1/4 size 600x400 pixel terminal (this is smaller then a gnome-terminal on my machine) in real-time would have a prohibitive CPU cost. Non real-time would look crap. > It could also be used for completely pointless eye-candy, of > course...which always attracts people to things :P Really? _Pointless_ eye-candy deters me. Phil From phil at y-windows.org Tue Oct 19 23:42:07 2004 From: phil at y-windows.org (Phil) Date: Tue Oct 19 22:42:06 2004 Subject: [Y-devel] widget size independant to screen resolution In-Reply-To: References: <41685660.1090502@gmx.net> <4168E78D.2000007@matt-land.com> <000a01c4aecc$0482d120$6700a8c0@JIMMY> <925b3e00041018193733725a79@mail.gmail.com> <1098204301.5746.1.camel@localhost> Message-ID: <4175983F.70903@y-windows.org> Paul Bonser wrote: > And I almost forgot to mention, rotating windows by 90 degrees would > also be useful for watching windows, especially ones that are wider > than they are tall, I could fit them into a little space next to my > browser or editor window, rotated and scaled down, just big enough so > I can see when whatever process is running is finished. Window rotation is probably going to get implemented as a side-effect of working out how to deal with screen rotation. The biggest challenge is probably to change the sub-pixel font rendering from VRGB (or whatever) to HRGB (or whatever rotated). Phil From siminone at ntlworld.com Tue Oct 19 22:49:17 2004 From: siminone at ntlworld.com (alza) Date: Tue Oct 19 22:48:29 2004 Subject: [Y-devel] Compile a file Message-ID: <41758BDD.1010603@ntlworld.com> Hi all, I'm new to Y windows and have just downloaded and ran it. I am tinkering about with the widgets. I copied the following code from Mark Thomas's paper. Unfortunately. there is no mention of how to compile it. Although I would say I'm fairly experienced at write code, i am a new to prorgramming on Linux. Sorry for sounding like a complete smeg but can somebody be as kind to help. Thanks Alan #include #include static void closeApplication() { exit (EXIT_SUCCESS); } int main (int argc, char **argv) { Y::Y::initialise (&argc, &argv); Y::Window *window = new Y::Window (); window-> setProperty ("title", "Test Program"); window-> requestClose.connect (SigC::slot (&closeApplication)); window-> show(); Y::Y::run(); return EXIT_SUCCESS; } From misterpib at gmail.com Wed Oct 20 00:00:33 2004 From: misterpib at gmail.com (Paul Bonser) Date: Wed Oct 20 00:00:52 2004 Subject: [Y-devel] widget size independant to screen resolution In-Reply-To: <417597B8.1020503@y-windows.org> References: <41685660.1090502@gmx.net> <4168E78D.2000007@matt-land.com> <000a01c4aecc$0482d120$6700a8c0@JIMMY> <925b3e00041018193733725a79@mail.gmail.com> <1098204301.5746.1.camel@localhost> <417597B8.1020503@y-windows.org> Message-ID: Actually, if you just used a scaled font (since the server should be handling fonts anyhow), then it would be at nearly no extra cost at all (or less cost,even). I'm not talking about scaling the window after it's rendered. I'm talking about rendering it smaller to begin with (with options to change this scaling, of course). And since I just want to be watchiing progress, I wouldn't care at all if the text was readible (which couldn't really be expected from such a tiny window anyhow), therefore you could simply store a scaled-down version of the font in memory (a fixed-size font since it's a terminal application) as a bitmap, and do fast blits rather than render the fonts over and over again (silly for fixed-width fonts anyhow, unless maybe you're anti-aliasing on a bitmap or multi-color background or something. for a fixed background color, like the standard black, even anti-aliasing could be pre-rendered) Even with rendering fonts on-the-fly, it wouldn't take any longer than rendering full-sized ones, probably less time, since you wouldn't be going into the curves with as much detail. Am I wrong in these assumptions? Scaling a bitmap would be slow, yes, but scaling fonts shouldn't be since they only need be scaled once, or will be rendered with less detail, which would be faster... --Paul Bonser On Tue, 19 Oct 2004 22:39:52 +0000, Phil wrote: > Paul Bonser wrote: > > There are many times where I will want to watch a window, but don't > > need it to be full size, like a download window or when I'm doing an > > emerge or something. It'd be nice to scale the window down a bit, so I > > can keep an eye on it without taking up too much of my precious screen > > real estate. > > To give a reasonable impression of an active 1/4 size 600x400 pixel > terminal (this is smaller then a gnome-terminal on my machine) in > real-time would have a prohibitive CPU cost. Non real-time would look crap. > > > It could also be used for completely pointless eye-candy, of > > course...which always attracts people to things :P > > Really? _Pointless_ eye-candy deters me. > > Phil > -- "C++ also supports the notion of *friends*: cooperative classes that are permitted to see each other's private parts." - Grady Booch From lincoln at cognitoy.com Wed Oct 20 00:38:26 2004 From: lincoln at cognitoy.com (Lincoln Quirk) Date: Wed Oct 20 00:46:22 2004 Subject: [Y-devel] widget size independant to screen resolution In-Reply-To: <417597B8.1020503@y-windows.org> References: <41685660.1090502@gmx.net> <4168E78D.2000007@matt-land.com> <000a01c4aecc$0482d120$6700a8c0@JIMMY> <925b3e00041018193733725a79@mail.gmail.com> <1098204301.5746.1.camel@localhost> <417597B8.1020503@y-windows.org> Message-ID: On 19 Oct 2004, at 18:39, Phil wrote: > Paul Bonser wrote: >> There are many times where I will want to watch a window, but don't >> need it to be full size, like a download window or when I'm doing an >> emerge or something. It'd be nice to scale the window down a bit, so I >> can keep an eye on it without taking up too much of my precious screen >> real estate. > > To give a reasonable impression of an active 1/4 size 600x400 pixel > terminal (this is smaller then a gnome-terminal on my machine) in > real-time would have a prohibitive CPU cost. Non real-time would look > crap. This is what a GPU is for. Nearly all computers have them nowadays, and we can disable this functionality or accept that it will be slow on computers without a GPU. How do you think Apple's Expose feature works? Note that you don't get this feature (at full speed anyway) if you don't have Quartz Extreme (graphics acceleration on the desktop). Lincoln Quirk From phil at y-windows.org Wed Oct 20 11:28:19 2004 From: phil at y-windows.org (Phil) Date: Wed Oct 20 11:31:55 2004 Subject: [Y-devel] widget size independant to screen resolution In-Reply-To: References: <41685660.1090502@gmx.net> <4168E78D.2000007@matt-land.com> <000a01c4aecc$0482d120$6700a8c0@JIMMY> <925b3e00041018193733725a79@mail.gmail.com> <1098204301.5746.1.camel@localhost> <417597B8.1020503@y-windows.org> Message-ID: <41763DC3.4000909@y-windows.org> Paul Bonser wrote: > Am I wrong in these assumptions? Scaling a bitmap would be slow, yes, > but scaling fonts shouldn't be since they only need be scaled once, or > will be rendered with less detail, which would be faster... If you only want it for terminals, that's fine. However you asked for it to be possible to shrink windows, and the majority of windows have more than just text in them. If you want to make a shrinking terminal, go for it; however, shrinking of arbitrary windows is not going to happen. Phil From phil at y-windows.org Wed Oct 20 11:37:53 2004 From: phil at y-windows.org (Phil) Date: Wed Oct 20 11:41:29 2004 Subject: [Y-devel] widget size independant to screen resolution In-Reply-To: References: <41685660.1090502@gmx.net> <4168E78D.2000007@matt-land.com> <000a01c4aecc$0482d120$6700a8c0@JIMMY> <925b3e00041018193733725a79@mail.gmail.com> <1098204301.5746.1.camel@localhost> <417597B8.1020503@y-windows.org> Message-ID: <41764001.5090808@y-windows.org> Lincoln Quirk wrote: > This is what a GPU is for. Nearly all computers have them nowadays, and > we can disable this functionality or accept that it will be slow on > computers without a GPU. So your proposal is to render each window into a texture, have the card generate a set of mipmaps for it, then display that texture on a rectangle with a displayed size <= the original texture. That would cause a noticeable slow-down even with a decent graphics system. I do not think the benefit (such as it is) outweighs the cost, so I'm not going to bother trying it. > How do you think Apple's Expose feature works? Note that you don't get > this feature (at full speed anyway) if you don't have Quartz Extreme > (graphics acceleration on the desktop). I didn't think Expos? updated the windows while they were shrunk. I got the impression that they would show a snapshot of the window at the time of shrinkage. Of course, I could be wrong. Phil From jpd at dsb.tudelft.nl Wed Oct 20 13:27:04 2004 From: jpd at dsb.tudelft.nl (JP Dinger) Date: Wed Oct 20 13:27:18 2004 Subject: [Y-devel] widget size independant to screen resolution In-Reply-To: <41763DC3.4000909@y-windows.org> References: <41685660.1090502@gmx.net> <4168E78D.2000007@matt-land.com> <000a01c4aecc$0482d120$6700a8c0@JIMMY> <925b3e00041018193733725a79@mail.gmail.com> <1098204301.5746.1.camel@localhost> <417597B8.1020503@y-windows.org> <41763DC3.4000909@y-windows.org> Message-ID: <20041020122704.GA13949@dsb.tudelft.nl> On Wed, Oct 20, 2004 at 11:28:19AM +0100, Phil wrote: > Paul Bonser wrote: > >Am I wrong in these assumptions? Scaling a bitmap would be slow, yes, > >but scaling fonts shouldn't be since they only need be scaled once, or > >will be rendered with less detail, which would be faster... > > If you only want it for terminals, that's fine. However you asked for > it to be possible to shrink windows, and the majority of windows have > more than just text in them. > > If you want to make a shrinking terminal, go for it; however, shrinking > of arbitrary windows is not going to happen. Terminal emulators can be easily shrunk(sp?) by changing the font size. If you have a vector canvas that is also cheaply resized. If you can't do that, you're presumably doing bitmap massaging, which is easily extended to `any window' as long as it is a bitmap representation, not just to graphics viewers; those already do a lot of resizing anyway. More to the point, resizing of $anything is useful if you want the screen to have a 3d placement look. I'm not saying this should be everywhere, always supported, but it'd be a useful general extention, as well as move another not-entirely-cheap operation out of applications and into the server, where presumably it can be accelerated by suitable hardware (which may or may not exist yet). So, in summary, I wouldn't dismiss the notion outright. -- j p d (at) d s b (dot) t u d e l f t (dot) n l . From lincoln at cognitoy.com Wed Oct 20 15:34:33 2004 From: lincoln at cognitoy.com (Lincoln Quirk) Date: Wed Oct 20 15:35:01 2004 Subject: [Y-devel] widget size independant to screen resolution In-Reply-To: <41764001.5090808@y-windows.org> References: <41685660.1090502@gmx.net> <4168E78D.2000007@matt-land.com> <000a01c4aecc$0482d120$6700a8c0@JIMMY> <925b3e00041018193733725a79@mail.gmail.com> <1098204301.5746.1.camel@localhost> <417597B8.1020503@y-windows.org> <41764001.5090808@y-windows.org> Message-ID: <28EA8324-22A5-11D9-A55A-000D9335913C@cognitoy.com> On 20 Oct 2004, at 06:37, Phil wrote: > Lincoln Quirk wrote: >> This is what a GPU is for. Nearly all computers have them nowadays, >> and we can disable this functionality or accept that it will be slow >> on computers without a GPU. > > So your proposal is to render each window into a texture, have the > card generate a set of mipmaps for it, then display that texture on a > rectangle with a displayed size <= the original texture. > > That would cause a noticeable slow-down even with a decent graphics > system. I do not think the benefit (such as it is) outweighs the > cost, so I'm not going to bother trying it. > >> How do you think Apple's Expose feature works? Note that you don't >> get this feature (at full speed anyway) if you don't have Quartz >> Extreme (graphics acceleration on the desktop). > > I didn't think Expos? updated the windows while they were shrunk. I > got the impression that they would show a snapshot of the window at > the time of shrinkage. Of course, I could be wrong. I just tried it -- it definitely does update. It's really cool and very useful. (I can quickly use Expose to observe several simultaneously loading webpages, for example.) I believed this would be easily implementable under Y's design as I understood it -- we already have a separate buffer for each window, right? I don't really know much about hardware graphics -- but it seems to me that the features of the GPU (such as fast raster resizing) should be available even when you're not rendering in 3D. I figured a lot of Y's window code, especially compositing and the like, would go into the GPU if you had one. It makes a ton of sense to have the card do all your 2D graphics needs -- transparency and resizing being two of the most important. Regarding what you said about mipmaps, I don't believe that they are necessary (based on my understanding of them, which is admittedly not very good). The point of mipmaps is not to generate them every frame (they are pregenerated) -- but to make it faster/look better when rescaling the same texture to a different size each frame. And on the same note, I would guess that you don't need to build a rectangle and then "texture it", but you could rather simply tell the hardware to rescale a raster buffer and then render it onscreen. Anyway, perhaps I am totally off base here, in which case I will shut up. :) > > Phil Lincoln Quirk From misterpib at gmail.com Wed Oct 20 22:00:31 2004 From: misterpib at gmail.com (Paul Bonser) Date: Wed Oct 20 22:00:41 2004 Subject: [Y-devel] widget size independant to screen resolution In-Reply-To: <41763DC3.4000909@y-windows.org> References: <41685660.1090502@gmx.net> <4168E78D.2000007@matt-land.com> <000a01c4aecc$0482d120$6700a8c0@JIMMY> <925b3e00041018193733725a79@mail.gmail.com> <1098204301.5746.1.camel@localhost> <417597B8.1020503@y-windows.org> <41763DC3.4000909@y-windows.org> Message-ID: Well, the reason I brought up scaling windows in the first place was when I mentioned that all the widgets in Y could be rendered using vector graphics. Looking at this browser window here, the whole thing could be rendered with vector graphics, including most of the webpage (except for the images, but these would only need to be scaled once per page update). So, for an application that is designed for Y, which leaves ALL rendering to the server (this is how it should be, right?), then scaling would be nearly no extra cost at all, for any properly designed Y program. Even programs that use bitmaps should fit into this category, since all you'd have to do is put it into a bitmap widget, which should be arbitrarily scalable by either the client or the server (I dunno if "should" is the right term here, but that's the basic idea). If this was done correctly (doesn't seem like it would be too hard to do, really), it would be possible to scale any Y window arbitrarily, and it would be just as fast to render as any regular window (unless a window had a constantly updating bitmap widget, I suppose), and I mean without any sort of hardware acceleration, too. On Wed, 20 Oct 2004 11:28:19 +0100, Phil wrote: > Paul Bonser wrote: > > Am I wrong in these assumptions? Scaling a bitmap would be slow, yes, > > but scaling fonts shouldn't be since they only need be scaled once, or > > will be rendered with less detail, which would be faster... > > If you only want it for terminals, that's fine. However you asked for > it to be possible to shrink windows, and the majority of windows have > more than just text in them. > > If you want to make a shrinking terminal, go for it; however, shrinking > of arbitrary windows is not going to happen. > > Phil > -- "C++ also supports the notion of *friends*: cooperative classes that are permitted to see each other's private parts." - Grady Booch From asuffield at debian.org Wed Oct 20 22:55:11 2004 From: asuffield at debian.org (Andrew Suffield) Date: Wed Oct 20 22:55:27 2004 Subject: [Y-devel] widget size independant to screen resolution In-Reply-To: <4175964F.1050305@y-windows.org> References: <41685660.1090502@gmx.net> <4168E78D.2000007@matt-land.com> <000a01c4aecc$0482d120$6700a8c0@JIMMY> <925b3e00041018193733725a79@mail.gmail.com> <1098204301.5746.1.camel@localhost> <4175964F.1050305@y-windows.org> Message-ID: <20041020215511.GA5599@suffields.me.uk> On Tue, Oct 19, 2004 at 10:33:51PM +0000, Phil wrote: > Ben Urban wrote: > >I have a number of interesting points to make: > >* It may be beneficial to have a control panel (or part of one) > >dedicated to allowing the user to specify the correct PPI setting for > >his/her monitor and resolution, such as the way the GIMP handles it (by > >allowing manual specification and a calibration dialog). Unlike the > >GIMP, this would have to be a desktop-wide setting, rather than an > >individual application setting. > > VESA DDC (and for DVI machines the DVI protocol) report the physical > dimensions of the VDU in extremely precise terms. There is no need to > bother with a user-settable value. Alas, the DDC information is depressingly wrong on a wide variety of cheap monitors. It's a perennial problem for hardware detection efforts. You have to be able to override it. Not really a big deal though. -- .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org/ | `. `' | `- -><- | -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://www.y-windows.org/pipermail/y-devel/attachments/20041020/314c98b3/attachment.bin From mark at y-windows.org Thu Oct 21 08:54:45 2004 From: mark at y-windows.org (Mark Thomas) Date: Thu Oct 21 08:54:47 2004 Subject: [Y-devel] widget size independant to screen resolution In-Reply-To: <41764001.5090808@y-windows.org> References: <41685660.1090502@gmx.net> <4168E78D.2000007@matt-land.com> <000a01c4aecc$0482d120$6700a8c0@JIMMY> <925b3e00041018193733725a79@mail.gmail.com> <1098204301.5746.1.camel@localhost> <417597B8.1020503@y-windows.org> <41764001.5090808@y-windows.org> Message-ID: On Wed, 20 Oct 2004, Phil wrote: > Lincoln Quirk wrote: > > This is what a GPU is for. Nearly all computers have them nowadays, and > > we can disable this functionality or accept that it will be slow on > > computers without a GPU. > > So your proposal is to render each window into a texture, have the card > generate a set of mipmaps for it, then display that texture on a > rectangle with a displayed size <= the original texture. > Actually, that's how Quartz Extreme works (and supposedly Avalon will, too). It doesn't need to generate mipmaps for them since most of the time the window is at 1:1, and when it's shrunk you don't actually care about aliasing effects. Someone (Claude Mench?) hacked up a version of Y that did this earlier this year. Unfortunately a few things weren't in Y that were needed to make it elegant so I couldn't incorporate his patches, but it's definitely in the game plan. And no, Phil, it wasn't slow at all. In fact, it's the only way you're going to get fast, proper blending between windows without a really powerful CPU. Regards, Mark. -- || Mark Thomas || efaref.net || || Asking if computers can think is like asking if submarines can swim. From vsh at centras.lt Thu Oct 21 09:44:46 2004 From: vsh at centras.lt (Vytautas Shaltenis) Date: Thu Oct 21 09:45:25 2004 Subject: [Y-devel] widget size independant to screen resolution Message-ID: --------- At 2004-10-20, 17:34:33 Lincoln Quirk wrote: ------- >same note, I would guess that you don't need to build a rectangle and >then "texture it", but you could rather simply tell the hardware to >rescale a raster buffer and then render it onscreen. Guess again. -- Vytautas Shaltenis On the Web: http://www.mif.vu.lt/~vysa1570 From vsh at centras.lt Thu Oct 21 09:44:43 2004 From: vsh at centras.lt (Vytautas Shaltenis) Date: Thu Oct 21 09:45:29 2004 Subject: [Y-devel] Compile a file Message-ID: --------- At 2004-10-19, 23:49:17 alza wrote: ------- >I'm new to Y windows and have just downloaded and ran it. I am tinkering >about with the widgets. I copied the following code from Mark Thomas's >paper. Unfortunately. there is no mention of how to compile it. Although >I would say I'm fairly experienced at write code, i am a new to >prorgramming on Linux. Sorry for sounding like a complete smeg but can >somebody be as kind to help. Look in the clients directory of the Y source tree. -- Vytautas Shaltenis On the Web: http://www.mif.vu.lt/~vysa1570 From asuffield at debian.org Thu Oct 21 13:25:59 2004 From: asuffield at debian.org (Andrew Suffield) Date: Thu Oct 21 13:26:09 2004 Subject: [Y-devel] widget size independant to screen resolution In-Reply-To: References: <41685660.1090502@gmx.net> <4168E78D.2000007@matt-land.com> <000a01c4aecc$0482d120$6700a8c0@JIMMY> <925b3e00041018193733725a79@mail.gmail.com> <1098204301.5746.1.camel@localhost> <417597B8.1020503@y-windows.org> <41764001.5090808@y-windows.org> Message-ID: <20041021122558.GA4424@suffields.me.uk> On Thu, Oct 21, 2004 at 08:54:45AM +0100, Mark Thomas wrote: > On Wed, 20 Oct 2004, Phil wrote: > > > Lincoln Quirk wrote: > > > This is what a GPU is for. Nearly all computers have them nowadays, and > > > we can disable this functionality or accept that it will be slow on > > > computers without a GPU. > > > > So your proposal is to render each window into a texture, have the card > > generate a set of mipmaps for it, then display that texture on a > > rectangle with a displayed size <= the original texture. > > > > Actually, that's how Quartz Extreme works (and supposedly Avalon will, > too). It doesn't need to generate mipmaps for them since most of the time > the window is at 1:1, and when it's shrunk you don't actually care about > aliasing effects. > > Someone (Claude Mench?) hacked up a version of Y that did this earlier > this year. Unfortunately a few things weren't in Y that were needed to > make it elegant so I couldn't incorporate his patches, but it's definitely > in the game plan. And no, Phil, it wasn't slow at all. In fact, it's the > only way you're going to get fast, proper blending between windows without > a really powerful CPU. Well, under the assumption that you're working to the opengl model, anyway. I've been working on a few evil ideas regarding this sort of stuff. -- .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org/ | `. `' | `- -><- | -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://www.y-windows.org/pipermail/y-devel/attachments/20041021/7949d9a5/attachment.bin From siminone at ntlworld.com Tue Oct 26 20:29:14 2004 From: siminone at ntlworld.com (Alza) Date: Tue Oct 26 20:27:56 2004 Subject: [Y-devel] re: Compile a file Message-ID: <417EA58A.20104@ntlworld.com> I managed to get the sigc++ 1.0 libraries linked when compiling (by putting /usr/lib path in ld.so.conf I think) and tried to compile again but still getting errors. I think the cause of it is /opt/Y-devel/include/Y/c++/object.h:30:27: sigc++/sigc++.h: No such file or directory In file included from /opt/Y-devel/include/Y/c++.h:28, from temp.cc:2: I can't find any sigc++.h in sigc++ 1.0 I assume I should be only using sigc++ 1.0? From siminone at ntlworld.com Thu Oct 28 01:26:25 2004 From: siminone at ntlworld.com (Alza) Date: Thu Oct 28 01:24:58 2004 Subject: [Y-devel] Compile a file Message-ID: <41803CB1.8050903@ntlworld.com> Hi, I managed to get the source file compiled and is running!!! Thanks for all help given. Alza From siminone at ntlworld.com Thu Oct 28 01:32:59 2004 From: siminone at ntlworld.com (Alza) Date: Thu Oct 28 01:31:30 2004 Subject: [Y-devel] Community Wiki Website Message-ID: <41803E3B.2060705@ntlworld.com> Hi The site has been down for over a week. Does anybody know what has happened to it? From siminone at ntlworld.com Thu Oct 28 01:50:13 2004 From: siminone at ntlworld.com (Alza) Date: Thu Oct 28 01:48:45 2004 Subject: [Y-devel] Suggestion: View-pane Message-ID: <41804245.9090103@ntlworld.com> Hi, I am not sure if it is possible or practical but I think a view pane that can display data from any source ie text or HTML format would make a good idea for a widget. The source file, whether it is a text file or web page, is read into a stream. If there is any formatting in the source ie bold, tab etc. It is added to the stream as a command that is understood by the widget The view pane reads the stream and displays it whether it is a formatting command or text character. I think the benefit of this would be that rather than half a dozen different widgets that displays different kind of data, there is only one which is easy to maintain. If anybody has any other ideas about expanding this or reasons why this would not be practice, I would be grateful for the posts. Thanks Alza. From james at grickle.org Thu Oct 28 03:57:19 2004 From: james at grickle.org (James Harr) Date: Thu Oct 28 03:57:33 2004 Subject: [Y-devel] Suggestion: View-pane In-Reply-To: <41804245.9090103@ntlworld.com> References: <41804245.9090103@ntlworld.com> Message-ID: <200410272157.19230.james@grickle.org> I like the idea, but I must bring up a couple points at least to discuss. Generally every different *ML has a different idea on how you are suppose to position and size text/image objects. Trying to generalize that into something that all widgets can use could be very painfull and not worth the effort. When you look at HTML at its bare bones it's really easy, a string of text with some formatting options. However when you get into things like tables, divs, and _layers_, etc. Drawing html can get rather complex. Add in things like javascript and you really have to do several things: convert HTML to WhateverML to display it and either make a way to add/remove/modify things on the display pane or to be forced to re-send the WhateverML and redraw the whole thing. Generalizing things is a good idea, but I think an HTML widget would be best left to the end application to draw through a canvas widget. Like "draw dropdown box here, draw a rectangle with this color in it, fill put this image here..." Having a widget that draws things like HTML also brings complications in the form of how well the widget draws it, if the converter is built into the server or the Y++ libraries, then everyone will be limited by that one widget. Now IIRC, gecko is windowing system independent (or could be adapted easily), and is being refined the most at the moment. I might be misunderstanding your idea too. I think having a nice general text format drawer for canvas widgets would be nice though. You could feed it a stream of text with things like font face, size, weight, and and some dimensions that limit where it can draw the text. That would be a very nice utility taking a lot of the pain out of drawing text on canvas widgets. Then it'd be up to the application to determine where and how it is drawn. I do like your idea, I just have to be the devil's advocate :) Regards, James On Wednesday 27 October 2004 7:50 pm, Alza wrote: > Hi, > > I am not sure if it is possible or practical but I think a view pane > that can display data from any source ie text or HTML format would make > a good idea for a widget. > > The source file, whether it is a text file or web page, is read into a > stream. If there is any formatting in the source ie bold, tab etc. It is > added to the stream as a command that is understood by the widget > > The view pane reads the stream and displays it whether it is a > formatting command or text character. > > I think the benefit of this would be that rather than half a dozen > different widgets that displays different kind of data, there is only > one which is easy to maintain. > > If anybody has any other ideas about expanding this or reasons why this > would not be practice, I would be grateful for the posts. > > Thanks > > Alza. -- James Harr http://www.grickle.org/ From matt at matt-land.com Thu Oct 28 04:39:20 2004 From: matt at matt-land.com (Matthew A. Nicholson) Date: Thu Oct 28 04:39:10 2004 Subject: [Y-devel] Suggestion: View-pane In-Reply-To: <200410272157.19230.james@grickle.org> References: <41804245.9090103@ntlworld.com> <200410272157.19230.james@grickle.org> Message-ID: <418069E8.8030702@matt-land.com> What about XUL or XForms or some other XML or something else meant for that kind of thing. Unless you mean just something to display text based data (which is what i think you meant...) (TP) James Harr wrote: > I like the idea, but I must bring up a couple points at least to discuss. > > Generally every different *ML has a different idea on how you are suppose to > position and size text/image objects. Trying to generalize that into > something that all widgets can use could be very painfull and not worth the > effort. When you look at HTML at its bare bones it's really easy, a string of > text with some formatting options. However when you get into things like > tables, divs, and _layers_, etc. Drawing html can get rather complex. Add in > things like javascript and you really have to do several things: convert HTML > to WhateverML to display it and either make a way to add/remove/modify things > on the display pane or to be forced to re-send the WhateverML and redraw the > whole thing. > > Generalizing things is a good idea, but I think an HTML widget would be best > left to the end application to draw through a canvas widget. Like "draw > dropdown box here, draw a rectangle with this color in it, fill put this > image here..." > > Having a widget that draws things like HTML also brings complications in the > form of how well the widget draws it, if the converter is built into the > server or the Y++ libraries, then everyone will be limited by that one > widget. Now IIRC, gecko is windowing system independent (or could be adapted > easily), and is being refined the most at the moment. > > I might be misunderstanding your idea too. I think having a nice general text > format drawer for canvas widgets would be nice though. You could feed it a > stream of text with things like font face, size, weight, and and some > dimensions that limit where it can draw the text. That would be a very nice > utility taking a lot of the pain out of drawing text on canvas widgets. Then > it'd be up to the application to determine where and how it is drawn. > > I do like your idea, I just have to be the devil's advocate :) > > Regards, > James > > On Wednesday 27 October 2004 7:50 pm, Alza wrote: > >>Hi, >> >>I am not sure if it is possible or practical but I think a view pane >>that can display data from any source ie text or HTML format would make >>a good idea for a widget. >> >>The source file, whether it is a text file or web page, is read into a >>stream. If there is any formatting in the source ie bold, tab etc. It is >>added to the stream as a command that is understood by the widget >> >>The view pane reads the stream and displays it whether it is a >>formatting command or text character. >> >>I think the benefit of this would be that rather than half a dozen >>different widgets that displays different kind of data, there is only >>one which is easy to maintain. >> >>If anybody has any other ideas about expanding this or reasons why this >>would not be practice, I would be grateful for the posts. >> >>Thanks >> >>Alza. > > -- Matthew A. Nicholson Matt-land.com From siminone at ntlworld.com Thu Oct 28 18:17:03 2004 From: siminone at ntlworld.com (Alza) Date: Thu Oct 28 18:15:33 2004 Subject: [Y-devel] Suggestion: View-pane Message-ID: <4181298F.1080401@ntlworld.com> thanks guys for the comments, on seeing them I do have to apologise. I have been mucking about Java programming for a while back and have still got the mindset of superclasses, extending classess, implenting classes etc. What I had in mind was a 'one thing suits all' which does not work in C++ and would result in the enforcement of a set of rules which everybody must follow. It's going to take me a while to get up to speed with the C++ languague and getting rid of concepts built up by using proprietry code. From siminone at ntlworld.com Thu Oct 28 18:33:12 2004 From: siminone at ntlworld.com (Alza) Date: Thu Oct 28 18:31:43 2004 Subject: [Y-devel] Suggestion: Y-Win SDK Message-ID: <41812D58.4030209@ntlworld.com> Hi all, I have another suggestion which I hope is better than the last!!! With my understanding of the Y-Win project that modularity plays a big part of it, is could a 'SDK' be developed in which graphical user interfaces could be easily developed which would suit the user's needs. With this I mean rather than having a Microsoft Windows based taskbar/icon driven interface, a user could have a full screen text based tree-menu system. This would be useful for example if someone wanted to use their PC solely as a home entertainment system. Another example could be in a call centre where only a few programs are required by workers. Unnecessary modules would not be required and system resources would be freed up. I think Y-Windows is heading this way anyway and developing a 'SDK' that made creating a customised Graphical User Interface easy to do would need a new project for it to come to frutition but I thought I would mention it anyway. Thanks Alan. From siminone at ntlworld.com Thu Oct 28 21:56:21 2004 From: siminone at ntlworld.com (Alza) Date: Thu Oct 28 21:54:52 2004 Subject: [Y-devel] Community Wiki Website Message-ID: <41815CF5.8040605@ntlworld.com> I don't know what's happened to the Wiki site but Google has a cached image of it @ 15th Oct which sound right about the time when I could not access it. I have the next four days off from work. I am going to copy and paste all the info from the cached site to my yahoo/geocities site until the Wiki site is back up again. The link is http://www.geocities.com/siminone1 I will delete content once the site is back up again. From phil at y-windows.org Thu Oct 28 22:20:58 2004 From: phil at y-windows.org (Phil Willoughby) Date: Thu Oct 28 22:22:25 2004 Subject: [Y-devel] Suggestion: Y-Win SDK In-Reply-To: <41812D58.4030209@ntlworld.com> References: <41812D58.4030209@ntlworld.com> Message-ID: <418162BA.5010504@y-windows.org> Dude, WTF? Regards, Phil PS: Hint one: This is not a project which has anything to do with Microsoft windows, in general. -- Why reinvent the wheel? Because we can make it rounder... From siminone at ntlworld.com Thu Oct 28 22:48:55 2004 From: siminone at ntlworld.com (Alza) Date: Thu Oct 28 22:47:26 2004 Subject: [Y-devel] Suggestion: Y-Win SDK Message-ID: <41816947.20306@ntlworld.com> Phil please explain, it is only a suggestion i suggestion to be debated. From phil at y-windows.org Fri Oct 29 10:10:03 2004 From: phil at y-windows.org (Phil) Date: Fri Oct 29 10:10:43 2004 Subject: [Y-devel] Suggestion: Y-Win SDK In-Reply-To: <41816947.20306@ntlworld.com> References: <41816947.20306@ntlworld.com> Message-ID: <418208EB.3080909@y-windows.org> Alza wrote: > Phil > > please explain, it is only a suggestion i suggestion to be debated. I am unclear on what you are suggesting. By my reading it either fell into the "this is too obvious to believe we haven't thought of it" bin, or the "this is so far removed from Y that it's irrelevant" bin. I just wanted to know which it was, really. Phil From siminone at ntlworld.com Fri Oct 29 10:35:39 2004 From: siminone at ntlworld.com (Alza) Date: Fri Oct 29 10:34:09 2004 Subject: [Y-devel] Suggestion: Y-Win SDK In-Reply-To: <418208EB.3080909@y-windows.org> References: <41816947.20306@ntlworld.com> <418208EB.3080909@y-windows.org> Message-ID: <41820EEB.6050905@ntlworld.com> I have to apologise Phil, I get a bit too enthusiastic about things sometimes and don't see the obvious!! Phil wrote: > Alza wrote: > >> Phil >> >> please explain, it is only a suggestion i suggestion to be debated. > > > I am unclear on what you are suggesting. > > By my reading it either fell into the "this is too obvious to believe > we haven't thought of it" bin, or the "this is so far removed from Y > that it's irrelevant" bin. I just wanted to know which it was, really. > > Phil > From siminone at ntlworld.com Fri Oct 29 10:42:06 2004 From: siminone at ntlworld.com (Alza) Date: Fri Oct 29 10:40:33 2004 Subject: [Y-devel] Community Wiki Website Message-ID: <4182106E.2080903@ntlworld.com> by my suggestion to copy over files from cached files to my site, if anybody has any objections I will discontinue and delete content from my site. From siminone at ntlworld.com Fri Oct 29 11:02:27 2004 From: siminone at ntlworld.com (Alza) Date: Fri Oct 29 11:00:56 2004 Subject: [Y-devel] Community Wiki Website Message-ID: <41821533.4050705@ntlworld.com> I have a new website at the below address www.ywin-nutmegye.org/ From james at grickle.org Fri Oct 29 23:05:16 2004 From: james at grickle.org (james@grickle.org) Date: Fri Oct 29 23:05:30 2004 Subject: [Y-devel] Suggestion: View-pane In-Reply-To: <4181298F.1080401@ntlworld.com> References: <4181298F.1080401@ntlworld.com> Message-ID: <43403.127.0.0.1.1099087516.squirrel@127.0.0.1> Well it's not really C++ that's the problem, it's the general idea of having a one thing to do it all approach. Anything you can do in C++ you can do in Java. Same goes with many other languages, object oriented or not. You just have to approach the coding in a different manner. KDE does what you're thinking of in a rather nice manner (ie - how if you have an IOSlave installed [local/ftp/webdav/fish] you can open any document [html/pdf/image] in konqueror). If you're talking about something similar to what KDE has going for it (which is awesome) it really needs to be implemented on a higher level (like in a desktop environment, not the windowing system). So we don't have a server (or even the windowing system libraries) worrying about what kind of file we are trying to view. The application (or a library in the Desktop Environment for that application) can determine what file it is and setup the propper widget. IMHO the drawing should still be done on a canvas widget since different applications will have different ideas on how to draw HTML among other things. Keep the actual windowing system focused on what it was meant to do, create widgets and render them. Not interpretting HTML or TeX or anything like that. Regards, James > thanks guys for the comments, on seeing them I do have to apologise. I > have been mucking about Java programming for a while back and have still > got the mindset of superclasses, extending classess, implenting classes > etc. > > What I had in mind was a 'one thing suits all' which does not work in > C++ and would result in the enforcement of a set of rules which > everybody must follow. > > It's going to take me a while to get up to speed with the C++ languague > and getting rid of concepts built up by using proprietry code. > > > From nofx_3 at softhome.net Sat Oct 30 05:38:12 2004 From: nofx_3 at softhome.net (Andrew Kaplan) Date: Sat Oct 30 05:43:36 2004 Subject: [Y-devel] Suggestion: View-pane In-Reply-To: <43403.127.0.0.1.1099087516.squirrel@127.0.0.1> References: <4181298F.1080401@ntlworld.com> <43403.127.0.0.1.1099087516.squirrel@127.0.0.1> Message-ID: <200410292138.12131.nofx_3@softhome.net> I just read an article about ioslaves and kde not 2 minutes before I read this message, its quite informative and I think something similar should definately be developed for Y (but this is a development that will occur quite a bit in the future obviously. check it at: http://osdir.com/Article2159.phtml Peas, -kaplanfx On Friday 29 October 2004 03:05 pm, james@grickle.org wrote: > Well it's not really C++ that's the problem, it's the general idea of > having a one thing to do it all approach. Anything you can do in C++ you > can do in Java. Same goes with many other languages, object oriented or > not. You just have to approach the coding in a different manner. > > KDE does what you're thinking of in a rather nice manner (ie - how if you > have an IOSlave installed [local/ftp/webdav/fish] you can open any > document [html/pdf/image] in konqueror). > > If you're talking about something similar to what KDE has going for it > (which is awesome) it really needs to be implemented on a higher level > (like in a desktop environment, not the windowing system). So we don't > have a server (or even the windowing system libraries) worrying about what > kind of file we are trying to view. The application (or a library in the > Desktop Environment for that application) can determine what file it is > and setup the propper widget. IMHO the drawing should still be done on a > canvas widget since different applications will have different ideas on > how to draw HTML among other things. > > Keep the actual windowing system focused on what it was meant to do, > create widgets and render them. Not interpretting HTML or TeX or anything > like that. > > Regards, > James > > > thanks guys for the comments, on seeing them I do have to apologise. I > > have been mucking about Java programming for a while back and have still > > got the mindset of superclasses, extending classess, implenting classes > > etc. > > > > What I had in mind was a 'one thing suits all' which does not work in > > C++ and would result in the enforcement of a set of rules which > > everybody must follow. > > > > It's going to take me a while to get up to speed with the C++ languague > > and getting rid of concepts built up by using proprietry code. From asuffield at debian.org Sat Oct 30 09:37:05 2004 From: asuffield at debian.org (Andrew Suffield) Date: Sat Oct 30 09:37:27 2004 Subject: [Y-devel] Suggestion: View-pane In-Reply-To: <200410292138.12131.nofx_3@softhome.net> References: <4181298F.1080401@ntlworld.com> <43403.127.0.0.1.1099087516.squirrel@127.0.0.1> <200410292138.12131.nofx_3@softhome.net> Message-ID: <20041030083705.GA8633@suffields.me.uk> On Fri, Oct 29, 2004 at 09:38:12PM -0700, Andrew Kaplan wrote: > I just read an article about ioslaves and kde not 2 minutes before I read this > message, its quite informative and I think something similar should > definately be developed for Y (but this is a development that will occur > quite a bit in the future obviously. check it at: > http://osdir.com/Article2159.phtml This is an application-level issue, nothing to do with Y. -- .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org/ | `. `' | `- -><- | -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://www.y-windows.org/pipermail/y-devel/attachments/20041030/fe011d9e/attachment.bin From jonasfietz at gmx.net Sun Oct 31 18:34:50 2004 From: jonasfietz at gmx.net (Jonas Fietz) Date: Sun Oct 31 18:35:28 2004 Subject: [Y-devel] Activity, Andrew? Message-ID: <4185304A.6020900@gmx.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, sorry to bring this subject up again, but I haven't heard anything from the two core developers about any advancements. The arch-archives is outdated by half a year, the wiki is offline now. So my question is, are you guys still doing anything? I mean, just read an eMail from Andrew Suffield, so he still seems to be reading the list. What about a short summary about the activity going on and maybe telling ~ interested people where some up-to-date code is. Jonas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBhTBKLDPKnnhOBOYRAiH1AJ9snkDs2kWEfSdxSHWLdbLM2QuhGACcDj9g ryMSVPJDzaGCM4zC6el5Wuc= =Ifa0 -----END PGP SIGNATURE----- From nofx_3 at softhome.net Sun Oct 31 18:58:28 2004 From: nofx_3 at softhome.net (Andrew Kaplan) Date: Sun Oct 31 18:58:34 2004 Subject: [Y-devel] Suggestion: View-pane In-Reply-To: <20041030083705.GA8633@suffields.me.uk> References: <4181298F.1080401@ntlworld.com> <200410292138.12131.nofx_3@softhome.net> <20041030083705.GA8633@suffields.me.uk> Message-ID: <200410311058.28746.nofx_3@softhome.net> Good point, its still pretty neat though. On Saturday 30 October 2004 01:37 am, Andrew Suffield wrote: > On Fri, Oct 29, 2004 at 09:38:12PM -0700, Andrew Kaplan wrote: > > I just read an article about ioslaves and kde not 2 minutes before I read > > this message, its quite informative and I think something similar should > > definately be developed for Y (but this is a development that will occur > > quite a bit in the future obviously. check it at: > > http://osdir.com/Article2159.phtml > > This is an application-level issue, nothing to do with Y.