1
0
Fork 0
Commit graph

122 commits

Author SHA1 Message Date
mfranz
5b683d1c8b yeah, yet another patch ... :-]
- fix config file name in $HOME; This didn't match the documentation.
  (doesn't cost us anything to check ~/.fg-submit first, and then ~/.fg-submitrc)
- don't use mktemp for the backup files. Some outdated distributions
  (Debian) come with a version that mandates six X, which is just too ugly.
  Just find the first free slot with sequential number. That isn't thread
  safe, but mktemp isn't either, so ...  (Should be using "lockfile", but
  its availability on CygWin is questionable. And it's not *that* important.)
- some more documentation
- some cleanup, too, of course
2007-03-09 19:15:54 +00:00
mfranz
abc3b3ffa1 - rules can be defined in optional .fg-submit config files, via commands
ALLOW, DENY, IGNORE, DEFAULT  ... see documentation on top
- make fg-upload arguments like the documentation says. (I had accidentally
  left $1=$PWD, $2=archive, $3=diff, while it should be $1=archive, $2=diff)
- add -v option (verbose)
2007-03-09 16:22:27 +00:00
mfranz
3f1b379e9a - escape '+' in awk pattern (gawk doesn't need it, but mawk does)
- change the mktemp lines to please Debian's stoneage version ... sigh
- reject archives
2007-03-08 23:16:57 +00:00
mfranz
cbae8f95ac whoops, sorry for the noise -- we don't need that first arg 2007-03-08 17:14:29 +00:00
mfranz
d3e7ca7351 fg-check: speedup, minor fixes, cleanup
fg-submit:
- takes alternative optional basename (used instead of dirname)
- calls optional user defined fg-upload script at the end (example on top)
- minor fixes, different color for changed binary files
- cleanup, improved documentation
2007-03-08 16:45:48 +00:00
mfranz
48a57250be - add fg-check script; Can be used to check source/data before committing or
submitting. Detects various kinds of ugliness, but also reports false
  positives. (People aren't supposed to compress texture filer so save
  40 bytes. ;-)
- bugfix in fg-submit + some more cleanup and cosmetics
2007-03-07 16:26:33 +00:00
mfranz
9a1d1e389a don't move existing diff/tar.bz2 file away asking if it's ok to overwrite,
but rather copy the files to mktemp generated & guaranteed unique files
(don't worry, this is the last patch for today :-)
2007-03-06 21:48:28 +00:00
mfranz
d719f7ac63 cleanup 2007-03-06 21:23:26 +00:00
mfranz
937e8283a3 make unified diff 2007-03-06 20:35:28 +00:00
mfranz
7cea2dd67e script that generates an archive with changed and new files for submission;
works on Unix/Linux/CygWin
2007-03-06 19:23:36 +00:00
mfranz
b075cf5f01 s/--props/--telnet/ (I may do that. I wrote this file. :-) 2007-02-19 16:18:57 +00:00
mfranz
d9015f6923 - check buffer length
- cosmetics
2006-11-23 09:26:43 +00:00
mfranz
f29a6dbf33 - don't use static buffer in class method
- prepend underscore to class member variable names
- cosmetics
2006-11-22 13:47:15 +00:00
mfranz
1d15a9272b George PATTERSON:
"Flightgear.py
- Added the procedures view_next and view_prev

demo.py
- altered the wait five seconds to the new property path and allowed for
the script to be started after five seconds of simulation file
(/sim/time/elapsed-sec).
- the section of code was changed to a pythonism as python does not
support do-while loops, instead you break out of a continuous loop.
- Commented out the fg.wait_for_prop_eq() method as I haven't rewritten
that part of the code yet. Not sure of the best way to do that. Those
lines may not be necessary any more."


mf: removed trailing spaces; I updated the pyc, too, but I really think
    it shouldn't be in CVS at all.(?)
2006-10-29 12:34:26 +00:00
curt
afc849066d Bigger thumbnails. 2006-08-24 15:12:57 +00:00
curt
7282491294 Updateds for v0.9.10-pre3 2006-03-27 19:47:48 +00:00
mfranz
ab7a594dab add workaround for gdb bug
s/calltree/callgrind/
2006-02-09 11:08:17 +00:00
mfranz
f41b0ad951 cosmetics 2006-02-04 23:27:31 +00:00
mfranz
e461edc660 public domain 2006-02-04 23:07:41 +00:00
curt
af6809ac5d Admin updates. 2005-11-05 20:04:04 +00:00
mfranz
c0947d18b9 cvsignore 2005-10-05 11:52:25 +00:00
ehofman
6786e2bbf1 Melchior FRANZ:
There weren't changes to this script in a while -- it almost looks
like dead code, but isn't. I'm using this regularly. valgrind works
better than ever (version 3.0 coming out soon, and the alpha already
very usable). New address: http://www.valgrind.org/
2005-04-19 12:34:38 +00:00
curt
1b29c13911 Remove gif support, add png support.
Don't overzoom large version of images.
2005-01-17 20:14:55 +00:00
ehofman
982c9e20be Remove an unused Makfefile 2004-12-28 10:18:51 +00:00
curt
d05121ef46 Fix my mailing address by replacing it with my web page. 2004-11-19 22:10:41 +00:00
curt
9e1359501e A couple tweaks/optimizations to the script. 2004-09-13 21:47:32 +00:00
curt
2d03062b38 First stab at a simple script that inputs a list of lon/lat coordinates via
stdin, and outputs the coordinates with FG ground elevation.  This requires
a running copy of FlightGear with --fdm=null and the telnet server enabled.
Of course you need to have scenery installed for all areas you are querying.
This is not fast and the scenery load wait time may need to be tuned for
individual systems.
2004-09-10 21:21:34 +00:00
curt
e7bdd8deeb Add a function to do plots with any channel being X and any other channel
being "Y".
2004-02-27 23:28:23 +00:00
curt
a6129a38d0 Add elevator trim tab position logging. 2004-02-17 23:03:31 +00:00
curt
6dd88738e4 Clean up headers and lower verbosity. 2004-02-12 20:28:19 +00:00
ehofman
b8ac668719 Add some example remote controll scripts 2004-02-10 15:35:48 +00:00
curt
10fc1ea537 A bit more Makefile massaging. 2004-02-10 15:22:29 +00:00
ehofman
0111069aad Leave a usable state again. 2004-02-10 15:07:50 +00:00
ehofman
c40ffa503a Add some example remote controll scripts and make sure at least the perl directory is included in the tarball 2004-02-10 14:38:51 +00:00
curt
228dc97230 Initial revision of some helper functions for remote logging. 2004-02-10 04:42:13 +00:00
curt
a80d0320d7 Initial revisions. 2004-02-07 03:32:40 +00:00
curt
9c49534907 Attempt #1 to sort out confusion between left / right / parking brake
controls in the cockpit vs. which wheels they apply to.  FlightGear now
sets /controls/gear/brake-left, /controls/gear/brake-right, and
/controls/gear/brake-parking.  It should be up to the FDM to sort out
which wheels under which circumstances are affected by these controls
and ultimately what happens to the physical motion of the aircraft.
2004-01-12 17:39:41 +00:00
curt
492d5fbd8d Fix a small mistake in the scene graph arrangement for vasi lights. 2004-01-11 19:45:29 +00:00
curt
cdbfda256e Initial revision. 2003-12-19 15:36:54 +00:00
curt
c9f2473654 Updates. 2003-10-31 21:03:53 +00:00
curt
ff17b20b55 Updates. 2003-10-31 03:53:10 +00:00
curt
cc7b15fa7b Various 0.9.3 updates. 2003-10-24 17:06:39 +00:00
curt
939b9b65f3 Initial revision. 2003-10-06 18:40:06 +00:00
curt
1f212f47e2 Script tweak. 2003-07-07 21:19:59 +00:00
curt
fe1070bfc6 Many ILS approaches do not have a listed GS elevation in the FAA or in the
DAFIFT data base.  Use the field elevation as a reasonable approximation
when no other data is available.
2003-06-25 18:10:10 +00:00
david
d7a73a21a5 Fix to translate DME and TACAN X/Y channels to paired VHF frequencies
correctly.  Thanks to Jorge Van Hemelryck <ml@jvh.net> for the fix.
2003-06-04 20:34:39 +00:00
curt
25e57e5cd1 This script should be moved because it really isn't dafift specific. It
builds the ILS database from several sources and uses an external compiled
utility to crunch the math to straighten out the approaches whenever we can
match them to specific runway headings and threshold locations.  This should
be *always* but our runway data is horribly outdated so that needs to be
updated soon to get into sync.
2003-05-27 18:57:40 +00:00
curt
a918236e2d Fixes to the default.ils building script. 2003-05-19 15:28:21 +00:00
curt
6e1e43b47b Remove possilbe trailing "/" from runway numbers in FAA data.
Use add_record() routine for FGFS/X-Plane data.
2003-04-17 20:57:36 +00:00
curt
206b10d400 Tweaks to handle odd data cases. Load existing flightgear data at end
to preserve any non-usa approaches that are missing from the FAA data or
the DAFIFT data (these should be checked against current charts to verify
that these still exist and aren't being incorrectly carried along.)
2003-04-16 20:41:12 +00:00
curt
ae84180ee7 Produces output that doesn't crash FlightGear. 2003-04-15 20:59:22 +00:00
curt
34c905829c Some code rearranging and incremental improvements and bug fixes. 2003-04-15 18:08:38 +00:00
curt
8ce9c2c529 Initial revision of script to build the default.ils.gz file from DAFIFT
data.  The script is growing though to incorportate other data sources
so the name will probably have to change.  DAFIFT is missing many
approaches (for instance it only has 6 approaches from the entirety of
Canada.)  This is not yet ready for prime time, I'm simply committing it
to the repository so I can check it out and work on it from multiple
locations.
2003-04-15 01:44:57 +00:00
curt
b86a09cd7f Fixed [hopefully] the magvar decoding. The last four digits are quite
clearly the date of installation at that particular offset.  Offsets are
usually not changed because this would imply moving intersection points,
fixes, changing approaches, and all sorts of cascading effects.  GEP near
my house hasn't been adjusted since 1965; it is now about 8 degrees off the
real current magvar.
2003-04-10 18:04:40 +00:00
curt
1742f6e0ae Moved from $fgfs_base/Navaids/ to here. 2003-04-08 20:15:08 +00:00
curt
a947d6a8fb Added the cvs ident in the comment header. 2003-01-29 21:57:46 +00:00
curt
de3ef067eb Updated license statement. 2003-01-29 21:57:00 +00:00
curt
2c4534b7e8 Initial revisions. 2003-01-29 21:55:53 +00:00
david
3b3102d7c8 Simple perl script for calculating a tile path based on lon/lat. Does
not depend on SimGear, but doesn't handle objects right on the poles
either.
2002-09-22 15:52:46 +00:00
curt
f8c24745b6 Initial revision 2002-09-10 01:13:59 +00:00
curt
6ac85b8625 Fixed a bug in FlightGear.py. Splitting name,value,type using whitespace
failed on /sim/time/gmt-string because the raw value contains an embedded
space.  Now I use a regex instead of a plain split().  I also removed the
view_next and view_prev functions.  These will have to be replaced with
command properties.

I've also added a FGFSDemo.py script which is a python version of David's java program.
2002-07-22 23:25:28 +00:00
david
7b22fa4470 Patch from Melchior Franz:
- fix error message
- add PThread rule (needs valgrind >= 20020603)
- add missing files to .cvsignore
2002-06-28 17:43:11 +00:00
david
9276c70740 Half-finished utility class. 2002-06-28 14:15:53 +00:00
david
c8ff7eba7c Added files that only I use locally; it shouldn't hurt anyone else. 2002-06-28 14:15:37 +00:00
david
08848a284b Separated some functionality out into reusable classes, and built a
simplistic, text-field oriented interface for major property groups.

The JAR is now executable, so the program can be launched with

  java -jar fgfsclient.jar <host> <port>
2002-06-09 15:39:44 +00:00
david
2821153720 Ignore class directory. 2002-06-08 15:55:48 +00:00
david
8777663fc0 Initial draft of a Java client library for FlightGear. 2002-06-08 15:54:56 +00:00
david
8703eb5d1a Ignore generated Makefiles. 2002-06-08 15:01:46 +00:00
curt
b885e3ff87 Tweak paths. 2002-06-05 21:05:41 +00:00
curt
ef475aa007 Initial revision of a script to facilitate debugging with valgrind. 2002-06-05 19:58:07 +00:00
david
3754126976 .cvsignore files for new directories. 2002-05-17 18:48:40 +00:00
curt
f69a1c8f66 Added a scripts subdirectory with support for running external python
scripts that communicate with FlightGear via it's "telnet" interface.
2002-05-15 21:45:39 +00:00