Andrew Tribick
ea320060dc
Only pass -fno-rtti and -fno-exceptions for C++
2021-12-28 22:14:51 +01:00
Hleb Valoshka
50deb54bff
Remove unneeded fs::path.string() conversions
2021-12-28 21:14:29 +01:00
Andrew Tribick
e4ea8e0df4
Remove filesystem compatibility implementation
...
Keep <experimental/filesystem> support for now, so we still need to use a
compatibility header to alias the namespace.
2021-12-28 21:14:29 +01:00
Andrew Tribick
e6a7b32fee
Remove string_view compatibility headers
2021-12-28 21:14:29 +01:00
Andrew Tribick
d7b896c013
Remove pre-C++17 Eigen alignment code
2021-12-28 21:14:29 +01:00
Andrew Tribick
9651e9e265
Use inline constexpr for constants in header files
2021-12-28 21:14:29 +01:00
Andrew Tribick
1dc01e221e
Collapse using declarations
2021-12-28 21:14:29 +01:00
Andrew Tribick
4f913eb3ad
Collapse nested namespaces
2021-12-28 21:14:29 +01:00
Andrew Tribick
279c721373
Require C++17, CMake 3.8
2021-12-28 21:14:29 +01:00
Andrew Tribick
d978e275dd
Reject zero-sized chunks in 3DS reader
2021-12-28 20:23:34 +01:00
Andrew Tribick
d541a3c9c6
Update Spice submodule
2021-12-28 20:05:05 +01:00
Andrew Tribick
22291cd795
Add PowerShell and sh scripts to clone/update content directory
2021-12-28 18:37:00 +01:00
Andrew Tribick
a5ea219b27
CMake fixes
...
- [msvc] Remove defaulted /W option to prevent override warnings from Spice
- Fix capitalization of Perl in find_package
- Replace deprecated qt5_use_modules in cmodview
2021-12-28 18:21:38 +01:00
Hleb Valoshka
28f47b0dd8
Remove content submodule
...
Closes : #1260
2021-12-28 15:18:14 +03:00
Hleb Valoshka
3e93c71a95
[ci] Run test builds on ARM64 agent
...
Signed-off-by: Hleb Valoshka <375gnu@gmail.com>
2021-12-27 12:04:43 +03:00
Hleb Valoshka
98e5684e81
[ci] build usual gnu/linux on old ubuntu only and changes to src & workflow
2021-12-27 12:04:43 +03:00
Hleb Valoshka
15ea2f330f
[ci] enable scanning with sonarcloud
2021-12-27 12:04:43 +03:00
Hleb Valoshka
2505e9a51f
Fix Bulgarian translation file
2021-12-27 01:33:41 +03:00
Andrew Tribick
c85e4550a7
Use submodule for Gaia EDR3 tool
2021-12-26 22:21:02 +01:00
transifex-integration[bot]
53439a5cfd
Translate /po/celestia.pot in bg
...
translation completed for the source file '/po/celestia.pot'
on the 'bg' language.
2021-12-26 23:55:42 +03:00
Hleb Valoshka
a264433697
[win32] Create logger earlier to fix segv
...
SplashScreen class uses LoadImageFromFile which calls GetLogger
2021-12-26 23:06:16 +03:00
Andrew Tribick
9385415788
Fix loop iteration in randutils
2021-12-26 18:09:58 +01:00
Levin Li
968199915c
Add support for different temperature scales
2021-12-25 23:10:10 +08:00
Hleb Valoshka
ab409356c1
Add versioned local config file support
2021-12-24 21:32:27 +03:00
Hleb Valoshka
29d76471f2
Fix search for stars orbiting barycenters
...
Closes : #1126
2021-12-24 14:50:58 +03:00
Levin Li
f2caba91f1
Update content submodule
2021-12-24 18:38:19 +08:00
Hleb Valoshka
904e4220a8
[ci] build with glut support
2021-12-20 22:36:03 +03:00
Hleb Valoshka
f34111c117
[glut] add missing using celestia::util::Level
2021-12-20 22:36:03 +03:00
Hleb Valoshka
14af83a391
Implement Logger to replace raw cerr/cout and DPRINTF usage
2021-12-20 17:54:50 +03:00
Andrew Tribick
b94d084af3
Fix floating point from_chars implementation
...
- Do not assume a zero-byte terminator exists in the source
- Ignore exponent if format does not contain scientific
- Require exponent if format does not contain fixed
- Add support for hexfloat parsing
- Fail if a plus sign is present
- Add bitwise operations to chars_format
- Avoid use of unnamed namespace in header file
- Detect whether charconv is present and if floating point charconv is supported
2021-12-16 16:33:27 +01:00
Georgi
63d4de9d81
Bulgarian language update
...
adopted the latest changes
2021-12-14 23:49:23 +03:00
Hleb Valoshka
498dc6083c
[po] Remove po2, update po
2021-12-14 13:16:18 +03:00
Hleb Valoshka
08b0cd0682
Use custom gettext file to translated object names
2021-12-14 13:16:18 +03:00
Andrew Tribick
2baab87bf0
[qt] Fix storing window state on transition to fullscreen
2021-12-10 20:33:09 +01:00
Hleb Valoshka
a5f80d0608
[tests] fix catch_main linkage
...
This fixes the following error on my Ubuntu 18.04 with CMake 3.10.2:
CMake Error at cmake/TestCase.cmake:8 (target_link_libraries):
Target "catch_main" of type OBJECT_LIBRARY may not be linked into another
target. One may link only to STATIC or SHARED libraries, or to executables
with the ENABLE_EXPORTS property set.
Call Stack (most recent call first):
test/unit/CMakeLists.txt:6 (test_case)
2021-12-06 22:48:18 +03:00
Andrew Tribick
30dda19ef9
Fix warnings in celmodel
...
- Remove unused variables in createLinePrimitiveGroup
- Ensure result is always set in default case in BinaryModelWrite::writeVertices
2021-12-05 20:32:44 +01:00
Levin Li
9a94e2dc6b
Allow to use a custom date formatter for display
2021-12-05 18:56:30 +08:00
Levin Li
b9b02beb0e
Use localized names at bottom right
2021-12-05 18:30:44 +08:00
Andrew Tribick
2793756f91
Components inherit visibility from first non-component ancestor
...
- Share visibility logic between Component and SurfaceFeature
- Avoid null dereference for Component/SurfaceFeature defined on stars
2021-12-04 22:48:46 +01:00
Andrew Tribick
a670d8e3be
Cleanup and fix celutil/util.h; rename to tzutil.h
...
- Replace deleteFunc with lambdas
- Remove unused printlineFunc, memsize
- string_view does not allow returning the TZ name, replace with std::string&
2021-12-04 11:44:36 +01:00
Andrew Tribick
82ddd20fe2
Code analysis cleanup
...
- Move modelview/projection matrices to render contexts that use them
- Do not create an unused second light in cmodview
2021-12-04 09:49:52 +01:00
Andrew Tribick
bcbd538d0a
Remove const_cast in cmodview by implementing Model::setMaterial
2021-12-04 09:49:52 +01:00
Andrew Tribick
7c5c903f47
Remove pointers from mesh and model vectors
...
- Hold models in unique_ptr
2021-12-04 09:49:52 +01:00
Andrew Tribick
3a02e59b83
Cleanup of operators and material uniquification
2021-12-04 09:49:52 +01:00
Andrew Tribick
8684543580
Store vertex data as array of 4-byte words
2021-12-04 09:49:52 +01:00
Andrew Tribick
019411dc21
Remove pointers from VertexDescription and PrimitiveGroup indices
2021-12-04 09:49:52 +01:00
Andrew Tribick
b79959979a
Extract inner types from Material and Mesh
...
- Remove using namspace cmod
- Convert enums to enum classes
2021-12-04 09:49:52 +01:00
Andrew Tribick
474057221b
Refactor 3DS loading to avoid excessive use of unique_ptr
2021-12-04 09:49:52 +01:00
Hleb Valoshka
41936fc6bf
Remove old fonts support
2021-11-30 14:39:33 +03:00
Hleb Valoshka
f46a00f4f1
Remove automatic mipmap mode, as it duplicates the default mode
2021-11-29 12:26:19 +03:00