Thomas Geymayer
fee379423d
Add fgviewer missing includes.
2012-12-16 19:20:22 +01:00
Mathias Froehlich
243929274b
fgviewer: Import hla based viewer application.
2012-12-16 16:52:28 +01:00
Mathias Froehlich
5fea5240e8
fgai: Use HLACartesianLocation instead of an own implementation.
2012-12-01 08:05:43 +01:00
Mathias Froehlich
d79b2385b4
fgai: Add an initial sketch of an external ai module.
2012-11-24 10:34:08 +01:00
Mathias Froehlich
05af83a03e
fgelev: short circuit reading image files.
2012-08-26 15:30:21 +02:00
Mathias Froehlich
6ce3f4cb25
fgelev: Only request terrain for elevation queries.
2012-08-25 08:47:22 +02:00
Mathias Froehlich
7729e4517b
fgelev: Implement paging for the bounding volumes.
2012-08-24 21:24:26 +02:00
Mathias Froehlich
70ef3c416d
fgelev: Work on stdin/stdout like the previous one did.
...
Instead of working on arguments work on stdin and stdout.
Note that this version still does not page out.
2012-08-24 21:24:19 +02:00
Mathias Froehlich
e3ad3d3a07
bvh: Adapt to upstream bvh changes in simgear.
2012-08-24 21:24:12 +02:00
James Turner
33a19f30a9
One more OsgMath fix.
...
Thanks Emmanuel!
2012-08-22 19:41:03 +01:00
Mathias Froehlich
a6a24e59cc
fgelev: tool to query scenery elevation.
2012-08-19 20:02:09 +02:00
Markus Pargmann
ecfbb951ae
Remove most compile warnings
2012-07-26 11:10:27 +01:00
Mathias Froehlich
6e5ef711fa
fgviewer: Update fgviewer.
2012-07-21 15:23:34 +02:00
ThorstenB
ec739a17c2
Fix compiler warning
...
(access beyond array bounds)
2012-07-17 19:32:05 +02:00
Erik Hofman
9fa790bcac
Merge branch 'next' of gitorious.org:fg/flightgear into next
2012-05-24 20:24:57 +02:00
Erik Hofman
ecccfeb18a
Point to the new location of the ZeroXML library that contains xmlgrep
2012-05-24 20:24:21 +02:00
ThorstenB
e59fabaf82
Clean-up some SGMath dependencies.
2012-05-05 00:56:29 +02:00
ThorstenB
b920fc27b1
Geoff McLane: Fix compile error due to missing include.
2012-04-08 18:46:17 +02:00
Mathias Froehlich
d2411199e8
fgviewer: Update to current initialization structure.
...
Improove argument parsing. Reorder initialization.
2012-03-15 21:11:44 +01:00
Mathias Froehlich
1ddb658a70
scenery: Move flightgears paging back into the application.
...
This way of scenery paging is really application code.
Now that the simgear stg loader is seperated from the paging
code, this appication specific paging can reside here.
May be at some time also use the spt stuff here.
2012-03-15 20:56:37 +01:00
Mathias Froehlich
44c716bb03
scenery: The tile entries load callback is not needed anymore.
...
The stg loader can do this itself.
2012-03-15 19:39:07 +01:00
ThorstenB
f453523b67
#706 : Properly set FLTK include directory.
2012-03-12 21:15:05 +01:00
Mathias Froehlich
ba8fd4c7d1
fgviewer: adapt to simgear upstream changes.
2012-03-08 07:32:18 +01:00
Mathias Froehlich
daf3fbcd67
fgviewer: Make use of the world texture when no file argument is given.
2012-03-04 20:31:14 +01:00
ThorstenB
3fb41e2168
It does. :)
2012-03-03 21:40:40 +01:00
Mathias Froehlich
c71c9aee0a
Adapt to simgear SGMath change.
...
Simgears SGMath has lost its dependency on osg.
Update includes and code using these methods.
2012-03-03 13:37:43 +01:00
Mathias Froehlich
60e49130b2
fgviewer: Does not need plib.
2012-03-03 07:07:22 +01:00
ThorstenB
3b27e847b0
Windows...
...
revert to directly using PLIB variables *sigh*
2012-02-25 01:48:13 +01:00
ThorstenB
ecb2e77e5b
Fix Windows dependencies
...
SimgGear always needs "winmm" on Windows (due to timeGetTime in sgtimestamp.cxx)
2012-02-25 01:05:39 +01:00
ThorstenB
da73dd97d3
Clean-up cmake (linker) dependencies.
2012-02-24 22:23:15 +01:00
ThorstenB
f094fa2aa8
Revert "Try to fix MSVC template instantiation issue with SGVec dependencies."
...
This reverts commit 67b3b95310
.
2012-02-24 22:01:20 +01:00
ThorstenB
67b3b95310
Try to fix MSVC template instantiation issue with SGVec dependencies.
2012-02-24 21:47:57 +01:00
ThorstenB
42dab5d81d
Fix Windows compile issue.
2012-02-19 22:13:41 +01:00
ThorstenB
ac841ac44f
Terrasync clean-up
...
Avoid code duplication, only UDP processing and
NMEA message parsing remains.
2012-02-19 14:53:04 +01:00
Frederic Bouvier
338d5cc9b2
Fix FL_STAT macro
2012-02-12 21:20:53 +01:00
Frederic Bouvier
a756c959d6
Ugly hack to detect the presence of fl_filename_free_list without relying on cmake magic
2012-02-12 20:51:56 +01:00
ThorstenB
d0f7ca653f
Fix compile issue with Fltk 1.1.
...
fl_filename_free_list not available for older Fltk versions.
2012-02-12 20:05:28 +01:00
ThorstenB
7c657dfa71
#663 : fgadmin not working properly (with latest Fltk)
...
Some things about fltk seem changed, which broke fgadmin:
fl_filename_list could return negative number instead of 0.
fl_filename_list now has a "/" appended to every reported directory name.
free( list ) now caused a segfault - use fltk's method to free memory.
fgadmin should now work with new and old Fltk.
2012-02-12 17:45:05 +01:00
ThorstenB
b70055a9a2
fgpanel: use same default fgdata path as fgfs
...
Use location configured at compile-time (Linux) or use run-time check (Mac)
(copied from fgfs/options.cxx).
2012-01-25 17:37:14 +01:00
Olaf Flebbe
0eda5eee81
virtual destructor missing (in order to silence llvm warning)
2012-01-09 21:07:18 +01:00
ThorstenB
77640e0863
cmake: Fix Xinerama and Xft dependency issue.
...
Don't try to add Xinerama/Xft libraries, unless these are installed.
It seems these libraries are also not required on all systems (not required
over here...).
2012-01-03 22:02:48 +01:00
Erik Hofman
cbdd89493f
properly add librt when clock_gettime is used
2011-12-24 11:34:35 +01:00
ThorstenB
136de6bdf3
Fix minor compiler and checker warnings.
...
(rpm-checker was unhappy about our outdated FSF address :) )
2011-12-19 21:35:50 +01:00
ThorstenB
f77c6b95fa
#480 : fgadmin build dependency
...
"untarka.c" needs ZLIB.
2011-12-18 19:45:59 +01:00
ThorstenB
4b7d22fe0f
fgadmin: fix compiler warnings
...
Also fixes mismatching "tarextract" declaration vs definition issue.
2011-12-18 19:43:46 +01:00
Frederic Bouvier
dc95e5e84b
Try to take care of FLTK external dependencies on Linux
2011-12-18 16:18:46 +01:00
ThorstenB
37453e6b7c
#525 related: add compiler search path for every library
...
Consider search path for every single library as reported/found by CMake.
Most includes sit in the same directory (so the same directory is reported
for almost all libraries), however this may not be the case for every
system or library.
2011-12-18 12:40:34 +01:00
Mathias Froehlich
7d1372cae0
fgviewer: Improove reader/writer option command line handling.
2011-12-17 08:28:33 +01:00
Mathias Froehlich
33630ffe33
fgviewer: add DatabasePager.
2011-12-16 21:45:33 +01:00
Mathias Froehlich
7f528bbd31
fgviewer: add StateSetManipulator.
2011-12-16 21:45:09 +01:00
James Turner
f054f15693
Fixes for linking with shared SimGear.
2011-11-29 10:24:33 +00:00
ThorstenB
b54defea52
cmake: fix sequence of (static) library dependencies
...
sgmath depends on sgprops, sgprops depends on sgstructure.
Also, core libraries are enough for fgadmin.
2011-11-26 16:41:35 +01:00
James Turner
a05ea36acb
Restructure GUI code, isolate PLIB in source files, to ease future refactoring and alternative GUI layers.
2011-11-19 20:25:51 +00:00
Frederic Bouvier
b5a0da1c6e
std namespace missing everywhere in fgpanel
2011-11-14 08:31:00 +01:00
Mathias Froehlich
b2eb047a03
fgviewer: add license header, adapt to cmake.
2011-11-13 18:34:53 +01:00
Mathias Froehlich
42fb9b8e9f
Consolidate the different ReaderWriterOptions classes.
2011-11-13 18:34:53 +01:00
ThorstenB
05eade445e
fgpanel: avoid lagging
...
Avoid lagging when data is sent at (slightly) higher rate than
fgpanel's display rate. Always read all available data - display
most recent.
2011-11-12 11:24:08 +01:00
Frederic Bouvier
2e2accfe06
fgadmin: include sys/stat if fltk < 1.3
2011-11-05 07:28:44 +01:00
Frederic Bouvier
c270a45f20
fgadmin: fl_stat is in FLTK 1.3 only
2011-11-05 07:23:48 +01:00
Frederic Bouvier
3eca8f7dc0
Roland Hader: fix fgadmin build
2011-11-04 23:18:16 +01:00
Mathias Froehlich
d1e5dc95ca
Remove automake ignores.
2011-11-01 13:53:52 +01:00
James Turner
70b4f38ebc
Goodbye automake.
2011-11-01 11:15:53 +00:00
Torsten Dreyer
b8cbaa9716
fgpanel: don't call nonexisting list
...
obviously something other was intended here.
2011-10-27 08:31:24 +02:00
James Turner
617fb0299b
Merge downstream fix from Gentoo, to deal with libsvn versions.
2011-10-19 10:03:06 +01:00
James Turner
76c388f7cb
Minor CMake packaging tweaks, more to follow.
2011-10-18 12:14:20 +01:00
James Turner
b1b4b7ecf4
Fix (nearly) all the std:: namespace violations in headers, in preparation for fixing SGsmplstat.hxx to *not* do a 'using namespace std'.
2011-10-17 17:41:59 +01:00
Frederic Bouvier
c92bc96ff8
Fix win32 fgpanel build
2011-10-08 13:41:32 +02:00
ThorstenB
32a49cb689
fgpanel: improved path handling
...
- Allow relative paths for panels.
- Set FGROOT as resource manager base path, so absolute
XML includes can be resolved
2011-10-08 11:28:28 +02:00
ThorstenB
be720b424a
fgpanel: fixed some error handling/setup issues
...
- Provide error message when fgdata path is missing.
- Exit game mode when closing/aborting program (show mouse cursor etc).
- Support absolute paths for "--panel" parameter.
- Don't crash when a font is missing.
2011-09-30 22:20:00 +02:00
Mathias Froehlich
3bf8b9d91f
automake: Add missing GL and z libs to fgpanel.
2011-09-24 10:03:00 +02:00
Torsten Dreyer
f9d35d3bf5
Add -lsgthreads to fgpanel's automake
2011-09-20 16:03:32 +02:00
Mathias Froehlich
549c5eccb9
cmake: Factor out common simgear dependency libs.
...
Factor out and use this core simgear depenency
library cmake variable.
2011-09-11 11:22:10 +02:00
Frederic Bouvier
099bfd988b
fgfs and fgpanel need to be linked with the winsock library (on Windows)
2011-09-09 21:38:02 +02:00
James Turner
a5a8090d52
Cmake: Split simgear libraries into core and scene (only scene uses OSG). Fix linkage issues, and make helper binaries (yasim, terrasync) link against less stuff.
2011-09-08 13:59:40 +01:00
Csaba Halasz
938d4f3752
autotools build updated with sgthreads library
2011-09-07 22:14:36 +02:00
Mathias Froehlich
6b6238293f
Revert to simgears thread support. Flightgear side.
...
For all source directories outside of simgear/scene,
which really depends very hard on osg, avoid using osg
classes. This should reenable the use of some basic and
scenegraph independent parts of simgear without the
the need for osg.
2011-09-06 07:31:12 +02:00
Martin Spott
c158619e3c
Disable building fgadmin if FLTK's fluid command is unavailable.
2011-09-05 23:44:00 +02:00
James Turner
ab96d0b966
Fix utilities linkage, add OpenThreads
2011-08-31 03:08:52 -07:00
Curtis L. Olson
a5de08e240
Fix a couple issues with non-referenced files missing from the source
...
distribution (and thus breaking the build.)
2011-08-15 22:50:39 -05:00
James Turner
3c9f4ad73e
Switch RealWx to use simgear::HTTP class. Also tweak metar-proxy to send a HTTP status response.
2011-08-08 18:16:49 +01:00
Frederic Bouvier
c28825d9de
More work toward an international fgadmin
2011-08-07 20:26:34 +02:00
Frederic Bouvier
3a17ef2f1a
Get rid of plib to enumerate files. Get a list of files when the directory names contains UTF-8 characters. Doesn't fix issues #394 though because untarka functions should be utf-8 aware
2011-08-07 19:50:35 +02:00
ThorstenB
c4dc12ec94
Improved CMake support for libsvn
...
Don't detect libsvn without APR.
When installed, enable libsvn support by default (same as for automake).
When enabled, provide libsvn to fgfs.
gitignore temporary CMake files
2011-08-04 18:59:46 +02:00
James Turner
6c52a5ac85
Fixes for include-file flattening - condition.hxx no longer pulls in props or props_io
2011-07-30 10:47:28 +01:00
Mathias Froehlich
e3e7fb5db5
Use cmake provided variable for librt.
2011-07-24 14:38:29 +02:00
Torsten Dreyer
dcde3a9350
Try to fix cmake build for fgpanel without GLUT
2011-07-21 23:42:45 +02:00
Torsten Dreyer
8f0f67f668
Enable build of fgpanel by default in cmake
2011-07-21 15:46:29 +02:00
Mathias Froehlich
e389b45599
Provide command line arguments for fgviewer.
...
Provide --fg-root and --fg-scenery command line
processing for fgviewer.
2011-07-15 17:57:32 +02:00
Mathias Froehlich
827ea96d7e
Make fgviewer at least somehow work again.
2011-06-22 22:15:04 +02:00
Torsten Dreyer
c618097e83
Make fgadmin compile under linux
...
missing string.h for str(n)cmp
2011-06-08 16:01:23 +02:00
Torsten Dreyer
3d36577a20
Make cmake for fgpanel work under linux
2011-06-05 21:08:44 +02:00
Torsten Dreyer
7ebc68b3c7
Fix a data type mismatch
2011-06-05 17:10:04 +02:00
Torsten Dreyer
abc97adf2b
Initial commit to add fgpanel to cmake build system
...
Most likely only works on OSX, other OSes will follow later
2011-06-05 17:04:41 +02:00
Torsten Dreyer
8d67103214
fgpanel: fix compile for OSX
2011-06-04 21:27:04 +02:00
Torsten Dreyer
5527fedc80
let fgpanel compile under vc90
2011-05-27 20:53:16 +02:00
Torsten Dreyer
d88dcba5e8
Add fgpanel to the automake build system
2011-04-14 15:33:36 +02:00
Torsten Dreyer
f44dd24462
Initial commit of the fgpanel code
...
fgpanel is basically the stripped down 2D-Panel code from
FlightGear. It is designed as a standalone lightweight panel
rendering engine to draw 2d panels on a lowcost computer/graphic card
without 3d acceleration at reasonablel framerates.
Patches for inclusion into the build system will follow.
2011-04-14 11:11:17 +02:00
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