Re: [Flightgear-devel] Chat Menu and fix for chat repetition bug

2007-12-08 Thread Vivian Meazza
Stuart Buchanan

> Sent: 05 December 2007 08:19
> To: FlightGear Dev
> Subject: [Flightgear-devel] Chat Menu and fix for chat repetition bug
> 
> 
> Hi All,
> 
> The latest and greatest chat menu system is now available. I 
> have added a couple of new features and fixed a number of bugs:
> 
> - The chat menu automagically creates messages that include 
> the nearest airport, the current runway in use (based on the 
> current weather conditions), and information about your 
> aircraft and location. For example "Half Moon Bay Traffic, 
> G-FGFS is type Cessna, inbound from the south-west at 
> 4,000ft, straight in approach runway 30, 4 miles to run". 
> - The chat repetition bug should now be completely fixed 
> (though I have only seen it twice, so I can't be 100% certain).
> - Going backwards and forwards through the message tree is 
> now more reliable.
> 
> The patch consists of a number of files (from
> http://www.nanjika.co.uk/flightgear/chatmenu.tar.gz):
> - multiplayer.nas: a complete replacement for Nasal/multiplayer.nas
> - chat-menu.xml: a new dialog to be placed under gui/dialogs
> - chat-menu-entries: an XML file defining the various chat 
> messages, based on CAP-143 (UK standard radio phraseology). 
> To be placed under ATC/
> 
> The patch also changes a small number of other files, for 
> which diffs are included below.
> 
> As Melchior doesn't spend much time using Multiplayer, he has 
> asked that I post to the list, so someone with more MP 
> experience can review and commit it to CVS.
> 
> I think this is a big improvement over the current broken 
> chat implementation and improves the MP experience 
> significantly. I'd therefore ideally like it to be included 
> in the release. As the patch is non-trivial, I'd appreciate 
> it if it could be committed so that plenty of people can have 
> the chance to try it out before the release.
> 
> Thanks
> 
> -Stuart
> 
> Index: preferences.xml 
> ===
> RCS file: /var/cvs/FlightGear-0.9/data/preferences.xml,v
> retrieving revision 1.256
> diff -u -r1.256 preferences.xml
> --- preferences.xml   4 Dec 2007 13:12:15 -   1.256
> +++ preferences.xml   5 Dec 2007 07:58:48 -
> @@ -472,6 +472,7 @@
> Hello
>  type="string">11850
> true
> +   
>
>  
>
> 
> Index: menubar.xml 
> ===
> RCS file: /var/cvs/FlightGear-0.9/data/gui/menubar.xml,v
> retrieving revision 1.68
> diff -u -r1.68 menubar.xml
> --- menubar.xml   4 Dec 2007 10:51:45 -   1.68
> +++ menubar.xml   5 Dec 2007 07:57:44 -
> @@ -162,6 +162,14 @@
> 
>
>  
> +  
> +   Chat Menu
> +   
> +dialog-show
> +chat-menu
> +   
> +  
> +
>   
>  
>   
> 
> Index: keyboard.xml 
> ===
> RCS file: /var/cvs/FlightGear-0.9/data/keyboard.xml,v
> retrieving revision 1.103
> diff -u -r1.103 keyboard.xml
> --- keyboard.xml  26 Nov 2007 17:55:28 -  1.103
> +++ keyboard.xml  1 Dec 2007 10:08:51 -
> @@ -352,7 +352,17 @@
>
>   
>  
> - 
> +  
> +-
> +false
> +Compose Chat
> +
> +   dialog-show
> +   chat-menu
> +
> +  
> +
> +  
>.
>Right brake
>
> @@ -773,6 +783,16 @@
>
>   
>  
> +  
> +_
> +false
> +Compose Chat
> +
> +  nasal
> +  multiplayer.compose_message()
> +
> +  
> +
>   
>a
>Increase speed-up.
> 
> 

I've tested this all with Start, and after some changes and bug fixes it is
now in cvs-head. Unfortunately, my cvs client has crashed, and I can't
backport it to plib until tomorrow.

Vivian



-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Chat Menu and fix for chat repetition bug

2007-12-05 Thread Melchior FRANZ
* Melchior FRANZ -- Wednesday 05 December 2007:
> Given that we will/should drop both glut and sdl support, I wouldn't
> waste time for sdl.

On fg/osg, that is. Of course sdl is the way to go on fg/plib.

m.

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Chat Menu and fix for chat repetition bug

2007-12-05 Thread Melchior FRANZ
* AnMaster -- Wednesday 05 December 2007:
> Where would you recommend searching for the problem with SDL?
> I got no idea where to start with that

Given that we will/should drop both glut and sdl support, I wouldn't
waste time for sdl.

m.

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Chat Menu and fix for chat repetition bug

2007-12-05 Thread AnMaster
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Melchior FRANZ wrote:
> * AnMaster -- Wednesday 05 December 2007:
>> Well osgviewer got other key issues as mentioned earlier on both
>> -devel [...] and sdl got problems with non-US keyboard layouts.
> 
> Unlikely. I doubt that Swedish keyboards are so special. German
> keyboards have that AltGr abomination as well, and I don't hear
> Germans complain. Especially on Unix this can certainly be fixed.
> MS Windows may be a different issue.
Where would you recommend searching for the problem with SDL? I got no idea
where to start with that

/AnMaster
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHVyDyWmK6ng/aMNkRCuq2AJ9PSg952zZW7u/THCOY3c1WPa8EwQCfdC8n
eJG3lbR7BvfpniRfnXXE/Fc=
=kkJS
-END PGP SIGNATURE-

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Chat Menu and fix for chat repetition bug

2007-12-05 Thread Melchior FRANZ
* AnMaster -- Wednesday 05 December 2007:
> Well osgviewer got other key issues as mentioned earlier on both
> -devel [...] and sdl got problems with non-US keyboard layouts.

Unlikely. I doubt that Swedish keyboards are so special. German
keyboards have that AltGr abomination as well, and I don't hear
Germans complain. Especially on Unix this can certainly be fixed.
MS Windows may be a different issue.

m.

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Chat Menu and fix for chat repetition bug

2007-12-05 Thread AnMaster
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Melchior FRANZ wrote:
> * AnMaster -- Wednesday 05 December 2007:
>> Melchior FRANZ wrote:
>>> All  and  combinations are free. 
> 
>> I don't have any of those keys on my keyboard... Most PC
>> keyboards don't 
> 
> On the contrary: most have them. There's a burning flag on
> them. Not that they work with obsolete glut legacy ...
> 
Well osgviewer got other key issues as mentioned earlier on both -devel and IRC
(btw why have you stopped going on IRC cptf?) and sdl got problems with non-US
keyboard layouts.

So for now I'm FORCED to use GLUT.


/AnMaster
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHVx7gWmK6ng/aMNkRCtEWAKCjr6KK1ga7xU2k1lHEDfaAL+3VDwCgwDSF
j5rCEXaXKLTCC3ETKGDClto=
=niA4
-END PGP SIGNATURE-

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Chat Menu and fix for chat repetition bug

2007-12-05 Thread Melchior FRANZ
* AnMaster -- Wednesday 05 December 2007:
> Melchior FRANZ wrote:
> > All  and  combinations are free. 

> I don't have any of those keys on my keyboard... Most PC
> keyboards don't 

On the contrary: most have them. There's a burning flag on
them. Not that they work with obsolete glut legacy ...

m.

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Chat Menu and fix for chat repetition bug

2007-12-05 Thread AnMaster
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

I don't have any of those keys on my keyboard... Most PC keyboards don't

Melchior FRANZ wrote:
> * AnMaster -- Wednesday 05 December 2007:
>> We should first decide what keys are reserved for user, I
>> used - locally so I need to know what is now free instead.
>> At least leave _ free then... 
> 
> All  and  combinations are free. A few
> hundred free keys ought to be enough for anybody ...
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHVx1yWmK6ng/aMNkRCul+AJ9fAOS2XPnFQCj2WJoi2K+NoPFs8ACdGq8d
r80Xzaxw43J4z3jsbu+j4UA=
=KIRl
-END PGP SIGNATURE-

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Chat Menu and fix for chat repetition bug

2007-12-05 Thread Stuart Buchanan
--- Curtis Olson wrote:
> Hi Stuart,
> 
> I can't quite get out of the starting gate with this.
> Preferences.xmlreferences files in the ATC subdir, but the
> tar.gz puts this all in the chatmenu subdir.  And even when I try to patch
> up the paths, I get a Dialog: chat-menu not defined when I try to bring up
> the dialog box.  So something is definitely missing or not self consistent
> at the moment.

Rather than have a sparse set of directories, the original instructions 
indicated
where the various files should go, but obviously weren't clear enough.

Here are the file locations:

multiplayer.nas -> Nasal/
chat-menu.xml -> gui/dialogs/
chat-menu-entries.xml -> ATC/

To address Melchior's comment about the keyboard bindings, I've changed the
description for the '-' key to "Chat Menu", which is consistent with the menubar
item.

Updated diffs below.

Thanks

-Stuart

Index: preferences.xml
===
RCS file: /var/cvs/FlightGear-0.9/data/preferences.xml,v
retrieving revision 1.256
diff -u -r1.256 preferences.xml
--- preferences.xml 4 Dec 2007 13:12:15 -   1.256
+++ preferences.xml 5 Dec 2007 07:58:48 -
@@ -472,6 +472,7 @@
Hello
11850
true
+   
   
 
   

Index: menubar.xml
===
RCS file: /var/cvs/FlightGear-0.9/data/gui/menubar.xml,v
retrieving revision 1.68
diff -u -r1.68 menubar.xml
--- menubar.xml 4 Dec 2007 10:51:45 -   1.68
+++ menubar.xml 5 Dec 2007 07:57:44 -
@@ -162,6 +162,14 @@

   
 
+  
+   Chat Menu
+   
+dialog-show
+chat-menu
+   
+  
+
  
 
  

Index: keyboard.xml
===
RCS file: /var/cvs/FlightGear-0.9/data/keyboard.xml,v
retrieving revision 1.103
diff -u -r1.103 keyboard.xml
--- keyboard.xml26 Nov 2007 17:55:28 -  1.103
+++ keyboard.xml1 Dec 2007 10:08:51 -
@@ -352,7 +352,17 @@
   
  
 
- 
+  
+-
+false
+Chat Menu
+
+   dialog-show
+   chat-menu
+
+  
+
+  
   .
   Right brake
   
@@ -773,6 +783,16 @@
   
  
 
+  
+_
+false
+Compose Chat
+
+  nasal
+  multiplayer.compose_message()
+
+  
+
  
   a
   Increase speed-up.



  ___
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Chat Menu and fix for chat repetition bug

2007-12-05 Thread Curtis Olson
Hi Stuart,

I can't quite get out of the starting gate with this.
Preferences.xmlreferences files in the ATC subdir, but the
tar.gz puts this all in the chatmenu subdir.  And even when I try to patch
up the paths, I get a Dialog: chat-menu not defined when I try to bring up
the dialog box.  So something is definitely missing or not self consistent
at the moment.

Best regards,

Curt.


On Dec 5, 2007 2:19 AM, Stuart Buchanan <> wrote:

> Hi All,
>
> The latest and greatest chat menu system is now available. I have added a
> couple
> of new features and fixed a number of bugs:
>
> - The chat menu automagically creates messages that include the nearest
> airport,
> the current runway in use (based on the current weather conditions), and
> information about your aircraft and location. For example "Half Moon Bay
> Traffic,
> G-FGFS is type Cessna, inbound from the south-west at 4,000ft, straight in
> approach runway 30, 4 miles to run".
> - The chat repetition bug should now be completely fixed (though I have
> only seen
> it twice, so I can't be 100% certain).
> - Going backwards and forwards through the message tree is now more
> reliable.
>
> The patch consists of a number of files (from
> http://www.nanjika.co.uk/flightgear/chatmenu.tar.gz):
> - multiplayer.nas: a complete replacement for Nasal/multiplayer.nas
> - chat-menu.xml: a new dialog to be placed under gui/dialogs
> - chat-menu-entries: an XML file defining the various chat messages, based
> on
> CAP-143 (UK standard radio phraseology). To be placed under ATC/
>
> The patch also changes a small number of other files, for which diffs are
> included below.
>
> As Melchior doesn't spend much time using Multiplayer, he has asked that I
> post
> to the list, so someone with more MP experience can review and commit it
> to CVS.
>
> I think this is a big improvement over the current broken chat
> implementation and
> improves the MP experience significantly. I'd therefore ideally like it to
> be
> included in the release. As the patch is non-trivial, I'd appreciate it if
> it
> could be committed so that plenty of people can have the chance to try it
> out
> before the release.
>
> Thanks
>
> -Stuart
>
> Index: preferences.xml
> ===
> RCS file: /var/cvs/FlightGear-0.9/data/preferences.xml,v
> retrieving revision 1.256
> diff -u -r1.256 preferences.xml
> --- preferences.xml 4 Dec 2007 13:12:15 -   1.256
> +++ preferences.xml 5 Dec 2007 07:58:48 -
> @@ -472,6 +472,7 @@
>Hello
>11850
>true
> +   
>   
>
>   
>
> Index: menubar.xml
> ===
> RCS file: /var/cvs/FlightGear-0.9/data/gui/menubar.xml,v
> retrieving revision 1.68
> diff -u -r1.68 menubar.xml
> --- menubar.xml 4 Dec 2007 10:51:45 -   1.68
> +++ menubar.xml 5 Dec 2007 07:57:44 -
> @@ -162,6 +162,14 @@
>
>   
>
> +  
> +   Chat Menu
> +   
> +dialog-show
> +chat-menu
> +   
> +  
> +
>  
>
>  
>
> Index: keyboard.xml
> ===
> RCS file: /var/cvs/FlightGear-0.9/data/keyboard.xml,v
> retrieving revision 1.103
> diff -u -r1.103 keyboard.xml
> --- keyboard.xml26 Nov 2007 17:55:28 -  1.103
> +++ keyboard.xml1 Dec 2007 10:08:51 -
> @@ -352,7 +352,17 @@
>   
>  
>
> - 
> +  
> +-
> +false
> +Compose Chat
> +
> +   dialog-show
> +   chat-menu
> +
> +  
> +
> +  
>   .
>   Right brake
>   
> @@ -773,6 +783,16 @@
>   
>  
>
> +  
> +_
> +false
> +Compose Chat
> +
> +  nasal
> +  multiplayer.compose_message()
> +
> +  
> +
>  
>   a
>   Increase speed-up.
>
>
>
>
>  ___
> Support the World Aids Awareness campaign this month with Yahoo! For Good
> http://uk.promotions.yahoo.com/forgood/
>
> -
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> ___
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>



-- 
Curtis Olson: http://baron.flightgear.org/~curt/
Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d
-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourcefor

Re: [Flightgear-devel] Chat Menu and fix for chat repetition bug

2007-12-05 Thread Melchior FRANZ
* AnMaster -- Wednesday 05 December 2007:
> We should first decide what keys are reserved for user, I
> used - locally so I need to know what is now free instead.
> At least leave _ free then... 

All  and  combinations are free. A few
hundred free keys ought to be enough for anybody ...

m.

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Chat Menu and fix for chat repetition bug

2007-12-05 Thread AnMaster
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

We should first decide what keys are reserved for user, I used - locally so I
need to know what is now free instead. At least leave _ free then...

Stuart Buchanan wrote:
> Hi All,
> 
> The latest and greatest chat menu system is now available. I have added a 
> couple
> of new features and fixed a number of bugs:
> 
> - The chat menu automagically creates messages that include the nearest 
> airport,
> the current runway in use (based on the current weather conditions), and
> information about your aircraft and location. For example "Half Moon Bay 
> Traffic,
> G-FGFS is type Cessna, inbound from the south-west at 4,000ft, straight in
> approach runway 30, 4 miles to run". 
> - The chat repetition bug should now be completely fixed (though I have only 
> seen
> it twice, so I can't be 100% certain).
> - Going backwards and forwards through the message tree is now more reliable.
> 
> The patch consists of a number of files (from
> http://www.nanjika.co.uk/flightgear/chatmenu.tar.gz):
> - multiplayer.nas: a complete replacement for Nasal/multiplayer.nas
> - chat-menu.xml: a new dialog to be placed under gui/dialogs
> - chat-menu-entries: an XML file defining the various chat messages, based on
> CAP-143 (UK standard radio phraseology). To be placed under ATC/
> 
> The patch also changes a small number of other files, for which diffs are
> included below.
> 
> As Melchior doesn't spend much time using Multiplayer, he has asked that I 
> post
> to the list, so someone with more MP experience can review and commit it to 
> CVS.
> 
> I think this is a big improvement over the current broken chat implementation 
> and
> improves the MP experience significantly. I'd therefore ideally like it to be
> included in the release. As the patch is non-trivial, I'd appreciate it if it
> could be committed so that plenty of people can have the chance to try it out
> before the release.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHVwVuWmK6ng/aMNkRCvr4AJ9JkGD0OAgmlpaztPUrR+48RrMsFACePXIZ
/3rScQEnUqApK1WAazG7vQ0=
=EHfo
-END PGP SIGNATURE-

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Chat Menu and fix for chat repetition bug

2007-12-05 Thread Melchior FRANZ
Here's an "objection":

* Stuart Buchanan -- Wednesday 05 December 2007:
> +  
> +-
> +false
> +Compose Chat

> +  
> +_
> +false
> +Compose Chat


Two keys with description "Compose Chat" implies they are
identical and one is redundant. This description will/shall
be added to Nasal/gui.nas, and I don't think we want a key
help dialog with twice the same description.

m. 

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Chat Menu and fix for chat repetition bug

2007-12-05 Thread Curtis Olson
I don't have a lot of time today to test myself either, but it looks like an
additive feature, not a change so I'm guessing there is minimal risk of
breakage.  If no one registers any objections in the next 15 seconds, I can
just go ahead and commit it.

Curt.


On Dec 5, 2007 2:19 AM, Stuart Buchanan <> wrote:

> Hi All,
>
> The latest and greatest chat menu system is now available. I have added a
> couple
> of new features and fixed a number of bugs:
>
> - The chat menu automagically creates messages that include the nearest
> airport,
> the current runway in use (based on the current weather conditions), and
> information about your aircraft and location. For example "Half Moon Bay
> Traffic,
> G-FGFS is type Cessna, inbound from the south-west at 4,000ft, straight in
> approach runway 30, 4 miles to run".
> - The chat repetition bug should now be completely fixed (though I have
> only seen
> it twice, so I can't be 100% certain).
> - Going backwards and forwards through the message tree is now more
> reliable.
>
> The patch consists of a number of files (from
> http://www.nanjika.co.uk/flightgear/chatmenu.tar.gz):
> - multiplayer.nas: a complete replacement for Nasal/multiplayer.nas
> - chat-menu.xml: a new dialog to be placed under gui/dialogs
> - chat-menu-entries: an XML file defining the various chat messages, based
> on
> CAP-143 (UK standard radio phraseology). To be placed under ATC/
>
> The patch also changes a small number of other files, for which diffs are
> included below.
>
> As Melchior doesn't spend much time using Multiplayer, he has asked that I
> post
> to the list, so someone with more MP experience can review and commit it
> to CVS.
>
> I think this is a big improvement over the current broken chat
> implementation and
> improves the MP experience significantly. I'd therefore ideally like it to
> be
> included in the release. As the patch is non-trivial, I'd appreciate it if
> it
> could be committed so that plenty of people can have the chance to try it
> out
> before the release.
>
> Thanks
>
> -Stuart
>
> Index: preferences.xml
> ===
> RCS file: /var/cvs/FlightGear-0.9/data/preferences.xml,v
> retrieving revision 1.256
> diff -u -r1.256 preferences.xml
> --- preferences.xml 4 Dec 2007 13:12:15 -   1.256
> +++ preferences.xml 5 Dec 2007 07:58:48 -
> @@ -472,6 +472,7 @@
>Hello
>11850
>true
> +   
>   
>
>   
>
> Index: menubar.xml
> ===
> RCS file: /var/cvs/FlightGear-0.9/data/gui/menubar.xml,v
> retrieving revision 1.68
> diff -u -r1.68 menubar.xml
> --- menubar.xml 4 Dec 2007 10:51:45 -   1.68
> +++ menubar.xml 5 Dec 2007 07:57:44 -
> @@ -162,6 +162,14 @@
>
>   
>
> +  
> +   Chat Menu
> +   
> +dialog-show
> +chat-menu
> +   
> +  
> +
>  
>
>  
>
> Index: keyboard.xml
> ===
> RCS file: /var/cvs/FlightGear-0.9/data/keyboard.xml,v
> retrieving revision 1.103
> diff -u -r1.103 keyboard.xml
> --- keyboard.xml26 Nov 2007 17:55:28 -  1.103
> +++ keyboard.xml1 Dec 2007 10:08:51 -
> @@ -352,7 +352,17 @@
>   
>  
>
> - 
> +  
> +-
> +false
> +Compose Chat
> +
> +   dialog-show
> +   chat-menu
> +
> +  
> +
> +  
>   .
>   Right brake
>   
> @@ -773,6 +783,16 @@
>   
>  
>
> +  
> +_
> +false
> +Compose Chat
> +
> +  nasal
> +  multiplayer.compose_message()
> +
> +  
> +
>  
>   a
>   Increase speed-up.
>
>
>
>
>  ___
> Support the World Aids Awareness campaign this month with Yahoo! For Good
> http://uk.promotions.yahoo.com/forgood/
>
> -
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> ___
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>



-- 
Curtis Olson: http://baron.flightgear.org/~curt/
Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d
-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Chat Menu and fix for chat repetition bug

2007-12-05 Thread Stuart Buchanan
Hi All,

The latest and greatest chat menu system is now available. I have added a couple
of new features and fixed a number of bugs:

- The chat menu automagically creates messages that include the nearest airport,
the current runway in use (based on the current weather conditions), and
information about your aircraft and location. For example "Half Moon Bay 
Traffic,
G-FGFS is type Cessna, inbound from the south-west at 4,000ft, straight in
approach runway 30, 4 miles to run". 
- The chat repetition bug should now be completely fixed (though I have only 
seen
it twice, so I can't be 100% certain).
- Going backwards and forwards through the message tree is now more reliable.

The patch consists of a number of files (from
http://www.nanjika.co.uk/flightgear/chatmenu.tar.gz):
- multiplayer.nas: a complete replacement for Nasal/multiplayer.nas
- chat-menu.xml: a new dialog to be placed under gui/dialogs
- chat-menu-entries: an XML file defining the various chat messages, based on
CAP-143 (UK standard radio phraseology). To be placed under ATC/

The patch also changes a small number of other files, for which diffs are
included below.

As Melchior doesn't spend much time using Multiplayer, he has asked that I post
to the list, so someone with more MP experience can review and commit it to CVS.

I think this is a big improvement over the current broken chat implementation 
and
improves the MP experience significantly. I'd therefore ideally like it to be
included in the release. As the patch is non-trivial, I'd appreciate it if it
could be committed so that plenty of people can have the chance to try it out
before the release.

Thanks

-Stuart

Index: preferences.xml
===
RCS file: /var/cvs/FlightGear-0.9/data/preferences.xml,v
retrieving revision 1.256
diff -u -r1.256 preferences.xml
--- preferences.xml 4 Dec 2007 13:12:15 -   1.256
+++ preferences.xml 5 Dec 2007 07:58:48 -
@@ -472,6 +472,7 @@
Hello
11850
true
+   
   
 
   

Index: menubar.xml
===
RCS file: /var/cvs/FlightGear-0.9/data/gui/menubar.xml,v
retrieving revision 1.68
diff -u -r1.68 menubar.xml
--- menubar.xml 4 Dec 2007 10:51:45 -   1.68
+++ menubar.xml 5 Dec 2007 07:57:44 -
@@ -162,6 +162,14 @@

   
 
+  
+   Chat Menu
+   
+dialog-show
+chat-menu
+   
+  
+
  
 
  

Index: keyboard.xml
===
RCS file: /var/cvs/FlightGear-0.9/data/keyboard.xml,v
retrieving revision 1.103
diff -u -r1.103 keyboard.xml
--- keyboard.xml26 Nov 2007 17:55:28 -  1.103
+++ keyboard.xml1 Dec 2007 10:08:51 -
@@ -352,7 +352,17 @@
   
  
 
- 
+  
+-
+false
+Compose Chat
+
+   dialog-show
+   chat-menu
+
+  
+
+  
   .
   Right brake
   
@@ -773,6 +783,16 @@
   
  
 
+  
+_
+false
+Compose Chat
+
+  nasal
+  multiplayer.compose_message()
+
+  
+
  
   a
   Increase speed-up.




  ___
Support the World Aids Awareness campaign this month with Yahoo! For Good 
http://uk.promotions.yahoo.com/forgood/

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel