1
0
Fork 0
Commit graph

129 commits

Author SHA1 Message Date
Saikrishna Arcot
2c5429c589
Improve error handling.
If the response to the HTTP request isn't 200 (success), then don't save
the response, and don't call the callback.

Additionally, only retry in the case of HTTPException. This allows using
Ctrl-C to work correctly (and easily).
2016-12-27 20:46:59 -06:00
Torsten Dreyer
b9cba13e32 Fix the root cause for terrasync.py timeouts
Thanks to Andre Coetzee for spotting.

Also, don't hardcode port 80, intead use the port given in the url
2016-06-06 12:17:12 +02:00
Torsten Dreyer
a93dd29c85 First attempt to handle the nasty socket timeout
Retry once if a http get fails
2016-05-25 16:19:36 +02:00
Torsten Dreyer
489be2ce16 Add user-agent request header 2016-05-18 15:14:59 +02:00
Torsten Dreyer
6921c98933 Much better terrasync.py
- tortellini instead of spaghetti code (use oop)
- reuse connection
2016-05-18 12:51:29 +02:00
Torsten Dreyer
e2afbb4678 terrasync.py: cleanup and add some more power
- add option --quick
  check sha1sum of .dirindex files and skip directory if hash matches
- add option --remove-orphan
  remove orphan files (files exist locally but not on server)
- be less verbose
- write .dirindex files locally
2016-05-11 23:04:24 +02:00
Torsten Dreyer
0c5e99504d Move terrasync.py to /scripts/python 2016-05-11 14:59:36 +02:00
Raphael Dümig
a59e04ff36 replaced the outdated bash completion script with a completely rewritten version
The new script is documented in the flightgear wiki (see "bash completion") and adds functionality such as advanced detection of FG_ROOT and other paths, and many completions not available before.
The list of possible command line options is automatically generated from "fgfs --help --verbose".

The author of the original script (mfranz) has agreed to replace this script.
2014-10-08 14:36:39 +02:00
Gijs de Rooy
8c99d5d9d6 Remove unused --control option 2014-06-19 14:28:14 +02:00
Thomas Geymayer
d6ba7b0040 gedit syntaxhighlight/snippet support for Nasal.
Files by Philosopher: http://forum.flightgear.org/viewtopic.php\?f\=30\&t\=17265\#p164133
2013-11-07 14:30:03 +01:00
ThorstenB
3bf09215b0 Update ATIS voice generation scripts
Split voice samples into two separate files (airport and phraseology).
Compress voice samples.
2012-10-13 15:45:15 +02:00
ThorstenB
2d424062b7 Original ATIS voice generation scripts by John Denker
Also thanks to Dave Luff for digging this up from his (t)rusty hard disk.
2012-10-13 15:45:15 +02:00
ThorstenB
02b160c5ff #718: java client example not compiling
Util.java was added to the repo commenting "Half-finished utility class.".
No more progress since (10 years!), so just exclude the file from the
java build by changing its extension.
2012-03-27 21:06:29 +02:00
ThorstenB
924468169d Ignore empty lines in html output. 2012-03-25 10:34:50 +02:00
ThorstenB
8b46ee6648 Adapt script to changed name. 2012-03-04 19:49:28 +01:00
ThorstenB
7d2f2f2b6f Rename to "nasal_api_doc.py". 2012-03-04 19:49:02 +01:00
ThorstenB
8ce0c041ae Ignore .pyc files
(compiled python binaries)
2012-03-04 19:40:19 +01:00
adrian
3c233131f2 updated API script 2012-03-04 19:36:07 +01:00
adrian
39e399d8ec python script which generates $FGROOT/Nasal API documentation 2012-03-04 19:36:07 +01:00
James Turner
70b4f38ebc Goodbye automake. 2011-11-01 11:15:53 +00:00
Durk Talsma
c6feba04c9 Make the script a little more general purpose usable by removing a hardcoded filename. 2011-01-03 13:58:12 +01:00
Durk Talsma
6c165c30f2 Change file permissions to make the scripts executable. 2011-01-03 13:06:12 +01:00
Durk Talsma
dcfa2632fb Traffic tools. Conversion scripts to convert between xml and plain text format. Initial version of conf2xml.pl by me. Updated and modified by Mike Nieber. xml2conf.pl by Mike Nieber. 2011-01-03 09:59:48 +01:00
James Turner
5bb247d40a Fix syntax for IF DEFINED conditionals 2010-11-14 23:32:37 +00:00
James Turner
9bf4c887d4 Windows version.h generation script. 2010-11-14 23:26:27 +00:00
Christian Schmitt
0a5e86f4e6 remove old .cvsignore files 2010-11-11 01:16:29 +01:00
curt
c74cdade0b Be compatible with newer versions of tail and gnuplot. 2009-04-15 23:19:30 +02:00
curt
3b478871dd newest gnuplot doesn't like the "set terminal png color" command,
change to "set terminal png"
2009-04-15 23:19:30 +02:00
mfranz
4e13f8e4a0 nasal syntax: handle bracket error correctly 2009-03-18 08:00:09 +01:00
mfranz
7fd6f68c4e nasal.vim: add getAliasTarget clearValue, values, io.flush 2009-02-16 00:56:44 +01:00
mfranz
6fa20b5903 revert to using a cached list of aircraft -- scanning the Aircraft/
dirs is only fast enough with hot file-cache, but a bit too painful
otherwise. Updating the aircraft.list is now easier, though: Just
type   $ fgfs --aircraft=?<TAB>
2008-12-20 23:24:50 +00:00
mfranz
a9667c129c better instructions 2008-12-20 12:50:03 +00:00
mfranz
f382f053ff live-compile aircraft list, instead of requiring to build it
regularly. That's fast enough.
2008-12-20 10:32:42 +00:00
mfranz
29be38ed2a mark file names (for post-processing) 2008-12-19 13:38:25 +00:00
mfranz
404c3c863a include png and xcf files by default 2008-12-13 20:17:02 +00:00
mfranz
301915a05f add props.Node.{initNode,alias,unalias} 2008-11-20 20:11:46 +00:00
mfranz
d612706304 Move vim syntax files from utils/syntax/ to scripts/syntax/. They aren't
exactly scripts, but neither are they utilities by themselves. And the
neighbourship to the completion scripts makes sense (IMHO).
2008-10-13 21:22:10 +00:00
mfranz
1c60d4b205 completion: move scripts from tools/ to completion/ 2008-10-06 13:26:51 +00:00
mfranz
c248528c6f Nicolas: zsh completion script 2008-10-01 11:32:06 +00:00
mfranz
0d89cb9073 - remove redundant command
- better alignment of help screen
2008-09-23 20:21:19 +00:00
mfranz
9d3941ae1b lsprop: version math.pi (change %'v -> %q and %"V -> %Q; cosmetics) 2008-08-19 11:13:07 +00:00
mfranz
1a2dd7e63e lsprop: make included paths absolute 2008-08-19 06:52:47 +00:00
mfranz
9c2b9af40d lsprop: also consider includes from <PropertyList>; help improvements 2008-08-19 06:36:48 +00:00
mfranz
3da291dde6 lsprop: fix -p long option 2008-08-18 13:12:31 +00:00
mfranz
9959b08698 XMLErrors on one line 2008-08-18 10:15:39 +00:00
mfranz
1c4e485d12 lsprop: list properties of <PropertyList> XML files 2008-08-18 07:35:03 +00:00
mfranz
48c8ee3bfc typo: s/atl/alt/ (for "alternatives") 2008-07-24 20:46:30 +00:00
mfranz
4bb77f71d4 argument & parameter completion for bash (instructions inside) 2008-07-24 17:52:04 +00:00
mfranz
43a882b2ec script to output all frequencies for an airport as well as frequencies of
nearby radio navigation facilities and their distance/bearing to the airport
2008-05-04 21:33:16 +00:00
mfranz
93f8c676af fg-check:
- fix rle detection
- check all textures (to catch some forms of curruption)

fg-submit:
- documentation fixes & cleanup
2007-07-28 17:03:10 +00:00