James Turner
3270edcf87
Mac changes for Subversion bundling.
2012-08-11 15:21:52 +01:00
James Turner
e288549c9e
Make dependent template lookups explicit.
...
Clang (in Xcode 4.4) is being strict about dependent lookup rules, so apply the recommended fix-it.
2012-07-31 00:57:09 +01:00
James Turner
ad4a9eeaa5
Remove (un-maintained) MSVC projects from the tree prior to the next release.
2012-06-23 10:26:28 +02:00
James Turner
8a33223483
Use standard version of FindPackageStandardArgs, no need to copy it.
2012-06-21 10:21:26 +02:00
James Turner
0e4eab1569
Improve ALUT framework detection (for Mac)
...
Latest Xcode no longer searches /Library/Frameworks by default which exposed an issue here. Search for the header by the correct name to trigger special -F handling in cmake.
2012-06-20 19:44:16 +02:00
James Turner
edbea633f3
Merge a tweak from Tat to keep Mac 10.5 from crashing on realpath
2012-05-30 11:08:11 +01:00
James Turner
950af5375c
KIll of SimGear route code, it's no longer used by anything.
2012-05-30 11:07:36 +01:00
James Turner
6cf2224146
Updated sign case UV calculation from Christian.
2012-05-11 10:00:35 +01:00
James Turner
a1f74729ab
build signs for an STG into single geometry.
2012-05-11 09:50:26 +01:00
James Turner
71443d1c9a
Phase 1 - single geometry per material
2012-05-11 09:50:26 +01:00
James Turner
56661afc05
Change how HAVE_EXPAT_CONFIG_H is defined, to hopefully fix MSVC properly.
2012-05-04 10:10:46 +01:00
James Turner
d3ab2d3fbc
Missed files from previous commit, needed for Windows.
2012-05-03 18:55:13 +01:00
James Turner
65aca6607e
Update to latest expat for improved BOM / encoding handling.
...
(Related to http://code.google.com/p/flightgear-bugs/issues/detail?id=635 )
2012-05-03 17:29:16 +01:00
James Turner
35681e3adf
Strange, somehow missed this file in last commit.
2012-04-28 23:08:05 +01:00
James Turner
a5ca531aac
Nasal Ghosts can optionally specify member get/set functions.
2012-04-28 22:25:57 +01:00
James Turner
2d174d0b14
Convert random buildings to avoid use of BIND_PER_PRIMITVE.
...
(which pushes me to a slow OSG path)
2012-04-26 00:18:47 +01:00
James Turner
0c13fb7ae4
Fix latent bug in Nasal hash cget / cset functions, where the embedded string length
...
was set to an incorrect marker value.
2012-04-23 22:29:54 +01:00
James Turner
69ef461e6d
Merge commit 'refs/merge-requests/22' of git://gitorious.org/fg/simgear into merge-requests/22
2012-04-23 12:21:50 +01:00
James Turner
8d0330675a
Set the filename as the OSG object name on shaders - should have done this years ago :)
2012-04-04 16:44:23 +01:00
James Turner
6c31a721b8
#ifdefs for option GL texture compression constants - should fix Windows as well as Mac
2012-01-11 23:41:02 +00:00
James Turner
fee652d54a
Fix header installation for shared build
2011-11-30 09:45:32 +00:00
James Turner
42b7c48671
Move some OSG-dependant code into scene/util.
2011-11-29 10:23:09 +00:00
James Turner
75afee59c3
Get all the tests linking with shared-simgear, and duplicate the awkward core functions into a new file, pending a proper cleanup.
2011-11-28 23:22:43 +00:00
James Turner
ae3f718fe3
Fix naming of core library, get IO tests linking shared, and exclude OSG symbols from the core lib by setting headless mode.
2011-11-28 23:05:05 +00:00
James Turner
4b02335637
Build system tweaks to support SIMGEAR_SHARED building two libraries. Work in progress, does not link yet.
2011-11-28 22:43:57 +00:00
James Turner
3e07423778
Fix a std:: namespace issue on Windows.
2011-11-13 21:27:15 +00:00
James Turner
63ccb3df4c
std:: namespace fixes, and sink some code from the subsystem header into the implementation. (Hopefully more to follow)
2011-11-13 20:34:39 +00:00
James Turner
906ef85d90
using std:: fix
2011-11-13 20:33:25 +00:00
James Turner
24c047c94e
Remove the remaining Makefiles from the code.
2011-11-01 09:28:26 +00:00
James Turner
22b4aa4d8b
Remove the automake / autoconf build files.
2011-11-01 09:26:22 +00:00
James Turner
d36e13e8ed
Make tiedpropertylist quieter.
2011-10-30 07:55:44 +00:00
James Turner
2e9896a9ab
Enhancements to property-object support, add a default ctor and some typedefs.
2011-10-30 07:55:29 +00:00
James Turner
519a843340
Move ALUT 1.0 variables inside the #ifdef, to avoid some compiler warnings.
2011-10-29 11:06:24 +01:00
James Turner
f14ffd5b1d
Fix a bug affecting TerraGear, and extend unit-tests to cover this. (SGPath::file returned an empty string for paths with no directory separator)
2011-10-28 12:57:07 +01:00
James Turner
e34f597fe2
Add sound test programs to the CMake build.
2011-10-28 12:29:26 +01:00
James Turner
95ddc04a73
Fix assorted compiler warnings found by Clang
2011-10-28 12:07:35 +01:00
James Turner
75b695664a
Change (revert!) behaviour of SGPath::base, which broke TerraGear, when used with multiple file suffixes (hgt.zip, for example). Test cases updated to match TG-required behaviour.
2011-10-26 19:57:57 +01:00
James Turner
59ecf48b72
Support stream output by SGPath directly.
2011-10-25 21:44:57 +01:00
James Turner
2fb13c76f5
Address warnings found via Clang - especially related to destructor visibility with ref_ptrs of various kinds.
2011-10-24 18:09:42 +01:00
James Turner
6250f675db
Fixes for headless mode.
2011-10-23 17:56:28 +01:00
James Turner
a31639682b
Use a compile test to see if we need to provide the GCC atomic built-ins ourselves, or not.
2011-10-23 15:59:27 +01:00
James Turner
576979c562
Make lat/lon points in the ocean tile configurable at run-time. Not hooked up to a property yet, but soon.
2011-10-23 11:26:19 +01:00
James Turner
5eec2e7889
Support for creating a source package via CPack
2011-10-22 15:37:17 +01:00
James Turner
f4bb236c04
Add FUZZY_COMPARE to me tar unit-test, tolerate lower-order imprecision in FPUs
2011-10-21 11:21:52 +01:00
James Turner
c82df0590d
SGPath rename wrapper. Let's see what Win32 makes of it.
2011-10-21 09:36:33 +01:00
James Turner
43e13f0cf2
Remove-on-destroy option for simgear::Dir, to help with cleaning up temporary directories.
2011-10-21 09:36:10 +01:00
James Turner
63a8209a83
Remove using std:: from the metar header, remove HTTP support, add very basic unit-test harness.
2011-10-21 09:35:37 +01:00
James Turner
7984f055e2
string list joining, and a test case for that and splitting.
2011-10-20 11:12:54 +01:00
James Turner
8cb716fe8e
std:: namespace fixes.
2011-10-17 09:50:35 +01:00
James Turner
9cdf5ab9a1
Add another helper to strutils, to compare version strings.
2011-10-17 09:50:21 +01:00
James Turner
04a47dfb8d
Use mkdtemp where available, avoiding linker warnings about dangerous tempnam
2011-10-15 02:06:35 +01:00
James Turner
bc9b3f6ff1
Unit test for SGBinObj, and fix a bug in large-indice handling the test revealed.
2011-10-14 21:57:34 +01:00
James Turner
086a30e61a
Add default constructor to simgear::Dir
2011-10-14 19:28:21 +01:00
James Turner
a459b8fdbb
Make the common case the default: no library suffix for RelWithDbg or MinSizeRel builds. Of course you can still specify a suffix if desired.
2011-09-26 13:32:34 +01:00
James Turner
4566bece90
Alternate, WinSock friendly reporting for host lookup failures.
2011-09-16 16:43:09 +01:00
James Turner
403b7c14aa
Fix a crash where hostlookup fails entirely, thanks to Andreas Gaeb for the catch.
2011-09-16 11:37:02 +01:00
James Turner
7c7f3d4fcd
Hopefully fix test compilation on MSVC 2008+CMake
2011-09-09 11:48:11 +01:00
James Turner
b0015ab6e8
Further Windows Cmake tweaks.
2011-09-07 20:41:55 +01:00
James Turner
3a210d6fa6
Make sgio tests friendly to Windows.
2011-09-07 20:12:35 +01:00
James Turner
b5a4a55370
Cmake Windows tweaks.
2011-09-07 19:58:26 +01:00
James Turner
1305e16425
Work (in progress) on CPack packaging for SimGear
2011-09-07 16:54:28 +01:00
James Turner
3397066343
One more Linux compile fix.
2011-08-31 07:26:11 -07:00
James Turner
d1d8c68bf1
Missing include on Linux
2011-10-14 12:05:31 +01:00
James Turner
d37bf8a4ae
SGPath/Dir extensions to ease file handling in TerraGear. Also a unit-test, shocking.
2011-10-14 11:37:36 +01:00
James Turner
e4e31be7d4
Fix BTG writer for non-included index arrays.
2011-10-12 17:01:52 +01:00
James Turner
d9a281c493
Support for 32-bit vertex indices in BTG files
2011-10-06 21:28:55 +01:00
James Turner
7ffc84fb86
Fix decode_bin linkage with GNU ld.
2011-10-04 17:53:53 +01:00
James Turner
5871b54172
Build decode_bin helper under CMake.
2011-10-04 15:06:12 +01:00
James Turner
427d6c3316
Async lookup attempt #3 - use OpenThreads instead - I'm going to kill off SGThread imminently.
2011-08-30 15:14:14 +01:00
James Turner
eafea28266
Revert "Asynchronous host lookups+caching, attempt #2 "
...
Bah, SGThread is a pain, need to switch to OpenThreads
This reverts commit 1cb9a79fd4 .
2011-08-30 13:41:06 +01:00
James Turner
1cb9a79fd4
Asynchronous host lookups+caching, attempt #2
2011-08-30 12:51:03 +01:00
James Turner
c7152af191
Further tweaks to only consider IP4 addresses for the moment, when using getaddrinfo.
2011-08-26 11:27:50 +01:00
James Turner
2f9ba31b0a
Request only IP4 addresses for the moment, further work required to deal with IP6 addresses.
2011-08-26 09:36:59 +01:00
James Turner
27e8916843
Another Windows typo-fix.
2011-08-24 11:29:09 +01:00
James Turner
fa27207351
Include ws2tcpip.h header (for getaddrinfo) on Windows
2011-08-24 11:25:37 +01:00
James Turner
3753d50992
Fix a release build issue, meaning of IDLE state was overloaded, add an explicit state when we're waiting for the response start.
2011-08-24 02:30:27 -07:00
James Turner
b7654c181d
Copy constructor and assignment operator for revised IPAddress
2011-08-24 02:30:02 -07:00
James Turner
50e226a146
Change IPAddress to use getaddrinfo internally, and store the sockaddr data via a pointer
2011-08-24 09:46:20 +01:00
James Turner
f18a9493b3
Revert "Support non-blocking address lookups, and switch to getaddrinfo over gethostbyname. (Only affects netChannel - raw socket will use blocking behaviour by default, as previously)"
...
This reverts commit 878b504f8e .
2011-08-22 10:15:05 +01:00
James Turner
bca9a787f6
Revert "Keep automake working, added new files"
...
This reverts commit a175033e3b .
2011-08-22 10:15:00 +01:00
James Turner
9699d76dcb
Revert "Ick, further fixes for Linux/MSVC"
...
This reverts commit 5f07efa12a .
2011-08-22 10:14:55 +01:00
James Turner
5f07efa12a
Ick, further fixes for Linux/MSVC
2011-08-22 09:10:38 +01:00
James Turner
a175033e3b
Keep automake working, added new files
2011-08-21 22:37:01 +01:00
James Turner
878b504f8e
Support non-blocking address lookups, and switch to getaddrinfo over gethostbyname. (Only affects netChannel - raw socket will use blocking behaviour by default, as previously)
2011-08-21 22:30:04 +01:00
James Turner
902948e3c6
Tweaks to queuing of HTTP/1.0 connections, and tests for sequential connections in both 1.0 and 1.1 modes.
2011-08-08 18:09:30 +01:00
James Turner
7525fd5e3e
Update HTTP code to support HTTP/1.0 responses, eg metarproxy
2011-08-07 10:49:13 +01:00
James Turner
76ba747706
Whoops, fix tests for user-agent being HTTP/1.1 spec
2011-08-04 19:37:30 +01:00
James Turner
115531e944
Further HTTP improvements, correct proxy support, spec compliance, support for chunked encoding.
2011-08-04 18:03:56 +01:00
James Turner
a2249becba
Further HTTP improvements, wget-alike test program to check it all behaves!
2011-08-01 09:03:12 +01:00
James Turner
13736219ff
Ooops, forgot automake
2011-07-30 12:41:54 +01:00
James Turner
3ac5ff0cac
Clean header dependencies of condition.hxx - introduce a new header, propsfwd.hxx, for common case of headers that only need SGPropertyNode_ptr and SGCondition_ptr
2011-07-30 10:48:37 +01:00
James Turner
19119cc4ae
Tweaks to HTTP code, in preparation for using it for metar - especially, test code for proxies
2011-07-30 10:43:49 +01:00
James Turner
5c6076d72d
Merge branch 'next' of gitorious.org:fg/simgear into next
2011-07-19 17:56:04 +01:00
James Turner
ee1901225b
Ooof, lurking PLIB reference in the tests
2011-07-19 17:55:40 +01:00
James Turner
d53e2fa8c1
Enable more unit-tests via CTest
2011-07-19 17:30:08 +01:00
James Turner
20ac2dcd04
Remove some debug output, fix version.h include path
2011-07-19 14:34:07 +01:00
James Turner
ac7db26f17
But of course, Mac lacks malloc.h - so you cstdlib instead. <sigh>
2011-07-19 06:17:05 -07:00
James Turner
4a65a23706
test linkage needs librt on Linux. Need to tidy this up on the FG side.
2011-07-19 13:53:13 +01:00
James Turner
425d83c497
Fix Linux compilation of netChat - explicit include of malloc.h required.
2011-07-19 05:32:39 -07:00
James Turner
a7d338a58e
And not forgetting VC90 either.
2011-07-19 13:10:01 +01:00