1
0
Fork 0
Commit graph

588 commits

Author SHA1 Message Date
ThorstenB
8ca9f26e1b Ivan Ngeow: Fixed compile for FreeBSD platforms. 2011-02-11 18:53:35 +01:00
Frederic Bouvier
2a7afaf642 Cmake: add a rule to build sources from fluid (.fl) files 2011-01-28 20:12:56 +01:00
James Turner
1108944087 Fix Apple libsvn include for isysroot (SDK) builds. 2011-01-22 18:49:54 +00:00
James Turner
bd60cd21e7 Support the libsvn 1.4 API, which is what is available shipped with Mac OS-X 10.5 (Leopard) 2011-01-19 13:54:30 +00:00
James Turner
c1f44b366c Working Cmake-terrasync-libsvn support. Probably needs additional refinement, but testable. 2011-01-19 12:14:59 +00:00
Frederic Bouvier
d0a2fbba99 Revert joystick patch. One would have to provide a better one 2011-01-14 22:37:39 +01:00
Frederic Bouvier
4d0a6f5668 Olaf Flebbe: incorporate plib js code to fix problems with MS joysticks under Vista and 7 2011-01-14 21:32:59 +01:00
James Turner
73959885b9 Linux link fixes from Olaf Flebbe 2011-01-13 22:13:58 +00:00
Frederic Bouvier
3d1e9d5831 Cmake: resolve clock_gettime 2011-01-10 23:22:24 +01:00
James Turner
5deec69e00 First attempt at libsvn support in terrasync with CMake
- not yet working!
2011-01-09 00:15:29 +00:00
Frederic Bouvier
b0a61f6110 Cmake: finally build terrasync under Windows 2011-01-05 23:47:08 +01:00
Frederic Bouvier
6939abc9af Trying to fix Linux compilation 2011-01-05 18:43:55 +01:00
Frederic Bouvier
d4c9a393d1 Trying to fix Linux compilation 2011-01-05 18:24:49 +01:00
Frederic Bouvier
9a3e22d842 Trying to fix Linux compilation 2011-01-05 18:10:57 +01:00
Frederic Bouvier
ceabadacc2 Cmake: test the presence of FLTK 2011-01-05 17:58:20 +01:00
Frederic Bouvier
4d4c12bfa0 Replace plib/net.h by SimGear 2011-01-05 17:54:38 +01:00
Frederic Bouvier
ef4c4ac1f5 Cmake: add fgadmin to the project 2011-01-05 17:51:46 +01:00
Frederic Bouvier
1c792fb97c Provide declarations of hton*() and ntoh*() 2011-01-05 17:38:15 +01:00
Frederic Bouvier
402982f901 Cmake: add more utilities to the build system 2011-01-05 17:19:42 +01:00
Frederic Bouvier
65301bf84e Replace plib/net.h by SimGear 2011-01-05 17:18:12 +01:00
James Turner
a91ec5f9f9 Initial work on CMake build files, with considerable help from Olaf Flebbe. 2010-12-19 15:06:04 +00:00
James Turner
793fee679e Fix for bug 62, clean exit of terrasync on SIGTERM 2010-11-26 02:10:41 +00:00
ThorstenB
f8c94c7729 Another gitignore
Hello GIT!
2010-11-21 13:53:34 +01:00
Christian Schmitt
0a5e86f4e6 remove old .cvsignore files 2010-11-11 01:16:29 +01:00
James Turner
987c1bdfda Automake build fixes for PLIB net/ul removal. 2010-10-24 11:04:14 +01:00
James Turner
0e53e2cbb1 PLIB net removed from FlightGear 2010-10-24 07:10:51 +01:00
Tim Moore
f901dac2ac replace GLU functions with OSG functionality 2010-10-08 23:48:01 +02:00
James Turner
cc7a9d4727 Make even more implict includes explicit. 2010-08-07 13:00:33 +01:00
James Turner
d1852430bf Make various implicit includes (via PLIB) explicit. 2010-07-28 10:25:42 +01:00
Torsten Dreyer
2e6d7e111a gcc warning fixes 2010-06-26 21:24:46 +02:00
Torsten Dreyer
c89b18ddbd Ignore generated files
add generated files to gitignore that has also been in cvsignore
remove generated config.h-msvc* from source control
2010-06-02 11:27:16 +02:00
Tim Moore
473cea7f17 remove references to osgGA::MatrixManipulator
This class has been removed in current OSG sources.
2010-05-31 07:06:55 +02:00
James Turner
ebfe88b359 Fix MinGW compilation of js_server. 2010-05-09 22:59:28 +01:00
James Turner
07ad5f34aa Fix MinGW compilation of TerraSync 2010-05-09 12:23:35 +01:00
James Turner
f8d253ccce Fix terrasync svn-library linkage - not perfect but now links against libsvn_subr correctly.
Further cleanups by an autoconf expert would be most welcome.
2010-05-06 16:44:27 +01:00
Tim Moore
c4ea02811b Merge branch 'ehofman/normal' into next 2010-03-16 15:15:07 +01:00
ehofman
ff7f894754 better calculations. 2010-03-16 15:14:58 +01:00
ehofman
19b857d9be improved normal map calculation 2010-03-16 15:14:55 +01:00
ehofman
4329945e74 be a bit more helpful when the texture file could not be found 2010-03-16 15:14:53 +01:00
Tim Moore
c1e1e2f541 Merge branch 'torsten/js64' into next 2010-03-11 09:01:02 +01:00
torsten
0288a8af4c Just another 64bit fix 2010-03-11 09:00:07 +01:00
torsten
f3677a4ddf David Fries:
Fixes for 64bit systems
2010-03-11 08:59:37 +01:00
fredb
0429b71158 Jari Hkkinen: compile on Mac 2010-03-04 00:46:42 +01:00
fredb
51e0e490f0 Remove a name conflict under Unix 2010-03-04 00:46:26 +01:00
fredb
3a6587ae16 Alex Perry : Don't call stream functions in signal handlers
Me : close socket to force exit when termination signal is received while idle.
2010-03-04 00:46:13 +01:00
fredb
d1d7e6ad38 Alex Perry : Patch to protect terrasync SVN from ^C
Me : make it compile under MSVC. Works with fgrun.
2010-03-04 00:46:02 +01:00
curt
7df30059de Fix a couple "make dist" glitches. 2010-02-17 07:46:08 +01:00
fredb
00e9ad3055 MINGW patch from Benot Laniel 2010-01-25 17:12:04 +01:00
durk
db6b69d369 John Denker:
Subject: [PATCH] Make terrasync more usable, more like a proper daemon.
  -- writes pid to file
  -- normally does not exit until signalled
  -- uses blocking and non-blocking I/O as appropriate.
2010-01-21 06:30:06 +01:00
mfranz
7bec212976 error message like xmllint; prepare for python3 2009-12-27 09:30:44 +01:00
mfranz
30524c7c05 faster reload; colorize symbols; environment variable; comments++; cleanup
Note that Python's XML parser is picky about accents. Choose encoding
ISO-8859-1 for latin1 accents or UTF-8 for UTF-8 accents. (Don't use latin1
comments in UTF-8 encoding!) Use xmllint to check for the validity of your
XML files (or let ./scripts/tools/fg-check do that for you):

  $ xmllint a26-yasim.xml
  a26-yasim.xml:113: parser error : Input is not proper UTF-8, indicate encoding !
  Bytes: 0xE8 0x73 0x20 0x6C
                   moment d'apr?s la doc : ________________________ = __________ =
                               ^
2009-12-23 09:41:20 +01:00
mfranz
b1e8917266 add mirror button (useful for asymmetric aircraft, like the BV-141) 2009-12-14 06:58:06 +01:00
mfranz
fdd252e1c5 comments++; log++; remove obsolete code; prepare for Python3 2009-12-12 00:12:58 +01:00
mfranz
fe6d306493 YASim importer plugin for Blender 2009-12-12 00:12:51 +01:00
curt
d24caed229 Alex Perry: some updates to terrasync. 2009-10-12 07:59:52 +02:00
torsten
6db0398d64 unintentional introduction of a not yet ready util. 2009-09-18 10:34:51 +02:00
torsten
1dff3bf29a and the (hopefully) last one from Tat's Mac-can-run-make patch 2009-09-18 10:32:56 +02:00
torsten
d14a17b5b8 forgotten ones from Tat's patch to enable make builds on Macs 2009-09-18 10:32:42 +02:00
fredb
282ec8ddec Alex Perry : Minor bug fix patch for terrasync 2009-08-23 21:43:08 +02:00
fredb
94caa0b891 Fix case typo 2009-07-27 23:52:33 +02:00
fredb
9718338560 Compile under MSVC9 2009-07-27 23:52:33 +02:00
ehofman
f519f7f631 fix a head path reference 2009-06-23 10:54:10 +02:00
ehofman
575d4c7770 Move the texture code over from SimGear/simgear/screen 2009-06-23 10:54:10 +02:00
ehofman
c7e1994d7b fix a typo 2009-06-23 10:54:10 +02:00
ehofman
2d18249ca9 rename to generic-protocol-analyse which shows it purpose more clearly 2009-06-23 10:54:09 +02:00
ehofman
755f4f12f4 add some debugig logic 2009-06-23 10:54:09 +02:00
ehofman
b03ac3497b Add a generic binary protocol configuration file analyser that outputs the relevant parts of a generic binary protocol configuration 2009-06-23 10:54:09 +02:00
ehofman
65fd0c9c7a small bugfix 2009-06-23 10:54:08 +02:00
ehofman
84221ac794 Fix a bug in xmlGetString and honour the index attribtute 'n' 2009-06-23 10:54:08 +02:00
ehofman
783fa8dd7d a utility to print an xml file as a property tree 2009-06-23 10:54:08 +02:00
frohlich
4b2d677220 Read FG_ROOT/preferences.xml if we can find that.
Modified Files:
	fgviewer.cxx
2009-06-11 16:05:20 +02:00
frohlich
2d7312e462 Link with a minimal set of libraries.
Remove plibs file utility library.

Modified Files:
 	Makefile.am
2009-06-11 16:05:19 +02:00
ehofman
373849dab3 return the len of the string 2009-06-11 16:05:19 +02:00
frohlich
dd66e37353 More default setup for FG_ROOT
Modified Files:
	fgviewer/Makefile.am fgviewer/fgviewer.cxx
2009-06-11 16:05:19 +02:00
frohlich
0c3dc88652 Add some camera manipulators to the viewer.
Set up more of the flightgear internal environment.

Modified Files:
 	utils/fgviewer/fgviewer.cxx
2009-06-03 23:45:33 +02:00
ehofman
2df12dfcdc small fixes 2009-06-03 00:18:56 +02:00
frohlich
e6aa5b2320 Make it compile with gcc-4.4.0
Modified Files:
	utils/GPSsmooth/UGear_command.cxx
2009-06-03 00:18:55 +02:00
frohlich
0d0076d69c Better error message when materials cannot be loaded.
Modified Files:
	fgviewer.cxx
2009-06-03 00:18:55 +02:00
ehofman
a29bd715c1 Fix cacheFree 2009-06-03 00:18:55 +02:00
ehofman
fc0b771cdf * Implement a node cache that can be enabled at compile time.
the node cache prevents recursively walking the xml tree over and over
    again to find the specified nodes.
2009-06-03 00:18:55 +02:00
frohlich
b180ce7be5 Add osg stats and other usefull stuff.
Modified Files:
	utils/fgviewer/fgviewer.cxx
2009-06-03 00:18:55 +02:00
frohlich
0c0b38733e Add a new tool called fgviewer.
Modified Files:
	configure.ac utils/Makefile.am
Added Files:
 	utils/fgviewer/.cvsignore utils/fgviewer/Makefile.am
	utils/fgviewer/fgviewer.cxx
2009-06-03 00:18:54 +02:00
ehofman
20ad439f42 fixes for compiling without syntax validation. 2009-05-18 12:24:17 +02:00
ehofman
745277ec4a Skip one recursive function call for leaf nodes at the cost of a bit of code size. Fix comment support in some cases 2009-05-18 12:24:16 +02:00
fredb
4e7fde12b3 Compile xmlgrep with MSVC 7.1 2009-05-18 12:24:16 +02:00
ehofman
e47406b803 more small fixes 2009-05-18 12:24:16 +02:00
ehofman
7f16fbec70 * Various bugfixes, required to get fgrun working
* add testxml as sort of a stress test application
2009-05-18 12:24:16 +02:00
ehofman
7e4393bfab Various bugfixes. This allows me to run fgrun on all FlightGear aircraft in the base packageusing this xml code. 2009-05-18 12:24:16 +02:00
ehofman
fd2361ef55 allow C++ to include the header 2009-05-02 00:44:22 +02:00
ehofman
09adb5ee05 general cleanups. 2009-05-02 00:44:22 +02:00
ehofman
95bc1d587f Add support for CDATA 2009-05-02 00:44:22 +02:00
ehofman
bcf9687606 Fix an off by one problem. 2009-05-02 00:44:22 +02:00
ehofman
efc8d18d06 a small cleanup and make Windows simple_mmap function return the proper value if an error was detected. 2009-05-02 00:44:22 +02:00
ehofman
9122bfd1db * add printxml, an example utility that walks an xml-tree and prints it
contenst
2009-05-02 00:44:22 +02:00
ehofman
9e36b86756 * changes to the code to allow walking the xml-tree using "*" as a node name 2009-05-02 00:44:22 +02:00
ehofman
19c463f810 Ouch, forgot to allocate memory for the root node in xmlInitBuffer. Update xmlgrep to allow compiling it using xmlInitBuffer instead of xmlOpen 2009-05-02 00:44:21 +02:00
ehofman
ee34e97ada zero is a valid file descriptor, use -1 instead and better not use 'open' as a variable name. 2009-05-02 00:44:21 +02:00
ehofman
228c7aaaa0 * add xmlInitBuffer() for processing of a preallocated buffer
* add xmlErrorGetColumnNo to get the column number of the syntax error
  * pass an error at a higher level to lower levels
  * detect a number of extra syntax errors
2009-05-02 00:44:21 +02:00
ehofman
1f40ee2366 fix a buffer overflow 2009-05-02 00:44:21 +02:00
ehofman
e0528fc2d4 catch one more syntax error and remove a stale debug printf 2009-05-02 00:44:21 +02:00
ehofman
0654531fff * add support for comments inside xml-tags, e.g.: <test><!-- --></test> 2009-05-02 00:44:21 +02:00
ehofman
8862b3e2b3 * add support for self-contained tags like <test/>
* fix a problem if a file could not be mmaped
  * add a few comments which hopefully makes the code easier to understand
  * code cleanups
2009-05-02 00:44:21 +02:00
ehofman
8d85732a7d fix a case where a single-element root path (e.g. /printer) would not pass xmlNodeGetPath 2009-05-02 00:44:20 +02:00
ehofman
0561c0079a * Setting an error when a node isn't found isn't he best way,
need to find another way to report that.
  * Fix a bug where an error was incorrectly set in xmlNodeCopyName
2009-05-02 00:44:20 +02:00
ehofman
8dec4a987f * fix a problem where attributes or elements starting with the same letter
sequence could give a false negative result
  * Add a 'clear' attribute to the xmlErrorGet functions that indicates whether
    the error should be cleared or not
  * detect more xml syntax errors
2009-05-02 00:44:20 +02:00
fredb
3bb6d99542 errno is a reserved macro in some compilers 2009-05-02 00:44:20 +02:00
ehofman
54496730cd Fix a typo. 2009-05-02 00:44:20 +02:00
ehofman
a21dddeffc * Introduce a root-node that can hold extra information which is necessary
for thread safety under windows
  * Add xmlErrorGetString, xmlErrorGetLineNo for syntax error detetction
  * Add xmlErrGetNo for detection of, and clearing the last error
2009-05-02 00:44:20 +02:00
fredb
e00c4b98ce Compile xmlgrep with MSVC 7.1 2009-05-02 00:44:20 +02:00
ehofman
8943603ef1 * Rename xmlGetNode functions to xmlNodeGet for better consistancy
* likewise for xmlCopyNode en xmlCompareNode
  * add xmlAttributeGetDouble, xmlAttributeGetInt, xmlAttributeGetString
    xmlAttributeCopyString and xmlAttributeCompareString functions
  * fix some small bugs and problems along the way
  * add support for filtering on attribute value in xmlgrep
2009-05-02 00:44:20 +02:00
ehofman
aa30b94750 forgot one small fix 2009-04-15 23:19:29 +02:00
ehofman
306668887a better use of const and fix a bunch of warnings 2009-04-15 23:19:29 +02:00
frohlich
f9f9350b96 Adapt to SGTimeStamp changes.
Modified Files:
	configure.ac src/Cockpit/panel.cxx src/FDM/Makefile.am
	src/FDM/flight.hxx src/FDM/ExternalNet/ExternalNet.hxx
	src/Instrumentation/marker_beacon.cxx src/Main/Makefile.am
	src/Main/fg_init.cxx src/Main/main.cxx
	src/MultiPlayer/multiplaymgr.cxx src/Time/fg_timer.cxx
	utils/GPSsmooth/MIDG_main.cxx utils/GPSsmooth/UGear_main.cxx
	utils/GPSsmooth/gps_main.cxx
2009-03-18 08:00:08 +01:00
fredb
a9475796eb Improve TerraSync suggested by Alex Perry
Keep already scheduled tiles for later on relocation
2009-02-10 00:22:16 +01:00
fredb
83ece7efec Improve TerraSync
Really fetch tiles while there are no incoming messages.
Implement an aging mechanism to not try the same tile within a period of 10mn
2009-02-10 00:22:16 +01:00
Tim Moore
7259d36abf Change waitingTiles from std::queue to std::deque
std::queue can't be cleared portably.
2009-02-02 00:58:01 +01:00
fredb
155701aaeb Improve the terrasync strategy 2009-02-02 00:58:01 +01:00
fredb
cde8b0c54a Fix terrasync parsing of atlas messages 2009-02-02 00:58:01 +01:00
jmt
b2d4612beb Fix more test/util linkage for sgmath depending on sgstructure. 2008-12-26 12:38:32 +00:00
fredb
359ab0c207 Don't try to fetch tiles when lat or lon are invalid 2008-12-21 09:29:33 +00:00
durk
ad4bd6c2ce Some final adjustments:
- Remove Concorde, as announced
 - Add a missing directory to utils/Makefile.am, which caused an autoconf
   error.
2008-12-10 18:41:34 +00:00
curt
7ad55be8f6 Add propmerge to the subdirs list so it can get included with make dist (it
is referenced from the configure.ac file.)
2008-12-03 14:54:17 +00:00
mfranz
7fb8c28ac6 positive error return values, variable name change 2008-11-12 14:41:01 +00:00
mfranz
4b9ed2ae07 enable SG_LOG output 2008-11-11 22:09:56 +00:00
mfranz
d46f0a42ec add propmerge utility, which merges <PropertyList> XML files. Writes
result to the given output file if specified, or prints it to stdout
otherwise. Usage:

  $ propmerge [-o <outfile>] <list-of-infiles>
2008-11-11 18:51:01 +00:00
fredb
6f021e2bcc Provide an explanation to why a special case is needed 2008-10-19 16:26:52 +00:00
fredb
12009ea688 Alex Perry :
This patch changes terrasync so it links against the subversion
library if you have it installed.  It supports people who build binary
releases for use by non-developers by removing the runtime external
dependency on having command line svn or rsync available.  Since the
patch changes autoconf to detect libsvn,  I'd appreciate it if people
who release binaries could verify that the detection scripting works
for their platform.

Developer warning:  If you do have libsvn developer libraries
installed, terrasync changes its default option from "-R" to "-S" to
remove the command line dependency.  However, Martin has not yet
uploaded world scenery into the subversion repository so it won't be
useful to fly against and you may want to specify "-R" on the command
line in the short term.  Or run both.


Me: Update MSVC 7.1 project file. Need svn-win32-1.x.y_dev.zip and svn-win32-1.x.y.zip
located at http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100
2008-10-19 16:08:30 +00:00
fredb
2710564c7d Alex Perry :
This patch changes terrasync so it links against the subversion
library if you have it installed.  It supports people who build binary
releases for use by non-developers by removing the runtime external
dependency on having command line svn or rsync available.  Since the
patch changes autoconf to detect libsvn,  I'd appreciate it if people
who release binaries could verify that the detection scripting works
for their platform.

Developer warning:  If you do have libsvn developer libraries
installed, terrasync changes its default option from "-R" to "-S" to
remove the command line dependency.  However, Martin has not yet
uploaded world scenery into the subversion repository so it won't be
useful to fly against and you may want to specify "-R" on the command
line in the short term.  Or run both.


Me: Update MSVC 7.1 project file. Need svn-win32-1.x.y_dev.zip and svn-win32-1.x.y.zip
located at http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100
2008-10-19 16:08:29 +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
durk
30cf69fe6d Added two missing libraries needed by the new terrasync code. 2008-10-12 09:56:18 +00:00
fredb
5c05891521 Update Terrasync README file 2008-10-12 08:03:51 +00:00
fredb
c6e4bb0669 Alex Perry :
* Doesn't download the area at lot,lon of 0,0 if terrasync starts before FlightGear is ready
* Attempt to download the Airports directory when no scenery needs to be fetched
* Add svn over http support for flag "-S", in addition to the existing default of rsync
* Add the command line flag "-T" to just refresh the KSFO surrounding area and exit

Frederic Bouvier:
Add a MSVC71 project file
2008-10-12 07:55:09 +00:00
mfranz
1e27e3d4c3 detect parenthesis nesting errors, not only spurious closing parens 2008-09-30 15:37:01 +00:00
mfranz
5cff2b31b6 - improve number detection
- use nasal syntax for <script>..</script> in xml mode
- new nasal built-in function id()
2008-09-29 17:02:37 +00:00
fredb
9ebb9128c8 MINGW patch by Csaba Halasz, reworked by me to avoid breaking MSVC or Cygwin build 2008-09-28 08:27:32 +00:00
mfranz
226231434e nasal.vim: add <?...?> and <!--...--> to XML embedded mode
and only enable that if the file extension is xml
2008-08-13 10:21:42 +00:00
mfranz
403eaeb25e <foo/> are also comments in XML embedded Nasal mode 2008-08-05 05:23:16 +00:00
mfranz
15bc6dbe21 mark obvious XML tags as comments 2008-08-03 13:52:29 +00:00
mfranz
d1dc9c85d0 simplification 2008-08-02 10:00:06 +00:00
ehofman
429f2530de James Turner:
* experimental clean-up / reduction on two of the FG headers:
   (I'm going to await feedback on the developers list before doing more of
    these, to avoiding going over files multiple times, but in principle it
    seems pretty straightforward.)

 * final fixes for SG_USING_STD removal
2008-07-29 08:27:48 +00:00
fredb
fa147e620b SG_GLUT_H removed 2008-07-27 17:58:33 +00:00
ehofman
667e64e1eb - remove the SG_GLxxxx_H #defines, since OSG provides its own versions
- this exposed a bizarre issue on Mac where dragging in <AGL/agl.h> in
   extensions.hxx was pulling in all of Carbon to the global namespace
   - very scary. As a result, I now need to explicitly include CoreFoundation
   in fg_init.cxx.
 - change SG_USING_STD(x) to using std::x
2008-07-27 16:25:13 +00:00
mfranz
c8d0874422 switch back to "<key> in <hash>" notation (this had failed in one test,
but the reason must have been unrelated)
2008-07-27 10:53:57 +00:00
mfranz
5960442cc3 add cvs source urls 2008-07-26 10:42:13 +00:00
mfranz
e2899588c7 drop dependence on PyXML and use standard lib methods 2008-07-25 20:22:36 +00:00
ehofman
d9bfd5a425 This should apply, and everything should build cleanly, in isolation from the
SimGear change. It changes all the SG_xxxx to be the 'real' includes, and gets
rid of many #ifdef SG_HAVE_STD_INCLUDES. As an added bonus, rather than
replacing 'SG_USING_NAMESPACE(std)' with 'using namespace std', I just fixed
the small number of places to use std:: explicitly. So we're no longer polluting
the global namespace with the entire contents of std, in many cases.

There is one more 'mechanical' change to come - getting rid of SG_USING_STD(X),
but I want to keep that separate from everything else. (There's another
mechnical change, replacing <math.h> with <cmath> and so on *everywhere*, but
one step at a time)
2008-07-25 18:38:29 +00:00
mfranz
ff5743d3e7 add printf 2008-07-23 15:45:30 +00:00
mfranz
205718dcf3 add thisfunc() and props.condition() 2008-07-22 23:33:30 +00:00
curt
b19a270d54 Clean up a couple warnings. 2008-07-21 19:57:56 +00:00
ehofman
d015bfe72f * change a number of function parameters to const where appropriate
* fix a problem where the wrong node-name length was returned
  * xmlgrep now also works when only the -e options is specified
  * fix xmlgrep to show the correct node-name (it reported the parent
    node-name in the previous version)
2008-07-21 12:32:22 +00:00
ehofman
83c2f96153 * fix __xmlSkipComment to properly find the end of comment tag.
* add the xmlGetNodeName and xmlCopyNodeName functions
* add the xmlCopyString function
* clean up some code

'xmlgrep -v' now returns the proper node name
2008-07-20 09:38:53 +00:00
ehofman
b4ab5242ec Change the low level internals of the xml library to reflect the following;
* rewrite the code to always recursively walk the node tree when searching
    for a particular node. this is required for cases where a node with a
    particular name is located deeper in a node with the same name;
    for example -r /configuration/device/reference/device would fail in the
    previous verion
  * rename xmlGetElement to xmlGetNodeNum and add the possibility to request
    the nth node with this name
  * rename xmlGetNumElements to xmlGetNumNodes

The drawback is that this is approach slows down processing the files a bit,
but at least it can now find any xml node in any xml file.
Also, no more function changes are planned from now on.
2008-07-19 12:18:05 +00:00
ehofman
6e6e8bbefc * reorganize the code to be able to skip comment sections
* depreciate __xmlFindNextElement and use __xmlGetNode instead
* xmlGetNextElement now returns char* instead of void* for furute use
* add preliminary support for wildcards in the search path ('*' and '?')
2008-07-06 11:34:50 +00:00
ehofman
67ca3c0307 * fix a problem caused by removing the last unnecessary alloc
* strip leading-, and trailing spaces from the string before comparing
 * fix a problem where trailing spaces weren't removed
2008-07-01 12:15:46 +00:00
ehofman
d9b79d6e3e whoops, my bad 2008-06-30 12:05:26 +00:00
ehofman
f35ab314bf Remove the last unnecessary alloc from the library 2008-06-30 12:00:40 +00:00
ehofman
dd77cd25f6 Some small updates; fix typo's and fix a small memory leak
Improve the documentation in README
2008-06-30 07:30:02 +00:00
mfranz
64a07de080 Erik HOFMAN: add documentation/changelog 2008-06-29 13:33:26 +00:00
mfranz
24071a3133 Erik HOFMAN: faster and better xmlgrep implementation 2008-06-29 13:08:24 +00:00
mfranz
b21cf2a22d add abort() 2008-06-19 17:25:14 +00:00
mfranz
f35ba3510f vim syntax files for *.ac and *.nas files. See nasal.vim for how to use them.
Note that for XML embedded Nasal you can type  :set ft=nasal  and back to
XML with  :set ft=xml   (ft ... filetype)
2008-06-07 17:21:47 +00:00
timoore
ebf2e996e9 Fixes for compiling with gcc 4.3
Include standard header files and qualify with std:: where needed.

Qualify various char parameters and variables with const.
2008-04-13 21:12:36 +00:00
curt
8b4f1f2d5e Add a telnet command parser to UGear so we can feed commands remotely to
be passed up to the UAS.
2008-04-04 22:34:19 +00:00
curt
fe41d33b4c Added autopilot target values to communications link.
Pass autopilot target values to LFSGlass display so they can be properly
displayed.
Fix a gps status display bug.
2008-04-04 06:15:05 +00:00
curt
78e6655002 Several updates to implement a sequenced/verified/check summed serial
command uplink on the same port we are receiving the telemetry data.
2008-03-30 05:34:40 +00:00
curt
817ba71a2e - UGsmooth now can send opengc packets directly rather than piping through
a running copy of FlightGear (no need to have FlightGear running on weaker
  powered groundstations.)

- Add a test for "valid" gps data.

- Pretty print gps coordinates in debug output.
2008-03-28 22:55:42 +00:00
mfranz
205da67313 final cosmetics (because I had posted the web-cvs link to the blender list/forum :-) 2008-03-10 16:31:02 +00:00
mfranz
435cd3ca8f - GPL license block
- new id separator
- drop debug message
- simplification & cleanup
2008-03-08 19:02:08 +00:00
mfranz
7ccdc1081a - improve Blender registry handling
- save each mesh in a different color
2008-03-07 17:09:11 +00:00
mfranz
40261787c2 minor progress bar fix 2008-03-06 10:53:05 +00:00
mfranz
580f65fcb2 uv_export_svg.py: don't group single-chunk objects; move id in front
uv_import_svg.py: reverse matrix multiplication; cosmetics
2008-03-06 10:48:28 +00:00
mfranz
615d5ef4d8 ... and do no longer assume that the separator is only one character ;-) 2008-03-05 18:21:45 +00:00
mfranz
898584e906 use SVG compliant id separator: _____ instead of # 2008-03-05 18:16:09 +00:00
mfranz
2fcae160a1 UV<->SVG exporter and importer: The importer loads an SVG file that was
saved before by the exporter. SVG editors like Inkscape can be used to
move the UV outlines around, to rotate and scale them.
2008-03-05 12:30:01 +00:00
mfranz
7a6376021a - make it faster by reloading rather than erasing the image every time
(this also fixes a bug that wouldn't update a changed texture in 3D view)
- better progress bar
2008-03-03 18:06:57 +00:00
mfranz
cad1df2f58 minor improvements (show busy cursor, etc.) 2008-03-03 11:57:45 +00:00
mfranz
9e9df1e36b Blender 2.46 box packer script. Allows to unwrap objects individually, and
to pack them onto one square texture. Read instructions in the file.
2008-03-02 20:14:13 +00:00
durk
ecc6548d71 cygwin related fixes, and some minor future release related maintenance
work.
2008-02-04 20:03:52 +00:00
curt
68c2433df8 Various updates. 2007-12-05 19:01:49 +00:00
mfranz
e54215e7e7 fix license (Public Domain) 2007-10-22 16:58:46 +00:00
curt
a4e1daef5c Fix a typo introduced when supporting faster than integer gps clocks. 2007-10-02 21:51:50 +00:00
curt
953e3bbfac First revision of a small utility that will build a simple .ac file around
a aerial photo texture.  You need to determine the coordinates of the 4
corners of your image and this utility will use that to build a 3d model
in meters and tell you the information to copy into the proper .stg file.
2007-07-16 13:47:42 +00:00
curt
c0e6b239df Fix the speed estimate, tune control surface deflection gains, parse the full
gps ITOW.
2007-06-18 22:01:32 +00:00
curt
78cb8f5ca3 Tweak control input estimation gains. 2007-06-11 20:14:40 +00:00
curt
93617f577d Add an option to estimate control surfaces deflections based on rotational
rates (not perfect, but lacking any data at all this is better than showing
them all hard over full stop.)
2007-06-11 19:13:08 +00:00
curt
c951810f92 A couple tweaks. 2007-06-09 22:38:54 +00:00
curt
1722d26b2f Add support for a new file format which where packet type are saved out into
one file per type in a simple binary conglomeration of packets with no headers
or checksumming (this format is intended for local storage only, not to be
transmitted on the fly over a noisy communication pipe.)
2007-04-27 15:30:26 +00:00
curt
a0e00e1eaf Switch to "nav" (cooked) data to drive FlightGear. 2007-02-27 19:45:48 +00:00
curt
006a7c1bd8 Fix a bug in file logging (add an ignore checksum option just to humor
myself.)
2007-02-21 21:11:15 +00:00
mfranz
7ddd2efbe6 animation plugin for Blender 2.43 2007-02-20 11:35:59 +00:00
curt
15c28a9354 Fix a couple data packet decoding mistakes. 2007-02-20 03:13:01 +00:00
curt
b8d3a41810 Update the ugear health structure to match the microgear code. 2007-02-19 22:52:52 +00:00
curt
8adf1d6ada Clean up some debugging output. 2007-01-17 23:11:45 +00:00
fredb
eb1f19abf7 MSVC compilation 2007-01-11 22:06:33 +00:00
ehofman
c219b34f0c add a header eference for bzero() 2006-12-24 12:24:24 +00:00
curt
071d2f12a3 Report health data to the screen.
Put actual control surface positions into the net_fdm packets.
2006-12-18 23:04:38 +00:00
frohlich
cb62950760 Modified Files:
utils/Modeller/Makefile.am src/FDM/YASim/Makefile.am:
	Remove -lssg from the linker lines.
	Do no longer build threedconvert. A very similar functionality
	is available with osgvconv. But leave threedconvert in place
	if somebody will need that ...
2006-12-17 10:12:38 +00:00
fredb
da51cd8198 Move the project to /Projects/VC7.1 2006-12-16 14:12:52 +00:00
fredb
68db72bf4d ignore UGsmooth executable 2006-11-25 13:22:06 +00:00
curt
3f9013ce51 Updates to parse health packets. 2006-11-22 04:16:07 +00:00
curt
06dc1d6afa Latest round of changes ... now works. 2006-11-13 03:57:32 +00:00
curt
651a21f9d5 Initial revision of code to read MicroGear serial output and parse,
interpolate, and feed to FlightGear either in real time or replaying the
data file.
2006-11-11 18:43:17 +00:00
curt
6fb021ee01 Fix a dumb bug where I inadvertantly did a computation in int32 land causing
me to loose 2 decimal places in my location data before converting to lon/lat.
2006-06-01 21:13:56 +00:00
mfranz
049078ea55 - allow multiple spaces in the environment variable
- documentation fix
2006-03-09 21:38:39 +00:00
mfranz
c9813d1b5d new FSF address 2006-02-21 01:16:04 +00:00
fredb
7a27d247d4 Ignore generated files 2006-01-27 21:20:58 +00:00
curt
62607b3376 Updates for newest scenery build. 2006-01-25 02:08:39 +00:00
ehofman
5fa3420e36 Add files required by autotools. 2005-12-06 18:43:02 +00:00
ehofman
da08a84bc5 ignore some autogenerated files. 2005-12-06 18:34:03 +00:00
ehofman
c3379e40e0 MIPSpro doesn't like main() to be redefined. 2005-11-22 20:01:33 +00:00
ehofman
0af5a71f73 IRIX fix. 2005-11-22 18:08:13 +00:00
curt
2c0e18bdd0 Updates from Fred Bouvier:
You'll find attached the modified fgadmin that takes care of
'Objects' and 'Terrain' if they exist. I also implemented the
'Check all' / 'Check none' feature you suggested several months
ago.
2005-11-15 22:00:41 +00:00
mfranz
0df186e62f try to fix faces that come after (currently) unfixable faces 2005-11-11 17:41:31 +00:00
curt
bf7cf64eb2 Updates in preparation for the v0.9.9 coming sometime [hopefully] soon. 2005-11-06 02:40:08 +00:00
mfranz
7ef74fc1d1 simplification 2005-10-30 20:52:54 +00:00
mfranz
837cf56c1f fix min/max coordinates; spelling; cosmetics 2005-10-30 19:59:53 +00:00
mfranz
bc703b2bd3 script to fix UV faces for some low-end nVidia cards 2005-10-30 17:15:45 +00:00
curt
a00de6d7bb Verbosity fixes. 2005-10-27 14:38:33 +00:00
ehofman
ac0f6224f6 'nother Cygwin fix. 2005-10-26 12:23:18 +00:00
ehofman
aafb973459 Cygwin fix. 2005-10-26 11:00:18 +00:00
ehofman
edd619957d Use our own set of endian functions. This fixes a Cygwin problem. 2005-10-11 08:21:07 +00:00
mfranz
4113d0f24d normalmap 2005-10-05 11:53:34 +00:00
mfranz
c0947d18b9 cvsignore 2005-10-05 11:52:25 +00:00
ehofman
048b7df3f7 Use our own (crossplatform) stdint implementation. 2005-09-28 13:55:54 +00:00
curt
02512e28c0 Add a pass through so we can capture IMU/INS/GPS data to a file at the same
time as using it to drive a copy of FlightGear.
2005-09-26 21:19:01 +00:00
curt
6f9f5338c0 Add some initial support for reading live data from a serial port (and
passing it along to FlightGear.)  I notice that the serial port read only
seems to work correctly if I read one character at a time.  Multicharacter
reads seem very unreliable.
2005-09-26 21:02:48 +00:00
curt
ee841a149f Add a lib needed by Irix. 2005-09-25 19:04:30 +00:00
ehofman
fa2caf88dc Add an XML grep utility. It's far from complete but it allowed me to test the animation files for the precense of the 'offset' element in the translation animation sections. 2005-09-24 12:31:41 +00:00
curt
2f98caeba8 Switch over to using SGIOChannel so we can try to read data live from
the serial port at some future time.
2005-09-23 21:23:13 +00:00
curt
4f72904235 Fix one small type ambiguity and then do some code restructuring. 2005-09-23 19:55:52 +00:00
curt
7473730b85 Compute speed in kts. Speed is linear, but relative to earth centered
coordinates.
2005-08-29 03:06:42 +00:00
curt
c8c6fe4fe6 Created a utility (similar to GPSsmooth) that can take a recorded file of
MIDG-II binary data and replay it in FG.  For more details on the MIDG-II
see: http://www.microboticsinc.com/midg.html
2005-08-27 20:00:58 +00:00
curt
44b882abe4 Don't assume that gps times are integer only (some units kick out data at 10hz
and specify time down to tenths of a second.)
2005-07-18 15:03:45 +00:00
mfranz
ab63af1a91 shut up 2005-07-08 08:18:34 +00:00
mfranz
6361ec750b program that generates C code from a built-in font list; used for the
font definition in src/GUI/fonts.cxx
2005-07-08 08:17:43 +00:00
ehofman
53b2902e70 Solaris fix. 2005-07-07 19:09:52 +00:00
curt
45bfaf8ed5 Tune pitch gain, fix a couple annoyance bugs. 2005-07-07 15:40:44 +00:00
ehofman
4c2c48b46a Fix another dependency. 2005-07-07 09:06:02 +00:00
ehofman
1eab60dd79 IRIX fixes. 2005-07-06 11:51:32 +00:00
curt
46d9714aaf Attempt to add -lwinmm for windows builds (untested.) 2005-07-05 13:56:03 +00:00
curt
020476df46 Add a small utility that can read a saved GPS track, interpolate data points
at some higher frequency, approximate roll/pitch angles, and blast the result
over to FlightGear using FGNetFDM udp packets.
2005-07-02 20:53:42 +00:00
ehofman
2a8f368072 yet another Cygwin fix. 2005-02-18 17:42:46 +00:00
ehofman
5a5b67bab1 Melchior FRANZ:
Yesterday night it occurred to me that the current handling of missing METAR
strings isn't good enough:

- in case of missing METAR strings, don't re-send the last successful string,
  but the last successful string sent to *this* client. (If one client is
  running in virtual December, it won't be happy about dropped in summer
  weather.)

- fix a bug that allowed -vc notation (options -v and -c), but broke a lot of
  other notations (-b/var/tmp). Only -v can now be accumulated again, as
  in -vvvv.
2005-01-31 18:18:25 +00:00
ehofman
4ffb6c0fe9 Melchior FRANZ:
Here's a Perl implementation of a METAR proxy server. Tested on Linux only, but
should work on all Unices, and possibly on Windows, too. Its purpose is to:

- provide METAR data for machines without internet connection
- centralize METAR fetching: one machine in a network runs the proxy, all
  other connect to the proxy
- deliver defined and reproducible weather for educational purposes
- save weather situations for later use in fgfs

Quick instructions to download the world weather for the last 3 hours
and run proxy and fgfs with it (~ 2MB download; for less bandwidth
consumption see the --record mode):

  $ metarproxy --download 3h
  $ metarproxy -v -c &
  $ fgfs --proxy=localhost:5509 --time-offset=-2 --enable-real-weather-fetch
2005-01-29 09:45:12 +00:00
ehofman
73541395cc Remove another unneeded dependency. 2005-01-24 12:17:39 +00:00
ehofman
91cb15d9b0 Martin Spott:
Remove all dependencies of plib's SL sound library.
2005-01-24 10:17:14 +00:00
curt
453e3963d9 Updated to handle scenery files with a .tgz extension. 2005-01-21 23:23:29 +00:00
ehofman
a3691ac013 Use the proper include definition. 2005-01-20 09:22:38 +00:00
ehofman
f4dd36901e MAcOS X fix. 2005-01-20 08:42:53 +00:00
ehofman
b912026694 Add support for contrast. 2005-01-14 15:53:13 +00:00
ehofman
8caa0fe507 Oops, remove some extra code. 2005-01-14 14:29:46 +00:00
ehofman
0a4cb24692 First draft of a utility to generate normal maps from a regular texture. 2005-01-14 14:29:08 +00:00
curt
142144a0c3 Update to point to a more generic/current location by default. 2004-12-05 01:16:35 +00:00
curt
16ca655c03 More FreeBSD fixes ... add -lusbhid where needed. 2004-11-21 03:15:19 +00:00
curt
d05121ef46 Fix my mailing address by replacing it with my web page. 2004-11-19 22:10:41 +00:00
curt
4214cd6c10 Migrate FlightGear code to use "#include SG_GL*" defined in
"#include <simgear/compiler.h>".
2004-11-18 19:53:00 +00:00
curt
6076c83904 Various tweaks for v0.9.5-pre1. 2004-07-15 18:07:02 +00:00
curt
049afb8a48 Change the default rsync module to Scenery-0.9.5 2004-06-05 18:46:36 +00:00
ehofman
8402f0b296 Add a tool to test the integrity of the animation files by Josh Babcock. 2004-05-14 11:54:06 +00:00
curt
a9188cc5e3 Updated to point to new scenery repository (not fully populated but will
be in the next week or so.)
2004-04-15 03:40:39 +00:00
curt
cbc51e84e6 Make sure fgadmin get's into future release tar balls. 2004-03-29 17:42:10 +00:00
david
7aaf51c18a Hide generated binary. 2004-03-23 20:52:01 +00:00
curt
bcc42cbe4c Various final tweaks for the 0.9.4.pre1 release. 2004-03-22 20:19:18 +00:00
curt
9fe889e404 Frederic Bouvier:
I made these changes because fltk doesn't recognize path
\\SERVER\SHARE as a normal directory, although plib/ul
function succeed at enumerating the content of such a
path.

I had that problem when I decided to test FG on a loaned
HP xw4100 workstation. I installed it over the network and
the install-source became \\myserver\myshare\. with no
scenery files detected.
2004-03-22 02:17:41 +00:00
curt
7a481ed51f Oops, missed one commit in the last set. 2004-03-15 20:49:26 +00:00
curt
c16feaa963 Frederic Bouvier:
I made some changes to current CVS :

 - the window is gently resizable, keeping the buttons' height
   unchanged, with a minimun size,
 - the current activity ( installation or removal ) is displayed
   in the progress bar,
 - the progress status is exact. For installation, I am
   using the total bytes read vs the file size. I had to hack
   untarka somehow and bzip2 and Z methods needs to be implemented.
   For removal, I am counting files by in-depth traversal, in the
   same way remove_dir is working. This seems very quick and
   the overhead is unnoticable.
 - the Quit button is the only way to quit the program, and it is
   deactivated during work. Otherwise, we can get the window hidden
   but the program still running in background.
 - cleanup on start options that seemed to be copied from fgrun.
   Valid options are now :
     --silent
            to write fgadmin.prefs and stop immediately
     --install-source=<DIR>
     --scenery-dest=<DIR>
2004-03-15 20:34:38 +00:00
ehofman
86345b961e Add network libraries for Solaris 2004-02-23 14:29:42 +00:00
curt
2402516dfa Add a bit more sanity checking on destination directory. 2004-02-16 20:50:42 +00:00
curt
7d6d574a50 Fix a crash if destination directory doesn't exist.
Filter non-scenery items from install/remove list boxes.
2004-02-16 19:14:46 +00:00
curt
2513d06633 Updates from Fred to add a progress bar and fix visual glitches.
Tweaks by Curt to progress bar, plus sanity checks on included uninstall
box entries.
2004-02-16 14:08:20 +00:00
curt
2985caa09b Remove references to libtar. 2004-02-16 00:28:32 +00:00
curt
35f63ba709 Rework by Frederic for better windows support.
Added MSVC7 workspace files.
Switch from libtar to untarka for it's better windows support.
2004-02-16 00:27:03 +00:00
curt
b7a115b133 Initial revision. 2004-02-15 04:00:48 +00:00
ehofman
3150506b26 Remove a stale source file 2004-01-09 22:39:32 +00:00
ehofman
ab5f7f259d Hide the binary executables from CVS 2004-01-09 22:32:24 +00:00
ehofman
57220efd9b Add the math library for architextures that needs it 2004-01-09 22:29:22 +00:00
ehofman
18eb0a35a2 Rename utils/3dconvert to utils/Modeller and add Jim Wilson's animassist utility 2004-01-09 21:19:44 +00:00
ehofman
4cc853e2a2 MIPSpro 7.4 fixes 2003-12-27 22:27:27 +00:00
curt
aebc270482 Update readme. 2003-12-05 02:11:51 +00:00
curt
baaea29281 Change some terrasync defaults. 2003-12-04 04:13:43 +00:00
ehofman
0f5cd84864 Fix a dependency problem for cygwin builds 2003-11-14 17:51:22 +00:00
ehofman
e6cd7a0ed7 Add Manuel Bessler and Stephen Lowry's remote joystick code and add David Magginson's 3dconvert utility 2003-11-12 10:06:18 +00:00
ehofman
14bb4cce37 Add network support libraries 2003-07-09 19:57:22 +00:00
curt
f918bdcc0c ExternalNet -> Updated to not repeat code from native_ctrls. 2003-01-10 19:45:29 +00:00
curt
81fb6f01a7 Fix for Irix. 2002-12-06 14:28:24 +00:00
david
7df4df0e7f Hide more generated files. 2002-12-04 12:01:17 +00:00
curt
2d99b0b433 Initial revision. 2002-12-03 15:40:32 +00:00
curt
8293d90341 Added TerraSync/ 2002-12-03 15:37:39 +00:00