Commit Graph

5792 Commits (eb761fc7eec58aba67f15976d5ff885980d05870)
 

Author SHA1 Message Date
Fernando García Liñán eb761fc7ee Add compile_commands.json to .gitignore
4 years ago
Erik Hofman 9cb98475b2 Fix MingW and MSVC builds: return a uniform type name across platforms.
4 years ago
Erik Hofman e58ca605b6 Delete the readers and writers (which closes them automatically) to prevent memory leaks.
4 years ago
Stuart Buchanan deb802f74a WS30: Improve random vegetation, reduce frame paus
4 years ago
Erik Hofman 17c79caea3 Add a convenience constructor which uses the types typename to call setup, eliminating the need to call setup separately.
4 years ago
Erik Hofman 8e97b5e414 Add a helper function which converts the template typename into a topic name.
4 years ago
Erik Hofman 5e837b50c4 Add a fubction which converts a template typename to a string
4 years ago
Erik Hofman 0530bc2cd7 Add a templated helper function for read and write to simplify the code
4 years ago
Erik Hofman 4b530e9376 Fix a mistake of effectively multiplying by DDS_NSECS_IN_SEC twice.
4 years ago
James Turner 0a7e6b9b84 Subsystems: add checks to avoid crash on early exit
4 years ago
James Turner 676a2e3880 Fix for local particle update
4 years ago
James Turner 4c89e8a9d5 Packages: add ‘provides’ listing support
4 years ago
James Turner 4810eaab92 HTTP: permit cancels inside callbacks
4 years ago
James Turner 224b557573 Packages: support a type enum
4 years ago
Stuart Buchanan a02353a280 WS30: Separate Water mesh and Effects
4 years ago
Erik Hofman 55e0d4760f Rename the SG_DDS class to SG_DDS_Topic and create a new SG_DDS class which can handle multiple SG_DDS_Topic classes with a single waitset. Add a unit test for DDS
4 years ago
James Turner 8e338389dd MMap: fix a missed change to use pimpl.
4 years ago
James Turner 522aed9b73 MMap : improved error reporting, Win32 compat
4 years ago
Erik Hofman 0c72b5e622 Of course Windows has it's own _read and _write function whcih conflict with our own. Rename to mmap_read and mmap_write.
4 years ago
Erik Hofman c6a7dbd755 Do not allocate any memory but work directly on the mmapped buffer
4 years ago
Erik Hofman 84f7faea05 Set EOF when reaching the end of the mmap buffer
4 years ago
Erik Hofman e8cbcebad8 Make life easier by implementing the system read and write function and call that from the classes read and write functions. Add a forward and rewind function. Add a test_untar derived mmap test utility.
4 years ago
James Turner cf2fe76bb8 Log positions in courseDeg/distanceM failures
4 years ago
James Turner 798e690279 ReadWav: error reporting
4 years ago
Erik Hofman 931a696007 Add a setup function which takes the topic name from the descriptors typename
4 years ago
Erik Hofman 76cf1e01c6 Sigh, fix a stupid typo.
4 years ago
Erik Hofman 88beb40090 Make simple_mmap and simple_unmmap static private members of SGMMapFile. This should also fix the Windows build error on Jenkins.
4 years ago
Erik Hofman c539f7ebb6 Add an advance function to step through the mmaped buffer
4 years ago
Erik Hofman 4ace6bda60 Use the new mmap functionality to access the timezone file, removing the need to keep the database in memory.
4 years ago
Erik Hofman f00a825e2d Add a cross-platform file mmap class and use it to access the timezone file, removing the need to keep the database in memory.
4 years ago
Erik Hofman 508a511070 More gracefully bail out on a missing timzeone file
4 years ago
Erik Hofman 1ea11d987e Add a function to get the timezone description
4 years ago
James Turner feaac37705 Make SGTimeZoneCOntainer using a pimpl
4 years ago
James Turner 4a1809b566 TerraSync: allow an explicit osm2city server
4 years ago
Erik Hofman a9615869e3 If a reader is detected there is no need to test it further, just set a boolean.
4 years ago
Erik Hofman 878b742558 Display the time file that fails
4 years ago
Erik Hofman 9bbb615fbf Use sg_ifstream to load the timezone database into a buffer, and access the database from that buffer. This prevents opening and closing the files too often and allows for wide character paths on Windows.
4 years ago
Erik Hofman c9e24dcb0b Use a vector database to get the timezone based on territorial boundaries
4 years ago
Stuart Buchanan bbd84a944a WS30: Improved Road rendering
4 years ago
Erik Hofman b6c80f2e6a Postpone reader detection to the write call and skip writing if there is no reader yet.
4 years ago
Erik Hofman c0205f7eb2 Use the find_dependency option to parse Simgear dependencies to FlightGear
4 years ago
Erik Hofman 023364e245 Fix reading from DDS: read data in the requested buffer and not in our own private buffer.
4 years ago
Stuart Buchanan 7b336d2018 WS30 Improve LineFeature Mesh
4 years ago
James Turner c86b6fe96c Catalogs: check for local IO failures writing to disk
4 years ago
James Turner 71358dca92 Error-reporting: show XML path when 3D load fails
4 years ago
James Turner 087547c6a0 Report out-of-memory in some loading places
4 years ago
James Turner b7234be625 TerraSync: report errors during downloading
4 years ago
Stuart Buchanan 0b986beac6 WS30 - Line feature accuracy and width control
4 years ago
Julian Smith 4c25e7898e simgear/io/HTTP*: added support for enabling compression when downloading.
4 years ago
Julian Smith 58279d03d4 simgear/scene/material/EffectCullVisitor.cxx: avoid c++ warning.
4 years ago