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