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