Commit Graph

471 Commits

Author SHA1 Message Date
Alexander Bock
7004c02b86 Happy new year 2021-01-02 15:26:51 +01:00
Alexander Bock
7bf7a25401 Updated submodules (#1444)
* Update submodules
 - Ghoul
   - assimp (5.0.0 -> 5.0.1)
   - catch2 (2.11.1 -> 2.13.3)
   - fmt (7.0.3 -> 7.1.3)
   - freetype2 (2.10.1 -> 2.10.4)
   - glbinding (3.1 -> 3.2)
   - glm (0.9.9.5 -> 0.9.9.8)
   - websocketpp (0.7.x -> 0.8.2)
 - SGCT
   - fmt (7.0.3 -> 7.1.3)
   - freetype (2.9.1 -> 2.10.4)
   - GLM (0.9.9.6 -> 0.9.9.8)
* Update to new include external definition
* Remove warning about no eof newline
2020-12-29 13:44:57 +01:00
Alexander Bock
ad8af3ffeb Feature/CMake (#1443)
General CMake cleanup/overhaul
* Enable precompiled headers for all projects
* Move specifications itto separate CMakeLists files
  * Add openspace-core as a subdirectory
  * Move handle_modules functionality into modules/CMakeLists.txt
  * Move handleapplications logic into apps/CMakeLists.txt
* Introduce openspace-module-collection interface library to simplify inclusion of modules in applications
* Turn module initialization into a two-step process to adapt to the new minimal dependency scenario
* Compile time speedup
  * Remove circular dependencies between modules and core preventing multithreaded compilation on MSVC
  * Build Spice multithreaded and as static library
  * Remove dependency from core to module-webbrowser
  * Remove unused dependency from kameleon
  * Remove additional unnecessary dependencies
  * Cleanup volume/kameleon/kameleonvolume modules
  * Fix visibility issues. Restrict include paths
  * Compile kameleon in parallel
* Other cleanup
  * Only copy CEF files from one target (hard-coded to OpenSpace right now)
  * Remove unused instrumentation code
  * Remove the ability to render AABB for globes as it caused a circular dependency between GlobeBrowsing and Debugging
  * Removing compiler and cppcheck warnings
  * Turn almost all includes into non-system includes
  * Don't warn on deprecrated copy
* Updated submodules
2020-12-28 18:26:57 +01:00
Alexander Bock
184d940944 A bit more code cleanup 2020-12-08 16:37:25 +01:00
Alexander Bock
86bb19d81c Feature/warnings (#1425)
* Remove MSVC, GCC, Clang compiler warnings
* Remove cppcheck warnings
2020-12-07 23:43:05 +01:00
Alexander Bock
51470c0a0d Issue/1355 (#1424)
* Move glfw init after macOS window is ready
* MacOS fixes for BigSur
* Compile fixs
* Rename hirise.asset since linux filenames are case-sensitive
* Modified globals DataStorage method to make Linux and Mac happy
* Switched to unsecure http URLs for satellites due to httprequest problem
* Keep the QApplication around on Mac because of some reason otherwise the keyboard handler crashes
* Add comment explaining the madness
* Apply same techniques to the globalscallback file

Co-authored-by: Micah Acinapura <micahnyc@gmail.com>
Co-authored-by: Gene Payne <payne.gene@gmail.com>
2020-12-07 23:41:20 +01:00
Alexander Bock
f4831b0c03 Feature/jenkins (#1419)
* Add ability to toggle operating system builds on Jenkins via environment variables
* Update ghoul repository
* Update SGCT repository
* Reduce chattiness of the Jenkins log file
* Build native and ninja builds in parallel
* Disable ninja build on Windows as it fails with the OpenSpace Helper
2020-12-02 21:11:46 +01:00
Alexander Bock
60e3ed2170 General pass for coding style 2020-11-28 22:31:06 +01:00
Alexander Bock
c39b57378b Adapt the taskrunner to the new global mechanism (closes #1404) 2020-11-25 16:51:59 +01:00
Alexander Bock
d3a2ea4a5f Add units to the profile editor camera dialog (closes #1390) 2020-11-18 21:50:10 +01:00
Alexander Bock
8d7300a242 Add the ability to change the screenshot folder at runtime (#1172) 2020-11-16 14:22:56 +01:00
Alexander Bock
6c088a5609 Handle it gracefully if one of hte required folders for the launcher does not exist or when trying to launch OpenSpace with an empty profile (closes #1377) 2020-11-16 13:47:42 +01:00
Alexander Bock
ef081d27aa Try to get the location of the sync folder from the OPENSPACE_SYNC environment variable first, before using the ${BASE}/sync
Update SGCT repository
2020-11-16 10:43:08 +01:00
Alexander Bock
efffc25ce0 Feature/globals handling (#1352)
* Cleaner handling of global state
* Prevent Lua memory corruption (closes #982)
* Initialize glfw first thing to prevent weird joystick loading bug during startup
2020-10-21 22:30:05 +02:00
Alexander Bock
1525a0490d Update SGCT and Ghoul repositories for bug fixes 2020-10-21 22:28:58 +02:00
Alexander Bock
eb6e6aad5f Feature/launcher cleanup (#1350)
General cleanup of the launcher
2020-10-19 23:15:50 +02:00
Alexander Bock
811a84df0f Fix issue where Wormhole server's script messages could not be decoded
Fix issue where dashboard item for parallel peer would not report line number correctly
Closes #1011
2020-10-19 17:48:16 +02:00
Alexander Bock
e49b8ce71e Switch order of SetPropertyValue and SetPropertyValueSingle in the Profile ui 2020-10-17 20:20:21 +02:00
Alexander Bock
0779c54a07 Provide correct error message if the ProfileName is empty
Don't include Voyager and Pioneer in the base asset as it takes too long to load
Ensure that the webgui asset can load without the dashboard
Fix scripting issue in Rosetta scene with trails
Fix issue with Dashboards that would actually render one line too far down causing trouble with multiline text
Set the render option for renderablebillboards to view direction by default as the normal mode has some issues (see #1342)
Set more sensible maximum value for RenderablePlanesCloud
Correctly show the number of significant digits in the altitude
Replace setPropertyValue with setPropertyValueSingle when clicking on the friction "buttons" on screen
Add a new script function hasProperty to check whether a property exits
2020-10-17 20:10:15 +02:00
GPayne
71a76c33d5 Fix for segfault after OpenSpace run if launcher was bypassed 2020-10-15 17:31:16 -06:00
GPayne
1eb8c9dbfd Fix for forcing profile GUI text entry to plain text only 2020-10-14 15:43:54 -06:00
Micah
364dafbde5 qss fix for launcher labels 2020-10-14 14:52:01 -04:00
Micah
26565cf270 launcher label and profile fixes 2020-10-13 12:42:10 -04:00
Alexander Bock
bf8d164c5b Tiny cleanup 2020-10-13 16:24:17 +02:00
Alexander Bock
77907fc7df Rename ProfilesReadOnly -> ReadOnlyProfiles 2020-10-13 16:22:05 +02:00
Alexander Bock
fc574ee531 More cleanup
Update QSS
2020-10-13 15:35:20 +02:00
Alexander Bock
38e0e1e250 Fix crash when trying to add new keybinding 2020-10-13 14:10:55 +02:00
Alexander Bock
b5531c652f Merge branch 'feature/profile-gui' of https://github.com/OpenSpace/OpenSpace into feature/profile-gui 2020-10-13 14:10:38 +02:00
Micah Acinapura
b7c566089b fixes to cmake for macos 2020-10-13 06:06:26 -04:00
Alexander Bock
ba8eac51dd Fix simulation time specification for gaia scene 2020-10-13 11:38:02 +02:00
Alexander Bock
f2a1173dc1 Visually signal correctly if a dropdown menu in the launcher is disabled 2020-10-13 09:56:05 +02:00
GPayne
26b9db81e6 Merge branch 'feature/profile-gui' of https://github.com/OpenSpace/OpenSpace into feature/profile-gui 2020-10-13 00:32:33 -06:00
Gene Payne
23af34de83 Fixes to prevent segfault when OpenSpace app closes 2020-10-13 00:31:42 -06:00
GPayne
769cb4bf38 Added keybinding warning for number keys 2020-10-12 22:27:43 -06:00
GPayne
f2a03ed70e Fix for linux X11 linking 2020-10-12 19:13:21 -06:00
Alexander Bock
76b0b781a9 Passing around Profile as a reference instead of a pointer 2020-10-12 20:56:11 +02:00
Alexander Bock
2b7680e634 ProfileEdit cleanup 2020-10-12 20:34:12 +02:00
Alexander Bock
35102eb968 Fix issue with the up vector being required 2020-10-12 19:17:13 +02:00
Alexander Bock
3a5f837290 Rename dialog files 2020-10-12 19:14:01 +02:00
Alexander Bock
39362daf78 Move image resources into the launcher folder 2020-10-12 16:15:43 +02:00
Alexander Bock
460cf63468 Correct handling of QSS everywhere
Add window titles where they were missing
2020-10-12 16:06:38 +02:00
Alexander Bock
b46f00ebff Cleanup of LauncherWindow 2020-10-12 15:13:27 +02:00
Alexander Bock
53b092be52 Cleanup of ProfileEdit 2020-10-12 14:38:22 +02:00
Alexander Bock
7b4d29c8de Cleanup of Properties 2020-10-12 12:08:55 +02:00
Alexander Bock
5e375329b3 Cleanup of Time 2020-10-12 11:11:23 +02:00
Alexander Bock
290728eade Cleanup of Modules Dialog 2020-10-12 01:09:57 +02:00
Alexander Bock
5834e0ddec Cleanup of Meta code 2020-10-12 00:22:11 +02:00
Alexander Bock
b8a685b513 Cleanup MarkNodes 2020-10-11 23:38:58 +02:00
Alexander Bock
5b28208890 First pass at keybindings 2020-10-11 22:46:00 +02:00
Alexander Bock
a1c142320a Cleanup FileSystemAccess 2020-10-11 19:54:18 +02:00