Re: [Flightgear-devel] New Nasal in CVS

2007-03-31 Thread Harald JOHNSEN
Andy Ross wrote:

A big heads up.  I just updated the Nasal interpreter to sync it with
Nasal CVS:

  

This almost certainly broke something, somewhere.  Please be on the
lookout for anything that looks like it might be an interpreter bug or
new behavior.  Likewise, let me know if any platform builds broke --
at the very least, MSVC project files are going to need to be updated
for the new files.

Andy


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

  

-- Début de la génération : Projet : SimGear, Configuration : Debug 
Win32 --

Compilation...
thread-win32.c
string.c
f:\dvlp\osgfg\SimGear\source\simgear\nasal\naref.h(19) : fatal error 
C1189: #error :  Unrecognized CPU architecture
parse.c
f:\dvlp\osgfg\SimGear\source\simgear\nasal\naref.h(19) : fatal error 
C1189: #error :  Unrecognized CPU architecture
misc.c
f:\dvlp\osgfg\SimGear\source\simgear\nasal\naref.h(19) : fatal error 
C1189: #error :  Unrecognized CPU architecture
mathlib.c
f:\dvlp\osgfg\SimGear\source\simgear\nasal\naref.h(19) : fatal error 
C1189: #error :  Unrecognized CPU architecture
lib.c
f:\dvlp\osgfg\SimGear\source\simgear\nasal\naref.h(19) : fatal error 
C1189: #error :  Unrecognized CPU architecture
lex.c
f:\dvlp\osgfg\SimGear\source\simgear\nasal\naref.h(19) : fatal error 
C1189: #error :  Unrecognized CPU architecture
iolib.c
f:\dvlp\osgfg\SimGear\source\simgear\nasal\naref.h(19) : fatal error 
C1189: #error :  Unrecognized CPU architecture
hash.c
f:\dvlp\osgfg\SimGear\source\simgear\nasal\naref.h(19) : fatal error 
C1189: #error :  Unrecognized CPU architecture
gc.c
f:\dvlp\osgfg\SimGear\source\simgear\nasal\naref.h(19) : fatal error 
C1189: #error :  Unrecognized CPU architecture
codegen.c
f:\dvlp\osgfg\SimGear\source\simgear\nasal\naref.h(19) : fatal error 
C1189: #error :  Unrecognized CPU architecture
code.c
f:\dvlp\osgfg\SimGear\source\simgear\nasal\naref.h(19) : fatal error 
C1189: #error :  Unrecognized CPU architecture
bitslib.c
f:\dvlp\osgfg\SimGear\source\simgear\nasal\naref.h(19) : fatal error 
C1189: #error :  Unrecognized CPU architecture
Génération de code en cours...
Compilation en cours...
vector.cxx
Génération de code en cours...

Does not compile on VC 7.1
adding || defined(WIN32) worked, then

mathlib.c
f:\dvlp\osgfg\SimGear\source\simgear\nasal\mathlib.c(29) : error C2065: 
'__func__' : identificateur non déclaré
f:\dvlp\osgfg\SimGear\source\simgear\nasal\mathlib.c(29) : warning 
C4047: 'fonction' : 'const char *' diffère de 'int' dans les niveaux 
d'indirection
f:\dvlp\osgfg\SimGear\source\simgear\nasal\mathlib.c(38) : warning 
C4047: 'fonction' : 'const char *' diffère de 'int' dans les niveaux 
d'indirection
f:\dvlp\osgfg\SimGear\source\simgear\nasal\mathlib.c(47) : warning 
C4047: 'fonction' : 'const char *' diffère de 'int' dans les niveaux 
d'indirection
f:\dvlp\osgfg\SimGear\source\simgear\nasal\mathlib.c(56) : warning 
C4047: 'fonction' : 'const char *' diffère de 'int' dans les niveaux 
d'indirection
f:\dvlp\osgfg\SimGear\source\simgear\nasal\mathlib.c(65) : warning 
C4047: 'fonction' : 'const char *' diffère de 'int' dans les niveaux 
d'indirection
f:\dvlp\osgfg\SimGear\source\simgear\nasal\mathlib.c(75) : warning 
C4047: 'fonction' : 'const char *' diffère de 'int' dans les niveaux 
d'indirection
lib.c
f:\dvlp\osgfg\SimGear\source\simgear\nasal\lib.c(25) : error C2065: 
'__func__' : identificateur non déclaré

// Toss a runtime error for any NaN or Inf values produced.  Note that
// this assumes an IEEE 754 format.
#define VALIDATE(r) (valid(r.num) ? (r) : die(c, __func__+2))

Harald.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] New Nasal in CVS

2007-03-31 Thread Harald JOHNSEN
Harald JOHNSEN wrote:

mathlib.c
f:\dvlp\osgfg\SimGear\source\simgear\nasal\mathlib.c(29) : error C2065: 
'__func__' : identificateur non déclaré
f:\dvlp\osgfg\SimGear\source\simgear\nasal\mathlib.c(29) : warning 
C4047: 'fonction' : 'const char *' diffère de 'int' dans les niveaux 
d'indirection
f:\dvlp\osgfg\SimGear\source\simgear\nasal\mathlib.c(38) : warning 
C4047: 'fonction' : 'const char *' diffère de 'int' dans les niveaux 
d'indirection
f:\dvlp\osgfg\SimGear\source\simgear\nasal\mathlib.c(47) : warning 
C4047: 'fonction' : 'const char *' diffère de 'int' dans les niveaux 
d'indirection
f:\dvlp\osgfg\SimGear\source\simgear\nasal\mathlib.c(56) : warning 
C4047: 'fonction' : 'const char *' diffère de 'int' dans les niveaux 
d'indirection
f:\dvlp\osgfg\SimGear\source\simgear\nasal\mathlib.c(65) : warning 
C4047: 'fonction' : 'const char *' diffère de 'int' dans les niveaux 
d'indirection
f:\dvlp\osgfg\SimGear\source\simgear\nasal\mathlib.c(75) : warning 
C4047: 'fonction' : 'const char *' diffère de 'int' dans les niveaux 
d'indirection
lib.c
f:\dvlp\osgfg\SimGear\source\simgear\nasal\lib.c(25) : error C2065: 
'__func__' : identificateur non déclaré

// Toss a runtime error for any NaN or Inf values produced.  Note that
// this assumes an IEEE 754 format.
#define VALIDATE(r) (valid(r.num) ? (r) : die(c, __func__+2))

Harald.

  

I've added this to the two file where func is used (seen on the interweb)
/* Try to get a reasonable __func__ substitute in place. */
#if defined(_MSC_VER)
/* MSVC compilers before VC7 don't have __func__ at all; later ones call it
 * __FUNCTION__. */
#if _MSC_VER  1300
#define __func__ ???
#else
#define __func__ __FUNCTION__
#endif
#endif

compiles ok, but link fails
Some functions defined in thread-posix.c (and used) are not defined in 
thread-win32.c
I've forced the use of thread-posix, compile and link is ok now.

Harald.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] encoder/altimeter kap140.nas

2007-03-31 Thread Melchior FRANZ
* John Denker -- Friday 02 March 2007:
 In the last couple of days, there have been bugfixes and
 upgrades to atmo.nas, atmo.hxx and atmo.cxx ... 

Committed, thanks!

m.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] KNID: New Airport layout ant buildings

2007-03-31 Thread alexis bory
Hi all,

I've modelled KNID (China Lake Naval Air Weapons Station, CA.) buildings 
and taxiways layout.

Screenshoots are availble here:

http://croo.murgl.org/fgfs/scenery/

and a test package with some explanations here:

http://croo.murgl.org/fgfs/scenery/KNID


Thanks for you comments,

Alexis


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Flash2a patch

2007-03-31 Thread Melchior FRANZ
* Stuart Buchanan -- Saturday 31 March 2007:
 http://www.nanjika.co.uk/flightgear/flash2a.tar.bz2

I tried to commit, but our CVS has the silly habit of only
allowing the original committer access (Martin), until Curt
manually changes the dir permissions or something.

m.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] crash with route manager dialog

2007-03-31 Thread Harald JOHNSEN
Hi,

I set KLAX in the next waypoint and keep the dialog open ;
I can see garbage in the target, dist, and eta fields one image every 
two image and correct value the other image.
This leads to a crash after some time in dialoc.cxx:format_callback() ; 
at that point there is garbage in obj-getLabel().
Only plib is not up to date.

Harald.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] crash with route manager dialog

2007-03-31 Thread Melchior FRANZ
* Harald JOHNSEN -- Saturday 31 March 2007:
 I set KLAX in the next waypoint and keep the dialog open ;
 I can see garbage in the target, dist, and eta fields one image every 
 two image and correct value the other image.

Works here. No garbage, no crash. Starting with the ufo from ksfo,
with only waypoint setting klax. Flew to klax with open dialog.



 Only plib is not up to date.

I'm using plib from svn/head, and my fgfs is patched to fully use
it, bypassing the puList.cxx copy in the fgfs sources. (I'd like
to commit that, but first we'd have to make 1.8.5rc1 a dependency.)

Anyone else seeing the problem? Maybe even on Linux -- with useful
backtrace?

m.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] JSBSim bug (was) weekly bug roundup

2007-03-31 Thread Ron Jensen
On Sun, 2007-02-11 at 20:27 -0600, Jon S. Berndt wrote:
  1.24 Misdirected diagnostic in JSBSim.cxx
 
 Was the fix for this applied to JSBSim.cxx in JSBSim CVS, too?
 
 Jon

The wiki [1] says this bug is fixed in JSBSim, however that is not true.
CVS for flightgear [2] matches CVS for JSBSim [3] and both still contain
the code for dumping the error code to cout.

I don't speak C++, but would this patch be an acceptable fix?

Index: JSBSim.cxx
===
RCS file: /var/cvs/FlightGear-0.9/source/src/FDM/JSBSim/JSBSim.cxx,v
retrieving revision 1.41
diff -u -r1.41 JSBSim.cxx
--- JSBSim.cxx  19 Mar 2007 16:37:36 -  1.41
+++ JSBSim.cxx  31 Mar 2007 23:48:55 -
@@ -425,10 +425,14 @@
 if (!cache_ok) {
   SG_LOG(SG_FLIGHT, SG_WARN,
  FGInterface is being called without scenery below the 
aircraft!);
-  cout  altitude =   alt  endl;
-  cout  sea level radius =   slr  endl;
-  cout  latitude =   lat  endl;
-  cout  longitude=   lon  endl;
+  SG_LOG(SG_FLIGHT, SG_WARN,
+ altitude =   alt);
+  SG_LOG(SG_FLIGHT, SG_WARN,
+sea level radius =   slr);
+  SG_LOG(SG_FLIGHT, SG_WARN,
+latitude =   lat);
+  SG_LOG(SG_FLIGHT, SG_WARN,
+longitude=   lon);
   //return;
 }




[1] 
http://wiki.flightgear.org/flightgear_wiki/index.php?title=Bugs#Misdirected_diagnostic_in_JSBSim.cxx
[2] 
http://cvs.flightgear.org/cgi-bin/viewvc/viewvc.cgi/source/src/FDM/JSBSim/JSBSim.cxx?annotate=1.41
 lines 428-431
[3] 
http://jsbsim.cvs.sourceforge.net/jsbsim/JSBSim/src/JSBSim.cxx?revision=1.13view=markup
 lines 428-431


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] JSBSim bug (was) weekly bug roundup

2007-03-31 Thread Jon S. Berndt
Does this patch work with JSBSim.cxx in FlightGear? If it does, then I don't
have a problem with including it in JSBSim.cxx in JSBSim CVS.

Jon


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Ron
 Jensen
 Sent: Saturday, March 31, 2007 6:51 PM
 To: FlightGear developers discussions
 Subject: Re: [Flightgear-devel] JSBSim bug (was) weekly bug roundup


 On Sun, 2007-02-11 at 20:27 -0600, Jon S. Berndt wrote:
   1.24 Misdirected diagnostic in JSBSim.cxx
 
  Was the fix for this applied to JSBSim.cxx in JSBSim CVS, too?
 
  Jon

 The wiki [1] says this bug is fixed in JSBSim, however that is not true.
 CVS for flightgear [2] matches CVS for JSBSim [3] and both still contain
 the code for dumping the error code to cout.

 I don't speak C++, but would this patch be an acceptable fix?

 Index: JSBSim.cxx
 ===
 RCS file: /var/cvs/FlightGear-0.9/source/src/FDM/JSBSim/JSBSim.cxx,v
 retrieving revision 1.41
 diff -u -r1.41 JSBSim.cxx
 --- JSBSim.cxx  19 Mar 2007 16:37:36 -  1.41
 +++ JSBSim.cxx  31 Mar 2007 23:48:55 -
 @@ -425,10 +425,14 @@
  if (!cache_ok) {
SG_LOG(SG_FLIGHT, SG_WARN,
   FGInterface is being called without scenery below
 the aircraft!);
 -  cout  altitude =   alt  endl;
 -  cout  sea level radius =   slr  endl;
 -  cout  latitude =   lat  endl;
 -  cout  longitude=   lon  endl;
 +  SG_LOG(SG_FLIGHT, SG_WARN,
 + altitude =   alt);
 +  SG_LOG(SG_FLIGHT, SG_WARN,
 +sea level radius =   slr);
 +  SG_LOG(SG_FLIGHT, SG_WARN,
 +latitude =   lat);
 +  SG_LOG(SG_FLIGHT, SG_WARN,
 +longitude=   lon);
//return;
  }




 [1]
 http://wiki.flightgear.org/flightgear_wiki/index.php?title=Bugs#Mi
sdirected_diagnostic_in_JSBSim.cxx
[2]
http://cvs.flightgear.org/cgi-bin/viewvc/viewvc.cgi/source/src/FDM/JSBSim/JS
BSim.cxx?annotate=1.41 lines 428-431
[3]
http://jsbsim.cvs.sourceforge.net/jsbsim/JSBSim/src/JSBSim.cxx?revision=1.13
view=markup lines 428-431


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] JSBSim bug (was) weekly bug roundup

2007-03-31 Thread Ron Jensen
Jon,

In simple testing (taking off in my F4E, rolling inverted, and slamming
into the ground) this patch suppresses the messages as desired unless
--loglevel=warn is set.  So yes, this patch seems to work with
FlightGear.

Perhaps someone could apply this to CVS in FlightGear as well?

Thanks,

Ron


On Sat, 2007-03-31 at 20:24 -0500, Jon S. Berndt wrote:
 Does this patch work with JSBSim.cxx in FlightGear? If it does, then I don't
 have a problem with including it in JSBSim.cxx in JSBSim CVS.
 
 Jon
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Ron
  Jensen
  Sent: Saturday, March 31, 2007 6:51 PM
  To: FlightGear developers discussions
  Subject: Re: [Flightgear-devel] JSBSim bug (was) weekly bug roundup
 
 
  On Sun, 2007-02-11 at 20:27 -0600, Jon S. Berndt wrote:
1.24 Misdirected diagnostic in JSBSim.cxx
  
   Was the fix for this applied to JSBSim.cxx in JSBSim CVS, too?
  
   Jon
 
  The wiki [1] says this bug is fixed in JSBSim, however that is not true.
  CVS for flightgear [2] matches CVS for JSBSim [3] and both still contain
  the code for dumping the error code to cout.
 
  I don't speak C++, but would this patch be an acceptable fix?
 
  Index: JSBSim.cxx
  ===
  RCS file: /var/cvs/FlightGear-0.9/source/src/FDM/JSBSim/JSBSim.cxx,v
  retrieving revision 1.41
  diff -u -r1.41 JSBSim.cxx
  --- JSBSim.cxx  19 Mar 2007 16:37:36 -  1.41
  +++ JSBSim.cxx  31 Mar 2007 23:48:55 -
  @@ -425,10 +425,14 @@
   if (!cache_ok) {
 SG_LOG(SG_FLIGHT, SG_WARN,
FGInterface is being called without scenery below
  the aircraft!);
  -  cout  altitude =   alt  endl;
  -  cout  sea level radius =   slr  endl;
  -  cout  latitude =   lat  endl;
  -  cout  longitude=   lon  endl;
  +  SG_LOG(SG_FLIGHT, SG_WARN,
  + altitude =   alt);
  +  SG_LOG(SG_FLIGHT, SG_WARN,
  +sea level radius =   slr);
  +  SG_LOG(SG_FLIGHT, SG_WARN,
  +latitude =   lat);
  +  SG_LOG(SG_FLIGHT, SG_WARN,
  +longitude=   lon);
 //return;
   }
 
 
 
 
  [1] 
  http://wiki.flightgear.org/flightgear_wiki/index.php?title=Bugs#Misdirected_diagnostic_in_JSBSim.cxx
  [2] 
  http://cvs.flightgear.org/cgi-bin/viewvc/viewvc.cgi/source/src/FDM/JSBSim/JSBSim.cxx?annotate=1.41
   lines 428-431
  [3] 
  http://jsbsim.cvs.sourceforge.net/jsbsim/JSBSim/src/JSBSim.cxx?revision=1.13view=markup
   lines 428-431




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Weekly CVS Changelog Summary: SimGear

2007-03-31 Thread Curtis L. Olson
2f585eeea02e2c79d7b1d8c4963bae2d

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Weekly CVS Changelog Summary: FlightGear data

2007-03-31 Thread Curtis L. Olson
2f585eeea02e2c79d7b1d8c4963bae2d

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Weekly CVS Changelog Summary: FlightGear source

2007-03-31 Thread Curtis L. Olson
2f585eeea02e2c79d7b1d8c4963bae2d

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel