1
0
Fork 0
Commit graph

355 commits

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