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 |
|
James Turner
|
6a612972e2
|
Not forgetting automake for the moment
|
2011-07-19 12:56:49 +01:00 |
|
James Turner
|
f06f25532c
|
Tiny HTTP client layer on top of NetChat - and CTest support for some SimGear tests.
|
2011-07-19 12:55:55 +01:00 |
|
James Turner
|
5181aecc7b
|
Port version-defined-in-a-file logic over from fg.
|
2011-05-21 14:56:10 +01:00 |
|
James Turner
|
0e92cfbd0d
|
Bump Simgear version to 2.3.0 - should have been done after 2.2.0 was branched, oops. Will refactor this lot to use a single 'version' file like FG, soon.
|
2011-05-21 14:12:31 +01:00 |
|
James Turner
|
7d544dee47
|
Olaf Flebbe: Decrease required OSG version.
|
2011-01-13 22:14:37 +00:00 |
|
James Turner
|
fa3389ed23
|
Better MSVC Boost serialization fix from Olaf
|
2011-01-03 09:48:31 +00:00 |
|
James Turner
|
80161bfa96
|
Cmake: 3RDPARTY_DIR fixes from Olaf Flebbe
|
2011-01-01 21:06:43 +00:00 |
|
James Turner
|
07d3d6508a
|
Uninstall support, pinched from OSG.
|
2010-12-28 13:38:05 +00:00 |
|
James Turner
|
e4a8896fdc
|
MSVC improvements from Olaf Flebbe.
|
2010-12-28 13:32:54 +00:00 |
|
James Turner
|
b6a20fd6e4
|
64-bit compatability tweak from papillion
|
2010-12-20 14:46:53 +00:00 |
|
James Turner
|
ae9757bf43
|
Create version.h during SimGear CMake build
|
2010-12-19 19:08:14 +00:00 |
|
James Turner
|
b9a34b1b05
|
Initial work on CMake support for SimGear.
|
2010-12-19 14:16:39 +00:00 |
|
James Turner
|
325b13b101
|
Build propertyObject on MSVC2008
|
2010-11-20 13:08:01 +00:00 |
|
James Turner
|
203d1c2b45
|
PropertyObject ::create tests.
|
2010-11-20 04:25:11 -08:00 |
|
James Turner
|
c3c97f2956
|
Shrink PropertyObjectBase by a pointer, don't pull exception header into the header.
|
2010-11-20 03:31:42 -08:00 |
|
James Turner
|
ac535de2fa
|
PropertyObject enhancements, unit-test for make check
|
2010-11-20 02:49:04 -08:00 |
|
James Turner
|
6da8ef83af
|
Merge branch 'topics/propobj' into next
|
2010-11-18 20:23:40 +00:00 |
|
James Turner
|
f53559b8d0
|
Initial propertyObject work.
|
2010-11-18 20:21:37 +00:00 |
|
James Turner
|
56c520f455
|
Tighten up name filters on Unix. Fixes bug 168.
|
2010-11-15 23:23:40 +00:00 |
|
James Turner
|
5f2f95676c
|
Formal shutdown interface on SGSubsystem.
|
2010-11-05 09:19:22 +00:00 |
|
James Turner
|
607738f22e
|
Fix ConditionNode Win32 compilation.
|
2010-11-04 18:54:18 +00:00 |
|
James Turner
|
200df49d6e
|
Make subsystem group destruction explicit, so get_subsystem calls during destruction are safe.
|
2010-11-04 18:49:24 +00:00 |
|
James Turner
|
fe628e44e1
|
Add platform defines to SimGear, and a replacement for ulSleep functions.
|
2010-10-30 19:18:57 +01:00 |
|
James Turner
|
81d640ed7c
|
Fix build when OSG implict-ref-ptr conversion is disabled.
|
2010-10-26 10:09:55 +01:00 |
|
James Turner
|
1ae91097ba
|
Build fixes for net classes in Simgear.
|
2010-10-24 01:22:59 +01:00 |
|
James Turner
|
bfd76880a9
|
Migrate relevant PLIB netXXX classes into SimGear.
|
2010-10-24 01:12:42 +01:00 |
|
James Turner
|
ddf9e08069
|
Make get_subsystem safe during destruction of the manager.
|
2010-10-03 16:08:34 +01:00 |
|
James Turner
|
82dc6c32ec
|
Don't crash when a submodel fails to load.
|
2010-10-02 21:01:29 +01:00 |
|
James Turner
|
889e2d6f06
|
Add another overload for sg_io_exception ctor.
|
2010-10-01 12:27:08 +01:00 |
|
James Turner
|
a7697f6095
|
Second attempt to fixed OpenAL tests.
|
2010-09-06 14:27:58 +01:00 |
|
James Turner
|
49270e99e5
|
Fix up tests for revised SGSoundSample ctor.
|
2010-09-06 12:30:13 +01:00 |
|
James Turner
|
d75ce1e12e
|
Pass current-dir down through XMLSound
(should allow relative paths in sound XML files)
|
2010-09-06 09:26:46 +01:00 |
|
James Turner
|
289e768ca5
|
Add ResourceManager, and use to find sound and model paths.
|
2010-09-06 09:09:58 +01:00 |
|
James Turner
|
44c587400d
|
Validate sound file paths in an XML file.
|
2010-09-05 14:15:18 +01:00 |
|
James Turner
|
a7439aa056
|
Standardise path-handling in XML mode files
aircraft-dir/fg-data paths always work, and
paths relative to the location of the current XML
file always work.
|
2010-08-17 11:05:55 +01:00 |
|
James Turner
|
d7bea0c4c6
|
Add isAbsolute/isRelative predicates to SGPath.
|
2010-08-14 22:51:01 +01:00 |
|
James Turner
|
764a3c29e9
|
Allow loading of 2.5D panels to be controlled again.
|
2010-08-14 19:48:52 +01:00 |
|
James Turner
|
3c57572b89
|
Ralf Gerlich: fix bucket numbering at extreme latitudes
Also document existing algorithms
|
2010-08-14 10:18:35 +01:00 |
|
James Turner
|
8106956be2
|
Merge branch 'topics/cmdcatch' into next
|
2010-08-11 00:20:02 +01:00 |
|
James Turner
|
cc435ba817
|
Fix Win32 build of SGPath.
|
2010-08-09 09:13:28 +01:00 |
|
James Turner
|
0c55a4d7bb
|
Catch exceptions raised executing a command.
|
2010-08-09 09:12:26 +01:00 |
|
James Turner
|
c4b4c0ce59
|
Make SGPath cache stat() information, cheers Fred
* cache exists/isDir/isFile in SGPath, to avoid
repeated calls.
|
2010-08-09 08:19:14 +01:00 |
|
James Turner
|
d31c1df639
|
More ignore files, for 'make check' binaries
|
2010-08-08 09:55:31 +01:00 |
|
James Turner
|
780286ea81
|
Ding, dong, the witch is dead. PLIB is no more, in SimGear.
|
2010-08-07 18:03:37 +01:00 |
|
James Turner
|
20a75b9c9e
|
Change how certain constants are (re-)defined, to avoid warning when PLIB sg.h is included.
|
2010-08-07 16:28:39 +01:00 |
|
James Turner
|
2a2e2716bd
|
Removal of PLIB/SG from SimGear
|
2010-08-07 13:55:33 +01:00 |
|
James Turner
|
6a07c22826
|
Catch subsystem update() exceptions in the manager, and permit a maximum number of exceptions before suspending the subsystem.
|
2010-08-07 10:25:20 +01:00 |
|
James Turner
|
7c294915c8
|
Ensure 'make dist' works.
|
2010-08-07 09:09:58 +01:00 |
|
James Turner
|
7788cb288e
|
Fixes for automake correctness.
|
2010-08-06 21:18:04 +01:00 |
|
James Turner
|
c1762c709e
|
Ralf Gerlich: add headless mode to SimGear (merging simgear-cs)
|
2010-08-06 19:17:14 +01:00 |
|
James Turner
|
8690528080
|
Fix compilation if OSG ref_ptr implicit conversion is not enabled.
|
2010-08-06 18:42:56 +01:00 |
|
James Turner
|
668c62b1f4
|
Missed removing a build rule.
|
2010-07-31 15:33:25 +01:00 |
|
James Turner
|
49f418f146
|
Remove legacy direct-OpenGL code in simgear/screen (predating switch to OSG).
|
2010-07-31 15:17:09 +01:00 |
|
James Turner
|
2cfeeb4b13
|
Merge branch 'topics/remove_point3d' of git@gitorious.org:~zakalawe/fg/james-simgear into topics/remove_point3d
|
2010-07-30 09:00:35 +01:00 |
|
James Turner
|
aa859c488f
|
Remove deprecated vector classes - finally!
|
2010-07-30 00:46:30 +01:00 |
|
James Turner
|
1b2915aa2a
|
WIP - removing remaining users of Point3D.
|
2010-07-29 17:49:37 +01:00 |
|
James Turner
|
e99c3d4705
|
Collapse SGGeoCoord into SGTimeZone, and switch timezone search to cartesian math.
|
2010-07-29 10:12:00 +01:00 |
|
James Turner
|
d23491646a
|
Use a custom 'findDataFile' method in key places, and hook this into a callback set on SGModelLib.
|
2010-07-29 01:05:24 +01:00 |
|
James Turner
|
f4d42289d4
|
More ignore rules for Git.
|
2010-07-27 00:21:44 +01:00 |
|
James Turner
|
959f44502b
|
Fix simgear::Dir::children on Linux where dirent->d_type might be 0; always use stat() to determine file type. Thanks to Alex Romonsan for helping debugging this!
|
2010-07-24 10:27:50 +01:00 |
|
James Turner
|
7beaf3705e
|
Add closest-point calculation to SGRay, to replace a vector.h helper.
|
2010-07-23 13:04:09 +01:00 |
|
James Turner
|
bbd61977f1
|
Change SGPath::exists to use stat(), fix '.' and '..' handling on Windows, add simgear::Dir version of exists().
|
2010-07-23 07:54:10 +01:00 |
|
James Turner
|
e3d1fa2686
|
Merge branch 'next' of git@gitorious.org:fg/simgear into next
|
2010-07-23 06:30:37 +01:00 |
|
James Turner
|
293d3b4fb3
|
Fix Win32 compilation of raw_socket.
|
2010-07-23 06:30:02 +01:00 |
|
James Turner
|
e1d8155565
|
Linux build fixes, now netSocket.h is no longer included.
|
2010-07-22 22:06:02 +01:00 |
|
James Turner
|
c37b27a926
|
I greatly dislike GNU automake.
|
2010-07-22 21:27:11 +01:00 |
|
James Turner
|
6b3a05e23f
|
Move PLIB netSocket into SimGear, as simgear::Socket, and update the wrapper classes.
|
2010-07-22 20:02:37 +01:00 |
|
James Turner
|
63cbd4deb0
|
On Unix, check for symlinks from readdir(), and look through them (using stat()) to discern target type.
|
2010-07-21 22:08:06 +01:00 |
|