Re: [crossfire] gtkv2 client vs gtk client gap list.

2006-02-20 Thread Mark Wedel

  For those of you not on the cvs commit list, a day or so back I did update 
the 
gtkv2 client so it does now have a keybinding gui interface.  That seems to 
have 
been one of the most common things people said were missing.  I'd be interested 
in people trying it out and making sure it works and meets needs.

  As a note, the gtkv2 interface now supports using the meta and alt keys as 
additional bind modifiers.  Thus, you could bind Alt-F1 to one command, Meta-F1 
to another command, control-F1 to a third command, shift-F1 to a fourth 
command, 
and just plain F1 to yet a fifth command.

  This should provide a lot more flexibility in binding.

  However, one issue is that the gtkv1 and gtkv2 share the same keymapping 
file. 
  the gtkv2 client introduces some new modifiers for Alt and Meta.  The result 
is that if you use the gtkv2 client and bind with those modifiers and then run 
the gtkv1 client, it will strip out those bindings because it doesn't 
understand 
that line.

  This support for meta/alt should probably be back ported to the gtkv1 client. 
  I don't think it would be that hard to do, since the code from the gtkv2 
client could be used to a good extent.  Any volunteers?

___
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire


Re: [crossfire] gtkv2 client vs gtk client gap list.

2006-02-15 Thread Mark Wedel

  Briefly played with trying to get gcfclient2 to work at 1024x768 resolution 
(or thereabouts).

  The biggest issue is related to the layouts - since the gtk2 client stacks 
the 
info (text) window above the inventory above the look all in one vertical axis 
- 
this then doesn't given much space for all that - see link below:

http://img204.imageshack.us/my.php?image=gclient29tj.png

  Now that can perhaps be improved to some extent by reducing the icon image 
size (16x16 would double images in the look and inventory window).

  I through this out for more discussion - to me, with that small a look and 
inventory window isn't that useful.

  At the same time, relative to new users, telling them the 10 things they need 
to change to get it to look reasonable on at 1024x768 resolution probably isn't 
that friendly.  Maybe something like -lowres or the like which does the 
following:

Sets icon scale to 50
Sets map window to be 15x15 (or maybe sets map scale to 60?)
Adjusts layout accordingly (smaller map area, moves the spacers appropriately, 
etc).

  These could of course be adjusted by the player to their specific needs - it 
just seems that some form of easier to use configuration for this would be need 
out of the box.


___
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire


Re: [crossfire] gtkv2 client vs gtk client gap list.

2006-02-05 Thread Lalo Martins
And so says Anton Oussik on 06/02/06 10:04...
> My biggest obstacle (grudge?) against using gtk-v2 client is no -split
> option. It is good for big/small/multiple screens, and I find playing
> without quite restrictive.

Ideally, I'd like to see the v2 client use GIMP docks.  Unfortunately,
AFAICS, those dock widgets are not available as a library :-(

best,
   Lalo Martins
--
  So many of our dreams at first seem impossible,
   then they seem improbable, and then, when we
   summon the will, they soon become inevitable.
--
personal:  http://www.laranja.org/
technical:http://lalo.revisioncontrol.net/
GNU: never give up freedom http://www.gnu.org/


___
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire


Re: [crossfire] gtkv2 client vs gtk client gap list.

2006-02-05 Thread Anton Oussik
My biggest obstacle (grudge?) against using gtk-v2 client is no -split
option. It is good for big/small/multiple screens, and I find playing
without quite restrictive.

Also (last I tried) it fails to compile on cygwin, but that is
probably easily fixable if I were to seriously consider using it.

I also use the GUI keybinding interface.

___
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire


Re: [crossfire] gtkv2 client vs gtk client gap list.

2006-02-05 Thread Alex Schultz
Mark Wedel wrote:

>  But what at the main features that are missing?  IMO, there is a lot of 
> stuff 
>in gtkv1 client that I'm not sure people use.  One being the keybinding 
>interface - do people use that very much, or do people just use command line. 
>It doesn't make sense to add features that no one needs
>
I usually use the command to bind, however I ALWAYS use the keybinding 
interface to unbind and edit bindings. It would be a bit of a pain if 
removed. I expect many users who use custom keybindings alot make use of 
this.

Alex Schultz

___
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire


Re: [crossfire] gtkv2 client vs gtk client gap list.

2006-02-05 Thread Miguel Ghobangieno
I use the keybinding interface very often. I imagine
others do too.

--- Mark Wedel <[EMAIL PROTECTED]> wrote:

> Yann Chachkoff wrote:
> >> Briefly discussed on irc, but also related to
> other discussions, is perhaps
> >> what client(s) to use going forward. To me, at
> some level, keeping the
> >> gtk(v1) client about may not make a lot of sense.
> > 
> > I'm not sure about that, at least not on the short
> term. The gtkv2 is far
> > from complete IMHO. On the longer term, it is
> probably correct that the gtkv1
> > would get superceded at some point, though.
> 
>   But what at the main features that are missing? 
> IMO, there is a lot of stuff 
> in gtkv1 client that I'm not sure people use.  One
> being the keybinding 
> interface - do people use that very much, or do
> people just use command line. 
> It doesn't make sense to add features that no one
> needs.
> 
> > 
> >> Especially if we start going down the path of new
> character creation and
> >> other widgets - I don't look forward to trying to
> write those for the gtkv1
> >> client.
> > 
> >> I know a lot of people still use the gtkv1
> client.
> > 
> > Well, I think it is actually more accurate to say
> that it is the most used
> > one :).
> 
>   Yes, numbers back you up - from metalforge:
>   GTK Unix Client  6
>   GTK Unix Client 1.5.03
>   GTK Unix Client 1.7.01
>   GTK Unix Client 1.7.17
>   GTK Unix Client 1.8.0   22
>   GTK Win32 Client 1.7.0   1
>   GTK Win32 Client 1.7.1   2
>   GTK Win32 Client 1.8.0   7
>   GTK Win32 Client 1.8.0 snapshot 19
>   GTK2 Unix Client 1.8.0   6
>   Perl Bot 1
>   X11 Unix Client  4
>   X11 Unix Client 1.7.02
>   X11 Unix Client 1.8.0   11
> 
>   These numbers are correlated with client and ip
> address - this likely isn't 
> 100% accurate (there is a delay between the client
> connecting and player logging 
> in, thus getting IP address), but probably gives an
> OK estimate.  The number 
> could also be skewed - people playing that connect
> via DHCP will be counted 
> numerous times, compared to those on static IPs.
> 
> 
> 
> > My most important complain is already well known:
> gtkv2 requires a 1280x1024
> > screen resolution, which is not available (or
> comfortable) on many screens.
> > The resolution currently considered as standard is
> 1024x768 (a lot of laptops
> > are limited to it, while a lot of 17''CRT monitors
> can only display 1280x1024
> > at rather low frequencies). Although I understand
> that people that got bigger
> > screens would want a client best suited for them,
> let's not forget all those
> > who cannot properly display such a big client:
> they'll have no other choice
> > but quit playing, or deal with ugly things like
> virtual scrolling.
> > 
> > I think that the problem comes down to the
> impossibility to reconfigure the
> > client interface to suit your needs - not
> everybody needs/wants a 25x25 map
> > display, for example; others may want to get
> bigger tiles instead of getting
> > more. Before scrapping gtkv1, I think that the v2
> must provide the same level
> > of display configuration.
> 
>   I'll look into this.  Note it really comes down to
> the map display area - if 
> the map area is made say ~550x550 pixels (instead of
> the 800x800 right now), 
> that you could either get 17x17 display with full
> sized images, or 25x25 with 
> images resized to be 22x22, or something in between.
> 
> 
> ___
> crossfire mailing list
> crossfire@metalforge.org
>
http://mailman.metalforge.org/mailman/listinfo/crossfire
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

___
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire


Re: [crossfire] gtkv2 client vs gtk client gap list.

2006-02-04 Thread Lalo Martins
And so says Mark Wedel on 05/02/06 11:24...
>   But what at the main features that are missing?  IMO, there is a lot of 
> stuff 
> in gtkv1 client that I'm not sure people use.  One being the keybinding 
> interface - do people use that very much, or do people just use command line. 
> It doesn't make sense to add features that no one needs.

Sometimes I'll bind from the command line, specially if I'm in a hurry
or I'm just pasting a binding (eg for a pickup mode or a spell I just
learned).  But usually I bind from the GUI, and I *always* unbind and
edit bindings from the GUI.

best,
   Lalo Martins
--
  So many of our dreams at first seem impossible,
   then they seem improbable, and then, when we
   summon the will, they soon become inevitable.
--
personal:  http://www.laranja.org/
technical:http://lalo.revisioncontrol.net/
GNU: never give up freedom http://www.gnu.org/


___
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire


Re: [crossfire] gtkv2 client vs gtk client gap list.

2006-02-04 Thread Brendan Lally
On 2/5/06, Mark Wedel <[EMAIL PROTECTED]> wrote:
> > I'm not sure that is necessary, not so long ago there was a patch to
> > gcfclient to make it compile against gtk2, I will assume that this
> > gets accepted in the move towards 2.0, with the few bugs it isolates
> > picked up on the way.
>
>   I do wonder if at some point, gtk itself may drop support for the stuff from
> gtk1 they obsoleted.  For example, if gtk3 is released, they may very well say
> 'gtk1 code is going away - we kept and entire released version, but we don't
> want it anymore'.  I'd imagine that may be years away (and gtkv2 may continue 
> to
> be commonly available on distributions for a while even after gtk3 is 
> released),
> but a random thought.  Note that I have no indication that this is actually
> going to happen, but I imagine at some point, the gtk1 stuff that they stopped
> supporting will go away.

But long before that time, gcfclient can have been compiled against
gtk2, and it can use a lot of the code from gcfclient2 to replace
deprecated stuff.

>   Maybe - I'm not 100% sure how big gtk-common would be.  But this goes back 
> to
> the original question, which is why keep the gtk-v1 client.  If the gtkv2 
> client
> has all the same features, is there a reason to keep the gtk-v1 client (this 
> is
> driven people using it, but then perhaps the question is why are people using 
> it
> over gtkv2).
>
>   If it is a matter of layout (I like the layout of gtk1 better), I wonder how
> hard it would be to do a 'gtk API' type of thing - take a glade config file, 
> and
> say 'these are the callbacks you use' - one could whip up a new layout pretty
> darn quickly.

That's pretty much the reasoning behind a gtk-common/ however, I'd
rather have at least one client done manually, since glade is fairly
complicated.

>   IIRC, I did the entire layout of the gtkv2 client in glade in a single 
> evening
> - it was the back end portion that was harder, and in some cases, because of 
> the
> difference in gtk 1 and 2.


>   IIRC, to be 100% gtk2, the text windows (messages) and the lists (inventory,
> look) use new widgets.  If you take those pieces out, what is then left as
> common is the map (which does share code to a good extent right now), and the
> stat/resistances windows (which are pretty trivial).

If we assume that gcfclient is in future compiled against gtk2 by
default then the inventory and text code could be taken directly from
gcfclient2, given that they operate almost identically anyway.

___
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire


Re: [crossfire] gtkv2 client vs gtk client gap list.

2006-02-04 Thread Brendan Lally
On 2/5/06, Mark Wedel <[EMAIL PROTECTED]> wrote:
>   But what at the main features that are missing?  IMO, there is a lot of 
> stuff
> in gtkv1 client that I'm not sure people use.  One being the keybinding
> interface - do people use that very much, or do people just use command line.
> It doesn't make sense to add features that no one needs.

I use the keybinding interface on the occasions I run gcfclient.

___
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire


Re: [crossfire] gtkv2 client vs gtk client gap list.

2006-02-04 Thread Mark Wedel
Brendan Lally wrote:
> On 2/4/06, Mark Wedel <[EMAIL PROTECTED]> wrote:
>>   To me, at some level, keeping the gtk(v1) client about may not make a lot 
>> of
>> sense.  Especially if we start going down the path of new character creation 
>> and
>> other widgets - I don't look forward to trying to write those for the gtkv1 
>> client.
> 
> I'd note at this point that the recent spell interface updates I did
> were for gcfclient not gcfclient2 - I find glade complex and
> confusing, gtk code is comparatively straightforward to write, at
> least for maintenance.

  And that is sort of the point - if/when more stuff is moved to the client, 
having to update multiple clients become more a burden.  As long as we have 
peopel willing to keep updating all the clients, not as much a problem. 
Presuming of course those people stick around and are relatively responsive to 
making needed changes in a timely fashion.

> 
>>   I know a lot of people still use the gtkv1 client.  So my basic question 
>> is,
>> for those of you that do, what needs to be changed/added/fixed in the gtkv2
>> client so you would use it.
> 
> I'm not sure that is necessary, not so long ago there was a patch to
> gcfclient to make it compile against gtk2, I will assume that this
> gets accepted in the move towards 2.0, with the few bugs it isolates
> picked up on the way.

  I do wonder if at some point, gtk itself may drop support for the stuff from 
gtk1 they obsoleted.  For example, if gtk3 is released, they may very well say 
'gtk1 code is going away - we kept and entire released version, but we don't 
want it anymore'.  I'd imagine that may be years away (and gtkv2 may continue 
to 
be commonly available on distributions for a while even after gtk3 is 
released), 
but a random thought.  Note that I have no indication that this is actually 
going to happen, but I imagine at some point, the gtk1 stuff that they stopped 
supporting will go away.

> 
> If cfclient is removed, (and the broken gnome client also), then there
> would only be one toolkit in use. It would then be possible to
> restructure the client directories to have common/ gtk_common/ gtk-v1/
> and gtk-v2/ mapping to:
> protocol parsing and storage, toolkit specific code, and interface 
> respectively.

  Maybe - I'm not 100% sure how big gtk-common would be.  But this goes back to 
the original question, which is why keep the gtk-v1 client.  If the gtkv2 
client 
has all the same features, is there a reason to keep the gtk-v1 client (this is 
driven people using it, but then perhaps the question is why are people using 
it 
over gtkv2).

  If it is a matter of layout (I like the layout of gtk1 better), I wonder how 
hard it would be to do a 'gtk API' type of thing - take a glade config file, 
and 
say 'these are the callbacks you use' - one could whip up a new layout pretty 
darn quickly.

  IIRC, I did the entire layout of the gtkv2 client in glade in a single 
evening 
- it was the back end portion that was harder, and in some cases, because of 
the 
difference in gtk 1 and 2.

  IIRC, to be 100% gtk2, the text windows (messages) and the lists (inventory, 
look) use new widgets.  If you take those pieces out, what is then left as 
common is the map (which does share code to a good extent right now), and the 
stat/resistances windows (which are pretty trivial).

  But what that does mean is that any change to inventory handling (say new 
attribute to display) would be separate code for the clients.  Likewise, any 
changes to message handling couldn't share code.  The map portion could share 
code, and I'd bet to some extent, right now, could pretty easily do so (in both 
cases, it is just going directly to a drawable, and in the case of the opengl 
and SDL drawing modes, doesn't even use GTK - gtk just provides the window, 
nothing else).


___
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire


Re: [crossfire] gtkv2 client vs gtk client gap list.

2006-02-04 Thread Mark Wedel
Yann Chachkoff wrote:
>> Briefly discussed on irc, but also related to other discussions, is perhaps
>> what client(s) to use going forward. To me, at some level, keeping the
>> gtk(v1) client about may not make a lot of sense.
> 
> I'm not sure about that, at least not on the short term. The gtkv2 is far
> from complete IMHO. On the longer term, it is probably correct that the gtkv1
> would get superceded at some point, though.

  But what at the main features that are missing?  IMO, there is a lot of stuff 
in gtkv1 client that I'm not sure people use.  One being the keybinding 
interface - do people use that very much, or do people just use command line. 
It doesn't make sense to add features that no one needs.

> 
>> Especially if we start going down the path of new character creation and
>> other widgets - I don't look forward to trying to write those for the gtkv1
>> client.
> 
>> I know a lot of people still use the gtkv1 client.
> 
> Well, I think it is actually more accurate to say that it is the most used
> one :).

  Yes, numbers back you up - from metalforge:
  GTK Unix Client  6
  GTK Unix Client 1.5.03
  GTK Unix Client 1.7.01
  GTK Unix Client 1.7.17
  GTK Unix Client 1.8.0   22
  GTK Win32 Client 1.7.0   1
  GTK Win32 Client 1.7.1   2
  GTK Win32 Client 1.8.0   7
  GTK Win32 Client 1.8.0 snapshot 19
  GTK2 Unix Client 1.8.0   6
  Perl Bot 1
  X11 Unix Client  4
  X11 Unix Client 1.7.02
  X11 Unix Client 1.8.0   11

  These numbers are correlated with client and ip address - this likely isn't 
100% accurate (there is a delay between the client connecting and player 
logging 
in, thus getting IP address), but probably gives an OK estimate.  The number 
could also be skewed - people playing that connect via DHCP will be counted 
numerous times, compared to those on static IPs.



> My most important complain is already well known: gtkv2 requires a 1280x1024
> screen resolution, which is not available (or comfortable) on many screens.
> The resolution currently considered as standard is 1024x768 (a lot of laptops
> are limited to it, while a lot of 17''CRT monitors can only display 1280x1024
> at rather low frequencies). Although I understand that people that got bigger
> screens would want a client best suited for them, let's not forget all those
> who cannot properly display such a big client: they'll have no other choice
> but quit playing, or deal with ugly things like virtual scrolling.
> 
> I think that the problem comes down to the impossibility to reconfigure the
> client interface to suit your needs - not everybody needs/wants a 25x25 map
> display, for example; others may want to get bigger tiles instead of getting
> more. Before scrapping gtkv1, I think that the v2 must provide the same level
> of display configuration.

  I'll look into this.  Note it really comes down to the map display area - if 
the map area is made say ~550x550 pixels (instead of the 800x800 right now), 
that you could either get 17x17 display with full sized images, or 25x25 with 
images resized to be 22x22, or something in between.


___
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire


Re: [crossfire] gtkv2 client vs gtk client gap list.

2006-02-04 Thread Brendan Lally
On 2/4/06, Mark Wedel <[EMAIL PROTECTED]> wrote:
>   To me, at some level, keeping the gtk(v1) client about may not make a lot of
> sense.  Especially if we start going down the path of new character creation 
> and
> other widgets - I don't look forward to trying to write those for the gtkv1 
> client.

I'd note at this point that the recent spell interface updates I did
were for gcfclient not gcfclient2 - I find glade complex and
confusing, gtk code is comparatively straightforward to write, at
least for maintenance.

>   I know a lot of people still use the gtkv1 client.  So my basic question is,
> for those of you that do, what needs to be changed/added/fixed in the gtkv2
> client so you would use it.

I'm not sure that is necessary, not so long ago there was a patch to
gcfclient to make it compile against gtk2, I will assume that this
gets accepted in the move towards 2.0, with the few bugs it isolates
picked up on the way.

If cfclient is removed, (and the broken gnome client also), then there
would only be one toolkit in use. It would then be possible to
restructure the client directories to have common/ gtk_common/ gtk-v1/
and gtk-v2/ mapping to:
protocol parsing and storage, toolkit specific code, and interface respectively.

These parts individually would not be so hard to maintain.

___
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire


Re: [crossfire] gtkv2 client vs gtk client gap list.

2006-02-04 Thread Yann Chachkoff
> Briefly discussed on irc, but also related to other discussions, is perhaps 
> what client(s) to use going forward.
> To me, at some level, keeping the gtk(v1) client about may not make a lot of 
> sense.  

I'm not sure about that, at least not on the short term. The gtkv2 is far from 
complete IMHO.
On the longer term, it is probably correct that the gtkv1 would get superceded 
at some point, though.

> Especially if we start going down the path of new character creation and 
> other widgets - I don't look forward to trying to write those for the gtkv1 
> client.

> I know a lot of people still use the gtkv1 client.  

Well, I think it is actually more accurate to say that it is the most used one 
:).

> So my basic question is, for those of you that do, what needs to be 
> changed/added/fixed in the gtkv2 client so you would use it.

My most important complain is already well known: gtkv2 requires a 1280x1024 
screen resolution, which is not available (or comfortable) on many screens. The 
resolution currently considered as standard is 1024x768 (a lot of laptops are 
limited to it, while a lot of 17''CRT monitors can only display 1280x1024 at 
rather low frequencies). Although I understand that people that got bigger 
screens would want a client best suited for them, let's not forget all those 
who cannot properly display such a big client: they'll have no other choice but 
quit playing, or deal with ugly things like virtual scrolling.

I think that the problem comes down to the impossibility to reconfigure the 
client interface to suit your needs - not everybody needs/wants a 25x25 map 
display, for example; others may want to get bigger tiles instead of getting 
more. Before scrapping gtkv1, I think that the v2 must provide the same level 
of display configuration.


___
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire


[crossfire] gtkv2 client vs gtk client gap list.

2006-02-04 Thread Mark Wedel

  Briefly discussed on irc, but also related to other discussions, is perhaps 
what client(s) to use going forward.

  To me, at some level, keeping the gtk(v1) client about may not make a lot of 
sense.  Especially if we start going down the path of new character creation 
and 
other widgets - I don't look forward to trying to write those for the gtkv1 
client.

  I know a lot of people still use the gtkv1 client.  So my basic question is, 
for those of you that do, what needs to be changed/added/fixed in the gtkv2 
client so you would use it.

  And anyone still using the old X11 client, same question.



___
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire