1
0
Fork 0
Commit graph

239 commits

Author SHA1 Message Date
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